diff --git a/packages/nanoviews/package.json b/packages/nanoviews/package.json index 172154a..e83da32 100644 --- a/packages/nanoviews/package.json +++ b/packages/nanoviews/package.json @@ -80,7 +80,7 @@ "@size-limit/preset-small-lib": "^11.1.2", "@storybook/addon-essentials": "^7.6.17", "@storybook/test": "^7.0.0", - "@testing-library/dom": "^9.3.1", + "@testing-library/dom": "^10.0.0", "@testing-library/jest-dom": "^6.4.2", "@testing-library/user-event": "^14.5.2", "@vitest/coverage-v8": "^2.0.0", diff --git a/packages/testing-library/package.json b/packages/testing-library/package.json index 2279ea5..a34d5e9 100644 --- a/packages/testing-library/package.json +++ b/packages/testing-library/package.json @@ -54,11 +54,11 @@ "test": "run lint" }, "peerDependencies": { - "@testing-library/dom": "^9", + "@testing-library/dom": "^10.0.0", "nanoviews": "workspace:^" }, "devDependencies": { - "@testing-library/dom": "^9.3.1", + "@testing-library/dom": "^10.0.0", "nanoviews": "workspace:^", "vitest": "^2.0.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de78e58..56748a3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,14 +75,14 @@ importers: specifier: ^7.0.0 version: 7.6.17(vitest@2.0.5) '@testing-library/dom': - specifier: ^9.3.1 - version: 9.3.4 + specifier: ^10.0.0 + version: 10.4.0 '@testing-library/jest-dom': specifier: ^6.4.2 version: 6.4.2(vitest@2.0.5) '@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) '@vitest/coverage-v8': specifier: ^2.0.0 version: 2.0.5(vitest@2.0.5) @@ -157,8 +157,8 @@ importers: packages/testing-library: devDependencies: '@testing-library/dom': - specifier: ^9.3.1 - version: 9.3.4 + specifier: ^10.0.0 + version: 10.4.0 nanoviews: specifier: workspace:^ version: link:../nanoviews @@ -364,7 +364,7 @@ packages: '@babel/helper-module-imports': 7.22.15 '@babel/helper-simple-access': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.7 dev: true /@babel/helper-optimise-call-expression@7.22.5: @@ -439,7 +439,6 @@ packages: /@babel/helper-validator-identifier@7.24.7: resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} engines: {node: '>=6.9.0'} - dev: true /@babel/helper-validator-option@7.23.5: resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} @@ -470,7 +469,7 @@ packages: resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.7 chalk: 2.4.2 js-tokens: 4.0.0 @@ -1009,7 +1008,7 @@ packages: '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) '@babel/helper-plugin-utils': 7.24.0 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.7 dev: true /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.24.0): @@ -3910,6 +3909,20 @@ packages: '@types/express': 4.17.21 file-system-cache: 2.3.0 + /@testing-library/dom@10.4.0: + resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==} + engines: {node: '>=18'} + dependencies: + '@babel/code-frame': 7.23.5 + '@babel/runtime': 7.24.0 + '@types/aria-query': 5.0.4 + aria-query: 5.3.0 + chalk: 4.1.2 + dom-accessibility-api: 0.5.16 + lz-string: 1.5.0 + pretty-format: 27.5.1 + dev: true + /@testing-library/dom@9.3.4: resolution: {integrity: sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==} engines: {node: '>=14'} @@ -3965,13 +3978,13 @@ packages: '@testing-library/dom': 9.3.4 dev: true - /@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): resolution: {integrity: sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==} engines: {node: '>=12', npm: '>=6'} peerDependencies: '@testing-library/dom': '>=7.21.4' dependencies: - '@testing-library/dom': 9.3.4 + '@testing-library/dom': 10.4.0 dev: true /@trigen/eslint-config@8.0.0-alpha.32(eslint@8.57.0)(typescript@5.3.3): @@ -4707,6 +4720,12 @@ packages: deep-equal: 2.2.3 dev: true + /aria-query@5.3.0: + resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + dependencies: + dequal: 2.0.3 + dev: true + /array-buffer-byte-length@1.0.1: resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} engines: {node: '>= 0.4'}