diff --git a/examples/web/package-lock.json b/examples/web/package-lock.json index 6fa530dccf..f6f794e508 100644 --- a/examples/web/package-lock.json +++ b/examples/web/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@apollo/client": "^3.7.3", "@testing-library/jest-dom": "^5.16.2", - "@testing-library/react": "^12.1.2", + "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.4.0", "@types/node": "^16.18.12", @@ -3599,19 +3599,20 @@ } }, "node_modules/@testing-library/react": { - "version": "12.1.3", - "license": "MIT", + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-12.1.5.tgz", + "integrity": "sha512-OfTXCJUFgjd/digLUuPxa0+/3ZxsQmE7ub9kcbW/wi96Bh3o/p5vrETcBGfP17NWPGqeYYl5LTRpwyGoMC4ysg==", "dependencies": { "@babel/runtime": "^7.12.5", "@testing-library/dom": "^8.0.0", - "@types/react-dom": "*" + "@types/react-dom": "<18.0.0" }, "engines": { "node": ">=12" }, "peerDependencies": { - "react": "*", - "react-dom": "*" + "react": "<18.0.0", + "react-dom": "<18.0.0" } }, "node_modules/@testing-library/user-event": { @@ -18722,11 +18723,13 @@ } }, "@testing-library/react": { - "version": "12.1.3", + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-12.1.5.tgz", + "integrity": "sha512-OfTXCJUFgjd/digLUuPxa0+/3ZxsQmE7ub9kcbW/wi96Bh3o/p5vrETcBGfP17NWPGqeYYl5LTRpwyGoMC4ysg==", "requires": { "@babel/runtime": "^7.12.5", "@testing-library/dom": "^8.0.0", - "@types/react-dom": "*" + "@types/react-dom": "<18.0.0" } }, "@testing-library/user-event": { diff --git a/examples/web/package.json b/examples/web/package.json index 39eb6d4dfa..0da7bc5887 100644 --- a/examples/web/package.json +++ b/examples/web/package.json @@ -5,7 +5,7 @@ "dependencies": { "@apollo/client": "^3.7.3", "@testing-library/jest-dom": "^5.16.2", - "@testing-library/react": "^12.1.2", + "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.4.0", "@types/node": "^16.18.12",