app
app copied to clipboard
chore(deps-dev): bump jsdom from 20.0.3 to 24.0.0 in /packages/snjs
Bumps jsdom from 20.0.3 to 24.0.0.
Release notes
Sourced from jsdom's releases.
Version 24.0.0
This release reverts our selector engine back to
nwsapi. As discussed in #3659, the performance regressions from@asamuzakjp/dom-selectorturned out to be higher than anticipated. In the future, we can revisit@asamuzakjp/dom-selectorafter it reachesnwsapi's performance on the two real-world benchmarks provided by the community.Since reverting to
nwsapicauses 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.Version 23.2.0
This release switches our CSS selector engine from
nwsapito@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-selectoris appreciated, and feel free to open an issue if this has had a significant impact on your project.Version 23.1.0
- Added an initial implementation of
ElementInternals, including theshadowRootgetter 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.valueAsANumbersetter to handleNaNcorrectly. (alexandertrefz)- Updated various dependencies, including
cssstylewhich contains several bug fixes.Version 23.0.1
- Fixed the incorrect
canvaspeer dependency introduced in v23.0.0.Version 23.0.0
- Node.js v18 is now the minimum supported version.
- Updated various dependencies, including
whatwg-urlwhich integrates various additions to theURLandURLSearchParamsobjects.Version 22.1.0
- Added
crypto.randomUUID(). (jamesbvaughan)- Added
DOMRectandDOMRectReadOnly.- Added
AbortSignal.timeout().- Added
abortSignal.throwIfAborted().- Added support for the
submitterargument to theFormDataconstructor. (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.Version 22.0.0
- Node.js v16 is now the minimum supported version.
- Removed support for running jsdom in the browser via a browserified bundle. This carried with it too much complexity, especially for our testing infrastructure, and a testing package we relied on was recently deprecated.
Version 21.1.2
- Fixed
setRangeText()used on<input>and<textarea>elements to calculate the new end index correctly. (pmstss)- Fixed
pageX,pageY,offsetX, andoffsetYonMouseEvents during dispatch. (jenseng)- Upgraded
nwsapito v2.2.4, bringing along various fixes to our selector engine.Version 21.1.1
- Fixed
jsdom.reconfigure()to also adjust the URL as seen by the history API, so that e.g.history.replaceState(null, "")would not mess up the URL. (jdufresne)- Fixed
location.hash = ""to leave any#in location.href.
... (truncated)
Changelog
Sourced from jsdom's changelog.
24.0.0
This release reverts our selector engine back to
nwsapi. As discussed in #3659, the performance regressions from@asamuzakjp/dom-selectorturned out to be higher than anticipated. In the future, we can revisit@asamuzakjp/dom-selectorafter it reachesnwsapi's performance on the two real-world benchmarks provided by the community.Since reverting to
nwsapicauses 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.23.2.0
This release switches our CSS selector engine from
nwsapito@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-selectoris appreciated, and feel free to open an issue if this has had a significant impact on your project.23.1.0
- Added an initial implementation of
ElementInternals, including theshadowRootgetter 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.valueAsANumbersetter to handleNaNcorrectly. (alexandertrefz)- Updated various dependencies, including
cssstylewhich contains several bug fixes.23.0.1
- Fixed the incorrect
canvaspeer dependency introduced in v23.0.0.23.0.0
- Node.js v18 is now the minimum supported version.
- Updated various dependencies, including
whatwg-urlwhich integrates various additions to theURLandURLSearchParamsobjects.22.1.0
- Added
crypto.randomUUID(). (jamesbvaughan)- Added
DOMRectandDOMRectReadOnly.- Added
AbortSignal.timeout().- Added
abortSignal.throwIfAborted().- Added support for the
submitterargument to theFormDataconstructor. (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.22.0.0
- Node.js v16 is now the minimum supported version.
- Removed support for running jsdom in the browser via a browserified bundle. This carried with it too much complexity, especially for our testing infrastructure, and a testing package we relied on was recently deprecated.
21.1.2
... (truncated)
Commits
2f8a730Version 24.0.0db0a4dcImplement the remaining types of numeric reflectionc1d7005Implement full long reflectionac815ffRevert back to nwsapi5b1a49eFix changelog link to dom-selectorcf8b707Version 23.2.0908f27dUpdate dom-selector and roll web platform testsc039e52Switch from nwsapi to dom-selectorb677627Add new CSS selectors benchmark4b33d36Enable WPT directories css/selectors and css/css-scoping- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)