wilfredinni / python-cheatsheet

All-inclusive Python cheatsheet
https://www.pythoncheatsheet.org
MIT License
4.38k stars 1.29k forks source link

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

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom ^13.10.1 -> ^14.0.0 age adoption passing confidence

Release Notes

capricorn86/happy-dom (happy-dom) ### [`v14.12.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.4...ef2dfeafc7673d53776f8db1a313fecaed5074f4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.4...v14.12.0) ### [`v14.11.4`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.3...v14.11.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.3...v14.11.4) ### [`v14.11.3`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.2...f021a3305a20d0f0613d50c30ee694be831faa95) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.2...v14.11.3) ### [`v14.11.2`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.1...db97904b3a11e575269a15bbb70031399729ff45) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.1...v14.11.2) ### [`v14.11.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.11.0...6ada81698021c35f074e575ec232d1bb7bafb4bc) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.11.0...v14.11.1) ### [`v14.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.3...v14.11.0) ##### :art: Features - Adds support for `HTMLTimeElement` - By **[@​r-thomson](https://togithub.com/r-thomson)** in task [#​1431](https://togithub.com/capricorn86/happy-dom/issues/1431) ### [`v14.10.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.2...v14.10.3) ##### :construction_worker_man: Patch fixes - Adds check for if Window and MutationObserver has been destroyed when triggering listeners - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1436](https://togithub.com/capricorn86/happy-dom/issues/1436) ### [`v14.10.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.1...v14.10.2) ##### :construction_worker_man: Patch fixes - `HTMLAnchorElement`, `HTMLButtonElement`, `HTMLInputElement` and `HTMLLabelElement` checked that click events triggering native behavior was of type `PointerEvent`, but should check that they are of type `MouseEvent` - By **[@​capricorn86](https://togithub.com/capricorn86)** in task [#​1397](https://togithub.com/capricorn86/happy-dom/issues/1397) ### [`v14.10.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.10.0...v14.10.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.10.0...v14.10.1) ### [`v14.10.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.10.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.9.0...v14.10.0) ##### :art: Features - Adds support for `Document.elementFromPoint()` - By **[@​TreyVigus](https://togithub.com/TreyVigus)** in task [#​1400](https://togithub.com/capricorn86/happy-dom/issues/1400) - The method will always return `null` as Happy DOM doesn't support rendering and can't calculate an element's position based on where it is rendered ### [`v14.9.0`](https://togithub.com/capricorn86/happy-dom/compare/v14.8.3...2e0329100edf7aef9987146b35024c0b90fab2aa) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.8.3...v14.9.0) ### [`v14.8.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.8.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.8.2...v14.8.3) ##### :construction_worker_man: Patch fixes - Fixes issue related to `Element.insertBefore()` not removing comment node from previous ancestor - By **[@​mdafanasev](https://togithub.com/mdafanasev)** in task [#​1406](https://togithub.com/capricorn86/happy-dom/issues/1406) ### [`v14.8.2`](https://togithub.com/capricorn86/happy-dom/compare/2a8030f7a990cf258d703bdcc895c36213f375ba...9095b2ddc7b013eedb83c670d29fc97b27ae0ddf) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.8.1...v14.8.2) ### [`v14.8.1`](https://togithub.com/capricorn86/happy-dom/compare/v14.8.0...2a8030f7a990cf258d703bdcc895c36213f375ba) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.8.0...v14.8.1) ### [`v14.8.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v14.8.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v14.7.1...v14.8.0) ##### :art: Features - Adds support for the `HTMLIFrameElement.srcdoc` property - By **[@​jeffwcx](https://togithub.com/jeffwcx)** in task [#​1398](https://togithub.com/capricorn86/happy-dom/issues/1398) ### [`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)

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.



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

netlify[bot] commented 7 months ago

Deploy Preview for pythoncheatsheet ready!

Name Link
Latest commit 2f57a1f3ea0bcb4be615dc1178775743e20a3c5b
Latest deploy log https://app.netlify.com/sites/pythoncheatsheet/deploys/666dae0d3b29e80008a7c880
Deploy Preview https://deploy-preview-404--pythoncheatsheet.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.