Packages

jsdom

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

Upgrading jsdom From 0.3.4 to 0.4.0

1 release in betweenevery note read

Other targets from 0.3.4Newest 0.x0.11.1Latest31.0.1
  1. 0.3.4yours
  2. 0.4.0target
0
changes to make
0
advisories fixed
0
new
2
fixes

Release by release

  1. 0.4.0

    6 Feb 20132 fixes
    • Fixed

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

    • Fixed

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

2 other lines we could not sort, mostly version bumps
  • Change: NodeLists no longer expose nonstandard properties to the world, like toArray, without first prefixing them with an underscore.

    0.4.0
  • 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.

    0.4.0

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.