diff --git a/package.json b/package.json index 7a8c8b9..2a5e196 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "@types/node": "^24", "agadoo": "^3.0.0", "eslint": "^9.35.0", - "happy-dom": "^19.0.1", + "happy-dom": "^20.0.0", "prettier": "^3.6.2", "rimraf": "6.0.1", "tsup": "^8.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e7ec92a..24f7ef2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,8 +49,8 @@ importers: specifier: ^9.35.0 version: 9.37.0 happy-dom: - specifier: ^19.0.1 - version: 19.0.2 + specifier: ^20.0.0 + version: 20.0.0 prettier: specifier: ^3.6.2 version: 3.6.2 @@ -65,7 +65,7 @@ importers: version: 5.9.3 vitest: specifier: ^3.2.4 - version: 3.2.4(@types/node@24.7.0)(happy-dom@19.0.2) + version: 3.2.4(@types/node@24.7.0)(happy-dom@20.0.0) packages: @@ -930,12 +930,15 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@20.19.19': - resolution: {integrity: sha512-pb1Uqj5WJP7wrcbLU7Ru4QtA0+3kAXrkutGiD26wUKzSMgNNaPARTUDQmElUXp64kh3cWdou3Q0C7qwwxqSFmg==} + '@types/node@20.19.20': + resolution: {integrity: sha512-2Q7WS25j4pS1cS8yw3d6buNCVJukOTeQ39bAnwR6sOJbaxvyCGebzTMypDFN82CxBLnl+lSWVdCCWbRY6y9yZQ==} '@types/node@24.7.0': resolution: {integrity: sha512-IbKooQVqUBrlzWTi79E8Fw78l8k1RNtlDDNWsFZs7XonuQSJ8oNYfEeclhprUldXISRMLzBpILuKgPlIxm+/Yw==} + '@types/node@24.7.1': + resolution: {integrity: sha512-CmyhGZanP88uuC5GpWU9q+fI61j2SkhO3UGMUdfYRE6Bcy0ccyzn1Rqj9YAB/ZY4kOXmNf0ocah5GtphmLMP6Q==} + '@types/semver@7.7.1': resolution: {integrity: sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA==} @@ -1306,8 +1309,8 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - baseline-browser-mapping@2.8.14: - resolution: {integrity: sha512-GM9c0cWWR8Ga7//Ves/9KRgTS8nLausCkP3CGiFLrnwA2CDUluXgaQqvrULoR2Ujrd/mz/lkX87F5BHFsNr5sQ==} + baseline-browser-mapping@2.8.15: + resolution: {integrity: sha512-qsJ8/X+UypqxHXN75M7dF88jNK37dLBRW7LeUzCPz+TNs37G8cfWy9nWzS+LS//g600zrt2le9KuXt0rWfDz5Q==} hasBin: true better-path-resolve@1.0.0: @@ -1520,8 +1523,8 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.5.233: - resolution: {integrity: sha512-iUdTQSf7EFXsDdQsp8MwJz5SVk4APEFqXU/S47OtQ0YLqacSwPXdZ5vRlMX3neb07Cy2vgioNuRnWUXFwuslkg==} + electron-to-chromium@1.5.234: + resolution: {integrity: sha512-RXfEp2x+VRYn8jbKfQlRImzoJU01kyDvVPBmG39eU2iuRVhuS6vQNocB8J0/8GrIMLnPzgz4eW6WiRnJkTuNWg==} emittery@0.13.1: resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} @@ -1836,8 +1839,8 @@ packages: graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - happy-dom@19.0.2: - resolution: {integrity: sha512-831CLbgDyjRbd2lApHZFsBDe56onuFcjsCBPodzWpzedTpeDr8CGZjs7iEIdNW1DVwSFRecfwzLpVyGBPamwGA==} + happy-dom@20.0.0: + resolution: {integrity: sha512-GkWnwIFxVGCf2raNrxImLo397RdGhLapj5cT3R2PT7FwL62Ze1DROhzmYW7+J3p9105DYMVenEejEbnq5wA37w==} engines: {node: '>=20.0.0'} has-flag@4.0.0: @@ -3529,7 +3532,7 @@ snapshots: '@jest/console@30.1.2': dependencies: '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 chalk: 4.1.2 jest-message-util: 30.1.0 jest-util: 30.0.5 @@ -3543,14 +3546,14 @@ snapshots: '@jest/test-result': 30.1.3 '@jest/transform': 30.1.2 '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 4.3.1 exit-x: 0.2.2 graceful-fs: 4.2.11 jest-changed-files: 30.0.5 - jest-config: 30.1.3(@types/node@24.7.0) + jest-config: 30.1.3(@types/node@24.7.1) jest-haste-map: 30.1.0 jest-message-util: 30.1.0 jest-regex-util: 30.0.1 @@ -3577,7 +3580,7 @@ snapshots: dependencies: '@jest/fake-timers': 30.1.2 '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 jest-mock: 30.0.5 '@jest/expect-utils@30.1.2': @@ -3595,7 +3598,7 @@ snapshots: dependencies: '@jest/types': 30.0.5 '@sinonjs/fake-timers': 13.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 jest-message-util: 30.1.0 jest-mock: 30.0.5 jest-util: 30.0.5 @@ -3613,7 +3616,7 @@ snapshots: '@jest/pattern@30.0.1': dependencies: - '@types/node': 24.7.0 + '@types/node': 24.7.1 jest-regex-util: 30.0.1 '@jest/reporters@30.1.3': @@ -3624,7 +3627,7 @@ snapshots: '@jest/transform': 30.1.2 '@jest/types': 30.0.5 '@jridgewell/trace-mapping': 0.3.31 - '@types/node': 24.7.0 + '@types/node': 24.7.1 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit-x: 0.2.2 @@ -3701,7 +3704,7 @@ snapshots: '@jest/schemas': 30.0.5 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 24.7.0 + '@types/node': 24.7.1 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -3971,7 +3974,7 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@20.19.19': + '@types/node@20.19.20': dependencies: undici-types: 6.21.0 @@ -3979,6 +3982,10 @@ snapshots: dependencies: undici-types: 7.14.0 + '@types/node@24.7.1': + dependencies: + undici-types: 7.14.0 + '@types/semver@7.7.1': {} '@types/stack-utils@2.0.3': {} @@ -4404,7 +4411,7 @@ snapshots: balanced-match@1.0.2: {} - baseline-browser-mapping@2.8.14: {} + baseline-browser-mapping@2.8.15: {} better-path-resolve@1.0.0: dependencies: @@ -4425,9 +4432,9 @@ snapshots: browserslist@4.26.3: dependencies: - baseline-browser-mapping: 2.8.14 + baseline-browser-mapping: 2.8.15 caniuse-lite: 1.0.30001749 - electron-to-chromium: 1.5.233 + electron-to-chromium: 1.5.234 node-releases: 2.0.23 update-browserslist-db: 1.1.3(browserslist@4.26.3) @@ -4576,7 +4583,7 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.5.233: {} + electron-to-chromium@1.5.234: {} emittery@0.13.1: {} @@ -4951,9 +4958,9 @@ snapshots: graphemer@1.4.0: {} - happy-dom@19.0.2: + happy-dom@20.0.0: dependencies: - '@types/node': 20.19.19 + '@types/node': 20.19.20 '@types/whatwg-mimetype': 3.0.2 whatwg-mimetype: 3.0.0 @@ -5081,7 +5088,7 @@ snapshots: '@jest/expect': 30.1.2 '@jest/test-result': 30.1.3 '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 chalk: 4.1.2 co: 4.6.0 dedent: 1.7.0 @@ -5152,6 +5159,38 @@ snapshots: - babel-plugin-macros - supports-color + jest-config@30.1.3(@types/node@24.7.1): + dependencies: + '@babel/core': 7.28.4 + '@jest/get-type': 30.1.0 + '@jest/pattern': 30.0.1 + '@jest/test-sequencer': 30.1.3 + '@jest/types': 30.0.5 + babel-jest: 30.1.2(@babel/core@7.28.4) + chalk: 4.1.2 + ci-info: 4.3.1 + deepmerge: 4.3.1 + glob: 10.4.5 + graceful-fs: 4.2.11 + jest-circus: 30.1.3 + jest-docblock: 30.0.1 + jest-environment-node: 30.1.2 + jest-regex-util: 30.0.1 + jest-resolve: 30.1.3 + jest-runner: 30.1.3 + jest-util: 30.0.5 + jest-validate: 30.1.0 + micromatch: 4.0.8 + parse-json: 5.2.0 + pretty-format: 30.0.5 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 24.7.1 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + jest-diff@30.1.2: dependencies: '@jest/diff-sequences': 30.0.1 @@ -5176,7 +5215,7 @@ snapshots: '@jest/environment': 30.1.2 '@jest/fake-timers': 30.1.2 '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 jest-mock: 30.0.5 jest-util: 30.0.5 jest-validate: 30.1.0 @@ -5184,7 +5223,7 @@ snapshots: jest-haste-map@30.1.0: dependencies: '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -5223,7 +5262,7 @@ snapshots: jest-mock@30.0.5: dependencies: '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 jest-util: 30.0.5 jest-pnp-resolver@1.2.3(jest-resolve@30.1.3): @@ -5257,7 +5296,7 @@ snapshots: '@jest/test-result': 30.1.3 '@jest/transform': 30.1.2 '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 chalk: 4.1.2 emittery: 0.13.1 exit-x: 0.2.2 @@ -5286,7 +5325,7 @@ snapshots: '@jest/test-result': 30.1.3 '@jest/transform': 30.1.2 '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 chalk: 4.1.2 cjs-module-lexer: 2.1.0 collect-v8-coverage: 1.0.2 @@ -5333,7 +5372,7 @@ snapshots: jest-util@30.0.5: dependencies: '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 chalk: 4.1.2 ci-info: 4.3.1 graceful-fs: 4.2.11 @@ -5352,7 +5391,7 @@ snapshots: dependencies: '@jest/test-result': 30.1.3 '@jest/types': 30.0.5 - '@types/node': 24.7.0 + '@types/node': 24.7.1 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -5361,7 +5400,7 @@ snapshots: jest-worker@30.1.0: dependencies: - '@types/node': 24.7.0 + '@types/node': 24.7.1 '@ungap/structured-clone': 1.3.0 jest-util: 30.0.5 merge-stream: 2.0.0 @@ -6063,7 +6102,7 @@ snapshots: '@types/node': 24.7.0 fsevents: 2.3.3 - vitest@3.2.4(@types/node@24.7.0)(happy-dom@19.0.2): + vitest@3.2.4(@types/node@24.7.0)(happy-dom@20.0.0): dependencies: '@types/chai': 5.2.2 '@vitest/expect': 3.2.4 @@ -6090,7 +6129,7 @@ snapshots: why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 24.7.0 - happy-dom: 19.0.2 + happy-dom: 20.0.0 transitivePeerDependencies: - jiti - less