Skip to content

build(deps): bump the major-updates group across 1 directory with 2 updates - #86

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/major-updates-b51e730e87
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/major-updates-b51e730e87

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps the major-updates group with 2 updates in the / directory: jsdom and type-fest.

Updates jsdom from 30.1.2 to 31.0.1

Release notes

Sourced from jsdom's releases.

v31.0.1

  • Improved performance of computed style reads, selector matching, CSS variable substitution, CSS shorthand updates, and focus handling on pages with many style rules. (@​scttcper)
  • Improved performance when building detached DOM trees and reading node.isConnected. (@​scttcper)
  • Fixed element.tabIndex handling of invalid and out-of-range tabindex="" values to use the element's default instead of returning zero or wrapping. Values with trailing non-digits now use their leading integer, so tabindex="1e2" yields 1 instead of 100. (@​rome-xi)
  • Fixed CSS ident() results containing spaces or leading digits losing their required escaping during serialization and variable substitution. (@​scttcper)
  • Fixed 'max-lines' values combining an integer and auto to serialize with the integer first, such as 3 auto.

v31.0.0

Breaking changes

  • Changed the optional canvas and image decoding backend from canvas to @napi-rs/canvas. Install @napi-rs/canvas v1.0.13 or later in the v1.x series alongside jsdom; installing canvas alone no longer enables this support. The new backend provides prebuilt Skia binaries on supported platforms, and rendering and encoded image bytes can differ. Projects using native canvas objects or custom font registration should follow the canvas migration guidance. Added WebP serialization through canvas.toDataURL() and canvas.toBlob(). Fixed image loading to wait for decoding before firing load, discard obsolete source requests, avoid refetching when dimensions change, and prevent failed images from drawing stale contents. Fixed canvas context and serialization behavior, including unsupported context types, read-only ctx.canvas, image-drawing exceptions, MIME type and quality normalization, and asynchronous null results from canvas.toBlob() for empty canvases or encoding failures. (@​Brooooooklyn)
  • Changed CSS parsing, selector matching, and computed styles to use a new integrated implementation, with substantially expanded support and faster selector queries and repeated style reads. This includes cascade layers, nesting, @scope, custom-property substitution and registration through @property and CSS.registerProperty(), typed attr(), conditional if(), shadow-tree styling with :host, ::slotted(), and ::part(), pseudo-element computed styles, and constructable stylesheets with document.adoptedStyleSheets and shadowRoot.adoptedStyleSheets. Fixed numerous cascade, shorthand, serialization, and default-style issues; computed declarations now stay live across DOM and stylesheet changes. CSS serialization and computed values can differ from previous releases.
  • Changed HTML and XML parsing to pause at blocking scripts until their required resources are ready. The JSDOM constructor, JSDOM.fromURL(), and JSDOM.fromFile() can now return partially parsed documents. Wait for DOMContentLoaded for the finished tree, or the window's load event for load-delaying resources, checking document.readyState first in case the event has already fired. XML syntax errors encountered after asynchronous parsing resumes are reported through the virtual console as "xml-parsing" errors.

Other changes

  • Added window.reportError(), which dispatches an error event and reports uncanceled errors to the virtual console. (@​sarankumar1325)
  • Added element.ariaBrailleLabel and element.ariaBrailleRoleDescription. (@​Kjubikstronk)
  • Fixed page-completion load events to fire only on the window. Use window.addEventListener("load", ...) or window.onload instead of listening on the document.
  • Fixed document.open(), including implicit calls from document.write(), to clear event listeners and handlers from the document, its descendants, and its window when replacing the input stream.
  • Fixed document.write() to process successive writes through the parser's input stream, preserve insertion points across nested scripts, and make completed text immediately visible. Script-created input streams now remain open until document.close().
  • Fixed dynamically inserted scripts to respect script.async = false execution order, use their source text and document from preparation time, and avoid executing after adoption into another document. Scripts parsed through inert fragment APIs no longer execute when subsequently inserted.
  • Fixed unrelated images, stylesheets, and frames being delayed behind scripts, and resource completion events firing before nested stylesheet imports finish. Cyclic imports no longer prevent completion, and <style> elements in shadow trees now fire load events.
  • Fixed window.stop() to cancel pending subresource and XMLHttpRequest requests in descendant frames and suppress completion events for canceled loads, while allowing subsequent requests to proceed.
  • Fixed repeated document.close() calls replaying readiness and load events, and incorrect iframe load events when reopening documents from event handlers.
  • Fixed memory leaks where pending request interceptor promises retained closed windows, introduced in v28.0.0.
  • Fixed focus remaining on elements that become non-focusable after DOM or style changes. Focus now moves asynchronously to the document's viewport, and element.blur() can release it immediately.
  • Fixed document.hasFocus() returning false before an element is focused or during focus transitions within the document, including inside frames.
  • Fixed \<template> parsing and template.innerHTML serialization in XML documents, including templates with namespace prefixes. (@​b84330808)
  • Fixed rect.toJSON() and performance.toJSON() to create their result objects in the method's realm instead of the host Node.js realm.

v30.1.3

  • Improved performance of getComputedStyle() and computed CSS property reads, including with stylesheets containing attribute selectors. (@​scttcper, @​asamuzaK)
  • Fixed slowdowns when focusing elements and running interaction tests, which regressed in v30.1.2. (@​scttcper)
  • Fixed XMLHttpRequest reusing credentials supplied to xhr.open() after cross-origin redirects, including in response to authentication challenges from the destination.
  • Fixed XMLHttpRequest incorrectly sending and accepting cookies after cross-origin redirects back to the document's origin when xhr.withCredentials is false.
  • Fixed exceptions from malformed CSS math functions, such as calc(0px - @submenu_space), while parsing documents, stylesheets, and style declarations. (@​rnavarro)
  • Fixed getComputedStyle() ignoring style rules nested inside multiple @media rules.
  • Fixed CSS shorthands overwriting longhands with higher priority or specificity during style computation, including declarations containing CSS variables.
  • Fixed getComputedStyle() returning unresolved or inconsistent shorthand values, including for 'background', 'border', 'flex', 'font', 'margin', and 'padding', and incorrect shorthand defaults and inheritance.
  • Fixed computed background positions to resolve font-relative lengths using the final font size and handle multiple image layers correctly.
  • Fixed computed 'color' values depending on property read order, including unresolved color-mix() results, which regressed in v29.0.2.
  • Fixed currentcolor border colors incorrectly becoming transparent when 'color' uses light-dark() or relative color syntax.
  • Fixed CSS calculations that reduce to a percentage incorrectly producing pixel values, which regressed in v30.0.0.
  • Fixed numeric font weights in the 'font' shorthand incorrectly setting 'line-height'.
  • Fixed selector matching involving XML namespaces, and selectors such as [data-a|=""] failing to match empty values and values beginning with -. (@​asamuzaK)
Commits
  • b76da26 31.0.1
  • 8a39b93 Track whether each node is connected
  • 463254b Speed up type and relative selector matching
  • afb7299 Fix max-lines serialization order
  • 574765e Fix tabIndex reflection of invalid and out-of-range values
  • 2cdcc44 Skip stylesheets that cannot apply to an element
  • 1ba3b6b Skip fetch cancellation test on affected Node versions
  • 40a0a14 Reduce CSS shorthand mutation overhead
  • 8a68119 Speed up CSS variable substitution
  • da2b11b Index pseudo-element rules apart from element rules
  • Additional commits viewable in compare view

Updates type-fest from 5.10.0 to 6.0.3

Release notes

Sourced from type-fest's releases.

v6.0.3

  • Exact: Preserve readonly index signatures 2a0893bf
  • Exact: Accept number keys for a string index signature 5c0e1ccb
  • Exact: Fix slow type-checking and false rejections with an index signature and a generic input value 56b62851

sindresorhus/type-fest@v6.0.2...v6.0.3

v6.0.2

  • Exact: Fix slow type-checking with an index signature and a generic input value 22d031b0

sindresorhus/type-fest@v6.0.1...v6.0.2

v6.0.1

  • SetOptional, SetRequired, SetReadonly: Fix out-of-memory type-checking with generic keys 80b7baa7
  • ObjectMerge: Treat NaN keys as numeric 916ed246

sindresorhus/type-fest@v6.0.0...v6.0.1

v6.0.0

Summary

This is a huge release! 120 new types. All open issues resolved. A huge number of performance and correctness fixes.

Breaking

  • Require TypeScript 6 9ec2593
  • Require Node.js 22 9ec2593
  • Require exactOptionalPropertyTypes: true in your tsconfig 82f2b44
    • The types no longer have compatibility logic for exactOptionalPropertyTypes: false. Disabling it is unsupported.
  • Reminder: type-fest requires strict, which is the default since TypeScript 6. Do not set it to false.
  • Remove the deprecated IfAny, IfNever, IfUnknown, IfNull, and IfEmptyObject types. Use If with the matching Is* type. 6fc1861
  • Remove the deprecated ReadonlyTuple type. Use Readonly<TupleOf<Length, Element>>. 6fc1861
  • CamelCase, PascalCase, KebabCase, SnakeCase, ScreamingSnakeCase, DelimiterCase, Words, and their *CasedProperties / *CasedPropertiesDeep types: Enable splitOnPunctuation by default. ebc42e5
    • KebabCase<'div.card::after'> is now 'div-card-after' (was 'div.card::after').
    • A leading $ is now removed: CamelCase<'$foo'> is 'foo'.
  • CamelCase / PascalCase (and their *CasedProperties types): Disable splitOnNumbers by default 976bd26
    • CamelCase<'p2p_network'> is now 'p2pNetwork' (was 'p2PNetwork'). The other case types already used false.
  • CamelCase / PascalCase (and their *CasedProperties types): Enable preserveLeadingUnderscores by default 8144ba1
    • CamelCase<'_id'> is now '_id' (was 'id'). This matches the camelcase package.
    • PascalCase<'_foo_bar'> is now '_FooBar' (was 'FooBar').
  • Words: With splitOnPunctuation: false, punctuation now stays inside the word: Words<'hello:world', {splitOnPunctuation: false}> is ['hello:world'] (was ['hello', ':world']) 9f2ad66
  • PartialDeep: Enable recurseIntoArrays by default. ab0e23d
    • The elements of arrays and tuples are now deeply partial, and the fixed elements of tuples become optional.
    • allowUndefinedInNonTupleArrays: true now works alone. Before, it also needed recurseIntoArrays: true.

... (truncated)

Commits
  • fb6bf5f 6.0.3
  • 2a0893b Exact: Preserve readonly index signatures
  • 5c0e1cc Exact: Accept number keys for a string index signature
  • 56b6285 Exact: Fix slow type-checking and false rejections with an index signature ...
  • 0010f92 6.0.2
  • 22d031b Exact: Fix slow type-checking with an index signature and a generic input v...
  • f594141 6.0.1
  • 80b7baa SetOptional, SetRequired, SetReadonly: Fix out-of-memory type-checking ...
  • 916ed24 ObjectMerge: Treat NaN keys as numeric
  • fddb33e 6.0.0
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

…pdates

Bumps the major-updates group with 2 updates in the / directory: [jsdom](https://github.com/jsdom/jsdom) and [type-fest](https://github.com/sindresorhus/type-fest).


Updates `jsdom` from 30.1.2 to 31.0.1
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](jsdom/jsdom@v30.1.2...v31.0.1)

Updates `type-fest` from 5.10.0 to 6.0.3
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v5.10.0...v6.0.3)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 31.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: major-updates
- dependency-name: type-fest
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: major-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants