chore(deps): update dependency jsdom to v19 #1059
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
17.0.0
->19.0.0
Release Notes
jsdom/jsdom
v19.0.0
Compare Source
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)window.close()
inside theWindow
'sload
event to no longer crash. (MattiasBuelens)v18.1.1
Compare Source
connectedCallback
to fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan)v18.1.0
Compare Source
headers.append()
andheaders.set()
to normalize values. (MattiasBuelens)pageshow
events to havebubbles: true
andcancelable: true
. (MattiasBuelens)reason
property onAbortSignal
s, along with the correspondingreason
argument toabortSignal.abort()
andAbortSignal.abort()
. (MattiasBuelens)v18.0.1
Compare Source
Range
s to update correctly after callingnode.normalize()
. (hgiesel)Range
s to update correctly after removing child nodes. (hgiesel)inputEl.valueAsDate = null
to no longer throw an exception, but instead set the value to the empty string. (simon-weimann)node.contains()
. (GrantGryczan)v18.0.0
Compare Source
Potentially-breaking bug fixes:
ResourceLoader
'sstrictSSL
option (which defaults totrue
).Promise
andTypeError
instances are created to be the jsdom global, not the Node.js global. This could affect any code that usesinstanceof
.Other changes:
tagName
cache, allowing it to return a lowercase value once it's in the XML document. (LucasLefevre)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.