Packages

jsdom

31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed

Your version

26.0.0

major9 Jan 2025Where it was published

26.1.0 is the newest release of 26.x.

In short

1 breaking2 new1 fixed4 changed

  • Breaking

    Breaking change: canvas peer dependency requirement has been upgraded from v2 to v3. (@sebastianwachter)

Release note

Breaking change: canvas peer dependency requirement has been upgraded from v2 to v3. (@sebastianwachter)

Other changes:

  • Added AbortSignal.any().

  • Added initial support for form-associated custom elements, in particular making them labelable and supporting the ElementInternals labels property. The form-associated callbacks are not yet supported.

  • Updated whatwg-url, adding support for URL.parse().

  • Updated cssstyle and rrweb-cssom, to improve CSS parsing capabilities.

  • Updated nwsapi, improving CSS selector matching.

  • Updated parse5, fixing a bug around <noframes> elements and HTML entity decoding.

  • Fixed JSDOM.fromURL() to properly reject the returned promise if the server redirects to an invalid URL, instead of causing an uncaught exception.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.