diff --git a/package-lock.json b/package-lock.json index cfecfa93ebcca..b1b34f885aa6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,8 +66,8 @@ "@storybook/addon-themes": "~8.0.9", "@storybook/addon-viewport": "~8.0.9", "@storybook/nextjs": "~8.0.9", - "@testing-library/jest-dom": "~6.4.2", - "@testing-library/react": "~15.0.5", + "@testing-library/jest-dom": "~6.4.5", + "@testing-library/react": "~15.0.7", "@testing-library/user-event": "~14.5.2", "@types/jest": "29.5.12", "@types/react": "^18.3.1", @@ -7101,9 +7101,9 @@ } }, "node_modules/@testing-library/jest-dom": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.2.tgz", - "integrity": "sha512-CzqH0AFymEMG48CpzXFriYYkOjk6ZGPCLMhW9e9jg3KMCn5OfJecF8GtGW7yGfR/IgCe3SX8BSwjdzI6BBbZLw==", + "version": "6.4.5", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.5.tgz", + "integrity": "sha512-AguB9yvTXmCnySBP1lWjfNNUwpbElsaQ567lt2VdGqAdHtpieLgjmcVyv1q7PMIvLbgpDdkWV5Ydv3FEejyp2A==", "dev": true, "dependencies": { "@adobe/css-tools": "^4.3.2", @@ -7112,7 +7112,7 @@ "chalk": "^3.0.0", "css.escape": "^1.5.1", "dom-accessibility-api": "^0.6.3", - "lodash": "^4.17.15", + "lodash": "^4.17.21", "redent": "^3.0.0" }, "engines": { @@ -7152,9 +7152,9 @@ "dev": true }, "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": "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", @@ -7165,8 +7165,14 @@ "node": ">=18" }, "peerDependencies": { + "@types/react": "^18.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, "node_modules/@testing-library/react/node_modules/@testing-library/dom": { diff --git a/package.json b/package.json index 25eab135e6502..8ab43f89fef84 100644 --- a/package.json +++ b/package.json @@ -98,8 +98,8 @@ "@storybook/addon-themes": "~8.0.9", "@storybook/addon-viewport": "~8.0.9", "@storybook/nextjs": "~8.0.9", - "@testing-library/jest-dom": "~6.4.2", - "@testing-library/react": "~15.0.5", + "@testing-library/jest-dom": "~6.4.5", + "@testing-library/react": "~15.0.7", "@testing-library/user-event": "~14.5.2", "@types/jest": "29.5.12", "@types/react": "^18.3.1",