From cfefb7defe3fbda745e9eb0475861b0189d8e7cc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:23:56 +0100 Subject: [PATCH] chore(deps): update dependency @testing-library/react to v16 (#8158) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- packages/sanity/package.json | 2 +- pnpm-lock.yaml | 22 +++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 48d758c998a..bfeaf325ccd 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -278,7 +278,7 @@ "@sanity/ui-workshop": "^1.2.11", "@sentry/types": "^8.12.0", "@testing-library/jest-dom": "^6.4.8", - "@testing-library/react": "^15.0.6", + "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^13.5.0", "@types/archiver": "^6.0.2", "@types/configstore": "^5.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 54c0ede4e80..d7042ec43eb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1816,8 +1816,8 @@ importers: specifier: ^6.4.8 version: 6.6.3 '@testing-library/react': - specifier: ^15.0.6 - version: 15.0.7(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^16.1.0 + version: 16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.5(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@testing-library/user-event': specifier: ^13.5.0 version: 13.5.0(@testing-library/dom@10.4.0) @@ -5171,16 +5171,20 @@ packages: resolution: {integrity: sha512-IteBhl4XqYNkM54f4ejhLRJiZNqcSCoXUOG2CPK7qbD322KjQozM4kHQOfkG2oln9b9HTYqs+Sae8vBATubxxA==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} - '@testing-library/react@15.0.7': - resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} + '@testing-library/react@16.1.0': + resolution: {integrity: sha512-Q2ToPvg0KsVL0ohND9A3zLJWcOXXcO8IDu3fj11KhNt0UlCWyFyvnCIBkd12tidB2lkiVRG8VFqdhcqhqnAQtg==} engines: {node: '>=18'} peerDependencies: - '@types/react': ^18.0.0 - react: ^18.0.0 - react-dom: ^18.0.0 + '@testing-library/dom': ^10.0.0 + '@types/react': ^18.0.0 || ^19.0.0 + '@types/react-dom': ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 peerDependenciesMeta: '@types/react': optional: true + '@types/react-dom': + optional: true '@testing-library/user-event@13.5.0': resolution: {integrity: sha512-5Kwtbo3Y/NowpkbRuSepbyMFkZmHgD+vPzYB/RJ4oxt5Gj/avFFBYjhw27cqSVPVw/3a67NK1PbiIr9k4Gwmdg==} @@ -16173,15 +16177,15 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@15.0.7(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.5(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.26.0 '@testing-library/dom': 10.4.0 - '@types/react-dom': 18.3.5(@types/react@18.3.18) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: '@types/react': 18.3.18 + '@types/react-dom': 18.3.5(@types/react@18.3.18) '@testing-library/user-event@13.5.0(@testing-library/dom@10.4.0)': dependencies: