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 v23 - autoclosed #2346

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

jsdom/jsdom (jsdom) ### [`v23.2.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#2320) [Compare Source](https://togithub.com/jsdom/jsdom/compare/23.1.0...23.2.0) This release switches our CSS selector engine from [`nwsapi`](https://www.npmjs.com/nwsapi) to [`@asamuzakjp/dom-selector`](@​asamuzakjp/dom-selector). The new engine is more actively maintained, and supports many new selectors: see [the package's documentation](https://togithub.com/asamuzaK/domSelector#supported-css-selectors) for the full list. It also works better with shadow trees. There is a potential of a performance regression due to this change. In our stress test benchmark, which runs most of [these 273 selectors](https://togithub.com/jsdom/jsdom/blob/908f27d4e348502a9068f0b335a8518d050ef872/benchmark/selectors/sizzle-speed/selectors.large.css) against [this 128 KiB document](https://togithub.com/jsdom/jsdom/blob/908f27d4e348502a9068f0b335a8518d050ef872/benchmark/selectors/sizzle-speed/selector.html), the new engine completes the benchmark only 0.25x as fast. However, we're hopeful that in more moderate usage this will not be a significant issue. Any help speeding up `@asamuzakjp/dom-selector` is appreciated, and feel free to open an issue if this has had a significant impact on your project. ### [`v23.1.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#2310) [Compare Source](https://togithub.com/jsdom/jsdom/compare/23.0.1...23.1.0) - Added an initial implementation of `ElementInternals`, including the `shadowRoot` getter and the string-valued ARIA properties. (zjffun) - Added the string-valued ARIA attribute-reflecting properties to `Element`. - Fixed `history.pushState()` and `history.replaceState()` to follow the latest specification, notably with regards to how they handle empty string inputs and what new URLs are possible. - Fixed the `input.valueAsANumber` setter to handle `NaN` correctly. (alexandertrefz) - Updated various dependencies, including `cssstyle` which contains several bug fixes. ### [`v23.0.1`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#2301) [Compare Source](https://togithub.com/jsdom/jsdom/compare/23.0.0...23.0.1) - Fix incorrect `canvas` peer dependency. ### [`v23.0.0`](https://togithub.com/jsdom/jsdom/compare/22.1.0...v23.0.0) [Compare Source](https://togithub.com/jsdom/jsdom/compare/22.1.0...23.0.0) ### [`v22.1.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#2210) [Compare Source](https://togithub.com/jsdom/jsdom/compare/22.0.0...22.1.0) - Added `crypto.randomUUID()`. (jamesbvaughan) - Added `DOMRect` and `DOMRectReadOnly`. - Added `AbortSignal.timeout()`. - Added `abortSignal.throwIfAborted()`. - Added support for the `submitter` argument to the `FormData` constructor. (jenseng) - Improved `getComputedStyle()`'s results for color-based properties, to resolve named colors and attempt to provide initial inheritance support. (hoekz-wwt) - Updated `Window`'s event handler properties (e.g. `oncopy`, `ontouchstart`, etc.) to reflect the latest list from the standard. - Fixed `DOMParser`-created documents to inherit their URL from the creating document. ### [`v22.0.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#2200) [Compare Source](https://togithub.com/jsdom/jsdom/compare/21.1.2...22.0.0) - Node.js v16 is now the minimum supported version. - Removed support for running jsdom in the browser via a [browserified](https://browserify.org/) bundle. This carried with it too much complexity, especially for our testing infrastructure, and [a testing package we relied on was recently deprecated](https://togithub.com/karma-runner/karma#karma-is-deprecated-and-is-not-accepting-new-features-or-general-bug-fixes). ### [`v21.1.2`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#2112) [Compare Source](https://togithub.com/jsdom/jsdom/compare/21.1.1...21.1.2) - Fixed `setRangeText()` used on `` and `