diff --git a/package.json b/package.json index a8f0b81..deb8b9f 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@vue/test-utils": "^2.4.1", "bumpp": "^9.2.0", "eslint": "8.50.0", - "happy-dom": "^12.8.0", + "happy-dom": "^20.0.0", "jsdom": "^22.1.0", "typescript": "^5.2.2", "unbuild": "^2.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6bf275e..34d3d55 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,8 +53,8 @@ importers: specifier: 8.50.0 version: 8.50.0 happy-dom: - specifier: ^12.8.0 - version: 12.8.0 + specifier: ^20.0.0 + version: 20.0.0 jsdom: specifier: ^22.1.0 version: 22.1.0 @@ -78,7 +78,7 @@ importers: version: 3.6.0(rollup@3.29.4)(typescript@5.2.2)(vite@4.4.10) vitest: specifier: ^0.34.6 - version: 0.34.6(happy-dom@12.8.0)(jsdom@22.1.0) + version: 0.34.6(happy-dom@20.0.0)(jsdom@22.1.0) vue: specifier: ^3.3.4 version: 3.3.4 @@ -1200,7 +1200,7 @@ packages: ofetch: 1.3.3 pathe: 1.1.1 ufo: 1.3.1 - vitest: 0.34.6(happy-dom@12.8.0)(jsdom@22.1.0) + vitest: 0.34.6(happy-dom@20.0.0)(jsdom@22.1.0) vue: 3.3.4 transitivePeerDependencies: - rollup @@ -1705,6 +1705,10 @@ packages: resolution: {integrity: sha512-d0XxK3YTObnWVp6rZuev3c49+j4Lo8g4L1ZRm9z5L0xpoZycUPshHgczK5gsUMaZOstjVYYi09p5gYvUtfChYw==} dev: true + /@types/whatwg-mimetype@3.0.2: + resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==} + dev: true + /@typescript-eslint/eslint-plugin@6.7.3(@typescript-eslint/parser@6.7.3)(eslint@8.50.0)(typescript@5.2.2): resolution: {integrity: sha512-vntq452UHNltxsaaN+L9WyuMch8bMd9CqJ3zhzTPXXidwbf5mqqKCVXEuvRZUqLJSTLeWE65lQwyXsRGnXkCTA==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1949,7 +1953,7 @@ packages: std-env: 3.4.3 test-exclude: 6.0.0 v8-to-istanbul: 9.1.0 - vitest: 0.34.6(happy-dom@12.8.0)(jsdom@22.1.0) + vitest: 0.34.6(happy-dom@20.0.0)(jsdom@22.1.0) transitivePeerDependencies: - supports-color dev: true @@ -3161,10 +3165,6 @@ packages: engines: {node: '>= 6'} dev: false - /css.escape@1.5.1: - resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} - dev: true - /cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} @@ -3804,7 +3804,7 @@ packages: '@typescript-eslint/utils': 6.7.3(eslint@8.50.0)(typescript@5.2.2) eslint: 8.50.0 typescript: 5.2.2 - vitest: 0.34.6(happy-dom@12.8.0)(jsdom@22.1.0) + vitest: 0.34.6(happy-dom@20.0.0)(jsdom@22.1.0) transitivePeerDependencies: - supports-color dev: true @@ -4309,14 +4309,12 @@ packages: unenv: 1.7.4 dev: false - /happy-dom@12.8.0: - resolution: {integrity: sha512-ReeZgCPuebuH1sc7NcTthMIyQVEb1NJyvs+p1gOHC1LwccIAKPWyRTNVmKhfyW5ft1Di+sPsOCuVFulF5IeVxw==} + /happy-dom@20.0.0: + resolution: {integrity: sha512-GkWnwIFxVGCf2raNrxImLo397RdGhLapj5cT3R2PT7FwL62Ze1DROhzmYW7+J3p9105DYMVenEejEbnq5wA37w==} + engines: {node: '>=20.0.0'} dependencies: - css.escape: 1.5.1 - entities: 4.5.0 - iconv-lite: 0.6.3 - webidl-conversions: 7.0.0 - whatwg-encoding: 2.0.0 + '@types/node': 20.8.0 + '@types/whatwg-mimetype': 3.0.2 whatwg-mimetype: 3.0.0 dev: true @@ -7429,7 +7427,7 @@ packages: fsevents: 2.3.3 dev: true - /vitest@0.34.6(happy-dom@12.8.0)(jsdom@22.1.0): + /vitest@0.34.6(happy-dom@20.0.0)(jsdom@22.1.0): resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==} engines: {node: '>=v14.18.0'} hasBin: true @@ -7473,7 +7471,7 @@ packages: cac: 6.7.14 chai: 4.3.10 debug: 4.3.4 - happy-dom: 12.8.0 + happy-dom: 20.0.0 jsdom: 22.1.0 local-pkg: 0.4.3 magic-string: 0.30.4