diff --git a/package.json b/package.json index b693f3e6..f095d2d8 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "devDependencies": { "@testing-library/jest-dom": "^6.4.2", - "@testing-library/react": "^15.0.7", + "@testing-library/react": "^16.0.0", "@types/react": "^18.3.2", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^5.62.0", diff --git a/packages/daxus/package.json b/packages/daxus/package.json index d7158177..2eba54d4 100644 --- a/packages/daxus/package.json +++ b/packages/daxus/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@testing-library/jest-dom": "^6.4.2", - "@testing-library/react": "^15.0.7", + "@testing-library/react": "^16.0.0", "@types/react": "^18.3.2", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0341034..abf3dafb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^6.4.2 version: 6.4.2(vitest@1.5.0) '@testing-library/react': - specifier: ^15.0.7 - version: 15.0.7(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1) + specifier: ^16.0.0 + version: 16.0.0(@testing-library/dom@10.0.0)(@types/react-dom@18.3.0)(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1) '@types/react': specifier: ^18.3.2 version: 18.3.2 @@ -137,8 +137,8 @@ importers: specifier: ^6.4.2 version: 6.4.2(vitest@1.5.0) '@testing-library/react': - specifier: ^15.0.7 - version: 15.0.7(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1) + specifier: ^16.0.0 + version: 16.0.0(@testing-library/dom@10.0.0)(@types/react-dom@18.3.0)(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1) '@types/react': specifier: ^18.3.2 version: 18.3.2 @@ -1085,16 +1085,20 @@ packages: vitest: 1.5.0(jsdom@24.0.0) dev: true - /@testing-library/react@15.0.7(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} + /@testing-library/react@16.0.0(@testing-library/dom@10.0.0)(@types/react-dom@18.3.0)(@types/react@18.3.2)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==} 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 dependencies: '@babel/runtime': 7.21.5 '@testing-library/dom': 10.0.0