mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
chore: bump up happy-dom version to v17 (#9971)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [happy-dom](https://redirect.github.com/capricorn86/happy-dom) | [`^16.0.0` -> `^17.0.0`](https://renovatebot.com/diffs/npm/happy-dom/16.6.0/17.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v17.0.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v17.0.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.8.1...v17.0.0) ##### 💣 Breaking Changes - Adds support for ECMAScript modules - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - This change allows the use of `import` and `export` statements in JavaScript files ##### 🎨 Features - Adds support for tracing unended tasks when using `waitUntilComplete()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1567](https://redirect.github.com/capricorn86/happy-dom/issues/1567) - Read more about how to enable this feature under `debug.traceWaitUntilComplete` in the Wiki for [IBrowserSettings](https://redirect.github.com/capricorn86/happy-dom/wiki/IBrowserSettings) - Adds support for preloading fetch, stylesheet, script and modules in `HTMLLinkElement` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - Adds support for `HTMLLinkElement.relList.supports()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - Adds support for `Request.mode` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - Output failed requests to the console - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - Adds support for `HTMLScriptElement.blocking`, `HTMLScriptElement.crossOrigin`, `HTMLScriptElement.fetchPriority`, `HTMLScriptElement.noModule`, `HTMLScriptElement.integrity`, `HTMLScriptElement.referrerPolicy` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - Use cache in virtual server requests - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - Adds support for `credentials` and `referrerPolicy` when fetching styles and scripts - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - Disallow invalid attributes from being set in `Element.setAttribute()` - By **[@​OlaviSau](https://redirect.github.com/OlaviSau)** in task [#​1706](https://redirect.github.com/capricorn86/happy-dom/issues/1706) ##### 👷♂️ Patch fixes - Call `afterAsyncResponse` fetch interceptor in virtual server requests - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) - Fixes bug where children in a `ShadowRoot` of a custom element that was upgraded from a `HTMLElement` wasn't considered connected to the DOM - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​320](https://redirect.github.com/capricorn86/happy-dom/issues/320) ### [`v16.8.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.8.1) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.8.0...v16.8.1) ##### 👷♂️ Patch fixes - Handle non-string values gracefully when removing an attribute - By **[@​OlaviSau](https://redirect.github.com/OlaviSau)** in task [#​1706](https://redirect.github.com/capricorn86/happy-dom/issues/1706) ### [`v16.8.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.8.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.7.3...v16.8.0) ##### 🎨 Features - Add support for `insertRow()` and `deleteRow()` to `HTMLTableSectionElement` - By **[@​christiango](https://redirect.github.com/christiango)** in task [#​1708](https://redirect.github.com/capricorn86/happy-dom/issues/1708) ### [`v16.7.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.7.3) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.7.2...v16.7.3) ##### 👷♂️ Patch fixes - Removes space from directory name that prevents the repo to be cloned on MS Windows - By **[@​kleinfreund](https://redirect.github.com/kleinfreund)** in task [#​1703](https://redirect.github.com/capricorn86/happy-dom/issues/1703) ### [`v16.7.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.7.2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.7.1...v16.7.2) ##### 👷♂️ Patch fixes - Ignore invalid cookies in CookieContainer - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1693](https://redirect.github.com/capricorn86/happy-dom/issues/1693) ### [`v16.7.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.7.1) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.7.0...v16.7.1) ##### 👷♂️ Patch fixes - Adds `ICookie`, `IOptionalCookie`, `CookieSameSiteEnum` and `IVirtualServer` as exports to the index file - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1693](https://redirect.github.com/capricorn86/happy-dom/issues/1693) - Makes non-mandatory cookie properties optional in `CookieContainer.addCookies()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1693](https://redirect.github.com/capricorn86/happy-dom/issues/1693) ### [`v16.7.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.7.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.6.0...v16.7.0) ##### 🎨 Features - Adds support for simulating local HTTP servers that serves files from the local file system - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1688](https://redirect.github.com/capricorn86/happy-dom/issues/1688) - Read more about virtual servers in the [Wiki](https://redirect.github.com/capricorn86/happy-dom/wiki/IVirtualServer) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->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/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||
"eslint-plugin-sonarjs": "^3.0.1",
|
||||
"eslint-plugin-unicorn": "^56.0.1",
|
||||
"happy-dom": "^16.0.0",
|
||||
"happy-dom": "^17.0.0",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^15.2.11",
|
||||
"msw": "^2.6.8",
|
||||
|
||||
Reference in New Issue
Block a user