badgee
badgee copied to clipboard
Bump jsdom from 16.0.1 to 16.5.0
Bumps jsdom from 16.0.1 to 16.5.0.
Release notes
Sourced from jsdom's releases.
Version 16.5.0
- Added
window.queueMicrotask()
.- Added
window.event
.- Added
inputEvent.inputType
. (diegohaz)- Removed
ondragexit
fromWindow
and friends, per a spec update.- Fixed the URL of
about:blank
iframes. 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: none
per 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
MutationObserver
instance as theirthis
value.- Fixed
<input type=checkbox>
and<input type=radio>
to be mutable even when disabled, per a spec update.- Fixed
XMLHttpRequest
to not fire a redundant finalprogress
event if aprogress
event was previously fired with the sameloaded
value. This would usually occur with small files.- Fixed
XMLHttpRequest
to expose theContent-Length
header on cross-origin responses.- Fixed
xhr.response
to returnnull
for 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
localStorage
ordataset
. (ExE-Boss)- Fixed a potential memory leak with custom elements (although we could not figure out how to trigger it). (soncodi)
Version 16.4.0
- Added a not-implemented warning if you try to use the second pseudo-element argument to
getComputedStyle()
, unless you pass a::part
or::slotted
pseudo-element, in which case we throw an error per the spec. (ExE-Boss)- Improved the performance of repeated access to
el.tagName
, which also indirectly improves performance of selector matching and style computation. (eps1lon)- Fixed
form.elements
to respect theform=""
attribute, so that it can contain non-descendant form controls. (ccwebdesign)- Fixed
el.focus()
to do nothing on disconnected elements. (eps1lon)- Fixed
el.focus()
to work on SVG elements. (zjffun)- Fixed removing the currently-focused element to move focus to the
<body>
element. (eps1lon)- Fixed
imgEl.complete
to return true for<img>
elements with empty or unsetsrc=""
attributes. (strager)- Fixed
imgEl.complete
to return true if an error occurs loading the<img>
, when canvas is enabled. (strager)- Fixed
imgEl.complete
to return false if the<img>
element'ssrc=""
attribute is reset. (strager)- Fixed the
valueMissing
validation check for<input type="radio">
. (zjffun)- Fixed
translate=""
anddraggable=""
attribute processing to use ASCII case-insensitivity, instead of Unicode case-insensitivity. (zjffun)Version 16.3.0
- Added firing of
focusin
andfocusout
when usingel.focus()
andel.blur()
. (trueadm)- Fixed elements with the
contenteditable=""
attribute to be considered as focusable. (jamieliu386)- Fixed
window.NodeFilter
to be per-Window
, instead of shared across allWindow
s. (ExE-Boss)- Fixed edge-case behavior involving use of objects with
handleEvent
properties as event listeners. (ExE-Boss)- Fixed a second failing image load sometimes firing a
load
event instead of anerror
event, when thecanvas
package is installed. (strager)- Fixed drawing an empty canvas into another canvas. (zjffun)
Version 16.2.2
- Updated
StyleSheetList
for better spec compliance; notably it no longer inherits fromArray.prototype
. (ExE-Boss)- Fixed
requestAnimationFrame()
from preventing process exit. This likely regressed in v16.1.0.- Fixed
setTimeout()
to no longer leak the closures passed in to it. This likely regressed in v16.1.0. (AviVahl)- Fixed infinite recursion that could occur when calling
click()
on a<label>
element, or one of its descendants.- Fixed
getComputedStyle()
to consider inlinestyle=""
attributes. (eps1lon)- Fixed several issues with
<input type="number">
'sstepUp()
andstepDown()
functions to be properly decimal-based, instead of floating point-based.- Fixed various issues where updating
selectEl.value
would not invalidate properties such asselectEl.selectedOptions
. (ExE-Boss)- Fixed
<input>
'ssrc
property, and<ins>
/<del>
'scite
property, to properly reflect as URLs.- Fixed
window.addEventLister
,window.removeEventListener
, andwindow.dispatchEvent
to properly be inherited fromEventTarget
, instead of being distinct functions. (ExE-Boss)- Fixed errors that would occur if attempting to use a DOM object, such as a custom element, as an argument to
addEventListener
.
... (truncated)
Changelog
Sourced from jsdom's changelog.
16.5.0
- Added
window.queueMicrotask()
.- Added
window.event
.- Added
inputEvent.inputType
. (diegohaz)- Removed
ondragexit
fromWindow
and friends, per a spec update.- Fixed the URL of
about:blank
iframes. 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: none
per 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
MutationObserver
instance as theirthis
value.- Fixed
<input type=checkbox>
and<input type=radio>
to be mutable even when disabled, per a spec update.- Fixed
XMLHttpRequest
to not fire a redundant finalprogress
event if aprogress
event was previously fired with the sameloaded
value. This would usually occur with small files.- Fixed
XMLHttpRequest
to expose theContent-Length
header on cross-origin responses.- Fixed
xhr.response
to returnnull
for 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
localStorage
ordataset
. (ExE-Boss)- Fixed a potential memory leak with custom elements (although we could not figure out how to trigger it). (soncodi)
16.4.0
- Added a not-implemented warning if you try to use the second pseudo-element argument to
getComputedStyle()
, unless you pass a::part
or::slotted
pseudo-element, in which case we throw an error per the spec. (ExE-Boss)- Improved the performance of repeated access to
el.tagName
, which also indirectly improves performance of selector matching and style computation. (eps1lon)- Fixed
form.elements
to respect theform=""
attribute, so that it can contain non-descendant form controls. (ccwebdesign)- Fixed
el.focus()
to do nothing on disconnected elements. (eps1lon)- Fixed
el.focus()
to work on SVG elements. (zjffun)- Fixed removing the currently-focused element to move focus to the
<body>
element. (eps1lon)- Fixed
imgEl.complete
to return true for<img>
elements with empty or unsetsrc=""
attributes. (strager)- Fixed
imgEl.complete
to return true if an error occurs loading the<img>
, when canvas is enabled. (strager)- Fixed
imgEl.complete
to return false if the<img>
element'ssrc=""
attribute is reset. (strager)- Fixed the
valueMissing
validation check for<input type="radio">
. (zjffun)- Fixed
translate=""
anddraggable=""
attribute processing to use ASCII case-insensitivity, instead of Unicode case-insensitivity. (zjffun)16.3.0
- Added firing of
focusin
andfocusout
when usingel.focus()
andel.blur()
. (trueadm)- Fixed elements with the
contenteditable=""
attribute to be considered as focusable. (jamieliu386)- Fixed
window.NodeFilter
to be per-Window
, instead of shared across allWindow
s. (ExE-Boss)- Fixed edge-case behavior involving use of objects with
handleEvent
properties as event listeners. (ExE-Boss)- Fixed a second failing image load sometimes firing a
load
event instead of anerror
event, when thecanvas
package is installed. (strager)- Fixed drawing an empty canvas into another canvas. (zjffun)
16.2.2
- Updated
StyleSheetList
for better spec compliance; notably it no longer inherits fromArray.prototype
. (ExE-Boss)- Fixed
requestAnimationFrame()
from preventing process exit. This likely regressed in v16.1.0.- Fixed
setTimeout()
to no longer leak the closures passed in to it. This likely regressed in v16.1.0. (AviVahl)- Fixed infinite recursion that could occur when calling
click()
on a<label>
element, or one of its descendants.- Fixed
getComputedStyle()
to consider inlinestyle=""
attributes. (eps1lon)- Fixed several issues with
<input type="number">
'sstepUp()
andstepDown()
functions to be properly decimal-based, instead of floating point-based.
... (truncated)
Commits
2d82763
Version 16.5.09741311
Fix loading of subresources with Unicode filenames5e46553
Use domenic's ESLint config as the base19b35da
Fix the URL of about:blank iframes017568e
Support inputType on InputEvent29f4fdf
Upgrade dependenciese2f7639
Refactor create‑event‑accessor.js to remove code duplicationff69a75
Convert JSDOM to use callback functions19df6bc
Update links in contributing guidelines1e34ff5
Test triage- 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.