diff --git a/package.json b/package.json index f636b031a80..99d0747a0ca 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "eslint": "^9.6.0", "eslint-config-flat-gitignore": "^0.1.5", "fs-extra": "^11.2.0", - "happy-dom": "^14.12.3", + "happy-dom": "^15.4.3", "husky": "^9.0.11", "inquirer": "^10.0.1", "lzutf8": "^0.6.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 576fe929311..647fdf441f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -62,10 +62,10 @@ importers: version: 4.0.0(vite@5.3.2(@types/node@20.14.9)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3))(vue@3.4.31(typescript@5.4.5)) '@vitest/coverage-istanbul': specifier: ^2.0.1 - version: 2.0.1(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3)) + version: 2.0.1(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3)) '@vitest/coverage-v8': specifier: ^2.0.1 - version: 2.0.1(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3)) + version: 2.0.1(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3)) '@vitest/ui': specifier: ^2.0.1 version: 2.0.1(vitest@2.0.1) @@ -88,8 +88,8 @@ importers: specifier: ^11.2.0 version: 11.2.0 happy-dom: - specifier: ^14.12.3 - version: 14.12.3 + specifier: ^15.4.3 + version: 15.4.3 husky: specifier: ^9.0.11 version: 9.0.11 @@ -125,10 +125,10 @@ importers: version: 7.2.1(rollup@4.14.3)(vite@5.3.2(@types/node@20.14.9)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3))(vue@3.4.31(typescript@5.4.5)) vitest: specifier: ^2.0.1 - version: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) + version: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) vitest-canvas-mock: specifier: ^0.3.3 - version: 0.3.3(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3)) + version: 0.3.3(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3)) vue: specifier: ^3.4.31 version: 3.4.31(typescript@5.4.5) @@ -5216,9 +5216,9 @@ packages: handle-thing@2.0.1: resolution: {integrity: sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==} - happy-dom@14.12.3: - resolution: {integrity: sha512-vsYlEs3E9gLwA1Hp+w3qzu+RUDFf4VTT8cyKqVICoZ2k7WM++Qyd2LwzyTi5bqMJFiIC/vNpTDYuxdreENRK/g==} - engines: {node: '>=16.0.0'} + happy-dom@15.4.3: + resolution: {integrity: sha512-0WXMSUepig4WcJoZ3fzIzIERkui+KXooiCWKy6knDuKeLHPVZmQgwJCM5hyFvyUSW7Hk3nb1e3UQrJkPS2Md9w==} + engines: {node: '>=18.0.0'} har-schema@2.0.0: resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==} @@ -10989,26 +10989,6 @@ snapshots: - '@types/webpack' - '@types/webpack-dev-server' - '@tarojs/components-advanced@3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(@tarojs/shared@3.6.34)(@tarojs/taro@3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.39)(vue@3.4.31(typescript@5.4.5)))(vue@3.4.31(typescript@5.4.5))': - dependencies: - '@tarojs/components': 3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.39)(vue@3.4.31(typescript@5.4.5)) - '@tarojs/runtime': 3.6.34(@tarojs/shared@3.6.34) - '@tarojs/shared': 3.6.34 - '@tarojs/taro': 3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.39)(vue@3.4.31(typescript@5.4.5)) - classnames: 2.5.1 - csstype: 3.1.3 - memoize-one: 6.0.0 - postcss: 8.4.39 - tslib: 2.6.2 - optionalDependencies: - vue: 3.4.31(typescript@5.4.5) - transitivePeerDependencies: - - '@tarojs/helper' - - '@types/react' - - '@types/react-native' - - '@types/webpack' - - '@types/webpack-dev-server' - '@tarojs/components-react@3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(@tarojs/shared@3.6.34)(postcss@8.4.38)(vue@3.4.31(typescript@5.4.5))': dependencies: '@babel/runtime': 7.24.6 @@ -11054,7 +11034,7 @@ snapshots: '@tarojs/components@3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(@tarojs/shared@3.6.34)(postcss@8.4.39)(vue@3.4.31(typescript@5.4.5))': dependencies: '@stencil/core': 2.22.3 - '@tarojs/components-advanced': 3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(@tarojs/shared@3.6.34)(@tarojs/taro@3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.39)(vue@3.4.31(typescript@5.4.5)))(vue@3.4.31(typescript@5.4.5)) + '@tarojs/components-advanced': 3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(@tarojs/shared@3.6.34)(@tarojs/taro@3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.38)(vue@3.4.31(typescript@5.4.5)))(vue@3.4.31(typescript@5.4.5)) '@tarojs/taro': 3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.39)(vue@3.4.31(typescript@5.4.5)) classnames: 2.5.1 hammerjs: 2.0.8 @@ -11073,26 +11053,6 @@ snapshots: - postcss - react - '@tarojs/components@3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.39)(vue@3.4.31(typescript@5.4.5))': - dependencies: - '@stencil/core': 2.22.3 - '@tarojs/components-advanced': 3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(@tarojs/shared@3.6.34)(@tarojs/taro@3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.38)(vue@3.4.31(typescript@5.4.5)))(vue@3.4.31(typescript@5.4.5)) - '@tarojs/taro': 3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.39)(vue@3.4.31(typescript@5.4.5)) - classnames: 2.5.1 - hammerjs: 2.0.8 - hls.js: 1.5.8 - resolve-pathname: 3.0.0 - swiper: 6.8.0 - tslib: 2.6.2 - optionalDependencies: - vue: 3.4.31(typescript@5.4.5) - transitivePeerDependencies: - - '@tarojs/helper' - - '@tarojs/runtime' - - '@types/webpack' - - '@types/webpack-dev-server' - - postcss - '@tarojs/helper@3.6.34': dependencies: '@babel/core': 7.24.6 @@ -11930,7 +11890,7 @@ snapshots: vite: 5.3.2(@types/node@20.14.9)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) vue: 3.4.31(typescript@5.4.5) - '@vitest/coverage-istanbul@2.0.1(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3))': + '@vitest/coverage-istanbul@2.0.1(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3))': dependencies: '@istanbuljs/schema': 0.1.3 debug: 4.3.5 @@ -11942,11 +11902,11 @@ snapshots: magicast: 0.3.4 picocolors: 1.0.1 test-exclude: 7.0.1 - vitest: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) + vitest: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@2.0.1(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3))': + '@vitest/coverage-v8@2.0.1(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -11961,7 +11921,7 @@ snapshots: std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 7.0.1 - vitest: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) + vitest: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) transitivePeerDependencies: - supports-color @@ -11995,7 +11955,7 @@ snapshots: pathe: 1.1.2 picocolors: 1.0.1 sirv: 2.0.4 - vitest: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) + vitest: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) '@vitest/utils@2.0.1': dependencies: @@ -14986,7 +14946,7 @@ snapshots: handle-thing@2.0.1: {} - happy-dom@14.12.3: + happy-dom@15.4.3: dependencies: entities: 4.5.0 webidl-conversions: 7.0.0 @@ -18824,12 +18784,12 @@ snapshots: stylus: 0.55.0 terser: 5.30.3 - vitest-canvas-mock@0.3.3(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3)): + vitest-canvas-mock@0.3.3(vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3)): dependencies: jest-canvas-mock: 2.5.2 - vitest: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) + vitest: 2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3) - vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3): + vitest@2.0.1(@types/node@20.14.9)(@vitest/ui@2.0.1)(happy-dom@15.4.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.24.1)(sass@1.77.6)(stylus@0.55.0)(terser@5.30.3): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.1 @@ -18852,7 +18812,7 @@ snapshots: optionalDependencies: '@types/node': 20.14.9 '@vitest/ui': 2.0.1(vitest@2.0.1) - happy-dom: 14.12.3 + happy-dom: 15.4.3 jsdom: 21.1.2 transitivePeerDependencies: - less