chore(deps-dev): Bump jsdom from 16.6.0 to 19.0.0 in /nodejs
Bumps jsdom from 16.6.0 to 19.0.0.
Release notes
Sourced from jsdom's releases.
Version 19.0.0
- Changed
jsdom.nodeLocation()
to returnundefined
when 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
'sload
event to no longer crash. (MattiasBuelens)Version 18.1.1
- Fixed
connectedCallback
to 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
pageshow
events to havebubbles: true
andcancelable: true
. (MattiasBuelens)- Implemented the
reason
property onAbortSignal
s, along with the correspondingreason
argument toabortSignal.abort()
andAbortSignal.abort()
. (MattiasBuelens)Version 18.0.1
- Fixed live
Range
s to update correctly after callingnode.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)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
'sstrictSSL
option (which defaults totrue
).- Changed the global in which almost all
Promise
andTypeError
instances 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
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)
Version 17.0.0
Breaking change: Node v12 is now the minimum supported version.
Version 16.7.0
- Added
AbortSignal.abort()
. (ninevra)- Added dummy
x
andy
properties to the return value ofgetBoundingClientRect()
. (eiko)- Implemented wrapping for
textareaEl.value
if 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)
Changelog
Sourced from jsdom's changelog.
19.0.0
- Changed
jsdom.nodeLocation()
to returnundefined
when 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
'sload
event to no longer crash. (MattiasBuelens)18.1.1
- Fixed
connectedCallback
to 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
pageshow
events to havebubbles: true
andcancelable: true
. (MattiasBuelens)- Implemented the
reason
property onAbortSignal
s, along with the correspondingreason
argument toabortSignal.abort()
andAbortSignal.abort()
. (MattiasBuelens)18.0.1
- Fixed live
Range
s to update correctly after callingnode.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)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
'sstrictSSL
option (which defaults totrue
).- Changed the global in which almost all
Promise
andTypeError
instances 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
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)
17.0.0
Breaking change: Node v12 is now the minimum supported version.
16.7.0
- Added
AbortSignal.abort()
. (ninevra)- Added dummy
x
andy
properties to the return value ofgetBoundingClientRect()
. (eiko)- Implemented wrapping for
textareaEl.value
if 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)
Commits
-
a604d67
Version 19.0.0 -
e46f76f
Fix crash when calling window.close() inside load event listener -
f9de3fd
Do not track location information for fragment-parsed nodes -
a61fdb8
Version 18.1.1 -
15cbed6
Fix connectedCallback with document fragments -
79ff734
Version 18.1.0 -
a303721
Add AbortSignal's reason property -
158ada2
Update web platform tests + minor fixes -
c98e0f5
Fix changelog username typo -
b1ce1af
Version 18.0.1 - Additional commits viewable in compare view