[Snyk] Upgrade jsdom from 16.4.0 to 16.7.0 #193
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade jsdom from 16.4.0 to 16.7.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version fixes:
SNYK-JS-REQUEST-1314897
Why? CVSS 3.7
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: jsdom
AbortSignal.abort()
. (ninevra)x
andy
properties to the return value ofgetBoundingClientRect()
. (eiko)textareaEl.value
if thewrap=""
attribute is specified. (ninevra)<textarea>
s according to recent HTML Standard updates. (ninevra)getComputedStyle()
. (romain-trotard)parentNode.replaceChildren()
. (@ ninevra)null
orundefined
as an exception. (@ mbest)request
package, in the process fixing several issues with theXMLHttpRequest
implementation around header processing. Thanks go to @ tobyhinloopen, @ andrewaylett, and especially @ vegardbb, for completing this months-long effort!MutationObserver
s to observe elements inside aMutationObserver
callback.Access-Control-Allow-Headers: *
to work withXMLHttpRequest
. (silviot)xhr.response
to strip any leading BOM whenxhr.responseType
is"json"
.new Text()
andnew Comment()
constructors to properly set the resulting node'sownerDocument
.customElements.whenDefined()
to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)<svg><template></template></svg>
does not throw an exception, but instead correctly produces a SVG-namespace<template>
element.domParser.parseFromString()
to treat<noscript>
elements appropriately.<form>
element and instead associated using theform=""
attribute.legendEl.form
to return the correct result based on its parent<fieldset>
.optionEl.text
to exclude<script>
descendants.input
andchange
events when disconnected.inputEl.indeterminate
to reset to its previous value when canceling aclick
event on a checkbox or radio button.onclick="...code..."
) when there were global variables namedelement
orformOwner
. (ExE-Boss)WeakRef
s are available, fixedNodeIterator
to no longer stop working when more than tenNodeIterator
instances are created, and to use less memory due to inactiveNodeIterator
s sticking around. (ExE-Boss)customElements.get()
in v16.5.0. (fdesforges)window.event
to have a setter which overwrites thewindow.event
property 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 namedevent
in the jsdom context.window.queueMicrotask()
.window.event
.inputEvent.inputType
. (diegohaz)ondragexit
fromWindow
and friends, per a spec update.about:blank
iframes. Previously it was getting set to the parent's URL. (SimonMueller)hidden=""
attribute to causedisplay: none
per the user-agent stylesheet. (ph-fritsche)new File()
constructor to no longer convert/
to:
, per a pending spec update.MutationObserver
instance as theirthis
value.<input type=checkbox>
and<input type=radio>
to be mutable even when disabled, per a spec update.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.XMLHttpRequest
to expose theContent-Length
header on cross-origin responses.xhr.response
to returnnull
for failures that occur during the middle of the download.localStorage
ordataset
. (ExE-Boss)getComputedStyle()
, unless you pass a::part
or::slotted
pseudo-element, in which case we throw an error per the spec. (ExE-Boss)el.tagName
, which also indirectly improves performance of selector matching and style computation. (eps1lon)form.elements
to respect theform=""
attribute, so that it can contain non-descendant form controls. (ccwebdesign)el.focus()
to do nothing on disconnected elements. (eps1lon)el.focus()
to work on SVG elements. (zjffun)<body>
element. (eps1lon)imgEl.complete
to return true for<img>
elements with empty or unsetsrc=""
attributes. (strager)imgEl.complete
to return true if an error occurs loading the<img>
, when canvas is enabled. (strager)imgEl.complete
to return false if the<img>
element'ssrc=""
attribute is reset. (strager)valueMissing
validation check for<input type="radio">
. (zjffun)translate=""
anddraggable=""
attribute processing to use ASCII case-insensitivity, instead of Unicode case-insensitivity. (zjffun)Commit messages
Package name: jsdom
nnfx
theme for v11 highlightjs/highlight.js#3187)Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:![](https://camo.githubusercontent.com/3ccc7663fd82ae35d33d9fd03aa26cd437931358b845a5e656ee89eb93d2058e/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f6949784e4463324f475135597930334e7a56694c54526c596a45744f4745354f433078597a646a4f546b344d4455774d4455694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496a45304e7a59345a446c6a4c5463334e5749744e4756694d53303459546b344c54466a4e324d354f5467774e5441774e534a3966513d3d)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs