jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
4.5.2 is the newest release of 4.x.
In short
2 fixed3 changed
Release note
Fixed:
Node.prototype.containsto always return a boolean. This was a regression in 3.1.1.Fixed:
Document.prototypeno longer contains its ownownerDocumentgetter, instead correctly delegating toNode.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
0when setting numeric CSS properties and parsing of shorthandfontdeclarations.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.