diff --git a/package.json b/package.json index 9ea01ea2..d82e4134 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@types/node": "^18.0.0", "@types/react": "^17.0.34", "@types/react-dom": "^17.0.11", - "eslint-plugin-jest-dom": "^4.0.0", + "eslint-plugin-jest-dom": "^5.0.0", "eslint-plugin-react-perf": "^3.3.0", "eslint-plugin-regexp": "^1.5.0", "eslint-plugin-sonarjs": "^0.19.0", diff --git a/yarn.lock b/yarn.lock index 5246e291..a87ed3ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3294,7 +3294,7 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^8.0.0, @testing-library/dom@npm:^8.11.1": +"@testing-library/dom@npm:^8.0.0": version: 8.20.0 resolution: "@testing-library/dom@npm:8.20.0" dependencies: @@ -6573,16 +6573,16 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jest-dom@npm:^4.0.0": - version: 4.0.3 - resolution: "eslint-plugin-jest-dom@npm:4.0.3" +"eslint-plugin-jest-dom@npm:^5.0.0": + version: 5.0.0 + resolution: "eslint-plugin-jest-dom@npm:5.0.0" dependencies: "@babel/runtime": ^7.16.3 - "@testing-library/dom": ^8.11.1 requireindex: ^1.2.0 peerDependencies: + "@testing-library/dom": ^8.0.0 || ^9.0.0 eslint: ^6.8.0 || ^7.0.0 || ^8.0.0 - checksum: 6bd22cdb7951a4b9ac65fe35c7bdc3e44cbe09918c79535fa698433d730392ef7a6faa55468b84d1cb0303a923266a05d45e38278d88380b0f09c8e8f57c75de + checksum: 4a313a23b7ef44000f44dd5be54676d4205918a0f3bc28490d1fc6c6ed7813cf2c7a87d0e46e769b6250cb08b4c950162c19628d0be60e3a61a43769dfc42a59 languageName: node linkType: hard @@ -12652,7 +12652,7 @@ resolve@^2.0.0-next.3: "@types/node": ^18.0.0 "@types/react": ^17.0.34 "@types/react-dom": ^17.0.11 - eslint-plugin-jest-dom: ^4.0.0 + eslint-plugin-jest-dom: ^5.0.0 eslint-plugin-react-perf: ^3.3.0 eslint-plugin-regexp: ^1.5.0 eslint-plugin-sonarjs: ^0.19.0