diff --git a/package.json b/package.json index cbdda01..60457ed 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@types/wordpress__components": "^23.0.11", "@wordpress/e2e-test-utils-playwright": "^0.22.0", "@wordpress/env": "^9.7.0", - "@wordpress/eslint-plugin": "^17.10.0", + "@wordpress/eslint-plugin": "^21.1.2", "@wordpress/scripts": "^27.5.0", "eslint": "^8.57.0", "eslint-import-resolver-alias": "^1.1.2", diff --git a/yarn.lock b/yarn.lock index bf2e460..3f05839 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2789,6 +2789,23 @@ core-js "^3.31.0" react "^18.2.0" +"@wordpress/babel-preset-default@^8.8.2": + version "8.8.2" + resolved "https://registry.yarnpkg.com/@wordpress/babel-preset-default/-/babel-preset-default-8.8.2.tgz#729397d7cc9b9af072fa7103f16d306cd9579d78" + integrity sha512-XhIpSw6d8GeaBe+gQ25nck01+Q3UiVQgih/yBCFWNtzB2qp/AB7195lHGxbuAYUO9RM1eXsf8kVJV2caAb4WnA== + dependencies: + "@babel/core" "^7.16.0" + "@babel/plugin-transform-react-jsx" "^7.16.0" + "@babel/plugin-transform-runtime" "^7.16.0" + "@babel/preset-env" "^7.16.0" + "@babel/preset-typescript" "^7.16.0" + "@babel/runtime" "^7.16.0" + "@wordpress/browserslist-config" "^6.8.1" + "@wordpress/warning" "^3.8.1" + browserslist "^4.21.10" + core-js "^3.31.0" + react "^18.3.0" + "@wordpress/base-styles@^4.45.0": version "4.45.0" resolved "https://registry.yarnpkg.com/@wordpress/base-styles/-/base-styles-4.45.0.tgz#6144f4abf3db464b33f92571def182935b7c50cc" @@ -2799,6 +2816,11 @@ resolved "https://registry.yarnpkg.com/@wordpress/browserslist-config/-/browserslist-config-5.37.0.tgz#0c86e753a2719d6a254fee98365be4004c4f430f" integrity sha512-ntFx1d2m4q8qTEqqV8k8GrnRVpREJkcwWv+y8XU8drPwXIGGCGDoO5HqB9d+nJUi3KlBC/re1OkijDfRlCNVbA== +"@wordpress/browserslist-config@^6.8.1": + version "6.8.1" + resolved "https://registry.yarnpkg.com/@wordpress/browserslist-config/-/browserslist-config-6.8.1.tgz#f413e067b5679daa385f98665d549fc310159903" + integrity sha512-hp2eE0DiRbFGTUEQ49kLVyZWlR8lfm8hb2XKqSoWbeqzWM5ZkgrRRJMrJRPS/jCEWTWDdlBwUFfsVNDKpmHc9A== + "@wordpress/components@^27.1.0": version "27.1.0" resolved "https://registry.yarnpkg.com/@wordpress/components/-/components-27.1.0.tgz#0c96b92da3ce1c2041d5af2c78f0eb7919e93fd3" @@ -2987,7 +3009,7 @@ dependencies: "@babel/runtime" "^7.16.0" -"@wordpress/eslint-plugin@^17.10.0", "@wordpress/eslint-plugin@^17.11.0": +"@wordpress/eslint-plugin@^17.11.0": version "17.11.0" resolved "https://registry.yarnpkg.com/@wordpress/eslint-plugin/-/eslint-plugin-17.11.0.tgz#b8fd4bca80bcb00b07acb68c432133c65a89ab89" integrity sha512-r4fNZskTmb+v2ewzkO9BYe+9rasY4vwqQw7Zs77nuBtZOjJLCY0eX5AsnwnZNz7rq/ClRx93PaL5fvVRkT2smA== @@ -3010,6 +3032,29 @@ globals "^13.12.0" requireindex "^1.2.0" +"@wordpress/eslint-plugin@^21.1.2": + version "21.1.2" + resolved "https://registry.yarnpkg.com/@wordpress/eslint-plugin/-/eslint-plugin-21.1.2.tgz#1661531c27716805c078d6fa808367832e4adb66" + integrity sha512-f89Q8J1yGq6b1Myqgby7Xdon+mx/YjSBCs3/saydaJWJoXaDIXZFTMrY0cjWzbSOTDThYCvbkvQm0QGAPanNTA== + dependencies: + "@babel/eslint-parser" "^7.16.0" + "@typescript-eslint/eslint-plugin" "^6.4.1" + "@typescript-eslint/parser" "^6.4.1" + "@wordpress/babel-preset-default" "^8.8.2" + "@wordpress/prettier-config" "^4.8.1" + cosmiconfig "^7.0.0" + eslint-config-prettier "^8.3.0" + eslint-plugin-import "^2.25.2" + eslint-plugin-jest "^27.2.3" + eslint-plugin-jsdoc "^46.4.6" + eslint-plugin-jsx-a11y "^6.5.1" + eslint-plugin-playwright "^0.15.3" + eslint-plugin-prettier "^5.0.0" + eslint-plugin-react "^7.27.0" + eslint-plugin-react-hooks "^4.3.0" + globals "^13.12.0" + requireindex "^1.2.0" + "@wordpress/hooks@^3.53.0", "@wordpress/hooks@^3.54.0": version "3.54.0" resolved "https://registry.yarnpkg.com/@wordpress/hooks/-/hooks-3.54.0.tgz#bb635abeec2c520ca187c65d15df461c4af4a29b" @@ -3122,6 +3167,11 @@ resolved "https://registry.yarnpkg.com/@wordpress/prettier-config/-/prettier-config-3.11.0.tgz#968a4b7db2de17af266b1e51666175eb34ae8ee7" integrity sha512-QBczBEPRzo6mMoZ7+jcICN+qEfIzP/emq7apeDcpZsSH2AI1sXdO8mYSlu4XaCOo3/wkMAiV0w2CRVwnSRkKHA== +"@wordpress/prettier-config@^4.8.1": + version "4.8.1" + resolved "https://registry.yarnpkg.com/@wordpress/prettier-config/-/prettier-config-4.8.1.tgz#747708050f36edc2c0f36c24da35e636f83d3750" + integrity sha512-JDiVChhgwv6ZGa4aVOXnDJnj/dUFkD/SSvRLFkLOdB+ZbWgddJQkVB3rpJOfREsPtEFWqgTxcJoZjnkqltNbww== + "@wordpress/primitives@^3.51.0": version "3.51.0" resolved "https://registry.yarnpkg.com/@wordpress/primitives/-/primitives-3.51.0.tgz#e5dcb7ebe20d6044b8af2df9b335b8e0cf798873" @@ -3270,6 +3320,11 @@ resolved "https://registry.yarnpkg.com/@wordpress/warning/-/warning-2.54.0.tgz#335a21fc60456d6b2e5c52dde5efb3c9bff6dcb5" integrity sha512-4zhMDF7eAs+uGz2IahskiBeAMioKUwM3yubJ0rQ74AZNFZam/CU1WQfjRLcksffCEa3md0mTFPmMi2nZjOMgbg== +"@wordpress/warning@^3.8.1": + version "3.8.1" + resolved "https://registry.yarnpkg.com/@wordpress/warning/-/warning-3.8.1.tgz#23c086bdaf4310860c5d6fb6bb40ddb1d1289682" + integrity sha512-xlo0Xw1jiyiE6nh43NAtQMAL05VDk837kY2xfjsus6wD597TeWFpj6gmcRMH25FZULTUHDB2EPfLviWXqOgUfg== + "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" @@ -9524,6 +9579,13 @@ react@18.2.0, react@^18.2.0: dependencies: loose-envify "^1.1.0" +react@^18.3.0: + version "18.3.1" + resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" + integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== + dependencies: + loose-envify "^1.1.0" + read-pkg-up@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507"