diff --git a/apps/admin-ui/package.json b/apps/admin-ui/package.json index 6cf628b824..22bea7efec 100644 --- a/apps/admin-ui/package.json +++ b/apps/admin-ui/package.json @@ -95,7 +95,7 @@ "@4tw/cypress-drag-drop": "^2.2.4", "@testing-library/cypress": "^10.0.2", "@testing-library/jest-dom": "^5.16.5", - "@testing-library/react": "^15.0.5", + "@testing-library/react": "^16.1.0", "@types/dagre": "^0.7.48", "@types/file-saver": "^2.0.5", "@types/flat": "^5.0.2", diff --git a/package-lock.json b/package-lock.json index 2fa5405e4a..588d20424e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -90,7 +90,7 @@ "@4tw/cypress-drag-drop": "^2.2.4", "@testing-library/cypress": "^10.0.2", "@testing-library/jest-dom": "^5.16.5", - "@testing-library/react": "^15.0.5", + "@testing-library/react": "^16.1.0", "@types/dagre": "^0.7.48", "@types/file-saver": "^2.0.5", "@types/flat": "^5.0.2", @@ -2480,21 +2480,30 @@ } }, "node_modules/@testing-library/react": { - "version": "15.0.5", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-15.0.5.tgz", - "integrity": "sha512-ttodVWYA2i2w4hRa6krKrmS1vKxAEkwDz34y+CwbcrbZUxFzUYN3a5xZyFKo+K6LBseCRCUkwcjATpaNn/UsIA==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.1.0.tgz", + "integrity": "sha512-Q2ToPvg0KsVL0ohND9A3zLJWcOXXcO8IDu3fj11KhNt0UlCWyFyvnCIBkd12tidB2lkiVRG8VFqdhcqhqnAQtg==", "dev": true, "dependencies": { - "@babel/runtime": "^7.12.5", - "@testing-library/dom": "^10.0.0", - "@types/react-dom": "^18.0.0" + "@babel/runtime": "^7.12.5" }, "engines": { "node": ">=18" }, "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" + "@testing-library/dom": "^10.0.0", + "@types/react": "^18.0.0 || ^19.0.0", + "@types/react-dom": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, "node_modules/@tsconfig/node10": {