From aabcb71aea14816bfecc54c655bcf4f03952e2b6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Dec 2024 04:27:17 +0000 Subject: [PATCH] chore(deps): update dependency happy-dom to v16 (#808) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [happy-dom](https://redirect.github.com/capricorn86/happy-dom) | [`^15.11.7` -> `^16.0.0`](https://renovatebot.com/diffs/npm/happy-dom/15.11.7/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/15.11.7/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/15.11.7/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
capricorn86/happy-dom (happy-dom) ### [`v16.0.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.0.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.11.7...v16.0.0) ##### :bomb: Breaking Changes - Refactors XML and HTML parsing and serialization - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615) - This change may break your tests as the serialized output may differ from v15 ##### :art: Features - Adds support for parsing XML in `DOMParser` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​284](https://redirect.github.com/capricorn86/happy-dom/issues/284) - Improved performance in `document.write()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615) - Elements are now added directly to the document during parsing ##### :construction_worker_man: Patch fixes - Fix for handling ``, `` and `` during parsing - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615) - Fix for handling HTML entities correctly when parsing and serializing - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1494](https://redirect.github.com/capricorn86/happy-dom/issues/1494) and [#​1498](https://redirect.github.com/capricorn86/happy-dom/issues/1498) - Fix for handling attribute names containing "\[" or "]" during parsing - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1638](https://redirect.github.com/capricorn86/happy-dom/issues/1638) - Fix for handling comments containing HTML tags - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1630](https://redirect.github.com/capricorn86/happy-dom/issues/1630) - Fix for handling namespaces in `XMLSerializer` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615) - Handles rules for parsing table elements - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1126](https://redirect.github.com/capricorn86/happy-dom/issues/1126) - Loads scripts asynchronously when "defer" is set or "type" is "module" - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1615](https://redirect.github.com/capricorn86/happy-dom/issues/1615)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/JoshuaKGoldberg/refined-saved-replies). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 29 ++++++++++++++--------------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 70329bd0..5d0a7153 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "eslint-plugin-perfectionist": "^4.1.2", "eslint-plugin-regexp": "^2.7.0", "eslint-plugin-yml": "^1.16.0", - "happy-dom": "^15.11.7", + "happy-dom": "^16.0.0", "husky": "^9.1.7", "knip": "^5.38.3", "lint-staged": "^15.2.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5a873779..e11b3f70 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,10 +35,10 @@ importers: version: 22.10.2 '@vitest/coverage-v8': specifier: ^2.1.6 - version: 2.1.8(vitest@2.1.8(@types/node@22.10.2)(happy-dom@15.11.7)) + version: 2.1.8(vitest@2.1.8(@types/node@22.10.2)(happy-dom@16.0.1)) '@vitest/eslint-plugin': specifier: ^1.1.12 - version: 1.1.20(@typescript-eslint/utils@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(happy-dom@15.11.7)) + version: 1.1.20(@typescript-eslint/utils@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(happy-dom@16.0.1)) console-fail-test: specifier: ^0.5.0 version: 0.5.0 @@ -76,8 +76,8 @@ importers: specifier: ^1.16.0 version: 1.16.0(eslint@9.17.0(jiti@2.4.2)) happy-dom: - specifier: ^15.11.7 - version: 15.11.7 + specifier: ^16.0.0 + version: 16.0.1 husky: specifier: ^9.1.7 version: 9.1.7 @@ -122,7 +122,7 @@ importers: version: 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2) vitest: specifier: ^2.1.6 - version: 2.1.8(@types/node@22.10.2)(happy-dom@15.11.7) + version: 2.1.8(@types/node@22.10.2)(happy-dom@16.0.1) web-ext: specifier: ^8.3.0 version: 8.3.0 @@ -2100,8 +2100,8 @@ packages: growly@1.3.0: resolution: {integrity: sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==} - happy-dom@15.11.7: - resolution: {integrity: sha512-KyrFvnl+J9US63TEzwoiJOQzZBJY7KgBushJA8X61DMbNsH+2ONkDuLDnCnwUiPTF42tLoEmrPyoqbenVA5zrg==} + happy-dom@16.0.1: + resolution: {integrity: sha512-cqbqvutE6XAIMe4nM93TkbW5SDFtLkU/6nsQfJBJ2KSlaT+My2kmnYsCFXrvEzvmP7s1xGJ6Xt4D9LNJIJHMbA==} engines: {node: '>=18.0.0'} hard-rejection@2.1.0: @@ -4565,7 +4565,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitest/coverage-v8@2.1.8(vitest@2.1.8(@types/node@22.10.2)(happy-dom@15.11.7))': + '@vitest/coverage-v8@2.1.8(vitest@2.1.8(@types/node@22.10.2)(happy-dom@16.0.1))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -4579,17 +4579,17 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.8(@types/node@22.10.2)(happy-dom@15.11.7) + vitest: 2.1.8(@types/node@22.10.2)(happy-dom@16.0.1) transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.20(@typescript-eslint/utils@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(happy-dom@15.11.7))': + '@vitest/eslint-plugin@1.1.20(@typescript-eslint/utils@8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2))(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(happy-dom@16.0.1))': dependencies: '@typescript-eslint/utils': 8.18.2(eslint@9.17.0(jiti@2.4.2))(typescript@5.7.2) eslint: 9.17.0(jiti@2.4.2) optionalDependencies: typescript: 5.7.2 - vitest: 2.1.8(@types/node@22.10.2)(happy-dom@15.11.7) + vitest: 2.1.8(@types/node@22.10.2)(happy-dom@16.0.1) '@vitest/expect@2.1.8': dependencies: @@ -5841,9 +5841,8 @@ snapshots: growly@1.3.0: {} - happy-dom@15.11.7: + happy-dom@16.0.1: dependencies: - entities: 4.5.0 webidl-conversions: 7.0.0 whatwg-mimetype: 3.0.0 @@ -7440,7 +7439,7 @@ snapshots: '@types/node': 22.10.2 fsevents: 2.3.3 - vitest@2.1.8(@types/node@22.10.2)(happy-dom@15.11.7): + vitest@2.1.8(@types/node@22.10.2)(happy-dom@16.0.1): dependencies: '@vitest/expect': 2.1.8 '@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.2)) @@ -7464,7 +7463,7 @@ snapshots: why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.10.2 - happy-dom: 15.11.7 + happy-dom: 16.0.1 transitivePeerDependencies: - less - lightningcss