chore(deps): update dependency jsdom to v24 (v1)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
jsdom | devDependencies | major | ^22.1.0 -> ^24.0.0 |
Release Notes
jsdom/jsdom (jsdom)
v24.0.0
This release reverts our selector engine back to nwsapi
. As discussed in #3659, the performance regressions from @asamuzakjp/dom-selector
turned out to be higher than anticipated. In the future, we can revisit @asamuzakjp/dom-selector
after it reaches nwsapi
's performance on the two real-world benchmarks provided by the community.
Since reverting to nwsapi
causes several functionality regressions, e.g. removing :has()
support, we've decided to make this a major version.
Additionally:
- Small fixes to edge-case behavior of the following properties:
input.maxLength
,input.minLength
,input.size
,progress.max
,tableCell.colSpan
,tableCell.rowSpan
,tableCol.span
,textArea.cols
,textArea.maxLength
,textArea.minLength
,textArea.rows
.
v23.2.0
This release switches our CSS selector engine from nwsapi
to @asamuzakjp/dom-selector
. The new engine is more actively maintained, and supports many new selectors: see the package's documentation 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 against this 128 KiB document, 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
- Added an initial implementation of
ElementInternals
, including theshadowRoot
getter and the string-valued ARIA properties. (zjffun) - Added the string-valued ARIA attribute-reflecting properties to
Element
. - Fixed
history.pushState()
andhistory.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 handleNaN
correctly. (alexandertrefz) - Updated various dependencies, including
cssstyle
which contains several bug fixes.
v23.0.1
- Fixed the incorrect
canvas
peer dependency introduced in v23.0.0.
v23.0.0
- Node.js v18 is now the minimum supported version.
- Updated various dependencies, including
whatwg-url
which integrates various additions to theURL
andURLSearchParams
objects.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.