diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index b6f2e50837c7..cb6287dad04c 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -61,7 +61,7 @@ "jest-specific-snapshot": "^4.0.0", "preact-render-to-string": "^5.1.19", "pretty-format": "^26.6.2", - "react-test-renderer": "^16.8.0 || ^17.0.0", + "react-test-renderer": "^16.8.0 || ^17.0.0 || ^18.0.0", "read-pkg-up": "^7.0.1", "regenerator-runtime": "^0.13.7", "ts-dedent": "^2.0.0" @@ -80,6 +80,7 @@ "enzyme-to-json": "^3.6.1", "jest-preset-angular": "^8.3.2", "jest-vue-preprocessor": "^1.7.1", + "react-test-renderer": "^16", "rxjs": "^6.6.3", "vue-jest": "^5.0.0-alpha.8" }, diff --git a/yarn.lock b/yarn.lock index 9c430c7b44c1..df9030f1545f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6885,7 +6885,7 @@ __metadata: jest-vue-preprocessor: ^1.7.1 preact-render-to-string: ^5.1.19 pretty-format: ^26.6.2 - react-test-renderer: ^16.8.0 || ^17.0.0 + react-test-renderer: ^16 read-pkg-up: ^7.0.1 regenerator-runtime: ^0.13.7 rxjs: ^6.6.3 @@ -38275,7 +38275,7 @@ __metadata: languageName: node linkType: hard -"react-is@npm:17.0.2, react-is@npm:^16.12.0 || ^17.0.0, react-is@npm:^17.0.1, react-is@npm:^17.0.2": +"react-is@npm:17.0.2, react-is@npm:^17.0.1, react-is@npm:^17.0.2": version: 17.0.2 resolution: "react-is@npm:17.0.2" checksum: 2bdb6b93fbb1820b024b496042cce405c57e2f85e777c9aabd55f9b26d145408f9f74f5934676ffdc46f3dcff656d78413a6e43968e7b3f92eea35b3052e9053 @@ -38604,18 +38604,6 @@ __metadata: languageName: node linkType: hard -"react-shallow-renderer@npm:^16.13.1": - version: 16.14.1 - resolution: "react-shallow-renderer@npm:16.14.1" - dependencies: - object-assign: ^4.1.1 - react-is: ^16.12.0 || ^17.0.0 - peerDependencies: - react: ^16.0.0 || ^17.0.0 - checksum: b95f7ee2d88cf093e5b370663943ceb9199b8dff4217cb8cbffdf5e60966286f898a3ce7257b3c31bab54d698a3c80e70e92b0a8320bc69bdcf4d565678261c9 - languageName: node - linkType: hard - "react-sizeme@npm:^3.0.1": version: 3.0.2 resolution: "react-sizeme@npm:3.0.2" @@ -38658,7 +38646,7 @@ __metadata: languageName: node linkType: hard -"react-test-renderer@npm:^16.0.0-0, react-test-renderer@npm:^16.2.0": +"react-test-renderer@npm:^16, react-test-renderer@npm:^16.0.0-0, react-test-renderer@npm:^16.2.0": version: 16.14.0 resolution: "react-test-renderer@npm:16.14.0" dependencies: @@ -38672,20 +38660,6 @@ __metadata: languageName: node linkType: hard -"react-test-renderer@npm:^16.8.0 || ^17.0.0": - version: 17.0.2 - resolution: "react-test-renderer@npm:17.0.2" - dependencies: - object-assign: ^4.1.1 - react-is: ^17.0.2 - react-shallow-renderer: ^16.13.1 - scheduler: ^0.20.2 - peerDependencies: - react: 17.0.2 - checksum: a4ea1e745a87bb9015540d96a3077b614bf88e306a0edd639f8fb849a393fa5104e84eca4349bc4b026f2f0b115a4172d58950d7076316115795266557659276 - languageName: node - linkType: hard - "react-textarea-autosize@npm:^8.3.0": version: 8.3.3 resolution: "react-textarea-autosize@npm:8.3.3"