jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
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.tabIndexhandling of invalid and out-of-rangetabindex=""values to use the element's default instead of returning zero or wrapping. Values with trailing non-digits now use their leading integer, sotabindex="1e2"yields1instead of100.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
autoto serialize with the integer first, such as3 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.