diff --git a/package.json b/package.json index 4687f5a..a187cdf 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@types/node": "^22.0.0", "@types/react": "^18.3.2", "@vitejs/plugin-react": "^5.0.0", - "happy-dom": "^18.0.0", + "happy-dom": "^20.0.0", "typescript": "^5.4.5", "vite": "^7.0.0", "vite-plugin-dts": "^4.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0d6364..9f568e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,10 +29,10 @@ importers: version: 18.3.23 '@vitejs/plugin-react': specifier: ^5.0.0 - version: 5.0.0(vite@7.3.3(@types/node@22.16.3)) + version: 5.0.0(supports-color@8.1.1)(vite@7.3.3(@types/node@22.16.3)) happy-dom: - specifier: ^18.0.0 - version: 18.0.1 + specifier: ^20.0.0 + version: 20.11.12 typescript: specifier: ^5.4.5 version: 5.9.2 @@ -41,10 +41,10 @@ importers: version: 7.3.3(@types/node@22.16.3) vite-plugin-dts: specifier: ^4.0.0 - version: 4.5.4(@types/node@22.16.3)(rollup@4.60.3)(typescript@5.9.2)(vite@7.3.3(@types/node@22.16.3)) + version: 4.5.4(@types/node@22.16.3)(rollup@4.60.3)(supports-color@8.1.1)(typescript@5.9.2)(vite@7.3.3(@types/node@22.16.3)) vitest: specifier: ^3.0.0 - version: 3.2.1(@types/node@22.16.3)(happy-dom@18.0.1) + version: 3.2.1(@types/node@22.16.3)(happy-dom@20.11.12)(supports-color@8.1.1) packages: @@ -647,9 +647,6 @@ packages: '@types/estree@1.0.8': resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} - '@types/node@20.19.13': - resolution: {integrity: sha512-yCAeZl7a0DxgNVteXFHt9+uyFbqXGy/ShC4BlcHkoE0AfGXYv/BUiplV72DjMYXHDBXFjhvr6DD1NiRVfB4j8g==} - '@types/node@22.16.3': resolution: {integrity: sha512-sr4Xz74KOUeYadexo1r8imhRtlVXcs+j3XK3TcoiYk7B1t3YRVJgtaD3cwX73NYb71pmVuMLNRhJ9XKdoDB74g==} @@ -671,6 +668,9 @@ packages: '@types/whatwg-mimetype@3.0.2': resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==} + '@types/ws@8.18.1': + resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==} + '@vitejs/plugin-react@5.0.0': resolution: {integrity: sha512-Jx9JfsTa05bYkS9xo0hkofp2dCmp1blrKjw9JONs5BTHOvJCgLbaPSuZLGSVJW6u2qe0tc4eevY0+gSNNi0YCw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -714,6 +714,11 @@ packages: '@volar/typescript@2.4.14': resolution: {integrity: sha512-p8Z6f/bZM3/HyCdRNFZOEEzts51uV8WHeN8Tnfnm2EBv6FDB2TQLzfVx7aJvnl8ofKAOnS64B2O8bImBFaauRw==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true '@vue/compiler-core@3.5.14': resolution: {integrity: sha512-k7qMHMbKvoCXIxPhquKQVw3Twid3Kg4s7+oYURxLGRd56LiuHJVrvFKI4fm2AM3c8apqODPfVJGoh8nePbXMRA==} @@ -805,6 +810,10 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + buffer-image-size@0.6.4: + resolution: {integrity: sha512-nEh+kZOPY1w+gcCMobZ6ETUp9WfibndnosbpwB1iJk/8Gt5ZF2bhS6+B6bPYz424KtwsR6Rflc3tCz1/ghX2dQ==} + engines: {node: '>=4.0'} + cac@6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} @@ -888,6 +897,10 @@ packages: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} + entities@7.0.1: + resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==} + engines: {node: '>=0.12'} + es-module-lexer@1.7.0: resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} @@ -944,8 +957,8 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - happy-dom@18.0.1: - resolution: {integrity: sha512-qn+rKOW7KWpVTtgIUi6RVmTBZJSe2k0Db0vh1f7CWrWclkkc7/Q+FrOfkZIb2eiErLyqu5AXEzE7XthO9JVxRA==} + happy-dom@20.11.12: + resolution: {integrity: sha512-7+mrTTD+6fOG3dx0URrDLrCX8QDTE+YujSOQD4VPZcYze/yJ0vVhRKaIBTjqlk+R4NetxVz21odnevHYIjIJ+g==} engines: {node: '>=20.0.0'} has-flag@4.0.0: @@ -1342,6 +1355,18 @@ packages: engines: {node: '>=8'} hasBin: true + ws@8.21.3: + resolution: {integrity: sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} @@ -1371,20 +1396,20 @@ snapshots: '@babel/compat-data@7.27.5': {} - '@babel/core@7.28.0': + '@babel/core@7.28.0(supports-color@8.1.1)': dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.27.1 '@babel/generator': 7.28.0 '@babel/helper-compilation-targets': 7.27.2 - '@babel/helper-module-transforms': 7.27.3(@babel/core@7.28.0) + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.28.0(supports-color@8.1.1))(supports-color@8.1.1) '@babel/helpers': 7.28.2 '@babel/parser': 7.28.0 '@babel/template': 7.27.2 - '@babel/traverse': 7.28.0 + '@babel/traverse': 7.28.0(supports-color@8.1.1) '@babel/types': 7.28.2 convert-source-map: 2.0.0 - debug: 4.4.1 + debug: 4.4.1(supports-color@8.1.1) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -1409,19 +1434,19 @@ snapshots: '@babel/helper-globals@7.28.0': {} - '@babel/helper-module-imports@7.27.1': + '@babel/helper-module-imports@7.27.1(supports-color@8.1.1)': dependencies: - '@babel/traverse': 7.28.0 + '@babel/traverse': 7.28.0(supports-color@8.1.1) '@babel/types': 7.28.2 transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.27.3(@babel/core@7.28.0)': + '@babel/helper-module-transforms@7.27.3(@babel/core@7.28.0(supports-color@8.1.1))(supports-color@8.1.1)': dependencies: - '@babel/core': 7.28.0 - '@babel/helper-module-imports': 7.27.1 + '@babel/core': 7.28.0(supports-color@8.1.1) + '@babel/helper-module-imports': 7.27.1(supports-color@8.1.1) '@babel/helper-validator-identifier': 7.27.1 - '@babel/traverse': 7.28.0 + '@babel/traverse': 7.28.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -1452,14 +1477,14 @@ snapshots: dependencies: '@babel/types': 7.28.2 - '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.28.0)': + '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.28.0(supports-color@8.1.1))': dependencies: - '@babel/core': 7.28.0 + '@babel/core': 7.28.0(supports-color@8.1.1) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.28.0)': + '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.28.0(supports-color@8.1.1))': dependencies: - '@babel/core': 7.28.0 + '@babel/core': 7.28.0(supports-color@8.1.1) '@babel/helper-plugin-utils': 7.27.1 '@babel/runtime@7.24.5': @@ -1474,7 +1499,7 @@ snapshots: '@babel/parser': 7.28.0 '@babel/types': 7.28.2 - '@babel/traverse@7.28.0': + '@babel/traverse@7.28.0(supports-color@8.1.1)': dependencies: '@babel/code-frame': 7.27.1 '@babel/generator': 7.28.0 @@ -1482,7 +1507,7 @@ snapshots: '@babel/parser': 7.28.0 '@babel/template': 7.27.2 '@babel/types': 7.28.2 - debug: 4.4.1 + debug: 4.4.1(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -1860,10 +1885,6 @@ snapshots: '@types/estree@1.0.8': {} - '@types/node@20.19.13': - dependencies: - undici-types: 6.21.0 - '@types/node@22.16.3': dependencies: undici-types: 6.21.0 @@ -1891,11 +1912,15 @@ snapshots: '@types/whatwg-mimetype@3.0.2': {} - '@vitejs/plugin-react@5.0.0(vite@7.3.3(@types/node@22.16.3))': + '@types/ws@8.18.1': + dependencies: + '@types/node': 22.16.3 + + '@vitejs/plugin-react@5.0.0(supports-color@8.1.1)(vite@7.3.3(@types/node@22.16.3))': dependencies: - '@babel/core': 7.28.0 - '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.0) - '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.28.0) + '@babel/core': 7.28.0(supports-color@8.1.1) + '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.0(supports-color@8.1.1)) + '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.28.0(supports-color@8.1.1)) '@rolldown/pluginutils': 1.0.0-beta.30 '@types/babel__core': 7.20.5 react-refresh: 0.17.0 @@ -1950,11 +1975,13 @@ snapshots: '@volar/source-map@2.4.14': {} - '@volar/typescript@2.4.14': + '@volar/typescript@2.4.14(typescript@5.9.2)': dependencies: '@volar/language-core': 2.4.14 path-browserify: 1.0.1 vscode-uri: 3.1.0 + optionalDependencies: + typescript: 5.9.2 '@vue/compiler-core@3.5.14': dependencies: @@ -2053,6 +2080,10 @@ snapshots: node-releases: 2.0.19 update-browserslist-db: 1.1.3(browserslist@4.25.0) + buffer-image-size@0.6.4: + dependencies: + '@types/node': 22.16.3 + cac@6.7.14: {} caniuse-lite@1.0.30001720: {} @@ -2097,9 +2128,11 @@ snapshots: de-indent@1.0.2: {} - debug@4.4.1: + debug@4.4.1(supports-color@8.1.1): dependencies: ms: 2.1.3 + optionalDependencies: + supports-color: 8.1.1 deep-eql@5.0.2: {} @@ -2113,6 +2146,8 @@ snapshots: entities@4.5.0: {} + entities@7.0.1: {} + es-module-lexer@1.7.0: {} esbuild@0.27.7: @@ -2181,11 +2216,18 @@ snapshots: graceful-fs@4.2.11: {} - happy-dom@18.0.1: + happy-dom@20.11.12: dependencies: - '@types/node': 20.19.13 + '@types/node': 22.16.3 '@types/whatwg-mimetype': 3.0.2 + '@types/ws': 8.18.1 + buffer-image-size: 0.6.4 + entities: 7.0.1 whatwg-mimetype: 3.0.0 + ws: 8.21.3 + transitivePeerDependencies: + - bufferutil + - utf-8-validate has-flag@4.0.0: {} @@ -2458,10 +2500,10 @@ snapshots: dependencies: punycode: 2.3.1 - vite-node@3.2.1(@types/node@22.16.3): + vite-node@3.2.1(@types/node@22.16.3)(supports-color@8.1.1): dependencies: cac: 6.7.14 - debug: 4.4.1 + debug: 4.4.1(supports-color@8.1.1) es-module-lexer: 1.7.0 pathe: 2.0.3 vite: 7.3.3(@types/node@22.16.3) @@ -2479,14 +2521,14 @@ snapshots: - tsx - yaml - vite-plugin-dts@4.5.4(@types/node@22.16.3)(rollup@4.60.3)(typescript@5.9.2)(vite@7.3.3(@types/node@22.16.3)): + vite-plugin-dts@4.5.4(@types/node@22.16.3)(rollup@4.60.3)(supports-color@8.1.1)(typescript@5.9.2)(vite@7.3.3(@types/node@22.16.3)): dependencies: '@microsoft/api-extractor': 7.52.8(@types/node@22.16.3) '@rollup/pluginutils': 5.1.4(rollup@4.60.3) - '@volar/typescript': 2.4.14 + '@volar/typescript': 2.4.14(typescript@5.9.2) '@vue/language-core': 2.2.0(typescript@5.9.2) compare-versions: 6.1.1 - debug: 4.4.1 + debug: 4.4.1(supports-color@8.1.1) kolorist: 1.8.0 local-pkg: 1.1.1 magic-string: 0.30.17 @@ -2510,7 +2552,7 @@ snapshots: '@types/node': 22.16.3 fsevents: 2.3.3 - vitest@3.2.1(@types/node@22.16.3)(happy-dom@18.0.1): + vitest@3.2.1(@types/node@22.16.3)(happy-dom@20.11.12)(supports-color@8.1.1): dependencies: '@types/chai': 5.2.2 '@vitest/expect': 3.2.1 @@ -2521,7 +2563,7 @@ snapshots: '@vitest/spy': 3.2.1 '@vitest/utils': 3.2.1 chai: 5.2.0 - debug: 4.4.1 + debug: 4.4.1(supports-color@8.1.1) expect-type: 1.2.1 magic-string: 0.30.17 pathe: 2.0.3 @@ -2533,11 +2575,11 @@ snapshots: tinypool: 1.1.0 tinyrainbow: 2.0.0 vite: 7.3.3(@types/node@22.16.3) - vite-node: 3.2.1(@types/node@22.16.3) + vite-node: 3.2.1(@types/node@22.16.3)(supports-color@8.1.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.16.3 - happy-dom: 18.0.1 + happy-dom: 20.11.12 transitivePeerDependencies: - jiti - less @@ -2561,6 +2603,8 @@ snapshots: siginfo: 2.0.0 stackback: 0.0.2 + ws@8.21.3: {} + yallist@3.1.1: {} yallist@4.0.0: {}