jsdom
31.0.1 · 13 Nov 2026MIT166.2M / weekRepositoryHomepagenpmAtom feed
0.11.1 is the newest release of 0.6.x.
In short
6 changed
Release note
Integrated a new HTML parser, htmlparser2, from fb55. This is an actively maintained and much less buggy parser, fixing many of our parsing issues, including:
Parsing elements with optional closing tags, like
<p>or<td>.The
innerHTMLof<script>tags no longer cuts off the first character.Empty attributes now have
""as their value instead of the attribute name.Multiline attributes no longer get horribly mangled.
Attribute names can now be any value allowed by HTML5, including crazy things like
^.Attribute values can now contain any value allowed by HTML5, including e.g.
>and<.
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.