nobumitsu-1995 / nits-tips

技術Tips投稿サイト「NITS TIPS」ソースコード
https://nits-tips.blog/
0 stars 0 forks source link

chore(deps): update dependency happy-dom to v15 [security] #613

Open renovate[bot] opened 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

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

GitHub Vulnerability Alerts

CVE-2024-51757

Impact

Consumers of the NPM package happy-dom

Patches

The security vulnerability has been patched in v15.10.2

Workarounds

No easy workarounds to my knowledge

References

#​1585


Release Notes

capricorn86/happy-dom (happy-dom) ### [`v15.10.2`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.10.1...d23834c232f1cf5519c9418b073f1dcec6b2f0fd) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.10.1...v15.10.2) ### [`v15.10.1`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.10.0...5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.10.0...v15.10.1) ### [`v15.10.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.9.0...1625d4080339190682bc76bbe79ea26132accfda) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.9.0...v15.10.0) ### [`v15.9.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.5...a78cd8f28d8b83cff087aab826b2ed97920b2813) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.5...v15.9.0) ### [`v15.8.5`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.4...v15.8.5) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.4...v15.8.5) ### [`v15.8.4`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.3...38ab960d0e1e3f230996cc163d78819290c91558) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.3...v15.8.4) ### [`v15.8.3`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.2...8f74989abe973bb1459fd7195c24d63724236ccf) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.2...v15.8.3) ### [`v15.8.2`](https://redirect.github.com/capricorn86/happy-dom/compare/759b4fb60e0ad0d0bc6743a79ae25076313f36fa...7f57469f2e6f54279e31c95a53ee3f497ebdeff6) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.1...v15.8.2) ### [`v15.8.1`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.0...759b4fb60e0ad0d0bc6743a79ae25076313f36fa) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.8.0...v15.8.1) ### [`v15.8.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.4...33a72ca38277d2aab5341b4b66b0ca6380285c0b) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.4...v15.8.0) ### [`v15.7.4`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.4) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.3...v15.7.4) ##### :construction_worker_man: Patch fixes - Fixes incorrect handling of non-node items inserted using `replaceWith()`, `before()` and `after()` - By **[@​BenjaminAster](https://redirect.github.com/BenjaminAster)** in task [#​1533](https://redirect.github.com/capricorn86/happy-dom/issues/1533) ### [`v15.7.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.3) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.2...v15.7.3) ##### :construction_worker_man: Patch fixes - Fixes bug that occurs when checking if a symbol property exists on `HTMLSelectElement` - By **[@​Cherry](https://redirect.github.com/Cherry)** in task [#​1526](https://redirect.github.com/capricorn86/happy-dom/issues/1526) ### [`v15.7.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.1...v15.7.2) ##### :construction_worker_man: Patch fixes - Fixes problem where it is not possible to observe again after disconnecting in `MutationObserver` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1524](https://redirect.github.com/capricorn86/happy-dom/issues/1524) ### [`v15.7.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.7.1) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.7.0...v15.7.1) ##### :construction_worker_man: Patch fixes - Fixes selector validation and converts selectors to string (e.g. `querySelector(['.class'])`) - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1507](https://redirect.github.com/capricorn86/happy-dom/issues/1507) ### [`v15.7.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.1...9bde659a1f05519c3986ec1a0bba9d12526525f7) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.1...v15.7.0) ### [`v15.6.1`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.0...86748dba632a1716247785851c0009d2256f23ef) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.6.0...v15.6.1) ### [`v15.6.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.5.0...71d243a6a3583cbc376dc90513d5739e96064691) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.5.0...v15.6.0) ### [`v15.5.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.3...fec1c0165753112715e1295cc57bb0c16b679b39) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.3...v15.5.0) ### [`v15.4.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.3) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.2...v15.4.3) ##### :construction_worker_man: Patch fixes - Adds support for supporting new lines and tabs as white-space character in CSS selectors - By **[@​syi0808](https://redirect.github.com/syi0808)** in task [#​1414](https://redirect.github.com/capricorn86/happy-dom/issues/1414) ### [`v15.4.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.1...v15.4.2) ##### :construction_worker_man: Patch fixes - Typo in CORS rejection error message - By **[@​rexxars](https://redirect.github.com/rexxars)** in task [#​1485](https://redirect.github.com/capricorn86/happy-dom/issues/1485) ### [`v15.4.1`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.4.1) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.4.0...v15.4.1) ##### :construction_worker_man: Patch fixes - Throw error in `FormData.append()` when value parameter type is incorrect - By **[@​btea](https://redirect.github.com/btea)** in task [#​1484](https://redirect.github.com/capricorn86/happy-dom/issues/1484) ### [`v15.4.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.2...5b23cc1cf711b8b3c0132d5f3241de6425bc2dc2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.2...v15.4.0) ### [`v15.3.2`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.3.2) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.1...v15.3.2) ##### :construction_worker_man: Patch fixes - Fixes the `HTMLInputElement.indeterminate`, so that it behaves correctly - By **[@​malko](https://redirect.github.com/malko)** in task [#​1439](https://redirect.github.com/capricorn86/happy-dom/issues/1439) ### [`v15.3.1`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.0...530f535c01f72de9190d9e67d0c3540d3c44a5fa) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.3.0...v15.3.1) ### [`v15.3.0`](https://redirect.github.com/capricorn86/happy-dom/compare/v15.2.0...a99364fa80f968da81dbb6ceb899ae15a8e5b902) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.2.0...v15.3.0) ### [`v15.2.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.2.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.1.0...v15.2.0) ##### :art: Features - Adds support for the static method `AbortSignal.any()` - By **[@​ezzatron](https://redirect.github.com/ezzatron)** in task [#​1468](https://redirect.github.com/capricorn86/happy-dom/issues/1468) ### [`v15.1.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.1.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v15.0.0...v15.1.0) ##### :art: Features - Refactor internal logic related to injecting the Window context for classes that can be constructed using the "new" operator - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Improves the way classes can access the Browser context internally - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Refactor of the logic for `EventTarget.dispatchEvent()` to better handle the event phases "none", "capture", "atTarget" and "bubbling" - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for `HTMLInputElement.popoverTargetElement`, `HTMLInputElement.popoverTargetAction`, `HTMLButtonElement.popoverTargetElement` and `HTMLButtonElement.popoverTargetAction` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for `HTMLElement.popover` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for `PerformanceObserver`, `PerformanceEntry` and `PerformanceObserverEntryList` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) ##### :construction_worker_man: Patch fixes - Makes it possible for a polyfill to replace `NodeList[Symbol.iterator]()` with `Array.prototype.values()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds logic for canceling any request to start new async tasks while the `Window` is closing (e.g. using `setTimeout()` or `fetch()`) - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Fixes issues with errors exiting the browser when using the setting "errorCapture" set to "processLevel" - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Refactor internal logic, so that thrown errors are instances of unique error classes assigned to the `Window`, which makes it possible for `BrowserExceptionObserver` to know which `Window` the error originated from - Changes `Event.composedPath()` to not return the `Window` object if the event type is "load", which is the same behaviour as the browser - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - This means that "load" events will not bubble up to the `Window` object ### [`v15.0.0`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v15.0.0) [Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v14.12.3...v15.0.0) ##### :bomb: Breaking Changes - Drops offical support for Node.js 16.x and 17.x - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - A lot of internal logic has been refactored, so if you rely on internal APIs, this release may break your code - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) ##### :art: Features - Adds support for `HTMLAreaElement`, `HTMLBodyElement`, `HTMLQuoteElement`, `HTMLBRElement`, `HTMLTableCaptionElement`, `HTMLTableColElement`, `HTMLTableColElement`, `HTMLDataElement`, `HTMLDataListElement`, `HTMLModElement`, `HTMLDetailsElement`, `HTMLDivElement`, `HTMLDListElement`, `HTMLEmbedElement`, `HTMLFieldSetElement`, `HTMLHeadingElement`, `HTMLHeadElement`, `HTMLHRElement`, `HTMLHtmlElement`, `HTMLModElement`, `HTMLLegendElement`, `HTMLLIElement`, `HTMLMapElement`, `HTMLMenuElement`, `HTMLMeterElement`, `HTMLObjectElement`, `HTMLOListElement`, `HTMLOutputElement`, `HTMLParagraphElement`, `HTMLParamElement`, `HTMLPictureElement`, `HTMLPreElement`, `HTMLProgressElement`, `HTMLQuoteElement`, `HTMLSourceElement`, `HTMLSpanElement`, `HTMLTableElement`, `HTMLTableSectionElement`, `HTMLTableSectionElement`, `HTMLTitleElement`, `HTMLTableRowElement`, `HTMLTrackElement`, `HTMLUListElement` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds basic support for `HTMLCanvasElement` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for History API - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds cache to `CSSStyleDeclaration`, `querySelector()`, `querySelectorAll()`, `getElementById()`, `getElementsByClassName()`, `getElementsByTagName()`, `getElementsByTagNameNS()`, `getElementsByClassName()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Uses proxy for `NodeList`, `HTMLCollection`, `DOMTokenList`, `TextTrackList`, `HTMLFormElement`, `HTMLSelectElement` - Makes `HTMLCollection` objects returned by `getElementsByClassName()`, `getElementsByTagName()`, `getElementsByTagNameNS()` and `getElementsByClassName()` live - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Improves support for `HTMLMediaElement` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - It now supports all methods and properties of the `HTMLMediaElement` interface - Adds support for `MediaStream`, `MediaStreamTrack`, `RemotePlayback`, `TextTrack`, `TextTrackCue`, `TextTrackCueList`, `TextTrackList`, `VTTCue`, `VTTRegion`, `CanvasCaptureMediaStream`, `ImageBitmap`, `OffscreenCanvas` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds basic support for `IntersectionObserver` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Uses Array for nodes and elements in the DOM-tree to leverage the JiT compiler better - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for `HTMLInputElement.list` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Improves support for `ShadowRoot` (it now supports `clonable`, `serializable` and `slotAssignment`) - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Adds support for `Element.getHTML()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Improves performance for some pseudo query selectors - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Improves support for `HTMLSlotElement` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - It now supports `assign()`, `assignedNodes()`, `assignedElements()` and the `slotchange` event ##### :construction_worker_man: Patch fixes - Attributes and text data wasn't escaped correctly in `XMLSerializer` (used by features such as `innerHTML`) - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1265](https://redirect.github.com/capricorn86/happy-dom/issues/1265) - `waitForNavigation()` would not resolve when navigating to some URLs (e.g. "javascript" or "about:blank") - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - CSS rules for gradients where not parsed correctly - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Updates to CSSStyleDeclaration would not trigger listeners for the "style" attribute - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Attributes where added to elements after they were added to the DOM during parsing, causing problems for elements loading resources - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - `Attr.cloneNode()` would not clone internal values - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - `Document.title` included text data inside child elements, which it shouldn't - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - `Event.preventDefault()` shouldn't cancel the default behaviour if cancelable is not sent as an option in `EventTarget.dispatchEvent()` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Source attributes containing URLs would not be resolved correctly in some elements - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - Changes name on `TimeRange` to `TimeRanges` - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332) - `Window.parent` and `Window.top` would not be set correctly in some scenarios - By **[@​capricorn86](https://redirect.github.com/capricorn86)** in task [#​1332](https://redirect.github.com/capricorn86/happy-dom/issues/1332)

Configuration

📅 Schedule: Branch creation - "" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.



This PR was generated by Mend Renovate. View the repository job log.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nits-tips ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 10, 2024 8:11am