chore(deps): update dependency jsdom to v22 #499
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:
^19.0.0->^22.0.0Release Notes
jsdom/jsdom (jsdom)
v22.1.0Compare Source
crypto.randomUUID(). (jamesbvaughan)DOMRectandDOMRectReadOnly.AbortSignal.timeout().abortSignal.throwIfAborted().submitterargument to theFormDataconstructor. (jenseng)getComputedStyle()'s results for color-based properties, to resolve named colors and attempt to provide initial inheritance support. (hoekz-wwt)Window's event handler properties (e.g.oncopy,ontouchstart, etc.) to reflect the latest list from the standard.DOMParser-created documents to inherit their URL from the creating document.v22.0.0Compare Source
v21.1.2Compare Source
setRangeText()used on<input>and<textarea>elements to calculate the new end index correctly. (pmstss)pageX,pageY,offsetX, andoffsetYonMouseEvents during dispatch. (jenseng)nwsapito v2.2.4, bringing along various fixes to our selector engine.v21.1.1Compare Source
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)location.hash = ""to leave any#in location.href.cssomwithrweb-cssom, since the latter is maintained. (seanparmelee)v21.1.0Compare Source
x,y,pageX,pageY,offsetX, andoffsetYtoMouseEvent. (jenseng, ViniciusFXavier)unsetwithgetComputedStyle(). (jsnajdr)submitterproperty toSubmitEvent. (jenseng)MouseEvent'sscreenXandscreenYto no longer coerce to integers, allowing fractional values. (jenseng)formEl.submit()to not longer firesubmitevents. (jenseng)<link>is removed. (jsnajdr)pointer-eventsto inherit when used withgetComputedStyle(). (jnajdr)<script>elements with nosrc=""to no longer fireloadevents. (t1ger2080)getComputedStyle()to cache its results, which should make it much faster. (jsnajdr)v21.0.0Compare Source
A potentially-breaking bug fix:
window,document,location, andtopproperties ofWindowto be non-configurable. (ExE-Boss)Other changes:
<input type=image>submitting forms. (jenseng)locationsetter to theWindowobject, which forwards to thelocation.hrefsetter. Setting the URL is still only implemented for fragment navigations, however. (ExE-Boss)defer=""<script>elements that are added afterDOMContentLoadedto execute, instead of being skipped.selectElement.selectedOptionsbeing incorrect whenoptionElement.selectedis set. This was a regression introduced in v20.0.1. Unfortunately this also reverts the performance improvement when appending<option>elements that was introduced then. (eps1lon)self,locationbar,menubar,personalbar,scrollbars,statusbar,toolbar,frames,parent,external,length, andscreenproperties ofWindowto be replaceable: that is, setting them will override their values, instead of having the new value be ignored. (ExE-Boss)JSDOM.fromURL()in the browser build of jsdom. (LungZeno)v20.0.3Compare Source
w3c-xmlserializer, which fixes usingDOMParseron XML documents containing emoji.v20.0.2Compare Source
xhr.abort()to no longer give an exception when the constructedXMLHttpRequestwas invalid. (whamtet)event.getModifierState()onMouseEventandKeyboardEventinstances to properly consult thectrlKey,altKey,metaKey, andshiftKeyproperties of the event. (juzerzarif)window.customElementsproperty. (bicknellr)v20.0.1Compare Source
<option>elements to<select>elements. (TheHound)location.pathnamegetter to not crash when theJSDOMinstance was created using an opaque-path URL, including the default URL ofabout:blank.crypto.getRandomValues()to accept typed array subclasses. (sebamarynissen)nwsapifixed some selectors bugs, andtough-cookiefixed some cookie bugs.v20.0.0Compare Source
crypto.getRandomValues(). (sjrd)HTMLFormControlsCollectionandRadioNodeList, soformEl.elementsnow behaves correctly. (UndefinedBehavior)signaloption toaddEventListener(). (cheap-glitch):rootpseudoclass to work correctly. (hughs-ch)parse5, bringing along some HTML parsing and serialization fixes. (fb55)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.