diff --git a/packages/react/package.json b/packages/react/package.json index 70e11b93..98f829a4 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -74,7 +74,7 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.15.3", - "@testing-library/react": "^14.3.1", + "@testing-library/react": "^15.0.2", "@types/node": "^20.12.7", "@types/react": "^18.2.77", "@types/react-dom": "^18.2.25", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2534da0e..6871190d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -649,8 +649,8 @@ importers: specifier: ^0.15.3 version: 0.15.3 '@testing-library/react': - specifier: ^14.3.1 - version: 14.3.1(react-dom@18.2.0)(react@18.2.0) + specifier: ^15.0.2 + version: 15.0.2(react-dom@18.2.0)(react@18.2.0) '@types/node': specifier: ^20.12.7 version: 20.12.7 @@ -8880,6 +8880,20 @@ packages: tslib: 2.6.2 dev: true + /@testing-library/dom@10.0.0: + resolution: {integrity: sha512-PmJPnogldqoVFf+EwbHvbBJ98MmqASV8kLrBYgsDNxQcFMeIS7JFL48sfyXvuMtgmWO/wMhh25odr+8VhDmn4g==} + engines: {node: '>=18'} + dependencies: + '@babel/code-frame': 7.24.2 + '@babel/runtime': 7.24.1 + '@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@8.20.1: resolution: {integrity: sha512-/DiOQ5xBxgdYRC8LNk7U+RWat0S3qRLeIw3ZIkMQ9kkVlRmwD/Eg8k8CqIpD6GW7u20JIUOfMKbxtiLutpjQ4g==} engines: {node: '>=12'} @@ -8918,15 +8932,15 @@ packages: preact: 10.20.2 dev: true - /@testing-library/react@14.3.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-H99XjUhWQw0lTgyMN05W3xQG1Nh4lq574D8keFf1dDoNTJgp66VbJozRaczoF+wsiaPJNt/TcnfpLGufGxSrZQ==} - engines: {node: '>=14'} + /@testing-library/react@15.0.2(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-5mzIpuytB1ctpyywvyaY2TAAUQVCZIGqwiqFQf6u9lvj/SJQepGUzNV18Xpk+NLCaCE2j7CWrZE0tEf9xLZYiQ==} + engines: {node: '>=18'} peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 dependencies: '@babel/runtime': 7.24.1 - '@testing-library/dom': 9.3.4 + '@testing-library/dom': 10.0.0 '@types/react-dom': 18.2.25 react: 18.2.0 react-dom: 18.2.0(react@18.2.0)