From 256578d638cfc224d55ab7d9bf176b99f8321cac Mon Sep 17 00:00:00 2001 From: luna Date: Thu, 20 Nov 2025 12:44:32 +0000 Subject: [PATCH] chore: update happy-dom --- packages/react/package.json | 2 +- pnpm-lock.yaml | 48 +++++++++++++++++++++---------------- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index bfffdfa1..b9ec3e34 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -67,7 +67,7 @@ "@types/react": "^19.1.5", "@types/react-dom": "^19.1.5", "@vitejs/plugin-react": "^4.3.4", - "happy-dom": "^16.7.3", + "happy-dom": "^20.0.10", "react": "^19.1.0", "react-dom": "^19.1.0", "vite": "^5.2.14", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0183d68f..140cbb06 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -55,7 +55,7 @@ importers: version: 5.4.5 vitest: specifier: ^0.34.6 - version: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@16.7.3)(jsdom@24.1.0) + version: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@20.0.10)(jsdom@24.1.0) winston: specifier: ^3.14.2 version: 3.14.2 @@ -326,16 +326,16 @@ importers: version: link:../../internal/eslint-config '@tanstack/config': specifier: ^0.16.0 - version: 0.16.0(@types/node@20.14.2)(esbuild@0.25.10)(eslint@9.37.0(jiti@2.4.2))(rollup@4.52.4)(typescript@5.9.3)(vite@5.2.14(@types/node@20.14.2)) + version: 0.16.0(@types/node@24.7.0)(esbuild@0.25.10)(eslint@9.37.0(jiti@2.4.2))(rollup@4.52.4)(typescript@5.9.3)(vite@5.2.14(@types/node@24.7.0)) next: specifier: ^15.5.2 version: 15.5.2(react-dom@19.2.0(react@19.2.0))(react@19.2.0) vite: specifier: ^5.2.14 - version: 5.2.14(@types/node@20.14.2) + version: 5.2.14(@types/node@24.7.0) vitest: specifier: ^0.34.6 - version: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@16.7.3)(jsdom@24.1.0) + version: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@20.0.10)(jsdom@24.1.0) packages/pino: dependencies: @@ -367,7 +367,7 @@ importers: version: link:../../internal/eslint-config '@tanstack/config': specifier: ^0.16.0 - version: 0.16.0(@types/node@24.7.0)(esbuild@0.25.10)(eslint@9.37.0(jiti@2.4.2))(rollup@4.52.4)(typescript@5.9.3)(vite@5.2.14(@types/node@24.7.0)) + version: 0.16.0(@types/node@20.14.2)(esbuild@0.25.10)(eslint@9.37.0(jiti@2.4.2))(rollup@4.52.4)(typescript@5.9.3)(vite@5.2.14(@types/node@20.14.2)) '@testing-library/jest-dom': specifier: ^6.6.3 version: 6.6.3 @@ -385,10 +385,10 @@ importers: version: 19.1.5(@types/react@19.1.5) '@vitejs/plugin-react': specifier: ^4.3.4 - version: 4.3.4(vite@5.2.14(@types/node@24.7.0)) + version: 4.3.4(vite@5.2.14(@types/node@20.14.2)) happy-dom: - specifier: ^16.7.3 - version: 16.7.3 + specifier: ^20.0.10 + version: 20.0.10 react: specifier: ^19.1.0 version: 19.1.0 @@ -397,10 +397,10 @@ importers: version: 19.1.0(react@19.1.0) vite: specifier: ^5.2.14 - version: 5.2.14(@types/node@24.7.0) + version: 5.2.14(@types/node@20.14.2) vitest: specifier: ^0.34.6 - version: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@16.7.3)(jsdom@24.1.0) + version: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@20.0.10)(jsdom@24.1.0) packages/winston: dependencies: @@ -1787,6 +1787,9 @@ packages: '@types/uuid@8.3.4': resolution: {integrity: sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==} + '@types/whatwg-mimetype@3.0.2': + resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==} + '@typescript-eslint/eslint-plugin@8.21.0': resolution: {integrity: sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3039,9 +3042,9 @@ packages: resolution: {integrity: sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} - happy-dom@16.7.3: - resolution: {integrity: sha512-76uiE9jCpC849cOyYZ8YBROpPcstW/hwCKoQYd3aiZaxHeR9zdjpup4z7qYEWbt+lY8Rb3efW2gmrckyoBftKg==} - engines: {node: '>=18.0.0'} + happy-dom@20.0.10: + resolution: {integrity: sha512-6umCCHcjQrhP5oXhrHQQvLB0bwb1UzHAHdsXy+FjtKoYjUhmNZsQL8NivwM1vDvNEChJabVrUYxUnp/ZdYmy2g==} + engines: {node: '>=20.0.0'} has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} @@ -6307,6 +6310,8 @@ snapshots: '@types/uuid@8.3.4': {} + '@types/whatwg-mimetype@3.0.2': {} + '@typescript-eslint/eslint-plugin@8.21.0(@typescript-eslint/parser@8.21.0(eslint@9.18.0(jiti@2.4.2))(typescript@5.4.5))(eslint@9.18.0(jiti@2.4.2))(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.12.1 @@ -6553,14 +6558,14 @@ snapshots: '@typescript-eslint/types': 8.46.0 eslint-visitor-keys: 4.2.1 - '@vitejs/plugin-react@4.3.4(vite@5.2.14(@types/node@24.7.0))': + '@vitejs/plugin-react@4.3.4(vite@5.2.14(@types/node@20.14.2))': dependencies: '@babel/core': 7.26.7 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.7) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.7) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.2.14(@types/node@24.7.0) + vite: 5.2.14(@types/node@20.14.2) transitivePeerDependencies: - supports-color @@ -6582,7 +6587,7 @@ snapshots: std-env: 3.7.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 - vitest: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@16.7.3)(jsdom@24.1.0) + vitest: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@20.0.10)(jsdom@24.1.0) transitivePeerDependencies: - supports-color @@ -6617,7 +6622,7 @@ snapshots: pathe: 1.1.2 picocolors: 1.0.1 sirv: 2.0.4 - vitest: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@16.7.3)(jsdom@24.1.0) + vitest: 0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@20.0.10)(jsdom@24.1.0) '@vitest/utils@0.32.4': dependencies: @@ -8157,9 +8162,10 @@ snapshots: graphql@16.9.0: {} - happy-dom@16.7.3: + happy-dom@20.0.10: dependencies: - webidl-conversions: 7.0.0 + '@types/node': 20.14.2 + '@types/whatwg-mimetype': 3.0.2 whatwg-mimetype: 3.0.0 has-bigints@1.0.2: {} @@ -10166,7 +10172,7 @@ snapshots: jiti: 2.4.2 yaml: 2.7.0 - vitest@0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@16.7.3)(jsdom@24.1.0): + vitest@0.34.6(@edge-runtime/vm@5.0.0)(@vitest/ui@0.32.4)(happy-dom@20.0.10)(jsdom@24.1.0): dependencies: '@types/chai': 4.3.16 '@types/chai-subset': 1.3.5 @@ -10195,7 +10201,7 @@ snapshots: optionalDependencies: '@edge-runtime/vm': 5.0.0 '@vitest/ui': 0.32.4(vitest@0.34.6) - happy-dom: 16.7.3 + happy-dom: 20.0.10 jsdom: 24.1.0 transitivePeerDependencies: - less