Packages

jsdom

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

Your version

0.4.0

6 Feb 2013Where it was published

0.11.1 is the newest release of 0.4.x.

In short

2 fixed2 changed

Release note

  • getAttribute now returns null for attributes that are not present, as per DOM4 (but in contradiction to DOM1 through DOM3).

  • Static NodeList-returning methods (such as querySelectorAll) now return a real NodeList instance.

  • Change: NodeLists no longer expose nonstandard properties to the world, like toArray, without first prefixing them with an underscore.

  • Change: NodeLists no longer inconsistently have array methods. Previously, live node lists would have indexOf, while static node lists would have them all. Now, they have no array methods at all, as is correct per the specification.

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.