dwightjack / vue-types

Vue Prop Types definitions
https://dwightjack.github.io/vue-types/
MIT License
571 stars 35 forks source link

chore(deps): update dependency happy-dom to v14 #453

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom 12.10.3 -> 14.7.1 age adoption passing confidence

Release Notes

capricorn86/happy-dom (happy-dom) ### [`v14.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.7.0...v14.7.1) ##### :construction_worker_man: Patch fixes - Adds support for using Node.prototype.cloneNode.call - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1392](https://togithub.com/capricorn86/happy-dom/issues/1392) ### [`v14.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.6.2...4849b6200862f1bd041828fc325e863ac6e62c20) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.6.2...v14.7.0) ### [`v14.6.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.6.1...v14.6.2) ##### :construction_worker_man: Patch fixes - Makes it possible to spy on `Storage.prototype` methods - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1377](https://togithub.com/capricorn86/happy-dom/issues/1377) - Read more about this in the Wiki under [Use as Test Environment](https://togithub.com/capricorn86/happy-dom/wiki/Use-as-Test-Environment#storage) ### [`v14.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.6.0...v14.6.1) ##### :construction_worker_man: Patch fixes - Fixes bug where `Document.createTextNode()` didn't handle conversion of non-string values to string - By **[@​odanado](https://togithub.com/odanado)** in task [#​1380](https://togithub.com/capricorn86/happy-dom/issues/1380) - Adds support for throwing an exception when no argument is submitted to `Document.createTextNode()` - By **[@​odanado](https://togithub.com/odanado)** in task [#​1380](https://togithub.com/capricorn86/happy-dom/issues/1380) ### [`v14.6.0`](https://togithub.com/capricorn86/happy-dom/compare/a02626114b332462dcd60c938cf2f7b677f10e9e...5c745d4efa71c9bc31a5ae4a12838cadabe9069a) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.5.2...v14.6.0) ### [`v14.5.2`](https://togithub.com/capricorn86/happy-dom/compare/v14.5.1...a02626114b332462dcd60c938cf2f7b677f10e9e) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.5.1...v14.5.2) ### [`v14.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.5.0...v14.5.1) ##### :construction_worker_man: Patch fixes - Fixes problem with Document.defaultView not referring to the global object when using GlobalRegistrator - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1367](https://togithub.com/capricorn86/happy-dom/issues/1367) ### [`v14.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.4.0...v14.5.0) ##### :art: Features - Adds support for handling "application/x-www-form-urlencoded" in `Request.formData()` - By [@​tt-public](https://togithub.com/tt-public) in [#​1379](https://togithub.com/capricorn86/happy-dom/issues/1379) ### [`v14.4.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.10...v14.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.10...v14.4.0) ### [`v14.3.10`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.10) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.9...v14.3.10) ##### :construction_worker_man: Patch fixes - Fixes problem related to CSS properties not being used when defined after the CSS value - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1364](https://togithub.com/capricorn86/happy-dom/issues/1364) ### [`v14.3.9`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.8...v14.3.9) ##### :construction_worker_man: Patch fixes - Fixes problem with spying on properties in Storage - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1368](https://togithub.com/capricorn86/happy-dom/issues/1368) ### [`v14.3.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.8) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.7...v14.3.8) ##### :construction_worker_man: Patch fixes - Fixes problem when the error for the invalid selectors `:is` and :`where` (without argument) was not handled correctly - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1352](https://togithub.com/capricorn86/happy-dom/issues/1352) ### [`v14.3.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.6...v14.3.7) ##### :construction_worker_man: Patch fixes - Makes `DOMTokenList` iterable - By [@​silverwind](https://togithub.com/silverwind) in task [#​1342](https://togithub.com/capricorn86/happy-dom/issues/1342) ### [`v14.3.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.5...v14.3.6) ##### :construction_worker_man: Patch fixes - Adds support for parsing shorthand comments - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1288](https://togithub.com/capricorn86/happy-dom/issues/1288) ### [`v14.3.5`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.4...06b556ca5f3fe6fcb3abc7ee9b1255b3d3ed5c6f) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.4...v14.3.5) ### [`v14.3.4`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.3...1fa9701d374dbf57c5e54bcbd877828cd007603c) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.3...v14.3.4) ### [`v14.3.3`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.2...6cbe8c09c98ae8b310da0c8b6acb37b1b7820981) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.2...v14.3.3) ### [`v14.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.3.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.1...v14.3.2) ##### :construction_worker_man: Patch fixes - LocalStorage.setItem non-string value should to be string - By **[@​betterqualityassuranceuser](https://togithub.com/betterqualityassuranceuser)** in task [#​1347](https://togithub.com/capricorn86/happy-dom/issues/1347) ### [`v14.3.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.3.0...b5af02b6d2d9cb940890983b3a2ec35155d8cba6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.3.0...v14.3.1) ### [`v14.3.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.2.1...96b06e654c258835c3c13d81701994169b6174a0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.2.1...v14.3.0) ### [`v14.2.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.2.0...2ce84c0c2b7a9679b54b15ac00a0a0a97f90d6e9) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.2.0...v14.2.1) ### [`v14.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.1.2...v14.2.0) ##### :art: Features - Adds support for the pseudo selectors `:is()` and `:where()` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1333](https://togithub.com/capricorn86/happy-dom/issues/1333) ### [`v14.1.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.1.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.1.1...v14.1.2) ##### :construction_worker_man: Patch fixes - Fixes problem with properties defined as getters and setters not being registered globally by Vitest - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1339](https://togithub.com/capricorn86/happy-dom/issues/1339) - The problem occurred as Vitest is using `Object.getOwnPropertyDescriptors(window)` to read which properties to register globally, but getters and setters are defined on the prototype - To solve the problem, `GlobalWindow` now defines the properties on the instance when it is constructed ### [`v14.1.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.1.0...7e006f57b71b0979ec8992cbf9ee20221ebafa78) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.1.0...v14.1.1) ### [`v14.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.0.0...v14.1.0) ##### :art: Features - Adds support for the setting `handleDisabledFileLoadingAsSuccess`, that can be used for triggering a "load" event instead of an "error" event when file loading is disabled - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1334](https://togithub.com/capricorn86/happy-dom/issues/1334) ### [`v14.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.10.1...v14.0.0) ##### :bomb: Breaking Changes - Removes interfaces for Node's, as they are no longer needed as newer versions of Typescript can handle circular dependencies - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1330](https://togithub.com/capricorn86/happy-dom/issues/1330) ### [`v13.10.1`](https://togithub.com/capricorn86/happy-dom/compare/v13.10.0...a6debf50e909766e0e5442b9e4c5ebe8dadb1cd1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.10.0...v13.10.1) ### [`v13.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.9.0...v13.10.0) ##### :art: Features - Adds support for the Headers.getSetCookie - By **[@​betterqualityassuranceuser](https://togithub.com/betterqualityassuranceuser)** in task [#​1315](https://togithub.com/capricorn86/happy-dom/issues/1315) ### [`v13.9.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.6...9d6d1f39aeb2cbfce914277ce22264ee88290582) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.6...v13.9.0) ### [`v13.8.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.5...v13.8.6) ##### :construction_worker_man: Patch fixes - Fixes bug related to multiple fallbacks to CSS variables being set incorrectly - By **[@​odanado](https://togithub.com/odanado)** in task [#​1308](https://togithub.com/capricorn86/happy-dom/issues/1308) ### [`v13.8.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.4...v13.8.5) ##### :construction_worker_man: Patch fixes - Fixes problem related to invalid pseudo query selectors matching elements (e.g. ":before" should only match the pseudo element and not the actual element) - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1122](https://togithub.com/capricorn86/happy-dom/issues/1122) - Adds support for using multiple pseudo query selectors (e.g. ":first-of-type:last-of-type") - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1122](https://togithub.com/capricorn86/happy-dom/issues/1122) - Fixes minor typo in `HTMLElementConfig` - By **[@​danbentley](https://togithub.com/danbentley)** in task [#​1306](https://togithub.com/capricorn86/happy-dom/issues/1306) ### [`v13.8.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.3...v13.8.4) ##### :construction_worker_man: Patch fixes - Adds support for returning URL relative to window location in `HTMLLinkElement.href`, `HTMLImageElement.src` and `HTMLScriptElement.src` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1135](https://togithub.com/capricorn86/happy-dom/issues/1135) ### [`v13.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.2...v13.8.3) ##### :construction_worker_man: Patch fixes - Fixes problem where some elements (e.g. `
  • `, `

    ` or ``) doesn't allow itself as direct descendant when parsing HTML, but should allow itself as descendant when it is not at first level - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1039](https://togithub.com/capricorn86/happy-dom/issues/1039) ### [`v13.8.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...4970c699d07d97c4a9839e25c831eef230445abf) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.1...v13.8.2) ### [`v13.8.1`](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...08cd42601d62f39d42d01d902a56d2441f7128e0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.8.0...v13.8.1) ### [`v13.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.8...v13.8.0) ##### :art: Features - Adds support for Element.scrollIntoView - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1051](https://togithub.com/capricorn86/happy-dom/issues/1051) ### [`v13.7.8`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...0dfe51d6006c09b2f12ec2ec4f15858ae6450060) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.7...v13.7.8) ### [`v13.7.7`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.6...v13.7.7) ### [`v13.7.6`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...54d1ae080f4e91ae09bb586ad01f82050cf5db15) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.5...v13.7.6) ### [`v13.7.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.4...v13.7.5) ##### :construction_worker_man: Patch fixes - Modify option node to return empty string even if the value is empty string - In task [#​1138](https://togithub.com/capricorn86/happy-dom/issues/1138) ### [`v13.7.4`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...16396f9d1f114ad70c926f56da40a31382aeabcb) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.3...v13.7.4) ### [`v13.7.3`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...1bd90205d67aa78de52ea5d1ebb3c8f8db2364af) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.2...v13.7.3) ### [`v13.7.2`](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...3b4339d709bb9b097a8302996dc4af356f496e1a) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.1...v13.7.2) ### [`v13.7.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.7.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.7.0...v13.7.1) ##### :construction_worker_man: Patch fixes - Adds support for cloning body in `Response.clone()` - By **[@​cprecioso](https://togithub.com/cprecioso)** in task [#​1216](https://togithub.com/capricorn86/happy-dom/issues/1216) ### [`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0) ### [`v13.6.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.1...v13.6.2) ##### :art: Features - Add support for the ":target" pseudo query selector - By **[@​Schleuse](https://togithub.com/Schleuse)** in task [#​1221](https://togithub.com/capricorn86/happy-dom/issues/1221) ##### :construction_worker_man: Patch fixes - The Event listener method `handleEvent()` should be called within the listener scope - By **[@​titouanmathis](https://togithub.com/titouanmathis)** in task [#​1182](https://togithub.com/capricorn86/happy-dom/issues/1182) ### [`v13.6.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.0...v13.6.1) ##### :construction_worker_man: Patch fixes - Improves validation for the options argument in `MutationsObserver.observe()` - By **[@​romansp](https://togithub.com/romansp)** in task [#​1223](https://togithub.com/capricorn86/happy-dom/issues/1223) ### [`v13.6.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.6.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.3...v13.6.0) ##### :art: Features - Adds support for `Node.isEqualNode()` - By **[@​aralroca](https://togithub.com/aralroca)** in task [#​1263](https://togithub.com/capricorn86/happy-dom/issues/1263) ##### :construction_worker_man: Patch fixes - Adds support for the property `Document.forms` - By **[@​juandiegombr](https://togithub.com/juandiegombr)** in task [#​1260](https://togithub.com/capricorn86/happy-dom/issues/1260) - Adds check for if `MutationObserver` options are null, which most likely happens for code that is executed after the Window instance has been closed - By **[@​zachlankton](https://togithub.com/zachlankton)** in task [#​1217](https://togithub.com/capricorn86/happy-dom/issues/1217) ### [`v13.5.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.2...v13.5.3) ##### :construction_worker_man: Patch fixes - Improves check for invalid query selectors - By **[@​btea](https://togithub.com/btea)** in task #​0 ### [`v13.5.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.1...v13.5.2) ##### :construction_worker_man: Patch fixes - Adds unit test for Vue component with SVG - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1271](https://togithub.com/capricorn86/happy-dom/issues/1271) ### [`v13.5.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.5.0...v13.5.1) ##### :construction_worker_man: Patch fixes - Fixes problem with query selectors not finding SVG elements after the v13.4.0 release - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1274](https://togithub.com/capricorn86/happy-dom/issues/1274) ### [`v13.5.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.5.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.4.1...v13.5.0) ##### :art: Features - Use the Node.js `ReadableStream` class for the properties `Response.body` and `Request.body` - By **[@​diego-toro](https://togithub.com/diego-toro)** and **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1180](https://togithub.com/capricorn86/happy-dom/issues/1180) - The previous implementation used the Node.js `Stream.Readable` class, which is not fully spec compliant ### [`v13.4.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.4.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.4.0...v13.4.1) ##### :construction_worker_man: Patch fixes - Updates documentation for tearing down the Window instance - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1268](https://togithub.com/capricorn86/happy-dom/issues/1268) ### [`v13.4.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.4.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.8...v13.4.0) ##### :art: Features - Adds support for `CustomElementRegistry.getName()` - By **[@​mash-graz](https://togithub.com/mash-graz)** in task [#​1176](https://togithub.com/capricorn86/happy-dom/issues/1176) - Adds support for `await Window.happyDOM.close()`, which makes it possible to wait for the teardown to be completed in a detached window - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1176](https://togithub.com/capricorn86/happy-dom/issues/1176) ##### :construction_worker_man: Patch fixes - Use `Element.localName` correctly in `Document.createElement()` and `Document.createElementNS()` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1176](https://togithub.com/capricorn86/happy-dom/issues/1176) - Set correct `namespaceURI` for "xmlns" attribute when parsing SVGs - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1176](https://togithub.com/capricorn86/happy-dom/issues/1176) - Fixes problem related to window being "null" during teardown/close - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1176](https://togithub.com/capricorn86/happy-dom/issues/1176) - Validate custom element name in `CustomElementRegistry` - By **[@​mash-graz](https://togithub.com/mash-graz)** in task [#​1176](https://togithub.com/capricorn86/happy-dom/issues/1176) - Prevent registration of the same `HTMLElement` class with different name in `CustomElementRegistry` - By **[@​mash-graz](https://togithub.com/mash-graz)** in task [#​1176](https://togithub.com/capricorn86/happy-dom/issues/1176) ### [`v13.3.8`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.8) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.7...v13.3.8) ##### :construction_worker_man: Patch fixes - Updates documentation - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1251](https://togithub.com/capricorn86/happy-dom/issues/1251) ### [`v13.3.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.6...v13.3.7) ##### :construction_worker_man: Patch fixes - Removes validation of PR commit messages from Github workflow as it will fallback to patch version anyway - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1249](https://togithub.com/capricorn86/happy-dom/issues/1249) ### [`v13.3.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.5...v13.3.6) ##### :construction_worker_man: Patch fixes - Adds support for PR username in release notes if it is not possible to retrieve Github username based on commit email - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1247](https://togithub.com/capricorn86/happy-dom/issues/1247) ### [`v13.3.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.4...v13.3.5) ##### :art: Features - Support for passing pseudo-selectors as argument of `:not` in query selectors - By **[@​gdorsi](https://togithub.com/gdorsi)** in task [#​1191](https://togithub.com/capricorn86/happy-dom/issues/1191) - Add support for `TouchEvent` and `Touch` - By **[@​visualjerk](https://togithub.com/visualjerk)** in task [#​1186](https://togithub.com/capricorn86/happy-dom/issues/1186) ##### :construction_worker_man: Patch fixes - Fixes problem with calculating next version by updating the package "happy-conventional-commit" - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1244](https://togithub.com/capricorn86/happy-dom/issues/1244) ### [`v13.3.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.3...v13.3.4) ##### :construction_worker_man: Patch fixes - Fixes automatic release notes in the Github Workflow - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1241](https://togithub.com/capricorn86/happy-dom/issues/1241) ### [`v13.3.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.2...v13.3.3) ##### :construction_worker_man: Patch fixes - Updates documentation. ([#​1240](https://togithub.com/capricorn86/happy-dom/issues/1240)) ### [`v13.3.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.1...v13.3.2) ##### :construction_worker_man: Patch fixes - Use [Conventional Commits](https://www.conventionalcommits.org/en/) as pattern when developing with Happy DOM. ([#​975](https://togithub.com/capricorn86/happy-dom/issues/975)) ### [`v13.3.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.3.0...v13.3.1) ##### :construction_worker_man: Patch fixes - Improves documentation for "[@​happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)". ([#​1233](https://togithub.com/capricorn86/happy-dom/issues/1233)) ### [`v13.3.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.3.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.2...v13.3.0) ##### :art: Features - Adds support for sending in Window options to `GlobalRegistrator.register()` in "[@​happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)". ([#​1105](https://togithub.com/capricorn86/happy-dom/issues/1105)) ##### :construction_worker_man: Patch fixes - Fixes problem with getters and setters not being added to the global object when using `GlobalRegistrator.register()` in "[@​happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)". ([#​1105](https://togithub.com/capricorn86/happy-dom/issues/1105)) ### [`v13.2.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.1...v13.2.2) ##### :construction_worker_man: Patch fixes - Fixes issue where it is not possible to set `global.location.href` when using Happy DOM in the global scope (e.g. by using [@​happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)). ([#​1230](https://togithub.com/capricorn86/happy-dom/issues/1230)) ### [`v13.2.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.2.0...v13.2.1) ##### :construction_worker_man: Patch fixes - Adds missing element classes and types to the export in "index.js", so that they are easier to import. The missing elements was `HTMLAnchorElement`, `HTMLButtonElement`, `HTMLOptGroupElement`, `HTMLOptionElement`, `HTMLUnknownElement` and `HTMLSelectElement`. ([#​1227](https://togithub.com/capricorn86/happy-dom/issues/1227)) - Adds non-implemented element classes to the export in "index.js" by exporting `HTMLElement` as the non-implemented class name. ([#​1227](https://togithub.com/capricorn86/happy-dom/issues/1227)) ### [`v13.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.1.4...v13.2.0) ##### :art: Features - Removes unnecessary dependencies. ([#​1215](https://togithub.com/capricorn86/happy-dom/issues/1215)) ### [`v13.1.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.1.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.1.3...v13.1.4) ##### :construction_worker_man: Patch fixes - Adds submitter to `SubmitEvent` instances dispatched by `HTMLInputElement` and `HTMLButtonElement` . ([#​1173](https://togithub.com/capricorn86/happy-dom/issues/1173)) *** Thank you [@​aaltepet](https://togithub.com/aaltepet) for your contribution! ### [`v13.1.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.1.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.1.2...v13.1.3) ##### :construction_worker_man: Patch fixes - Throws an error when providing an invalid selector to `querySelector()` and `querySelectorAll()`. ([#​1170](https://togithub.com/capricorn86/happy-dom/issues/1170)) *** Thank you [@​btea](https://togithub.com/btea) for your contribution! ### [`v13.1.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.1.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.1.1...v13.1.2) ##### :construction_worker_man: Patch fixes - `Selection.anchorOffset`, `Selection.baseOffset`, `Selection.focusOffset` and `Selection.extendOffset` should return 0 when no range has been added. ([#​1163](https://togithub.com/capricorn86/happy-dom/issues/1163)) *** Thank you [@​seanogdev](https://togithub.com/seanogdev) for your contribution! ### [`v13.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.1.0...v13.1.1) ##### :construction_worker_man: Patch fixes - Support whitespace with multiple spaces, line breaks or tabs in `DOMTokenList` (e.g. `
    `). ([#​1168](https://togithub.com/capricorn86/happy-dom/issues/1168)) *** Thank you [@​takenspc](https://togithub.com/takenspc) for your contribution! ### [`v13.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.0.7...v13.1.0) ##### :art: Features - Makes properties into getters and setters according to spec in all nodes. ([#​1188](https://togithub.com/capricorn86/happy-dom/issues/1188)) - Adds support for adopted stylesheets to `Window.getComputedStyle()`. ([#​1188](https://togithub.com/capricorn86/happy-dom/issues/1188)) ### [`v13.0.7`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.0.7) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.0.6...v13.0.7) ##### :construction_worker_man: Patch fixes - Fixes issue related to using fake timers in Vitest making the test get stuck. ([#​1210](https://togithub.com/capricorn86/happy-dom/issues/1210)) ### [`v13.0.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.0.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.0.5...v13.0.6) ##### :construction_worker_man: Patch fixes - Fixes problem related to exception thrown when creating a `Node` in the constructor of a custom element. ([#​1207](https://togithub.com/capricorn86/happy-dom/issues/1207)) ### [`v13.0.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.0.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.0.4...v13.0.5) ##### :construction_worker_man: Patch fixes - Fixes issue related to "[@​happy-dom/jest-environment](https://togithub.com/happy-dom/jest-environment)" not waiting for all operations to abort before closing. ([#​1205](https://togithub.com/capricorn86/happy-dom/issues/1205)) ### [`v13.0.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.0.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.0.3...v13.0.4) ##### :construction_worker_man: Patch fixes - Adds support for fallback values when declaring a CSS variable (e.g. "var(--my-var, #FFF)"). ([#​1192](https://togithub.com/capricorn86/happy-dom/issues/1192)) ### [`v13.0.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.0.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.0.2...v13.0.3) ##### :construction_worker_man: Patch fixes - Fixes problem with clearTimeout(), clearInterval() and cancelAnimationFrame() not supporting number values. ([#​1201](https://togithub.com/capricorn86/happy-dom/issues/1201)) ### [`v13.0.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.0.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.0.1...v13.0.2) ##### :construction_worker_man: Patch fixes - Removes unused browser setting. ([#​1199](https://togithub.com/capricorn86/happy-dom/issues/1199)) ### [`v13.0.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.0.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.0.0...v13.0.1) ##### :art: Features - Adds support for `BrowserFrame.viewport`. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Adds support for `Window.resizeTo()`. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Adds support for `Window.resizeBy()`. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) ##### :construction_worker_man: Patch fixes - Fixes issues related to viewport not being kept when navigating to new a URL. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) ### [`v13.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v13.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v12.10.3...v13.0.0) ##### :bomb: Breaking Changes - This is a big release where a lot of the code has been refactored to improve security and to be able to support the new Browser API. A big release is always a potential risk for bugs and therefore it make sense to make this a major release to avoid that consumers automatically updates to it. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) ##### :art: Features - Adds support for a Browser API similar to [Puppeteer](https://pptr.dev/) and [Playwright](https://playwright.dev/). With the Browser API, it is for example possible to create new pages and navigate in them. You can read more about it in the [Happy DOM Wiki](https://togithub.com/capricorn86/happy-dom/wiki). ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Improves security by not exposing sensitive internal logic to scripts running within the Happy DOM Browser. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Improves support for CORS management. It now supports "OPTIONS" requests to detect if the client is allowed to proceed with a cross origin request. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Adds support for HTTP response cache. The cache is in memory, but the plan is to add support for storing it on disk in the future. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Improves support for `XMLHttpRequest`. It now supports the GZip, Deflate and Brotli encodings. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Adds support for adding a process level error event listener for capturing errors. This is useful when using the Browser API, but will not work in environments such as [Jest](https://jestjs.io/) and [Vitest](https://vitest.dev/), as it collides with their error listener. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Adds support for `Ẁindow.open()`. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Adds support for `Ẁindow.close()`. This function should now be used when tearing down the environment. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Improves support for cookies. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Improves support for `HTMLIFrameElement`. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Changes export of types to use "import type" and "export type" in "index.js". This will allow transpilers/compilers to optimize better. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Adds support for navigating when clicking on an anchor link. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Adds support for navigating when setting `Location.href`. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Improves support for `MutationObserver`. It will not collect multiple records with a microtask. It now also supports `MutationObserver.takeRecords()` for records that has not yet been published. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Deprecates "[@​happy-dom/uncaught-exception-observer](https://togithub.com/happy-dom/uncaught-exception-observer)" as the functionality is supported by "happy-dom" out of the box now. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Uses Symbol for public internal properties instead of using "\_" as a prefix, so that internal properties won't be enumerable. This will also make sure that these properties won't clash with properties defined by the consumer. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) ##### :construction_worker_man: Patch fixes - Improves the check for if the property is a class to avoid that it gets bound in "[@​happy-dom/global-registrator](https://togithub.com/happy-dom/global-registrator)". We only want functions to get bound to the global context. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Fixes bug where `new Document()` did'nt work according to spec. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Fixes bug where several Element classes wheren't available as properties on `Window`. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Fixes bug in `Document.importNode()` where it didn't change `ownerDocument` on child nodes. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) - Resets static `ownerDocument` state used when creating Node instances, so that it can be garbage collected if not used anymore. ([#​466](https://togithub.com/capricorn86/happy-dom/issues/466)) *** Merry Christmas and a Happy New Year! :santa: :sparkles: This release took some time as I didn't want to release the Browser API without applying security fixes. I've also stumbled across a few other issues along the way that I felt I needed to address. I hope you will enjoy the release!

    Configuration

    📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    changeset-bot[bot] commented 7 months ago

    ⚠️ No Changeset found

    Latest commit: f8c0f6ae44903c24e8be97537de388ce1306071e

    Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

    This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

    Click here to learn what changesets are, and how to add one.

    Click here if you're a maintainer who wants to add a changeset to this PR