chore(deps): update dependency jsdom to v21 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
jsdom | devDependencies | major | ^20.0.0 -> ^21.0.0 |
Release Notes
jsdom/jsdom
v21.1.2
- Fixed
setRangeText()
used on<input>
and<textarea>
elements to calculate the new end index correctly. (pmstss) - Fixed
pageX
,pageY
,offsetX
, andoffsetY
onMouseEvent
s during dispatch. (jenseng) - Upgraded
nwsapi
to v2.2.4, bringing along various fixes to our selector engine.
v21.1.1
- Fixed
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) - Fixed
location.hash = ""
to leave any#
in location.href. - Fixes a few bugs with CSS parsing by replacing
cssom
withrweb-cssom
, since the latter is maintained. (seanparmelee)
v21.1.0
- Added
x
,y
,pageX
,pageY
,offsetX
, andoffsetY
toMouseEvent
. (jenseng, ViniciusFXavier) - Added support for
unset
withgetComputedStyle()
. (jsnajdr) - Added the
submitter
property toSubmitEvent
. (jenseng) - Fixed
MouseEvent
'sscreenX
andscreenY
to no longer coerce to integers, allowing fractional values. (jenseng) - Fixed
formEl.submit()
to not longer firesubmit
events. (jenseng) - Fixed stylesheets to no longer affect the document after their corresponding
<link>
is removed. (jsnajdr) - Fixed
pointer-events
to inherit when used withgetComputedStyle()
. (jnajdr) - Fixed
<script>
elements with nosrc=""
to no longer fireload
events. (t1ger2080) - Improved
getComputedStyle()
to cache its results, which should make it much faster. (jsnajdr)
v21.0.0
A potentially-breaking bug fix:
- Fixed the
window
,document
,location
, andtop
properties ofWindow
to be non-configurable. (ExE-Boss)
Other changes:
- Added support for
<input type=image>
submitting forms. (jenseng) - Added the
location
setter to theWindow
object, which forwards to thelocation.href
setter. Setting the URL is still only implemented for fragment navigations, however. (ExE-Boss) - Fixed
defer=""
<script>
elements that are added afterDOMContentLoaded
to execute, instead of being skipped. - Fixed
selectElement.selectedOptions
being incorrect whenoptionElement.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) - Fixed the
self
,locationbar
,menubar
,personalbar
,scrollbars
,statusbar
,toolbar
,frames
,parent
,external
,length
, andscreen
properties ofWindow
to be replaceable: that is, setting them will override their values, instead of having the new value be ignored. (ExE-Boss) - Fixed a few issues with
JSDOM.fromURL()
in the browser build of jsdom. (LungZeno)
v20.0.3
- Updated dependencies, notably
w3c-xmlserializer
, which fixes usingDOMParser
on XML documents containing emoji.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by RenovateBot