diff --git a/package-lock.json b/package-lock.json index 98dc69ccb..db3427bd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "devDependencies": { "@arethetypeswrong/cli": "0.18.5", "@hey-api/openapi-ts": "0.95.0", - "@testing-library/jest-dom": "6.9.1", + "@testing-library/jest-dom": "7.0.1", "@testing-library/react": "16.3.2", "@testing-library/user-event": "14.6.1", "@types/jsdom": "28.0.3", @@ -4608,9 +4608,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": { @@ -4622,16 +4622,26 @@ "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": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz", "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@testing-library/react": { "version": "16.3.2", diff --git a/package.json b/package.json index b54672dc5..e7c8e8070 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "devDependencies": { "@arethetypeswrong/cli": "0.18.5", "@hey-api/openapi-ts": "0.95.0", - "@testing-library/jest-dom": "6.9.1", + "@testing-library/jest-dom": "7.0.1", "@testing-library/react": "16.3.2", "@testing-library/user-event": "14.6.1", "@types/jsdom": "28.0.3",