Packages

jsdom

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

Your version

4.0.1

24 Feb 2015Where it was published

4.5.2 is the newest release of 4.x.

In short

2 fixed3 changed

Release note

  • Fixed: Node.prototype.contains to always return a boolean. This was a regression in 3.1.1.

  • Fixed: Document.prototype no longer contains its own ownerDocument getter, instead correctly delegating to Node.prototype.

  • Fixed: some edge cases regarding running <script>s in browserified jsdom.

  • A couple fixes from updated dependencies (although you would have gotten these anyway with a fresh install, due to floating version specifiers):

    • csstyle minimum version bumped from 0.2.21 to 0.2.23, fixing handling of 0 when setting numeric CSS properties and parsing of shorthand font declarations.

    • parse5 minimum version bumped from 1.3.1 to 1.3.2 to, fixing the parsing of <form> elements inside <template> elements.

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.