From 60aac3e0f6969e89cc4df0032a5169d2f2e3034e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 May 2024 14:43:55 +0000 Subject: [PATCH] Bump @testing-library/react from 12.1.5 to 15.0.7 Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 12.1.5 to 15.0.7. - [Release notes](https://github.com/testing-library/react-testing-library/releases) - [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/react-testing-library/compare/v12.1.5...v15.0.7) --- updated-dependencies: - dependency-name: "@testing-library/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 84 ++++++++++++++++--------- package.json | 2 +- packages/activation-notice/package.json | 2 +- packages/animation/package.json | 2 +- packages/dashboard/package.json | 2 +- packages/design-system/package.json | 2 +- packages/karma-fixture/package.json | 2 +- packages/output/package.json | 2 +- packages/react/package.json | 2 +- packages/rich-text/package.json | 2 +- packages/stories-block/package.json | 2 +- packages/story-editor/package.json | 2 +- packages/test-utils/package.json | 2 +- packages/tinymce-button/package.json | 2 +- packages/wp-dashboard/package.json | 2 +- packages/wp-story-editor/package.json | 2 +- 16 files changed, 70 insertions(+), 44 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3d8f2301d1b4..d723df3225a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,7 +51,7 @@ "@svgr/webpack": "^8.0.1", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.3.0", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.11", @@ -10736,21 +10736,27 @@ } }, "node_modules/@testing-library/react": { - "version": "12.1.5", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-12.1.5.tgz", - "integrity": "sha512-OfTXCJUFgjd/digLUuPxa0+/3ZxsQmE7ub9kcbW/wi96Bh3o/p5vrETcBGfP17NWPGqeYYl5LTRpwyGoMC4ysg==", + "version": "15.0.7", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-15.0.7.tgz", + "integrity": "sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==", "dev": true, "dependencies": { "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^8.0.0", - "@types/react-dom": "<18.0.0" + "@testing-library/dom": "^10.0.0", + "@types/react-dom": "^18.0.0" }, "engines": { - "node": ">=12" + "node": ">=18" }, "peerDependencies": { - "react": "<18.0.0", - "react-dom": "<18.0.0" + "@types/react": "^18.0.0", + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, "node_modules/@testing-library/react-hooks": { @@ -10784,22 +10790,31 @@ } }, "node_modules/@testing-library/react/node_modules/@testing-library/dom": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-8.20.0.tgz", - "integrity": "sha512-d9ULIT+a4EXLX3UU8FBjauG9NnsZHkHztXoIcTsOKoOw030fyjheN9svkTULjJxtYag9DZz5Jz5qkWZDPxTFwA==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.1.0.tgz", + "integrity": "sha512-wdsYKy5zupPyLCW2Je5DLHSxSfbIp6h80WoHOQc+RPtmPGA52O9x5MJEkv92Sjonpq+poOAtUKhh1kBGAXBrNA==", "dev": true, "dependencies": { "@babel/code-frame": "^7.10.4", "@babel/runtime": "^7.12.5", "@types/aria-query": "^5.0.1", - "aria-query": "^5.0.0", + "aria-query": "5.3.0", "chalk": "^4.1.0", "dom-accessibility-api": "^0.5.9", - "lz-string": "^1.4.4", + "lz-string": "^1.5.0", "pretty-format": "^27.0.2" }, "engines": { - "node": ">=12" + "node": ">=18" + } + }, + "node_modules/@testing-library/react/node_modules/@types/react-dom": { + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", + "dev": true, + "dependencies": { + "@types/react": "*" } }, "node_modules/@testing-library/react/node_modules/ansi-styles": { @@ -10817,6 +10832,15 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/@testing-library/react/node_modules/aria-query": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", + "dev": true, + "dependencies": { + "dequal": "^2.0.3" + } + }, "node_modules/@testing-library/react/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -11438,6 +11462,8 @@ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.11.tgz", "integrity": "sha512-f96K3k+24RaLGVu/Y2Ng3e1EbZ8/cVJvypZWd7cy0ofCBaf2lcM46xNhycMZ2xGwbBjRql7hOlZ+e2WlJ5MH3Q==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "@types/react": "*" } @@ -38701,7 +38727,7 @@ }, "devDependencies": { "@storybook/addon-essentials": "^7.6.4", - "@testing-library/react": "^14.0.0" + "@testing-library/react": "^15.0.7" }, "engines": { "node": ">= 12 || >= 14 || >= 16 || >= 18 || >= 20", @@ -38903,7 +38929,7 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@types/styled-components": "^5.1.26", "@types/web-animations-js": "^2.2.14" @@ -38992,7 +39018,7 @@ "devDependencies": { "@googleforcreators/karma-fixture": "*", "@storybook/addon-essentials": "^7.6.4", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2", "jest": "^29.6.1", @@ -39057,7 +39083,7 @@ }, "devDependencies": { "@storybook/addon-essentials": "^7.6.4", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@types/big.js": "^6.2.0", "@types/react-transition-group": "^4.4.6", @@ -39552,7 +39578,7 @@ "@googleforcreators/react": "*" }, "devDependencies": { - "@testing-library/react": "^12.1.5" + "@testing-library/react": "^15.0.7" }, "engines": { "node": ">= 12 || >= 14 || >= 16 || >= 18 || >= 20", @@ -39740,7 +39766,7 @@ "devDependencies": { "@googleforcreators/element-library": "*", "@googleforcreators/test-utils": "*", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "flagged": "^2.0.10", "react": "^17.0.2" }, @@ -39785,7 +39811,7 @@ "use-reduction": "^2.1.2" }, "devDependencies": { - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@types/react": "^17.0.44" }, @@ -39820,7 +39846,7 @@ "prop-types": "^15.7.2" }, "devDependencies": { - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@types/draft-js": "^0.11.9" }, "engines": { @@ -39872,7 +39898,7 @@ "prop-types": "^15.8.1" }, "devDependencies": { - "@testing-library/react": "^14.0.0" + "@testing-library/react": "^15.0.7" }, "engines": { "node": ">= 12 || >= 14 || >= 16 || >= 18 || >= 20", @@ -40509,7 +40535,7 @@ "@storybook/addon-essentials": "^7.6.4", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.3.0", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2", "jest": "^29.6.1", @@ -40605,7 +40631,7 @@ "license": "Apache-2.0", "devDependencies": { "@googleforcreators/design-system": "*", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "prop-types": "^15.8.1", "styled-components": "^5.3.11" }, @@ -40643,7 +40669,7 @@ "prop-types": "^15.8.1" }, "devDependencies": { - "@testing-library/react": "^14.0.0" + "@testing-library/react": "^15.0.7" }, "engines": { "node": ">= 12 || >= 14 || >= 16 || >= 18 || >= 20", @@ -41135,7 +41161,7 @@ }, "devDependencies": { "@storybook/addon-essentials": "^7.6.4", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2" }, @@ -41214,7 +41240,7 @@ }, "devDependencies": { "@googleforcreators/test-utils": "*", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "mockdate": "^3.0.5", "prop-types": "^15.8.1" diff --git a/package.json b/package.json index 20778bb90024..ed00ca93091a 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@svgr/webpack": "^8.0.1", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.3.0", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.11", diff --git a/packages/activation-notice/package.json b/packages/activation-notice/package.json index 8ae11cf3bd53..8303177668fe 100644 --- a/packages/activation-notice/package.json +++ b/packages/activation-notice/package.json @@ -38,6 +38,6 @@ }, "devDependencies": { "@storybook/addon-essentials": "^7.6.4", - "@testing-library/react": "^14.0.0" + "@testing-library/react": "^15.0.7" } } diff --git a/packages/animation/package.json b/packages/animation/package.json index 1af01f732351..8b0a05a5da32 100644 --- a/packages/animation/package.json +++ b/packages/animation/package.json @@ -49,7 +49,7 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@types/styled-components": "^5.1.26", "@types/web-animations-js": "^2.2.14" diff --git a/packages/dashboard/package.json b/packages/dashboard/package.json index e6d775eda933..444b7cf6d4cd 100644 --- a/packages/dashboard/package.json +++ b/packages/dashboard/package.json @@ -58,7 +58,7 @@ "devDependencies": { "@googleforcreators/karma-fixture": "*", "@storybook/addon-essentials": "^7.6.4", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2", "jest": "^29.6.1", diff --git a/packages/design-system/package.json b/packages/design-system/package.json index 357247a01fc1..999ef831d392 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -54,7 +54,7 @@ }, "devDependencies": { "@storybook/addon-essentials": "^7.6.4", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@types/big.js": "^6.2.0", "@types/react-transition-group": "^4.4.6", diff --git a/packages/karma-fixture/package.json b/packages/karma-fixture/package.json index ee2d81afe4e3..f1c91a47099e 100644 --- a/packages/karma-fixture/package.json +++ b/packages/karma-fixture/package.json @@ -28,6 +28,6 @@ "@googleforcreators/react": "*" }, "devDependencies": { - "@testing-library/react": "^12.1.5" + "@testing-library/react": "^15.0.7" } } diff --git a/packages/output/package.json b/packages/output/package.json index 0ee7a6963ea8..10bf456cd722 100644 --- a/packages/output/package.json +++ b/packages/output/package.json @@ -54,7 +54,7 @@ "devDependencies": { "@googleforcreators/element-library": "*", "@googleforcreators/test-utils": "*", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "flagged": "^2.0.10", "react": "^17.0.2" } diff --git a/packages/react/package.json b/packages/react/package.json index eb8ed6468b9f..669d4f55a52a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -44,7 +44,7 @@ "use-reduction": "^2.1.2" }, "devDependencies": { - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@types/react": "^17.0.44" }, diff --git a/packages/rich-text/package.json b/packages/rich-text/package.json index d1f4a78e31e1..dacc08a72f77 100644 --- a/packages/rich-text/package.json +++ b/packages/rich-text/package.json @@ -49,7 +49,7 @@ "prop-types": "^15.7.2" }, "devDependencies": { - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@types/draft-js": "^0.11.9" } } diff --git a/packages/stories-block/package.json b/packages/stories-block/package.json index a957c81be4aa..f5b86c0ebef0 100644 --- a/packages/stories-block/package.json +++ b/packages/stories-block/package.json @@ -51,6 +51,6 @@ "prop-types": "^15.8.1" }, "devDependencies": { - "@testing-library/react": "^14.0.0" + "@testing-library/react": "^15.0.7" } } diff --git a/packages/story-editor/package.json b/packages/story-editor/package.json index 5bf3b6d52ef8..7e52834cb148 100644 --- a/packages/story-editor/package.json +++ b/packages/story-editor/package.json @@ -93,7 +93,7 @@ "@storybook/addon-essentials": "^7.6.4", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.3.0", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2", "jest": "^29.6.1", diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index c01ef9696200..ce2912665a7c 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -39,7 +39,7 @@ "dependencies": {}, "devDependencies": { "@googleforcreators/design-system": "*", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "prop-types": "^15.8.1", "styled-components": "^5.3.11" } diff --git a/packages/tinymce-button/package.json b/packages/tinymce-button/package.json index 864130360d45..0fabe59c4de2 100644 --- a/packages/tinymce-button/package.json +++ b/packages/tinymce-button/package.json @@ -34,6 +34,6 @@ "prop-types": "^15.8.1" }, "devDependencies": { - "@testing-library/react": "^14.0.0" + "@testing-library/react": "^15.0.7" } } diff --git a/packages/wp-dashboard/package.json b/packages/wp-dashboard/package.json index fbe75de6b3bc..e2d2e330507c 100644 --- a/packages/wp-dashboard/package.json +++ b/packages/wp-dashboard/package.json @@ -49,7 +49,7 @@ }, "devDependencies": { "@storybook/addon-essentials": "^7.6.4", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.5.2" } diff --git a/packages/wp-story-editor/package.json b/packages/wp-story-editor/package.json index 2da81e9f5b89..9f5029d82c1b 100644 --- a/packages/wp-story-editor/package.json +++ b/packages/wp-story-editor/package.json @@ -49,7 +49,7 @@ }, "devDependencies": { "@googleforcreators/test-utils": "*", - "@testing-library/react": "^12.1.5", + "@testing-library/react": "^15.0.7", "@testing-library/react-hooks": "^8.0.1", "mockdate": "^3.0.5", "prop-types": "^15.8.1"