chore(deps): update dependency jsdom to v27
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| jsdom | ^26.0.0 -> ^27.0.0 |
Release Notes
jsdom/jsdom (jsdom)
v27.2.0
- Added
CSSGroupingRule,CSSNestedDeclarations,CSSConditionRule,CSSContainerRule,CSSScopeRule,CSSSupportsRule,CSSLayerBlockRule, andCSSLayerStatementRuleto jsdomWindows. (acemir) - Improved CSS parsing and CSSOM object APIs via updates to
@acemir/cssom. (acemir) - Fixed
@import-ed stylesheets to be properly exposed to CSSOM, and not to overwrite the sheet created from the<link>or<style>element. (acemir)
v27.1.0
- Improved CSS parsing by switching to
@acemir/cssom, including support for nested selectors, nested declarations, layer statements, and improved at-rule validation. (acemir) - Fixed some selector cache invalidation issues where changes to attributes were not being picked up. (asamuzaK)
- Fixed
package.json"engines"field to reflect the new minimum Node.js versions needed to run jsdom, as noted in the changelog for v27.0.1.
v27.0.1
- Fixed some regressions in CSS selectors. Most such regression fixes were done in a minor update of a dependency, and thus available for all fresh installs of v27.0.0. However, one related to
class=""attribute changes is only possible with a new version of jsdom. (asamuzaK)
v27.0.0
Changes since 26.1.0
- Node.js v20 is now the minimum supported version.
- Added a variety of event constructors, even though we do not implement their associated specifications or ever fire them:
BeforeUnloadEvent,BlobEvent,DeviceMotionEvent(omittingrequestPermission()),DeviceOrientationEvent(omittingrequestPermission()),PointerEvent,PromiseRejectionEvent, andTransitionEvent. - Added
movementXandmovementYtoMouseEvent. (These are from the Pointer Lock specification, the rest of which is not implemented.) - Added
customElements.getName(). (mash-graz) - Updated the virtual console:
-
"jsdomError"events are now documented, with specifictypeproperties and other properties that depend on the type. -
sendTo()was renamed toforwardTo(). - The
jsdomErrorsoption toforwardTo()can be used to control which errors are sent to the Node.js console. This replaces the previousomitJSDOMErrorsboolean option. -
"jsdomError"s for failedXMLHttpRequestfetches are no longer emitted. - The values that are printed when forwarding
"jsdomError"s to the Node.js console are streamlined.
-
- Switched our CSS selector engine from
nwsapito@asamuzakjp/dom-selector, closing over 20 selector-related bugs. - Upgraded
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) - Upgraded
cssstyle, which brings along many improvements and fixes to theCSSStyleDeclarationobject and its properties. - Updated the user agent stylesheet to be derived from the HTML Standard, instead of from an old revision of Chromium.
- Changed
element.click()to fire aPointerEventinstead of aMouseEvent. - Changed certain events to be passive by default.
- Changed the
<input>element'spattern=""attribute to use thevregular expression flag, instead ofu. - Fixed many specification conformance issues with the
Windowobject, including named properties and changing various data properties to accessor properties. - Fixed
document.createEvent()to accept a more correct set of event names. - Fixed the
ElementInternalsaccessibility getters and setters. (They were introduced in v23.1.0, but due to inadequate test coverage never actually worked.) - Fixed using
Object.defineProperty()on certain objects, such asHTMLSelectElementinstances. - Fixed
jsdom.reconfigure({ url })not updatingdocument.baseURIor properties derived from it. (This regressed in v26.1.0.) - Fixed CSS system colors, as well as the
initial,inherit, andunsetkeywords, to resolve correctly. (asamuzaK) - Fixed CSS
displaystyle resolution. (asamuzaK)
Changes since 27.0.0-beta.3
- Upgraded
cssstyle, which brings along various CSS parsing fixes.
v26.1.0
- Added at least partial support for various SVG elements and their classes:
<defs>(SVGDefsElement),<desc>(SVGDescElement),<g>(SVGGElement),<metadata>(SVGMetadataElement),<switch>(SVGSwitchElement), and<symbol>(SVGSymbolElement). - Added
SVGAnimatedPreserveAspectRatioandSVGAnimatedRect, including support in the reflection layer. - Added the
SVGSVGElementcreateSVGRect()method, and theSVGRecttype (which is distinct fromDOMRect.) - Added indexed property support to
HTMLFormElement. - Updated the
SVGElementviewportElement()method to correctly establish the viewport based on ancestor elements. - Removed the now-bloated
form-datadependency in favor of our own smaller implementation ofmultipart/form-dataserialization. No functional changes are expected. - Various performance improvements, caches, microoptimizations, and deferred object creation.
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
⚠️ No Changeset found
Latest commit: b2c6898f4877146b3068c960c679cccea628aa9c
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
size-limit report 📦
| Path | Size |
|---|---|
| LiveKitRoom only | 6 KB (0%) |
| LiveKitRoom with VideoConference | 32.46 KB (0%) |
| All exports | 43.29 KB (0%) |