This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| jsdom | ^19.0.0 -> ^21.1.1 |
Release Notes
jsdom/jsdom
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
cssomwithrweb-cssom, since the latter is maintained. (seanparmelee)
v21.1.0
- Added
x,y,pageX,pageY,offsetX, andoffsetYtoMouseEvent. (jenseng, ViniciusFXavier) - Added support for
unsetwithgetComputedStyle(). (jsnajdr) - Added the
submitterproperty toSubmitEvent. (jenseng) - Fixed
MouseEvent'sscreenXandscreenYto no longer coerce to integers, allowing fractional values. (jenseng) - Fixed
formEl.submit()to not longer firesubmitevents. (jenseng) - Fixed stylesheets to no longer affect the document after their corresponding
<link>is removed. (jsnajdr) - Fixed
pointer-eventsto inherit when used withgetComputedStyle(). (jnajdr) - Fixed
<script>elements with nosrc=""to no longer fireloadevents. (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, andtopproperties ofWindowto be non-configurable. (ExE-Boss)
Other changes:
- Added support for
<input type=image>submitting forms. (jenseng) - Added the
locationsetter to theWindowobject, which forwards to thelocation.hrefsetter. Setting the URL is still only implemented for fragment navigations, however. (ExE-Boss) - Fixed
defer=""<script>elements that are added afterDOMContentLoadedto execute, instead of being skipped. - Fixed
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) - Fixed the
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) - Fixed a few issues with
JSDOM.fromURL()in the browser build of jsdom. (LungZeno)
v20.0.3
- Updated dependencies, notably
w3c-xmlserializer, which fixes usingDOMParseron XML documents containing emoji.
v20.0.2
- Fixed
xhr.abort()to no longer give an exception when the constructedXMLHttpRequestwas invalid. (whamtet) - Fixed
event.getModifierState()onMouseEventandKeyboardEventinstances to properly consult thectrlKey,altKey,metaKey, andshiftKeyproperties of the event. (juzerzarif) - Fixed custom element creation to not be affected by any modifications to the
window.customElementsproperty. (bicknellr)
v20.0.1
- Improved the performance of appending
<option>elements to<select>elements. (TheHound) - Fixed
location.pathnamegetter to not crash when theJSDOMinstance was created using an opaque-path URL, including the default URL ofabout:blank. - Fixed
crypto.getRandomValues()to accept typed array subclasses. (sebamarynissen) - Updated various dependency minor versions. Notably,
nwsapifixed some selectors bugs, andtough-cookiefixed some cookie bugs.
v20.0.0
- Node.js v14 is now the minimum supported version.
- Added
crypto.getRandomValues(). (sjrd) - Added
HTMLFormControlsCollectionandRadioNodeList, soformEl.elementsnow behaves correctly. (UndefinedBehavior) - Added the
signaloption toaddEventListener(). (cheap-glitch) - Fixed the
:rootpseudoclass to work correctly. (hughs-ch) - Updated
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.
- If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.