wilfredinni / python-cheatsheet

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

chore(deps): update dependency happy-dom to v12 #306

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
happy-dom ^11.0.0 -> ^12.0.0 age adoption passing confidence

Release Notes

capricorn86/happy-dom (happy-dom) ### [`v12.0.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v12.0.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.2.0...v12.0.0) ##### :bomb: Breaking Changes - Changes the default user agent. The default user agent will now be `Mozilla/5.0 (X11; {process.platform} {process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/{packageVersion}`. ([#​1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) ##### :art: Features - It is now possible to pass user agent as an option to the `Window` constructor or by setting `Window.happyDOM.settings.navigator.userAgent`. ([#​1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) - React will no longer output the message `Download the React DevTools for a better development experience` to the console when using the default user agent. It was previously detected as a supported browser. ([#​1067](https://togithub.com/capricorn86/happy-dom/issues/1067)) ### [`v11.2.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.2.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.2...v11.2.0) ##### :art: Features - Adds support for `Window.crypto`. ([#​1050](https://togithub.com/capricorn86/happy-dom/issues/1050)) *** Thank you [@​Ayc0](https://togithub.com/Ayc0) for your contribution! ### [`v11.1.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.1...v11.1.2) ##### :construction_worker_man: Patch fixes - Only dispatch "close" event in `HTMLDialogElement.close()` when dialog was open. ([#​1064](https://togithub.com/capricorn86/happy-dom/issues/1064)) *** Thank you [@​Schleuse](https://togithub.com/Schleuse) for your contribution! ### [`v11.1.1`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.1) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.1.0...v11.1.1) ##### :construction_worker_man: Patch fixes - Adds support for the mime type "image/svg+xml" to `DOMParser.parseFromString()`. It will no longer add HTML tags when parsing SVGs. ([#​1040](https://togithub.com/capricorn86/happy-dom/issues/1040)) *** Thank you [@​drtimwright](https://togithub.com/drtimwright) for your contribution! ### [`v11.1.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.1.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.6...v11.1.0) ##### :art: Features - Add support for handling the `` element as a an SVG element. ([#​1034](https://togithub.com/capricorn86/happy-dom/issues/1034)) *** Thank you [@​ottoszika](https://togithub.com/ottoszika) for your contribution! ### [`v11.0.6`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.6) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.5...v11.0.6) ##### :construction_worker_man: Patch fixes - Fixes issue related to Jest module mocker in "[@​happy-dom/jest-environment](https://togithub.com/happy-dom/jest-environment)". ([#​1062](https://togithub.com/capricorn86/happy-dom/issues/1062)) ### [`v11.0.5`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.5) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.4...v11.0.5) ##### :construction_worker_man: Patch fixes - Increases timeout in `Window.happyDOM.whenAsyncComplete()`. ([#​1059](https://togithub.com/capricorn86/happy-dom/issues/1059)) ### [`v11.0.4`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.4) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.3...v11.0.4) ##### :construction_worker_man: Patch fixes - Jest was using `setTimeout` from Happy DOM internally for detecting when a test times out. This caused `Window.happyDOM.whenAsyncComplete()` and `Window.happyDOM.cancelAsync()` to not work as expected inside Jest. This is a bug in Jest, but this release adds a temporary fix to "[@​happy-dom/jest-environment](https://togithub.com/happy-dom/jest-environment)" until Jest has solved it. ([#​1057](https://togithub.com/capricorn86/happy-dom/issues/1057)) ### [`v11.0.3`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.3) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.2...v11.0.3) ##### :construction_worker_man: Patch fixes - Fixes an issue where the Promise returned by `Window.happyDOM.whenAsyncComplete()` was resolved to early in some scenarios. ([#​1053](https://togithub.com/capricorn86/happy-dom/issues/1053)) ### [`v11.0.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.1...v11.0.2) ##### :construction_worker_man: Patch fixes - Fixes documentation for packages in README.md. ([#​1047](https://togithub.com/capricorn86/happy-dom/issues/1047))

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 1 year ago

Deploy Preview for pythoncheatsheet ready!

Name Link
Latest commit 3a9f60c984230ee2213517c323a8ac9ebcc47efa
Latest deploy log https://app.netlify.com/sites/pythoncheatsheet/deploys/650496cc3a08be00082e1410
Deploy Preview https://deploy-preview-306--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.