chore(deps): update dependency jsdom to v21 - autoclosed
Compare changes
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
jsdom | devDependencies | major | ^20.0.0 -> ^21.0.0 |
v21.1.2
setRangeText()
used on <input>
and <textarea>
elements to calculate the new end index correctly. (pmstss)pageX
, pageY
, offsetX
, and offsetY
on MouseEvent
s during dispatch. (jenseng)nwsapi
to v2.2.4, bringing along various fixes to our selector engine.v21.1.1
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.cssom
with rweb-cssom
, since the latter is maintained. (seanparmelee)v21.1.0
x
, y
, pageX
, pageY
, offsetX
, and offsetY
to MouseEvent
. (jenseng, ViniciusFXavier)unset
with getComputedStyle()
. (jsnajdr)submitter
property to SubmitEvent
. (jenseng)MouseEvent
's screenX
and screenY
to no longer coerce to integers, allowing fractional values. (jenseng)formEl.submit()
to not longer fire submit
events. (jenseng)<link>
is removed. (jsnajdr)pointer-events
to inherit when used with getComputedStyle()
. (jnajdr)<script>
elements with no src=""
to no longer fire load
events. (t1ger2080)getComputedStyle()
to cache its results, which should make it much faster. (jsnajdr)v21.0.0
A potentially-breaking bug fix:
window
, document
, location
, and top
properties of Window
to be non-configurable. (ExE-Boss)Other changes:
<input type=image>
submitting forms. (jenseng)location
setter to the Window
object, which forwards to the location.href
setter. Setting the URL is still only implemented for fragment navigations, however. (ExE-Boss)defer=""
<script>
elements that are added after DOMContentLoaded
to execute, instead of being skipped.selectElement.selectedOptions
being incorrect when optionElement.selected
is 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
, and screen
properties of Window
to 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.3
w3c-xmlserializer
, which fixes using DOMParser
on XML documents containing emoji.This MR has been generated by Renovate Bot.