diff --git a/package.json b/package.json index 0df5ae93f3..a306ab680f 100644 --- a/package.json +++ b/package.json @@ -54,9 +54,9 @@ "@babel/eslint-parser": "7.25.1", "@babel/preset-env": "7.25.4", "@babel/preset-react": "7.24.7", - "@testing-library/dom": "9.3.4", + "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.5.0", - "@testing-library/react": "14.3.1", + "@testing-library/react": "16.0.1", "@testing-library/user-event": "14.5.2", "babel-jest": "29.7.0", "babel-loader": "9.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de5c8a4eeb..2be6461c2f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,17 +31,17 @@ importers: specifier: 7.24.7 version: 7.24.7(@babel/core@7.25.2) '@testing-library/dom': - specifier: 9.3.4 - version: 9.3.4 + specifier: 10.4.0 + version: 10.4.0 '@testing-library/jest-dom': specifier: 6.5.0 version: 6.5.0 '@testing-library/react': - specifier: 14.3.1 - version: 14.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 16.0.1 + version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@testing-library/user-event': specifier: 14.5.2 - version: 14.5.2(@testing-library/dom@9.3.4) + version: 14.5.2(@testing-library/dom@10.4.0) babel-jest: specifier: 29.7.0 version: 29.7.0(@babel/core@7.25.2) @@ -959,20 +959,28 @@ packages: '@sinonjs/fake-timers@10.3.0': resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} - '@testing-library/dom@9.3.4': - resolution: {integrity: sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==} - engines: {node: '>=14'} + '@testing-library/dom@10.4.0': + resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==} + engines: {node: '>=18'} '@testing-library/jest-dom@6.5.0': resolution: {integrity: sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} - '@testing-library/react@14.3.1': - resolution: {integrity: sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ==} - engines: {node: '>=14'} + '@testing-library/react@16.0.1': + resolution: {integrity: sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==} + engines: {node: '>=18'} peerDependencies: + '@testing-library/dom': ^10.0.0 + '@types/react': ^18.0.0 + '@types/react-dom': ^18.0.0 react: ^18.0.0 react-dom: ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true '@testing-library/user-event@14.5.2': resolution: {integrity: sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==} @@ -5620,12 +5628,12 @@ snapshots: dependencies: '@sinonjs/commons': 3.0.1 - '@testing-library/dom@9.3.4': + '@testing-library/dom@10.4.0': dependencies: '@babel/code-frame': 7.24.7 '@babel/runtime': 7.25.6 '@types/aria-query': 5.0.4 - aria-query: 5.1.3 + aria-query: 5.3.0 chalk: 4.1.2 dom-accessibility-api: 0.5.16 lz-string: 1.5.0 @@ -5641,17 +5649,19 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@14.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@testing-library/dom': 9.3.4 - '@types/react-dom': 18.3.0 + '@testing-library/dom': 10.4.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.5 + '@types/react-dom': 18.3.0 - '@testing-library/user-event@14.5.2(@testing-library/dom@9.3.4)': + '@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)': dependencies: - '@testing-library/dom': 9.3.4 + '@testing-library/dom': 10.4.0 '@tootallnate/once@2.0.0': {} @@ -5758,7 +5768,8 @@ snapshots: '@types/prismjs@1.26.4': {} - '@types/prop-types@15.7.12': {} + '@types/prop-types@15.7.12': + optional: true '@types/qs@6.9.15': {} @@ -5767,11 +5778,13 @@ snapshots: '@types/react-dom@18.3.0': dependencies: '@types/react': 18.3.5 + optional: true '@types/react@18.3.5': dependencies: '@types/prop-types': 15.7.12 csstype: 3.1.3 + optional: true '@types/retry@0.12.0': {} @@ -6546,7 +6559,8 @@ snapshots: dependencies: cssom: 0.3.8 - csstype@3.1.3: {} + csstype@3.1.3: + optional: true damerau-levenshtein@1.0.8: {}