jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Your version
3.1.2 is the newest release of 3.x.
In short
1 fixed2 changed
Release note
Updated
Node.prototype.isEqualNodeto the algorithm of the DOM Standard, fixing a bug where it would throw an error along the way.Removed
Node.prototype.isSameNode, which is not present in the DOM Standard (and was just a verbose===check anyway).Fixed a couple small issues while browserifying, mainly around
jsdom.env. However, while doing so discovered that<script>s in general don't work too well in a browserified jsdom; see #1023.
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.