diff --git a/packages/react/package.json b/packages/react/package.json index 4b7889ba5..61fd12346 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -34,7 +34,7 @@ "shepherd.js": "workspace:*" }, "devDependencies": { - "@testing-library/jest-dom": "^6.2.0", + "@testing-library/jest-dom": "^6.4.6", "@testing-library/react": "^15.0.7", "@types/react": "^18.3.3", "@vitejs/plugin-react": "^4.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 41e1b0c92..0d4c71a16 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -187,7 +187,7 @@ importers: version: link:../../shepherd.js devDependencies: '@testing-library/jest-dom': - specifier: ^6.2.0 + specifier: ^6.4.6 version: 6.4.6(vitest@1.6.0) '@testing-library/react': specifier: ^15.0.7 @@ -384,8 +384,8 @@ importers: specifier: ^7.24.1 version: 7.24.7(@babel/core@7.24.9) '@testing-library/jest-dom': - specifier: ^5.17.0 - version: 5.17.0 + specifier: ^6.4.6 + version: 6.4.6(jest@29.7.0) '@testing-library/svelte': specifier: 4.1.x version: 4.1.0(svelte@4.2.18) @@ -3667,17 +3667,34 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/jest-dom@5.17.0: - resolution: {integrity: sha512-ynmNeT7asXyH3aSVv4vvX4Rb+0qjOhdNHnO/3vuZNqPmhDpV/+rCSGwQ7bLcmU2cJ4dvoheIO85LQj0IbJHEtg==} - engines: {node: '>=8', npm: '>=6', yarn: '>=1'} + /@testing-library/jest-dom@6.4.6(jest@29.7.0): + resolution: {integrity: sha512-8qpnGVincVDLEcQXWaHOf6zmlbwTKc6Us6PPu4CRnPXCzo2OGBS5cwgMMOWdxDpEz1mkbvXHpEy99M5Yvt682w==} + engines: {node: '>=14', npm: '>=6', yarn: '>=1'} + peerDependencies: + '@jest/globals': '>= 28' + '@types/bun': latest + '@types/jest': '>= 28' + jest: '>= 28' + vitest: '>= 0.32' + peerDependenciesMeta: + '@jest/globals': + optional: true + '@types/bun': + optional: true + '@types/jest': + optional: true + jest: + optional: true + vitest: + optional: true dependencies: '@adobe/css-tools': 4.4.0 '@babel/runtime': 7.24.8 - '@types/testing-library__jest-dom': 5.14.9 aria-query: 5.3.0 chalk: 3.0.0 css.escape: 1.5.1 - dom-accessibility-api: 0.5.16 + dom-accessibility-api: 0.6.3 + jest: 29.7.0 lodash: 4.17.21 redent: 3.0.0 dev: true @@ -3857,13 +3874,6 @@ packages: '@types/istanbul-lib-report': 3.0.3 dev: true - /@types/jest@29.5.12: - resolution: {integrity: sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==} - dependencies: - expect: 29.7.0 - pretty-format: 29.7.0 - dev: true - /@types/jsdom@20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} dependencies: @@ -3945,12 +3955,6 @@ packages: resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} dev: true - /@types/testing-library__jest-dom@5.14.9: - resolution: {integrity: sha512-FSYhIjFlfOpGSRyVoMBMuS3ws5ehFQODymf3vlI7U1K8c7PHwWwFY7VREfmsuzHSOnoKs/9/Y983ayOs7eRzqw==} - dependencies: - '@types/jest': 29.5.12 - dev: true - /@types/tough-cookie@4.0.5: resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} dev: true diff --git a/test/unit/package.json b/test/unit/package.json index 77b23968e..9581af3bf 100644 --- a/test/unit/package.json +++ b/test/unit/package.json @@ -19,7 +19,7 @@ "@babel/core": "^7.24.6", "@babel/preset-env": "^7.24.3", "@babel/preset-typescript": "^7.24.1", - "@testing-library/jest-dom": "^5.17.0", + "@testing-library/jest-dom": "^6.4.6", "@testing-library/svelte": "4.1.x", "autoprefixer": "^10.4.19", "babel-jest": "^29.7.0",