diff --git a/packages/react/package.json b/packages/react/package.json index c46adc67c..9ff2fa493 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -64,7 +64,7 @@ "@size-limit/file": "^11.0.2", "@size-limit/webpack": "^11.0.2", "@svgr/cli": "^8.0.0", - "@testing-library/react": "^14.0.0", + "@testing-library/react": "^15.0.0", "@types/react": "^18.0.25", "@types/react-dom": "^18.0.8", "@vitejs/plugin-react": "^4.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c84bbed61..286b6d55f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -238,8 +238,8 @@ importers: specifier: ^8.0.0 version: 8.1.0(typescript@5.4.5) '@testing-library/react': - specifier: ^14.0.0 - version: 14.3.1(react-dom@18.3.1)(react@18.3.1) + specifier: ^15.0.0 + version: 15.0.6(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) '@types/react': specifier: ^18.0.25 version: 18.3.1 @@ -248,7 +248,7 @@ importers: version: 18.3.0 '@vitejs/plugin-react': specifier: ^4.0.0 - version: 4.2.1(vite@5.2.11) + version: 4.2.1(vite@4.5.3) eslint-config-lk-custom: specifier: ~0.1.1 version: link:../../tooling/eslint-config-custom @@ -5293,6 +5293,20 @@ packages: tslib: 2.6.2 dev: false + /@testing-library/dom@10.1.0: + resolution: {integrity: sha512-wdsYKy5zupPyLCW2Je5DLHSxSfbIp6h80WoHOQc+RPtmPGA52O9x5MJEkv92Sjonpq+poOAtUKhh1kBGAXBrNA==} + engines: {node: '>=18'} + dependencies: + '@babel/code-frame': 7.24.2 + '@babel/runtime': 7.24.5 + '@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'} @@ -5307,15 +5321,20 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/react@14.3.1(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ==} - engines: {node: '>=14'} + /@testing-library/react@15.0.6(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-UlbazRtEpQClFOiYp+1BapMT+xyqWMnE+hh9tn5DQ6gmlE7AIZWcGpzZukmDZuFk3By01oiqOf8lRedLS4k6xQ==} + engines: {node: '>=18'} peerDependencies: + '@types/react': ^18.0.0 react: ^18.0.0 react-dom: ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true dependencies: '@babel/runtime': 7.24.5 - '@testing-library/dom': 9.3.4 + '@testing-library/dom': 10.1.0 + '@types/react': 18.3.1 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -6059,7 +6078,7 @@ packages: - supports-color dev: true - /@vitejs/plugin-react@4.2.1(vite@5.2.11): + /@vitejs/plugin-react@4.2.1(vite@4.5.3): resolution: {integrity: sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -6070,7 +6089,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.24.5) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.2.11(sass@1.76.0) + vite: 4.5.3 transitivePeerDependencies: - supports-color dev: true @@ -8794,7 +8813,7 @@ packages: array.prototype.toreversed: 1.1.2 array.prototype.tosorted: 1.1.3 doctrine: 2.1.0 - es-iterator-helpers: 1.0.18 + es-iterator-helpers: 1.0.19 eslint: 8.57.0 estraverse: 5.3.0 jsx-ast-utils: 3.3.5