Packages

jsdom

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

Your version

31.0.1

Latest13 Nov 2026Where it was published

In short

2 faster3 fixed

Release note

  • Improved performance of computed style reads, selector matching, CSS variable substitution, CSS shorthand updates, and focus handling on pages with many style rules.

  • Improved performance when building detached DOM trees and reading node.isConnected.

  • 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.

  • Fixed CSS ident() results containing spaces or leading digits losing their required escaping during serialization and variable substitution.

  • Fixed 'max-lines' values combining an integer and auto to serialize with the integer first, such as 3 auto.

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.