Update dependency jsdom to v27 #127
Open
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.
This PR contains the following updates:
^25.0.0
->^27.0.0
Release Notes
jsdom/jsdom (jsdom)
v27.0.0
Compare Source
Changes since 26.1.0
BeforeUnloadEvent
,BlobEvent
,DeviceMotionEvent
(omittingrequestPermission()
),DeviceOrientationEvent
(omittingrequestPermission()
),PointerEvent
,PromiseRejectionEvent
, andTransitionEvent
.movementX
andmovementY
toMouseEvent
. (These are from the Pointer Lock specification, the rest of which is not implemented.)customElements.getName()
. (mash-graz)"jsdomError"
events are now documented, with specifictype
properties and other properties that depend on the type.sendTo()
was renamed toforwardTo()
.jsdomErrors
option toforwardTo()
can be used to control which errors are sent to the Node.js console. This replaces the previousomitJSDOMErrors
boolean option."jsdomError"
s for failedXMLHttpRequest
fetches are no longer emitted."jsdomError"
s to the Node.js console are streamlined.nwsapi
to@asamuzakjp/dom-selector
, closing over 20 selector-related bugs.tough-cookie
, which now considers URLs likehttp://localhost/
to be secure contexts (per the spec), and thus will returnSecure
-flagged cookies for such URLs. (colincasey)cssstyle
, which brings along many improvements and fixes to theCSSStyleDeclaration
object and its properties.element.click()
to fire aPointerEvent
instead of aMouseEvent
.<input>
element'spattern=""
attribute to use thev
regular expression flag, instead ofu
.Window
object, including named properties and changing various data properties to accessor properties.document.createEvent()
to accept a more correct set of event names.ElementInternals
accessibility getters and setters. (They were introduced in v23.1.0, but due to inadequate test coverage never actually worked.)Object.defineProperty()
on certain objects, such asHTMLSelectElement
instances.jsdom.reconfigure({ url })
not updatingdocument.baseURI
or properties derived from it. (This regressed in v26.1.0.)initial
,inherit
, andunset
keywords, to resolve correctly. (asamuzaK)display
style resolution. (asamuzaK)Changes since 27.0.0-beta.3
cssstyle
, which brings along various CSS parsing fixes.v26.1.0
Compare Source
<defs>
(SVGDefsElement
),<desc>
(SVGDescElement
),<g>
(SVGGElement
),<metadata>
(SVGMetadataElement
),<switch>
(SVGSwitchElement
), and<symbol>
(SVGSymbolElement
).SVGAnimatedPreserveAspectRatio
andSVGAnimatedRect
, including support in the reflection layer.SVGSVGElement
createSVGRect()
method, and theSVGRect
type (which is distinct fromDOMRect
.)HTMLFormElement
.SVGElement
viewportElement()
method to correctly establish the viewport based on ancestor elements.form-data
dependency in favor of our own smaller implementation ofmultipart/form-data
serialization. No functional changes are expected.v26.0.0
Compare Source
Breaking change:
canvas
peer dependency requirement has been upgraded from v2 to v3. (sebastianwachter)Other changes:
AbortSignal.any()
. (jdbevan)ElementInternals
labels
property. The form-associated callbacks are not yet supported. (hesxenon)whatwg-url
, adding support forURL.parse()
.cssstyle
andrrweb-cssom
, to improve CSS parsing capabilities.nwsapi
, improving CSS selector matching.parse5
, fixing a bug around<noframes>
elements and HTML entity decoding.JSDOM.fromURL()
to properly reject the returned promise if the server redirects to an invalid URL, instead of causing an uncaught exception.v25.0.1
Compare Source
tough-cookie
, which no longer prints a deprecation warning.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.
This PR was generated by Mend Renovate. View the repository job log.