reactochart
reactochart copied to clipboard
Bump jsdom from 15.2.1 to 20.0.0
Bumps jsdom from 15.2.1 to 20.0.0.
Release notes
Sourced from jsdom's releases.
Version 20.0.0
- Node.js v14 is now the minimum supported version.
- Added
crypto.getRandomValues(). (sjrd)- Added
HTMLFormControlsCollectionandRadioNodeList, soformEl.elementsnow behaves correctly. (UndefinedBehavior)- Added the
signaloption toaddEventListener(). (cheap-glitch)- Fixed the
:rootpseudoclass to work correctly. (hughs-ch)- Updated
parse5, bringing along some HTML parsing and serialization fixes. (fb55)Version 19.0.0
- Changed
jsdom.nodeLocation()to returnundefinedwhen used on nodes that originate via fragment parsing (e.g., viainnerHTML). 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 theWindow'sloadevent to no longer crash. (MattiasBuelens)Version 18.1.1
- Fixed
connectedCallbackto fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan)Version 18.1.0
- Fixed
headers.append()andheaders.set()to normalize values. (MattiasBuelens)- Fixed
pageshowevents to havebubbles: trueandcancelable: true. (MattiasBuelens)- Implemented the
reasonproperty onAbortSignals, along with the correspondingreasonargument toabortSignal.abort()andAbortSignal.abort(). (MattiasBuelens)Version 18.0.1
- Fixed live
Ranges to update correctly after callingnode.normalize(). (hgiesel)- Fixed live
Ranges to update correctly after removing child nodes. (hgiesel)- Fixed setting
inputEl.valueAsDate = nullto 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)Version 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'sstrictSSLoption (which defaults totrue).- Changed the global in which almost all
PromiseandTypeErrorinstances are created to be the jsdom global, not the Node.js global. This could affect any code that usesinstanceof.Other changes:
- Fixed moving an element between HTML and XML documents to reset the
tagNamecache, 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)
Version 17.0.0
Breaking change: Node v12 is now the minimum supported version.
Version 16.7.0
- Added
AbortSignal.abort(). (ninevra)- Added dummy
xandyproperties to the return value ofgetBoundingClientRect(). (eiko)- Implemented wrapping for
textareaEl.valueif thewrap=""attribute is specified. (ninevra)- Changed newline normalization in
<textarea>s according to recent HTML Standard updates. (ninevra)- Fixed some bad cascade computation in
getComputedStyle(). (romain-trotard)Version 16.6.0
... (truncated)
Changelog
Sourced from jsdom's changelog.
20.0.0
- Node.js v14 is now the minimum supported version
- Added
crypto.getRandomValues(). (sjrd)- Added
HTMLFormControlsCollectionandRadioNodeList, soformEl.elementsnow behaves correctly. (UndefinedBehavior)- Added the
signaloption toaddEventListener(). (cheap-glitch)- Fixed the
:rootpseudoclass to work correctly. (hughs-ch)- Updated
parse5, bringing along some HTML parsing and serialization fixes. (fb55)19.0.0
- Changed
jsdom.nodeLocation()to returnundefinedwhen used on nodes that originate via fragment parsing (e.g., viainnerHTML). 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 theWindow'sloadevent to no longer crash. (MattiasBuelens)18.1.1
- Fixed
connectedCallbackto fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan)18.1.0
- Fixed
headers.append()andheaders.set()to normalize values. (MattiasBuelens)- Fixed
pageshowevents to havebubbles: trueandcancelable: true. (MattiasBuelens)- Implemented the
reasonproperty onAbortSignals, along with the correspondingreasonargument toabortSignal.abort()andAbortSignal.abort(). (MattiasBuelens)18.0.1
- Fixed live
Ranges to update correctly after callingnode.normalize(). (hgiesel)- Fixed live
Ranges to update correctly after removing child nodes. (hgiesel)- Fixed setting
inputEl.valueAsDate = nullto 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)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'sstrictSSLoption (which defaults totrue).- Changed the global in which almost all
PromiseandTypeErrorinstances are created to be the jsdom global, not the Node.js global. This could affect any code that usesinstanceof.Other changes:
- Fixed moving an element between HTML and XML documents to reset the
tagNamecache, 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)
17.0.0
Breaking change: Node v12 is now the minimum supported version.
16.7.0
- Added
AbortSignal.abort(). (ninevra)
... (truncated)
Commits
6d7ccf2Version 20.0.028ed587Implement HTMLFormControlsCollection and RadioNodeList9fca1dfFix the :root pseudoclass when used in selectorsebce3feAdd the signal option to addEventListener()136c2c4Implement crypto.getRandomValues()2e35526Update parse5 to 7.0.06c1f058Update Node.js minimum and dependencies4c7eed1Revise timer GC test to be more lenienta604d67Version 19.0.0e46f76fFix crash when calling window.close() inside load event listener- 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 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)