Fix tax name with % on the Thank You page #45103

This commit is contained in:
PavloBorysenko 2024-09-18 17:09:35 +02:00
parent df37ccf8c5
commit 8dafe5f53b
4 changed files with 109 additions and 294 deletions

View File

@ -60,7 +60,7 @@ class WC_Order_Item_Tax extends WC_Order_Item {
* @param string $value Label.
*/
public function set_label( $value ) {
$this->set_prop( 'label', wc_clean( $value ) );
$this->set_prop( 'label', wc_clean( str_replace( '%', '%', $value ) ) );
}
/**

View File

@ -681,6 +681,7 @@
"node_modules/@woocommerce/e2e-core-tests/CHANGELOG.md",
"node_modules/@woocommerce/api/dist/",
"node_modules/@woocommerce/admin-e2e-tests/build",
"node_modules/@woocommerce/classic-assets/build",
"node_modules/@woocommerce/block-library/build",
"node_modules/@woocommerce/block-library/blocks.ini",
"node_modules/@woocommerce/admin-library/build",

View File

@ -0,0 +1,50 @@
<?php
/**
* WC_Order_Item_Tax_Test Class.
*/
class WC_Order_Item_Tax_Test extends WC_Unit_Test_Case {
/**
* @var object WC_Order_Item_Tax;
*/
private $order_item_tax;
/**
* Set up test
*
* @return void
*/
public function setUp(): void {
$this->order_item_tax = new \WC_Order_Item_Tax();
parent::setUp();
}
/**
* @testDox Test that the label is saved correctly
* @dataProvider data_provider_test_set_label
*/
public function test_set_label($label, $expected_label) {
$this->order_item_tax->set_label($label);
$actual_label = $this->order_item_tax->get_label();
$this->assertSame($expected_label, $actual_label);
}
public function data_provider_test_set_label() : array {
return array(
'empty' => array( '', __( 'Tax', 'woocommerce' ) ),
'simple string' => array( 'Test Tax', 'Test Tax' ),
'%text'=> array( 'Tax %15', 'Tax &#37;15' ),
'% text'=> array( 'Tax % 15', 'Tax &#37; 15' ),
'text%'=> array( 'Tax 15%', 'Tax 15&#37;' ),
'text %'=> array( 'Tax 15 %', 'Tax 15 &#37;' ),
'mix of special chars' => array( '<test> "Tax %15 %D0 \t' , '"Tax &#37;15 &#37;D0 \t'),
'non-latin characters' => array( '%מַס %Φόρος' , '&#37;מַס &#37;Φόρος'),
);
}
}

View File

@ -256,7 +256,7 @@ importers:
version: 10.5.0(sass@1.69.5)(webpack@5.89.0(webpack-cli@3.3.12))
ts-jest:
specifier: ~29.1.1
version: 29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3)
version: 29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3)
typescript:
specifier: ^5.3.3
version: 5.3.3
@ -292,7 +292,7 @@ importers:
version: 2.3.2
debug:
specifier: ^4.3.4
version: 4.3.4(supports-color@8.1.1)
version: 4.3.4(supports-color@9.4.0)
dompurify:
specifier: ^2.4.7
version: 2.4.7
@ -453,7 +453,7 @@ importers:
version: 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3))
ts-jest:
specifier: ~29.1.1
version: 29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3)
version: 29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3)
typescript:
specifier: ^5.3.3
version: 5.3.3
@ -2866,7 +2866,7 @@ importers:
dependencies:
debug:
specifier: ^4.3.4
version: 4.3.4(supports-color@8.1.1)
version: 4.3.4(supports-color@9.4.0)
devDependencies:
'@babel/core':
specifier: ^7.23.5
@ -2975,7 +2975,7 @@ importers:
version: 1.2.5(@types/react@17.0.71)(react-dom@17.0.2(react@17.0.2))(react-with-direction@1.4.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react@17.0.2)
debug:
specifier: ^4.3.4
version: 4.3.4(supports-color@8.1.1)
version: 4.3.4(supports-color@9.4.0)
prop-types:
specifier: ^15.8.1
version: 15.8.1
@ -2991,10 +2991,10 @@ importers:
devDependencies:
'@babel/preset-react':
specifier: 7.23.3
version: 7.23.3(@babel/core@7.24.7)
version: 7.23.3(@babel/core@7.25.2)
'@babel/preset-typescript':
specifier: 7.23.2
version: 7.23.2(@babel/core@7.24.7)
version: 7.23.2(@babel/core@7.25.2)
'@svgr/webpack':
specifier: ^8.1.0
version: 8.1.0(typescript@5.3.3)
@ -3045,10 +3045,10 @@ importers:
version: 2.17.0(wp-prettier@2.8.5)
'@wordpress/scripts':
specifier: ^19.2.4
version: 19.2.4(@babel/core@7.24.7)(debug@4.3.4)(file-loader@6.2.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))(typescript@5.3.3)(uglify-js@3.17.4)
version: 19.2.4(@babel/core@7.25.2)(debug@4.3.4)(file-loader@6.2.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))(typescript@5.3.3)(uglify-js@3.17.4)
babel-jest:
specifier: ~27.5.1
version: 27.5.1(@babel/core@7.24.7)
version: 27.5.1(@babel/core@7.25.2)
eslint:
specifier: ^8.55.0
version: 8.55.0
@ -3352,7 +3352,7 @@ importers:
version: 3.34.0
debug:
specifier: ^4.3.4
version: 4.3.4(supports-color@8.1.1)
version: 4.3.4(supports-color@9.4.0)
dompurify:
specifier: ^2.4.7
version: 2.4.7
@ -3906,7 +3906,7 @@ importers:
version: 2.17.0(wp-prettier@2.8.5)
'@wordpress/scripts':
specifier: ^19.2.4
version: 19.2.4(@babel/core@7.25.2)(file-loader@6.2.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))(typescript@5.3.3)(uglify-js@3.17.4)
version: 19.2.4(@babel/core@7.25.2)(debug@4.3.4)(file-loader@6.2.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))(typescript@5.3.3)(uglify-js@3.17.4)
eslint:
specifier: ^8.55.0
version: 8.55.0
@ -4642,7 +4642,7 @@ importers:
version: 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3))
ts-jest:
specifier: ~29.1.1
version: 29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3)
version: 29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3)
ts-node:
specifier: ^10.9.2
version: 10.9.2(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3)
@ -4839,7 +4839,7 @@ importers:
version: 1.2.2
ts-jest:
specifier: ~29.1.1
version: 29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3)
version: 29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3)
ts-loader:
specifier: ^9.5.1
version: 9.5.1(typescript@5.3.3)(webpack@5.89.0(webpack-cli@3.3.12))
@ -25603,7 +25603,7 @@ snapshots:
'@wordpress/primitives': 3.55.0
'@wordpress/react-i18n': 3.55.0
classnames: 2.3.2
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
react: 17.0.2
react-dom: 17.0.2(react@17.0.2)
react-popper: 2.3.0(@popperjs/core@2.11.8)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
@ -25628,7 +25628,7 @@ snapshots:
'@wordpress/primitives': 3.55.0
'@wordpress/react-i18n': 3.55.0
classnames: 2.3.2
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
react: 17.0.2
react-dom: 17.0.2(react@17.0.2)
react-popper: 2.3.0(@popperjs/core@2.11.8)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
@ -25732,7 +25732,7 @@ snapshots:
'@babel/traverse': 7.23.5
'@babel/types': 7.23.5
convert-source-map: 1.9.0
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
gensync: 1.0.0-beta.2
json5: 2.2.3
lodash: 4.17.21
@ -25755,7 +25755,7 @@ snapshots:
'@babel/traverse': 7.23.5
'@babel/types': 7.23.5
convert-source-map: 2.0.0
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.1
@ -25775,7 +25775,7 @@ snapshots:
'@babel/traverse': 7.23.5
'@babel/types': 7.23.5
convert-source-map: 2.0.0
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.1
@ -25838,14 +25838,6 @@ snapshots:
eslint-visitor-keys: 2.1.0
semver: 6.3.1
'@babel/eslint-parser@7.23.3(@babel/core@7.24.7)(eslint@7.32.0)':
dependencies:
'@babel/core': 7.24.7
'@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1
eslint: 7.32.0
eslint-visitor-keys: 2.1.0
semver: 6.3.1
'@babel/eslint-parser@7.23.3(@babel/core@7.25.2)(eslint@7.32.0)':
dependencies:
'@babel/core': 7.25.2
@ -26010,19 +26002,6 @@ snapshots:
'@babel/helper-split-export-declaration': 7.24.7
semver: 6.3.1
'@babel/helper-create-class-features-plugin@7.23.6(@babel/core@7.24.7)':
dependencies:
'@babel/core': 7.24.7
'@babel/helper-annotate-as-pure': 7.24.7
'@babel/helper-environment-visitor': 7.24.7
'@babel/helper-function-name': 7.24.7
'@babel/helper-member-expression-to-functions': 7.23.0
'@babel/helper-optimise-call-expression': 7.22.5
'@babel/helper-replace-supers': 7.22.20(@babel/core@7.24.7)
'@babel/helper-skip-transparent-expression-wrappers': 7.22.5
'@babel/helper-split-export-declaration': 7.24.7
semver: 6.3.1
'@babel/helper-create-class-features-plugin@7.23.6(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.25.2
@ -27014,6 +26993,7 @@ snapshots:
dependencies:
'@babel/core': 7.24.7
'@babel/helper-plugin-utils': 7.24.8
optional: true
'@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.25.2)':
dependencies:
@ -27250,11 +27230,6 @@ snapshots:
'@babel/core': 7.23.2
'@babel/helper-plugin-utils': 7.22.5
'@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.24.7)':
dependencies:
'@babel/core': 7.24.7
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.25.2
@ -28866,11 +28841,6 @@ snapshots:
'@babel/core': 7.23.5
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-transform-react-display-name@7.24.7(@babel/core@7.24.7)':
dependencies:
'@babel/core': 7.24.7
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-transform-react-display-name@7.24.7(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.25.2
@ -28890,13 +28860,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@babel/plugin-transform-react-jsx-development@7.22.5(@babel/core@7.24.7)':
dependencies:
'@babel/core': 7.24.7
'@babel/plugin-transform-react-jsx': 7.25.2(@babel/core@7.24.7)
transitivePeerDependencies:
- supports-color
'@babel/plugin-transform-react-jsx-development@7.22.5(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.25.2
@ -28988,17 +28951,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@babel/plugin-transform-react-jsx@7.25.2(@babel/core@7.24.7)':
dependencies:
'@babel/core': 7.24.7
'@babel/helper-annotate-as-pure': 7.24.7
'@babel/helper-module-imports': 7.24.7
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.7)
'@babel/types': 7.25.2
transitivePeerDependencies:
- supports-color
'@babel/plugin-transform-react-jsx@7.25.2(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.25.2
@ -29022,12 +28974,6 @@ snapshots:
'@babel/helper-annotate-as-pure': 7.24.7
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-transform-react-pure-annotations@7.23.3(@babel/core@7.24.7)':
dependencies:
'@babel/core': 7.24.7
'@babel/helper-annotate-as-pure': 7.24.7
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-transform-react-pure-annotations@7.23.3(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.25.2
@ -29340,13 +29286,13 @@ snapshots:
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.2)
'@babel/plugin-transform-typescript@7.23.6(@babel/core@7.24.7)':
'@babel/plugin-transform-typescript@7.23.6(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.24.7
'@babel/core': 7.25.2
'@babel/helper-annotate-as-pure': 7.24.7
'@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.24.7)
'@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.25.2)
'@babel/helper-plugin-utils': 7.24.8
'@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.24.7)
'@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.25.2)
'@babel/plugin-transform-typescript@7.25.2(@babel/core@7.12.9)':
dependencies:
@ -30173,18 +30119,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@babel/preset-react@7.23.3(@babel/core@7.24.7)':
dependencies:
'@babel/core': 7.24.7
'@babel/helper-plugin-utils': 7.24.8
'@babel/helper-validator-option': 7.24.8
'@babel/plugin-transform-react-display-name': 7.24.7(@babel/core@7.24.7)
'@babel/plugin-transform-react-jsx': 7.25.2(@babel/core@7.24.7)
'@babel/plugin-transform-react-jsx-development': 7.22.5(@babel/core@7.24.7)
'@babel/plugin-transform-react-pure-annotations': 7.23.3(@babel/core@7.24.7)
transitivePeerDependencies:
- supports-color
'@babel/preset-react@7.23.3(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.25.2
@ -30208,14 +30142,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@babel/preset-typescript@7.23.2(@babel/core@7.24.7)':
'@babel/preset-typescript@7.23.2(@babel/core@7.25.2)':
dependencies:
'@babel/core': 7.24.7
'@babel/core': 7.25.2
'@babel/helper-plugin-utils': 7.22.5
'@babel/helper-validator-option': 7.23.5
'@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.24.7)
'@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.24.7)
'@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.24.7)
'@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.25.2)
'@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.25.2)
'@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.25.2)
transitivePeerDependencies:
- supports-color
@ -32173,7 +32107,7 @@ snapshots:
'@oclif/color': 1.0.13
'@oclif/core': 2.15.0(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3)
chalk: 4.1.2
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
fs-extra: 9.1.0
http-call: 5.3.0
load-json-file: 5.3.0
@ -32662,7 +32596,7 @@ snapshots:
'@puppeteer/browsers@1.4.6(typescript@5.3.2)':
dependencies:
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
extract-zip: 2.0.1
progress: 2.0.3
proxy-agent: 6.3.0
@ -32676,7 +32610,7 @@ snapshots:
'@puppeteer/browsers@1.4.6(typescript@5.3.3)':
dependencies:
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
extract-zip: 2.0.1
progress: 2.0.3
proxy-agent: 6.3.0
@ -32690,7 +32624,7 @@ snapshots:
'@puppeteer/browsers@1.9.0':
dependencies:
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
extract-zip: 2.0.1
progress: 2.0.3
proxy-agent: 6.3.1
@ -38415,7 +38349,7 @@ snapshots:
'@typescript-eslint/scope-manager': 5.56.0
'@typescript-eslint/type-utils': 5.56.0(eslint@8.55.0)(typescript@5.3.2)
'@typescript-eslint/utils': 5.56.0(eslint@8.55.0)(typescript@5.3.2)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
eslint: 8.55.0
grapheme-splitter: 1.0.4
ignore: 5.3.0
@ -38434,7 +38368,7 @@ snapshots:
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/type-utils': 5.62.0(eslint@8.55.0)(typescript@5.3.2)
'@typescript-eslint/utils': 5.62.0(eslint@8.55.0)(typescript@5.3.2)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
eslint: 8.55.0
graphemer: 1.4.0
ignore: 5.3.0
@ -38453,7 +38387,7 @@ snapshots:
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/type-utils': 5.62.0(eslint@8.55.0)(typescript@5.3.3)
'@typescript-eslint/utils': 5.62.0(eslint@8.55.0)(typescript@5.3.3)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
eslint: 8.55.0
graphemer: 1.4.0
ignore: 5.3.0
@ -38533,7 +38467,7 @@ snapshots:
'@typescript-eslint/scope-manager': 5.56.0
'@typescript-eslint/types': 5.56.0
'@typescript-eslint/typescript-estree': 5.56.0(typescript@5.3.2)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
eslint: 8.55.0
optionalDependencies:
typescript: 5.3.2
@ -39084,7 +39018,7 @@ snapshots:
webpack: 5.91.0(@swc/core@1.3.100)(esbuild@0.18.20)(webpack-cli@4.10.0)
webpack-cli: 4.10.0(webpack-bundle-analyzer@4.7.0)(webpack-dev-server@4.15.1)(webpack@5.91.0)
'@webpack-cli/configtest@1.2.0(webpack-cli@4.10.0(webpack@5.89.0))(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))':
'@webpack-cli/configtest@1.2.0(webpack-cli@4.10.0(webpack-bundle-analyzer@4.7.0)(webpack@5.89.0))(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))':
dependencies:
webpack: 5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)
webpack-cli: 4.10.0(webpack-bundle-analyzer@4.7.0)(webpack@5.89.0)
@ -39104,7 +39038,7 @@ snapshots:
envinfo: 7.13.0
webpack-cli: 4.10.0(webpack-bundle-analyzer@4.7.0)(webpack-dev-server@4.15.1)(webpack@5.91.0)
'@webpack-cli/info@1.5.0(webpack-cli@4.10.0(webpack@5.89.0))':
'@webpack-cli/info@1.5.0(webpack-cli@4.10.0(webpack-bundle-analyzer@4.7.0)(webpack@5.89.0))':
dependencies:
envinfo: 7.13.0
webpack-cli: 4.10.0(webpack-bundle-analyzer@4.7.0)(webpack@5.89.0)
@ -42179,33 +42113,6 @@ snapshots:
- supports-color
- typescript
'@wordpress/eslint-plugin@9.3.0(@babel/core@7.24.7)(eslint@7.32.0)(typescript@5.3.3)':
dependencies:
'@babel/eslint-parser': 7.23.3(@babel/core@7.24.7)(eslint@7.32.0)
'@typescript-eslint/eslint-plugin': 4.33.0(@typescript-eslint/parser@4.33.0(eslint@7.32.0)(typescript@5.3.3))(eslint@7.32.0)(typescript@5.3.3)
'@typescript-eslint/parser': 4.33.0(eslint@7.32.0)(typescript@5.3.3)
'@wordpress/prettier-config': 1.4.0(wp-prettier@2.2.1-beta-1)
cosmiconfig: 7.1.0
eslint: 7.32.0
eslint-config-prettier: 7.2.0(eslint@7.32.0)
eslint-plugin-import: 2.29.0(@typescript-eslint/parser@4.33.0(eslint@7.32.0)(typescript@5.3.3))(eslint@7.32.0)
eslint-plugin-jest: 24.7.0(@typescript-eslint/eslint-plugin@4.33.0(@typescript-eslint/parser@4.33.0(eslint@7.32.0)(typescript@5.3.3))(eslint@7.32.0)(typescript@5.3.3))(eslint@7.32.0)(typescript@5.3.3)
eslint-plugin-jsdoc: 36.1.1(eslint@7.32.0)
eslint-plugin-jsx-a11y: 6.8.0(eslint@7.32.0)
eslint-plugin-prettier: 3.4.1(eslint-config-prettier@7.2.0(eslint@7.32.0))(eslint@7.32.0)(wp-prettier@2.2.1-beta-1)
eslint-plugin-react: 7.33.2(eslint@7.32.0)
eslint-plugin-react-hooks: 4.6.0(eslint@7.32.0)
globals: 12.4.0
prettier: wp-prettier@2.2.1-beta-1
requireindex: 1.2.0
optionalDependencies:
typescript: 5.3.3
transitivePeerDependencies:
- '@babel/core'
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- supports-color
'@wordpress/eslint-plugin@9.3.0(@babel/core@7.25.2)(eslint@7.32.0)(typescript@5.3.3)':
dependencies:
'@babel/eslint-parser': 7.23.3(@babel/core@7.25.2)(eslint@7.32.0)
@ -42560,20 +42467,6 @@ snapshots:
- react-dom
- supports-color
'@wordpress/jest-preset-default@7.1.3(@babel/core@7.24.7)(jest@26.6.3(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
dependencies:
'@wojtekmaj/enzyme-adapter-react-17': 0.6.7(enzyme@3.11.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
'@wordpress/jest-console': 4.1.1(jest@26.6.3(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))
babel-jest: 26.6.3(@babel/core@7.24.7)
enzyme: 3.11.0
enzyme-to-json: 3.6.2(enzyme@3.11.0)
jest: 26.6.3(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))
transitivePeerDependencies:
- '@babel/core'
- react
- react-dom
- supports-color
'@wordpress/jest-preset-default@7.1.3(@babel/core@7.25.2)(jest@26.6.3(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
dependencies:
'@wojtekmaj/enzyme-adapter-react-17': 0.6.7(enzyme@3.11.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
@ -43323,86 +43216,7 @@ snapshots:
- utf-8-validate
- webpack-command
'@wordpress/scripts@19.2.4(@babel/core@7.24.7)(debug@4.3.4)(file-loader@6.2.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))(typescript@5.3.3)(uglify-js@3.17.4)':
dependencies:
'@svgr/webpack': 5.5.0
'@wordpress/babel-preset-default': 6.17.0
'@wordpress/browserslist-config': 4.1.3
'@wordpress/dependency-extraction-webpack-plugin': 3.7.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
'@wordpress/eslint-plugin': 9.3.0(@babel/core@7.24.7)(eslint@7.32.0)(typescript@5.3.3)
'@wordpress/jest-preset-default': 7.1.3(@babel/core@7.24.7)(jest@26.6.3(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
'@wordpress/npm-package-json-lint-config': 4.32.0(npm-package-json-lint@5.4.2)
'@wordpress/postcss-plugins-preset': 3.6.1(postcss@8.4.32)
'@wordpress/prettier-config': 1.4.0(wp-prettier@2.2.1-beta-1)
'@wordpress/stylelint-config': 19.1.0(stylelint@13.13.1)
babel-jest: 26.6.3(@babel/core@7.24.7)
babel-loader: 8.3.0(@babel/core@7.24.7)(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
browserslist: 4.19.3
chalk: 4.1.2
check-node-version: 4.2.1
clean-webpack-plugin: 3.0.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
cross-spawn: 5.1.0
css-loader: 6.8.1(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
cssnano: 5.1.12(postcss@8.4.32)
cwd: 0.10.0
dir-glob: 3.0.1
eslint: 7.32.0
eslint-plugin-markdown: 2.2.1(eslint@7.32.0)
expect-puppeteer: 4.4.0
filenamify: 4.3.0
jest: 26.6.3(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))
jest-circus: 26.6.3(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))
jest-dev-server: 5.0.3(debug@4.3.4)
jest-environment-node: 26.6.2
markdownlint: 0.23.1
markdownlint-cli: 0.27.1
merge-deep: 3.0.3
mini-css-extract-plugin: 2.7.6(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
minimist: 1.2.8
npm-package-json-lint: 5.4.2
postcss: 8.4.32
postcss-loader: 6.2.1(postcss@8.4.32)(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
prettier: wp-prettier@2.2.1-beta-1
puppeteer-core: 10.4.0
read-pkg-up: 1.0.1
resolve-bin: 0.4.3
sass: 1.69.5
sass-loader: 12.6.0(sass@1.69.5)(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
source-map-loader: 3.0.2(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
stylelint: 13.13.1
terser-webpack-plugin: 5.3.6(uglify-js@3.17.4)(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
url-loader: 4.1.1(file-loader@6.2.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)))(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
webpack: 5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)
webpack-bundle-analyzer: 4.7.0
webpack-cli: 4.10.0(webpack-bundle-analyzer@4.7.0)(webpack@5.89.0)
webpack-livereload-plugin: 3.0.2(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
transitivePeerDependencies:
- '@babel/core'
- '@swc/core'
- '@webpack-cli/generators'
- '@webpack-cli/migrate'
- bufferutil
- canvas
- debug
- esbuild
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- fibers
- file-loader
- node-sass
- postcss-jsx
- postcss-markdown
- react
- react-dom
- sass-embedded
- supports-color
- ts-node
- typescript
- uglify-js
- utf-8-validate
- webpack-dev-server
'@wordpress/scripts@19.2.4(@babel/core@7.25.2)(file-loader@6.2.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))(typescript@5.3.3)(uglify-js@3.17.4)':
'@wordpress/scripts@19.2.4(@babel/core@7.25.2)(debug@4.3.4)(file-loader@6.2.0(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)))(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3))(typescript@5.3.3)(uglify-js@3.17.4)':
dependencies:
'@svgr/webpack': 5.5.0
'@wordpress/babel-preset-default': 6.17.0
@ -44754,20 +44568,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
babel-jest@26.6.3(@babel/core@7.24.7):
dependencies:
'@babel/core': 7.24.7
'@jest/transform': 26.6.2
'@jest/types': 26.6.2
'@types/babel__core': 7.20.5
babel-plugin-istanbul: 6.1.1
babel-preset-jest: 26.6.2(@babel/core@7.24.7)
chalk: 4.1.2
graceful-fs: 4.2.11
slash: 3.0.0
transitivePeerDependencies:
- supports-color
babel-jest@26.6.3(@babel/core@7.25.2):
dependencies:
'@babel/core': 7.25.2
@ -44796,20 +44596,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
babel-jest@27.5.1(@babel/core@7.24.7):
dependencies:
'@babel/core': 7.24.7
'@jest/transform': 27.5.1
'@jest/types': 27.5.1
'@types/babel__core': 7.20.5
babel-plugin-istanbul: 6.1.1
babel-preset-jest: 27.5.1(@babel/core@7.24.7)
chalk: 4.1.2
graceful-fs: 4.2.11
slash: 3.0.0
transitivePeerDependencies:
- supports-color
babel-jest@27.5.1(@babel/core@7.25.2):
dependencies:
'@babel/core': 7.25.2
@ -44914,15 +44700,6 @@ snapshots:
schema-utils: 2.7.1
webpack: 5.91.0(@swc/core@1.3.100)(esbuild@0.18.20)(webpack-cli@4.10.0)
babel-loader@8.3.0(@babel/core@7.24.7)(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)):
dependencies:
'@babel/core': 7.24.7
find-cache-dir: 3.3.2
loader-utils: 2.0.4
make-dir: 3.1.0
schema-utils: 2.7.1
webpack: 5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0)
babel-loader@8.3.0(@babel/core@7.25.2)(webpack@4.47.0(webpack-cli@3.3.12(webpack@5.89.0))):
dependencies:
'@babel/core': 7.25.2
@ -45366,6 +45143,7 @@ snapshots:
'@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.7)
'@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.7)
'@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.24.7)
optional: true
babel-preset-current-node-syntax@1.0.1(@babel/core@7.25.2):
dependencies:
@ -45413,12 +45191,6 @@ snapshots:
babel-plugin-jest-hoist: 26.6.2
babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.5)
babel-preset-jest@26.6.2(@babel/core@7.24.7):
dependencies:
'@babel/core': 7.24.7
babel-plugin-jest-hoist: 26.6.2
babel-preset-current-node-syntax: 1.0.1(@babel/core@7.24.7)
babel-preset-jest@26.6.2(@babel/core@7.25.2):
dependencies:
'@babel/core': 7.25.2
@ -45431,12 +45203,6 @@ snapshots:
babel-plugin-jest-hoist: 27.5.1
babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.5)
babel-preset-jest@27.5.1(@babel/core@7.24.7):
dependencies:
'@babel/core': 7.24.7
babel-plugin-jest-hoist: 27.5.1
babel-preset-current-node-syntax: 1.0.1(@babel/core@7.24.7)
babel-preset-jest@27.5.1(@babel/core@7.25.2):
dependencies:
'@babel/core': 7.25.2
@ -48407,7 +48173,7 @@ snapshots:
eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.56.0(eslint@8.55.0)(typescript@5.3.2))(eslint-import-resolver-webpack@0.13.2)(eslint-plugin-import@2.28.1)(eslint@8.55.0):
dependencies:
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
enhanced-resolve: 5.15.0
eslint: 8.55.0
eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.56.0(eslint@8.55.0)(typescript@5.3.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.56.0(eslint@8.55.0)(typescript@5.3.2))(eslint-import-resolver-webpack@0.13.2)(eslint-plugin-import@2.28.1)(eslint@8.55.0))(eslint-import-resolver-webpack@0.13.2(eslint-plugin-import@2.28.1)(webpack@5.91.0(@swc/core@1.3.100)(esbuild@0.18.20)(webpack-cli@5.1.4)))(eslint@8.55.0)
@ -48424,7 +48190,7 @@ snapshots:
eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.62.0(eslint@8.55.0)(typescript@5.3.3))(eslint-import-resolver-webpack@0.13.8)(eslint-plugin-import@2.29.0)(eslint@8.55.0):
dependencies:
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
enhanced-resolve: 5.15.0
eslint: 8.55.0
eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.55.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.62.0(eslint@8.55.0)(typescript@5.3.3))(eslint-import-resolver-webpack@0.13.8)(eslint-plugin-import@2.29.0)(eslint@8.55.0))(eslint-import-resolver-webpack@0.13.8(eslint-plugin-import@2.29.0)(webpack@5.89.0(webpack-cli@4.10.0)))(eslint@8.55.0)
@ -49832,7 +49598,7 @@ snapshots:
follow-redirects@1.15.6(debug@4.3.4):
optionalDependencies:
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
follow-redirects@1.5.10:
dependencies:
@ -53025,9 +52791,7 @@ snapshots:
pretty-format: 24.9.0
throat: 4.1.0
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
jest-jasmine2@25.5.4:
dependencies:
@ -54699,7 +54463,7 @@ snapshots:
chalk: 5.2.0
cli-truncate: 3.1.0
commander: 10.0.1
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
execa: 7.2.0
lilconfig: 2.1.0
listr2: 5.0.8(enquirer@2.4.1)
@ -55996,7 +55760,7 @@ snapshots:
dependencies:
carlo: 0.9.46
chokidar: 3.5.3
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
isbinaryfile: 3.0.3
mime: 2.6.0
opn: 5.5.0
@ -56524,7 +56288,7 @@ snapshots:
'@oclif/plugin-warn-if-update-available': 2.1.1(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3)
aws-sdk: 2.1515.0
concurrently: 7.6.0
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
find-yarn-workspace-root: 2.0.0
fs-extra: 8.1.0
github-slugger: 1.5.0
@ -58034,7 +57798,7 @@ snapshots:
puppeteer-core@13.7.0(encoding@0.1.13):
dependencies:
cross-fetch: 3.1.5(encoding@0.1.13)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
devtools-protocol: 0.0.981744
extract-zip: 2.0.1
https-proxy-agent: 5.0.1
@ -58073,7 +57837,7 @@ snapshots:
'@puppeteer/browsers': 1.4.6(typescript@5.3.2)
chromium-bidi: 0.4.16(devtools-protocol@0.0.1147663)
cross-fetch: 4.0.0(encoding@0.1.13)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
devtools-protocol: 0.0.1147663
ws: 8.13.0
optionalDependencies:
@ -58089,7 +57853,7 @@ snapshots:
'@puppeteer/browsers': 1.4.6(typescript@5.3.3)
chromium-bidi: 0.4.16(devtools-protocol@0.0.1147663)
cross-fetch: 4.0.0(encoding@0.1.13)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
devtools-protocol: 0.0.1147663
ws: 8.13.0
optionalDependencies:
@ -58105,7 +57869,7 @@ snapshots:
'@puppeteer/browsers': 1.9.0
chromium-bidi: 0.5.1(devtools-protocol@0.0.1203626)
cross-fetch: 4.0.0(encoding@0.1.13)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
devtools-protocol: 0.0.1203626
ws: 8.14.2
transitivePeerDependencies:
@ -58141,7 +57905,7 @@ snapshots:
puppeteer@17.1.3(encoding@0.1.13):
dependencies:
cross-fetch: 3.1.5(encoding@0.1.13)
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
devtools-protocol: 0.0.1036444
extract-zip: 2.0.1
https-proxy-agent: 5.0.1
@ -58469,7 +58233,7 @@ snapshots:
react-docgen-typescript-plugin@1.0.5(typescript@5.3.2)(webpack@5.91.0(@swc/core@1.3.100)(esbuild@0.18.20)(webpack-cli@5.1.4)):
dependencies:
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
endent: 2.1.0
find-cache-dir: 3.3.2
flat-cache: 3.2.0
@ -60346,7 +60110,7 @@ snapshots:
dependencies:
'@kwsites/file-exists': 1.1.1
'@kwsites/promise-deferred': 1.1.1
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
transitivePeerDependencies:
- supports-color
@ -61095,7 +60859,7 @@ snapshots:
colord: 2.9.3
cosmiconfig: 7.1.0
css-functions-list: 3.2.1
debug: 4.3.4(supports-color@8.1.1)
debug: 4.3.4(supports-color@9.4.0)
fast-glob: 3.3.2
fastest-levenshtein: 1.0.16
file-entry-cache: 6.0.1
@ -61899,7 +61663,7 @@ snapshots:
'@jest/types': 29.6.3
babel-jest: 29.7.0(@babel/core@7.24.7)
ts-jest@29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.3.100)(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3):
ts-jest@29.1.1(@babel/core@7.25.2)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@types/node@16.18.68)(typescript@5.3.3)))(typescript@5.3.3):
dependencies:
bs-logger: 0.2.6
fast-json-stable-stringify: 2.1.0
@ -63005,8 +62769,8 @@ snapshots:
webpack-cli@4.10.0(webpack-bundle-analyzer@4.7.0)(webpack@5.89.0):
dependencies:
'@discoveryjs/json-ext': 0.5.7
'@webpack-cli/configtest': 1.2.0(webpack-cli@4.10.0(webpack@5.89.0))(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
'@webpack-cli/info': 1.5.0(webpack-cli@4.10.0(webpack@5.89.0))
'@webpack-cli/configtest': 1.2.0(webpack-cli@4.10.0(webpack-bundle-analyzer@4.7.0)(webpack@5.89.0))(webpack@5.89.0(uglify-js@3.17.4)(webpack-cli@4.10.0))
'@webpack-cli/info': 1.5.0(webpack-cli@4.10.0(webpack-bundle-analyzer@4.7.0)(webpack@5.89.0))
'@webpack-cli/serve': 1.7.0(webpack-cli@4.10.0(webpack@5.89.0))
colorette: 2.0.20
commander: 7.2.0