diff --git a/package.json b/package.json index 7081875..2c0ceee 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,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": "^19.0.0", "@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 d47af1d..85cfa80 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2743,7 +2743,7 @@ "@wordpress/dom-ready" "^3.53.0" "@wordpress/i18n" "^4.53.0" -"@wordpress/api-fetch@^6.48.0", "@wordpress/api-fetch@^6.51.0", "@wordpress/api-fetch@^6.52.0": +"@wordpress/api-fetch@^6.48.0", "@wordpress/api-fetch@^6.51.0": version "6.52.0" resolved "https://registry.yarnpkg.com/@wordpress/api-fetch/-/api-fetch-6.52.0.tgz#eb79b4ab7ad7df5297a554e0839449e9217a32c8" integrity sha512-zLgpRT6iKdfQupF7hGYbixjqgkeU2taclEHbbQqP6ClLfG709I3kX6Ft+2wh6FaG8MhdVZkl0/E0DTROJ5lbyA== @@ -2775,6 +2775,23 @@ core-js "^3.31.0" react "^18.2.0" +"@wordpress/babel-preset-default@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/babel-preset-default/-/babel-preset-default-8.0.0.tgz#f62fa85880ab64cd6ca2b94085dbaf09c661cf81" + integrity sha512-0/UBnS9I9gYfhMgB6wsKgvLG8oCdTLVeyqNHtlarjt0q5jVMEI1keXfVbkgxtXwg3KAr49DwLx0dc8PzU0HhAw== + 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.0.0" + "@wordpress/warning" "^3.0.0" + 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" @@ -2785,6 +2802,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.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/browserslist-config/-/browserslist-config-6.0.0.tgz#e86aa1b8492409121b2d9ce4172a57d6cd1e8251" + integrity sha512-7MGNySnaDpM+w/Wld4agavDKTOqDM1+fs5eUVmFNfkdfz8MLRukhiFhMt/iJLsmj1wEdUv1/LcDfz9uWUqvc6g== + "@wordpress/components@^27.1.0": version "27.1.0" resolved "https://registry.yarnpkg.com/@wordpress/components/-/components-27.1.0.tgz#0c96b92da3ce1c2041d5af2c78f0eb7919e93fd3" @@ -2934,21 +2956,6 @@ mime "^3.0.0" web-vitals "^3.5.0" -"@wordpress/e2e-test-utils-playwright@^0.23.0": - version "0.23.0" - resolved "https://registry.yarnpkg.com/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-0.23.0.tgz#246c3c8d79a4a0cf2e639f4aa73154cbde247742" - integrity sha512-IrLvLho82nWG0tPYNODHtMYRjehMVR2w+wwM3NoEOjHxhAfDCBU0+/7e63z/obAOWDLKe1jeCXXQ6sRyr1cOMw== - dependencies: - "@wordpress/api-fetch" "^6.52.0" - "@wordpress/keycodes" "^3.55.0" - "@wordpress/url" "^3.56.0" - change-case "^4.1.2" - form-data "^4.0.0" - get-port "^5.1.1" - lighthouse "^10.4.0" - mime "^3.0.0" - web-vitals "^3.5.0" - "@wordpress/element@^5.0.0", "@wordpress/element@^5.30.0": version "5.30.0" resolved "https://registry.yarnpkg.com/@wordpress/element/-/element-5.30.0.tgz#8ea18fe92419d7db279c2629c367bb7825578ef6" @@ -2988,7 +2995,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== @@ -3011,6 +3018,29 @@ globals "^13.12.0" requireindex "^1.2.0" +"@wordpress/eslint-plugin@^19.0.0": + version "19.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/eslint-plugin/-/eslint-plugin-19.0.0.tgz#0328ddfcbf3bd1d71d94101d65c00695f1dad35f" + integrity sha512-rZMnY+YbL1xGcnwPhVoWg03e0+HmSxppeNKIF9oU7g73ujemDR/FaS8jO5yKghNyIhBnTqH9oZMsSwAoKNlDfQ== + 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.0.0" + "@wordpress/prettier-config" "^4.0.0" + 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" @@ -3088,7 +3118,7 @@ "@wordpress/jest-console" "^7.25.0" babel-jest "^29.6.2" -"@wordpress/keycodes@^3.53.0", "@wordpress/keycodes@^3.54.0", "@wordpress/keycodes@^3.55.0": +"@wordpress/keycodes@^3.53.0", "@wordpress/keycodes@^3.54.0": version "3.55.0" resolved "https://registry.yarnpkg.com/@wordpress/keycodes/-/keycodes-3.55.0.tgz#a964da7a4089be33492fcb4df2442468c2f05c9d" integrity sha512-93Z479aesGmCo2BZ4UX8gVGabVfj128hCaod1cknZBkOymYxOCc6bobiEQ3ncZ1m6HTxAt5ikjeDXoWuCrPKsQ== @@ -3123,6 +3153,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.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/prettier-config/-/prettier-config-4.0.0.tgz#7b9755b98b15ec40678c207656b6fed3fd72f997" + integrity sha512-8myxMYm23MH/DMudwIIDbZby3GlOAO4vBk3j2tH+U3Ig6bXgt2M/cp4OLl8/EP8I3BLw8CdT13KXcdU7RE5nJw== + "@wordpress/primitives@^3.51.0": version "3.51.0" resolved "https://registry.yarnpkg.com/@wordpress/primitives/-/primitives-3.51.0.tgz#e5dcb7ebe20d6044b8af2df9b335b8e0cf798873" @@ -3271,6 +3306,11 @@ resolved "https://registry.yarnpkg.com/@wordpress/warning/-/warning-2.54.0.tgz#335a21fc60456d6b2e5c52dde5efb3c9bff6dcb5" integrity sha512-4zhMDF7eAs+uGz2IahskiBeAMioKUwM3yubJ0rQ74AZNFZam/CU1WQfjRLcksffCEa3md0mTFPmMi2nZjOMgbg== +"@wordpress/warning@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@wordpress/warning/-/warning-3.0.0.tgz#a9d13a561eeef6b5c4a464493bbdcfec2cbda282" + integrity sha512-vZ7SH4lwnwglsZC+5dmrMJS/9lZXn7BvADC+ZHzrRM0s6Ufumi1RdG0QJr/HJuTRY9fX5bbPNdUQVyrv+weSEg== + "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" @@ -9513,6 +9553,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"