diff --git a/package.json b/package.json index 5d3efbad3..ae4d9c612 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "eslint-plugin-promise": "^7.0.0", "eslint-plugin-react": "^7.17.0", "faker": "^5.5.3", - "happy-dom": "^16.1.0", + "happy-dom": "^20.0.0", "nano-staged": "^0.8.0", "prettier": "^3.4.2", "react": "^19.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 017bb623f..6d4bf45cc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -88,7 +88,7 @@ importers: version: 5.0.4(vite@7.1.8(@types/node@18.19.68)(jiti@2.4.2)(terser@5.37.0)) '@vitest/coverage-v8': specifier: ^3.0.0 - version: 3.2.4(vitest@3.2.4(@types/node@18.19.68)(happy-dom@16.1.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0)) + version: 3.2.4(vitest@3.2.4(@types/node@18.19.68)(happy-dom@20.0.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0)) browserslist: specifier: ^4.24.2 version: 4.24.3 @@ -147,8 +147,8 @@ importers: specifier: ^5.5.3 version: 5.5.3 happy-dom: - specifier: ^16.1.0 - version: 16.1.0 + specifier: ^20.0.0 + version: 20.0.0 nano-staged: specifier: ^0.8.0 version: 0.8.0 @@ -193,10 +193,10 @@ importers: version: 7.1.8(@types/node@18.19.68)(jiti@2.4.2)(terser@5.37.0) vitest: specifier: ^3.0.0 - version: 3.2.4(@types/node@18.19.68)(happy-dom@16.1.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0) + version: 3.2.4(@types/node@18.19.68)(happy-dom@20.0.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0) vitest-canvas-mock: specifier: ^0.3.3 - version: 0.3.3(vitest@3.2.4(@types/node@18.19.68)(happy-dom@16.1.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0)) + version: 0.3.3(vitest@3.2.4(@types/node@18.19.68)(happy-dom@20.0.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0)) publishDirectory: package packages: @@ -1685,6 +1685,9 @@ packages: '@types/uuid@9.0.8': resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==} + '@types/whatwg-mimetype@3.0.2': + resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==} + '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} @@ -3207,9 +3210,9 @@ packages: engines: {node: '>=0.4.7'} hasBin: true - happy-dom@16.1.0: - resolution: {integrity: sha512-jY6ZM9YuEGEh9QxHTXShpeBWQNzEOFVMQYsaZ0MYQlqWDlj262k8RrcFosPF05x5Hp1vMGPBMIpBmyXc0t+Cdg==} - engines: {node: '>=18.0.0'} + happy-dom@20.0.0: + resolution: {integrity: sha512-GkWnwIFxVGCf2raNrxImLo397RdGhLapj5cT3R2PT7FwL62Ze1DROhzmYW7+J3p9105DYMVenEejEbnq5wA37w==} + engines: {node: '>=20.0.0'} hard-rejection@2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} @@ -6824,6 +6827,8 @@ snapshots: '@types/uuid@9.0.8': {} + '@types/whatwg-mimetype@3.0.2': {} + '@types/yauzl@2.10.3': dependencies: '@types/node': 18.19.68 @@ -6920,7 +6925,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@3.2.4(vitest@3.2.4(@types/node@18.19.68)(happy-dom@16.1.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0))': + '@vitest/coverage-v8@3.2.4(vitest@3.2.4(@types/node@18.19.68)(happy-dom@20.0.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 1.0.2 @@ -6935,7 +6940,7 @@ snapshots: std-env: 3.9.0 test-exclude: 7.0.1 tinyrainbow: 2.0.0 - vitest: 3.2.4(@types/node@18.19.68)(happy-dom@16.1.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0) + vitest: 3.2.4(@types/node@18.19.68)(happy-dom@20.0.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0) transitivePeerDependencies: - supports-color @@ -8812,9 +8817,10 @@ snapshots: optionalDependencies: uglify-js: 3.19.3 - happy-dom@16.1.0: + happy-dom@20.0.0: dependencies: - webidl-conversions: 7.0.0 + '@types/node': 20.5.1 + '@types/whatwg-mimetype': 3.0.2 whatwg-mimetype: 3.0.0 hard-rejection@2.1.0: {} @@ -10886,12 +10892,12 @@ snapshots: jiti: 2.4.2 terser: 5.37.0 - vitest-canvas-mock@0.3.3(vitest@3.2.4(@types/node@18.19.68)(happy-dom@16.1.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0)): + vitest-canvas-mock@0.3.3(vitest@3.2.4(@types/node@18.19.68)(happy-dom@20.0.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0)): dependencies: jest-canvas-mock: 2.5.2 - vitest: 3.2.4(@types/node@18.19.68)(happy-dom@16.1.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0) + vitest: 3.2.4(@types/node@18.19.68)(happy-dom@20.0.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0) - vitest@3.2.4(@types/node@18.19.68)(happy-dom@16.1.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0): + vitest@3.2.4(@types/node@18.19.68)(happy-dom@20.0.0)(jiti@2.4.2)(jsdom@25.0.1)(terser@5.37.0): dependencies: '@types/chai': 5.2.2 '@vitest/expect': 3.2.4 @@ -10918,7 +10924,7 @@ snapshots: why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 18.19.68 - happy-dom: 16.1.0 + happy-dom: 20.0.0 jsdom: 25.0.1 transitivePeerDependencies: - jiti @@ -10950,7 +10956,8 @@ snapshots: webidl-conversions@3.0.1: {} - webidl-conversions@7.0.0: {} + webidl-conversions@7.0.0: + optional: true webpack-sources@3.2.3: {}