Bump jsdom from 16.4.0 to 16.7.0
Brought to you by:
figure0
Originally created by: dependabot[bot]
Bumps jsdom from 16.4.0 to 16.7.0.
Sourced from jsdom's releases.
Version 16.7.0
- Added
AbortSignal.abort(). (ninevra)- Added dummy
xandyproperties to the return value ofgetBoundingClientRect(). (eiko)- Implemented wrapping for
textareaEl.valueif thewrap=""attribute is specified. (ninevra)- Changed newline normalization in
<textarea>s according to recent HTML Standard updates. (ninevra)- Fixed some bad cascade computation in
getComputedStyle(). (romain-trotard)Version 16.6.0
- Added
parentNode.replaceChildren(). (@ninevra)- Fixed jsdom's handling of when code running inside the jsdom throws
nullorundefinedas an exception. (@mbest)- Removed the dependency on the deprecated
requestpackage, in the process fixing several issues with theXMLHttpRequestimplementation around header processing. Thanks go to@tobyhinloopen,@andrewaylett, and especially@vegardbb, for completing this months-long effort!Version 16.5.3
- Fixed infinite recursion when using
MutationObservers to observe elements inside aMutationObservercallback.Version 16.5.2
- Fixed
Access-Control-Allow-Headers: *to work withXMLHttpRequest. (silviot)- Fixed
xhr.responseto strip any leading BOM whenxhr.responseTypeis"json".- Fixed
new Text()andnew Comment()constructors to properly set the resulting node'sownerDocument.- Fixed
customElements.whenDefined()to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)- Fixed parsing to ensure that
<svg>\<template></template></svg>does not throw an exception, but instead correctly produces a SVG-namespace\<template>element.- Fixed
domParser.parseFromString()to treat<noscript>elements appropriately.- Fixed form control validity checking when the control was outside the
<form>element and instead associated using theform=""attribute.- Fixed
legendEl.formto return the correct result based on its parent<fieldset>.- Fixed
optionEl.textto exclude<script>descendants.- Fixed radio buttons and checkboxes to not fire
inputandchangeevents when disconnected.- Fixed
inputEl.indeterminateto reset to its previous value when canceling aclickevent on a checkbox or radio button.- Fixed the behavior of event handler attributes (e.g.
onclick="...code...") when there were global variables namedelementorformOwner. (ExE-Boss)- On Node.js v14.6.0+ where
WeakRefs are available, fixedNodeIteratorto no longer stop working when more than tenNodeIteratorinstances are created, and to use less memory due to inactiveNodeIterators sticking around. (ExE-Boss)Version 16.5.1
- Fixed a regression that broke
customElements.get()in v16.5.0. (fdesforges)- Fixed
window.eventto have a setter which overwrites thewindow.eventproperty with the given value, per the specification. This fixes an issue where after upgrading to jsdom v16.5.0 you would no longer be able to set a global variable namedeventin the jsdom context.Version 16.5.0
- Added
window.queueMicrotask().- Added
window.event.- Added
inputEvent.inputType. (diegohaz)- Removed
ondragexitfromWindowand friends, per a spec update.- Fixed the URL of
about:blankiframes. Previously it was getting set to the parent's URL. (SimonMueller)- Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.
- Fixed the
hidden=""attribute to causedisplay: noneper the user-agent stylesheet. (ph-fritsche)- Fixed the
new File()constructor to no longer convert/to:, per a pending spec update.- Fixed mutation observer callbacks to be called with the
MutationObserverinstance as theirthisvalue.- Fixed
<input type=checkbox>and<input type=radio>to be mutable even when disabled, per a spec update.- Fixed
XMLHttpRequestto not fire a redundant finalprogressevent if aprogressevent was previously fired with the sameloadedvalue. This would usually occur with small files.- Fixed
XMLHttpRequestto expose theContent-Lengthheader on cross-origin responses.- Fixed
xhr.responseto returnnullfor failures that occur during the middle of the download.- Fixed edge cases around passing callback functions or event handlers. (ExE-Boss)
- Fixed edge cases around the properties of proxy-like objects such as
localStorageordataset. (ExE-Boss)
... (truncated)
Sourced from jsdom's changelog.
16.7.0
- Added
AbortSignal.abort(). (ninevra)- Added dummy
xandyproperties to the return value ofgetBoundingClientRect(). (eiko)- Implemented wrapping for
textareaEl.valueif thewrap=""attribute is specified. (ninevra)- Changed newline normalization in
<textarea>s according to recent HTML Standard updates. (ninevra)- Fixed some bad cascade computation in
getComputedStyle(). (romain-trotard)16.6.0
- Added
parentNode.replaceChildren(). (ninevra)- Fixed jsdom's handling of when code running inside the jsdom throws
nullorundefinedas an exception. (mbest)- Removed the dependency on the deprecated
requestpackage, in the process fixing several issues with theXMLHttpRequestimplementation around header processing. Special thanks to vegardbb for completing this months-long effort!16.5.3
- Fixed infinite recursion when using
MutationObservers to observe elements inside aMutationObservercallback.16.5.2
- Fixed
Access-Control-Allow-Headers: *to work withXMLHttpRequest. (silviot)- Fixed
xhr.responseto strip any leading BOM whenxhr.responseTypeis"json".- Fixed
new Text()andnew Comment()constructors to properly set the resulting node'sownerDocument.- Fixed
customElements.whenDefined()to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)- Fixed parsing to ensure that
<svg>\<template></template></svg>does not throw an exception, but instead correctly produces a SVG-namespace\<template>element.- Fixed
domParser.parseFromString()to treat<noscript>elements appropriately.- Fixed form control validity checking when the control was outside the
<form>element and instead associated using theform=""attribute.- Fixed
legendEl.formto return the correct result based on its parent<fieldset>.- Fixed
optionEl.textto exclude<script>descendants.- Fixed radio buttons and checkboxes to not fire
inputandchangeevents when disconnected.- Fixed
inputEl.indeterminateto reset to its previous value when canceling aclickevent on a checkbox or radio button.- Fixed the behavior of event handler attributes (e.g.
onclick="...code...") when there were global variables namedelementorformOwner. (ExE-Boss)- On Node.js v14.6.0+ where
WeakRefs are available, fixedNodeIteratorto no longer stop working when more than tenNodeIteratorinstances are created, and to use less memory due to inactiveNodeIterators sticking around. (ExE-Boss)16.5.1
- Fixed a regression that broke
customElements.get()in v16.5.0. (fdesforges)- Fixed
window.eventto have a setter which overwrites thewindow.eventproperty with the given value, per the specification. This fixes an issue where after upgrading to jsdom v16.5.0 you would no longer be able to set a global variable namedeventin the jsdom context.16.5.0
- Added
window.queueMicrotask().- Added
window.event.- Added
inputEvent.inputType. (diegohaz)- Removed
ondragexitfromWindowand friends, per a spec update.- Fixed the URL of
about:blankiframes. Previously it was getting set to the parent's URL. (SimonMueller)- Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.
- Fixed the
hidden=""attribute to causedisplay: noneper the user-agent stylesheet. (ph-fritsche)- Fixed the
new File()constructor to no longer convert/to:, per a pending spec update.- Fixed mutation observer callbacks to be called with the
MutationObserverinstance as theirthisvalue.
... (truncated)
1aa3cbc Version 16.7.0df1f551 Don't run WebSocketStream testseb105b2 Fix browser tests by enabling SharedArrayBuffer0dedfc0 Fix some bad cascade computation in getComputedStyle()8021a56 Fix "configuation" typo (#3213](https://github.com/href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3213">/issues/3213))a7febe3 Fix typo in level2/html.js (#3222](https://github.com/href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3222">/issues/3222))c9896c0 Return x, y properties from Element.getBoundingClientRect (#3187](https://github.com/href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3187">/issues/3187))346ea98 Update web-platform tests (#3203](https://github.com/href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3203">/issues/3203))364c77d Bump to ws 7.4.693ba6a0 We are now on Matrix (#3207](https://github.com/href="https://github-redirect.dependabot.com/jsdom/jsdom/issues/3207">/issues/3207))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.