jasmine-dom
jasmine-dom copied to clipboard
chore(deps-dev): Bump jsdom from 16.7.0 to 21.1.1
Bumps jsdom from 16.7.0 to 21.1.1.
Release notes
Sourced from jsdom's releases.
Version 21.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)Version 21.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(). (jsnajdr)- Fixed
<script>elements with nosrc=""to no longer fireloadevents. (t1ger2080)- Improved
getComputedStyle()to cache its results, which should make it much faster. (jsnajdr)Version 21.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)Version 20.0.3
- Updated dependencies, notably
w3c-xmlserializer, which fixes usingDOMParseron XML documents containing emoji.Version 20.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)Version 20.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.Version 20.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)
... (truncated)
Changelog
Sourced from jsdom's changelog.
21.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)21.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)21.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)20.0.3
- Updated dependencies, notably
w3c-xmlserializer, which fixes usingDOMParseron XML documents containing emoji.20.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)20.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.
... (truncated)
Commits
31cfdd4Version 21.1.1946050aUpdate dependencies and dev dependencies0e7b488Fix location.hash setter with the empty string input7b15dc8Make reconfigure() adjust the history API too65ef06fUpdate web-platform-tests5a4f77dReplace cssom with rweb-cssoma5a7d34Fix changelog typo8e3a568Version 21.1.0026ceb5Do not fire "load" on <script> without src=""a5204dfAdd inheritance for pointer-events to getComputedStyle()- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)