AlexRogalskiy / typescript-tools

Collection of TypeScript tools & utilities
GNU General Public License v3.0
2 stars 0 forks source link

:arrow_up: Updates jsdom to v20 - autoclosed #2262

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
jsdom 16.6.0 -> 20.0.0 age adoption passing confidence

Release Notes

jsdom/jsdom ### [`v20.0.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​2000) [Compare Source](https://togithub.com/jsdom/jsdom/compare/19.0.0...20.0.0) - Node.js v14 is now the minimum supported version - Added `crypto.getRandomValues()`. (sjrd) - Added `HTMLFormControlsCollection` and `RadioNodeList`, so `formEl.elements` now behaves correctly. (UndefinedBehavior) - Added the `signal` option to `addEventListener()`. (cheap-glitch) - Fixed the `:root` pseudoclass to work correctly. (hughs-ch) - Updated `parse5`, bringing along some HTML parsing and serialization fixes. (fb55) ### [`v19.0.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​1900) [Compare Source](https://togithub.com/jsdom/jsdom/compare/18.1.1...19.0.0) - Changed `jsdom.nodeLocation()` to return `undefined` when used on nodes that originate via fragment parsing (e.g., via `innerHTML`). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0. (bakkot) - Fixed calling `window.close()` inside the `Window`'s `load` event to no longer crash. (MattiasBuelens) ### [`v18.1.1`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​1811) [Compare Source](https://togithub.com/jsdom/jsdom/compare/18.1.0...18.1.1) - Fixed `connectedCallback` to fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan) ### [`v18.1.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​1810) [Compare Source](https://togithub.com/jsdom/jsdom/compare/18.0.1...18.1.0) - Fixed `headers.append()` and `headers.set()` to normalize values. (MattiasBuelens) - Fixed `pageshow` events to have `bubbles: true` and `cancelable: true`. (MattiasBuelens) - Implemented the `reason` property on `AbortSignal`s, along with the corresponding `reason` argument to `abortSignal.abort()` and `AbortSignal.abort()`. (MattiasBuelens) ### [`v18.0.1`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​1801) [Compare Source](https://togithub.com/jsdom/jsdom/compare/18.0.0...18.0.1) - Fixed live `Range`s to update correctly after calling `node.normalize()`. (hgiesel) - Fixed live `Range`s to update correctly after removing child nodes. (hgiesel) - Fixed setting `inputEl.valueAsDate = null` to no longer throw an exception, but instead set the value to the empty string. (simon-weimann) - Improved performance of node insertion and `node.contains()`. (GrantGryczan) ### [`v18.0.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​1800) [Compare Source](https://togithub.com/jsdom/jsdom/compare/17.0.0...18.0.0) Potentially-breaking bug fixes: - Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the `ResourceLoader`'s `strictSSL` option (which defaults to `true`). - Changed the global in which almost all `Promise` and `TypeError` instances are created to be the jsdom global, not the Node.js global. This could affect any code that uses `instanceof`. Other changes: - Fixed moving an element between HTML and XML documents to reset the `tagName` cache, allowing it to return a lowercase value once it's in the XML document. (LucasLefevre) - Fixed form submission to not happen when the form is invalid. (pozil) ### [`v17.0.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​1700) [Compare Source](https://togithub.com/jsdom/jsdom/compare/16.7.0...17.0.0) Breaking change: Node v12 is now the minimum supported version. ### [`v16.7.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​1670) [Compare Source](https://togithub.com/jsdom/jsdom/compare/16.6.0...16.7.0) - Added `AbortSignal.abort()`. (ninevra) - Added dummy `x` and `y` properties to the return value of `getBoundingClientRect()`. (eiko) - Implemented wrapping for `textareaEl.value` if the `wrap=""` attribute is specified. (ninevra) - Changed newline normalization in `