diff --git a/package-lock.json b/package-lock.json index c478e79d..7eb320c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@next/eslint-plugin-next": "~16.2.1", "@tailwindcss/postcss": "~4.3.0", "@testing-library/dom": "~10.4.0", - "@testing-library/jest-dom": "~6.9.1", + "@testing-library/jest-dom": "~7.0.1", "@testing-library/react": "~16.3.0", "@types/gtag.js": "~0.0.19", "@types/jest": "~30.0.0", @@ -2793,9 +2793,9 @@ } }, "node_modules/@testing-library/jest-dom": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.9.1.tgz", - "integrity": "sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-7.0.1.tgz", + "integrity": "sha512-oMDTC3oA+6CXSO2JZnvOI7CA6oVub6kij5ggk9ohwye5slmkwxYDXcPOVxgMw/RQlticjtO0C1RZkR97HgrWMw==", "dev": true, "license": "MIT", "dependencies": { @@ -2807,9 +2807,18 @@ "redent": "^3.0.0" }, "engines": { - "node": ">=14", + "node": ">=22", "npm": ">=6", "yarn": ">=1" + }, + "peerDependencies": { + "@testing-library/dom": ">=10 <11", + "vitest": ">= 0.32" + }, + "peerDependenciesMeta": { + "vitest": { + "optional": true + } } }, "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": { diff --git a/package.json b/package.json index 3520f0ba..838c132b 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@next/eslint-plugin-next": "~16.2.1", "@tailwindcss/postcss": "~4.3.0", "@testing-library/dom": "~10.4.0", - "@testing-library/jest-dom": "~6.9.1", + "@testing-library/jest-dom": "~7.0.1", "@testing-library/react": "~16.3.0", "@types/gtag.js": "~0.0.19", "@types/jest": "~30.0.0",