Packages

jsdom

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

Your version

5.2.0

29 Apr 2015Where it was published

5.6.1 is the newest release of 5.x.

In short

2 new3 fixed2 changed

Release note

  • Implemented much of the ParentNode mixin (Joris-van-der-Wel):

    • Moved children from Node to ParentNode, i.e., made it available on Document, DocumentFragment, and Element, but not other types of nodes.

    • Made children a HTMLCollection instead of a NodeList.

    • Implemented firstElementChild, lastElementChild, and childElementCount.

  • Implemented the outerHTML setter.

  • Fixed the outerHTML getter for <select> and <form>.

  • Fixed various issues with window-less documents, so that they no longer give incorrect results or blow up in strange ways. You can create such documents with e.g. document.implementation.createHTMLDocument().

  • Fixed relative stylesheet resolution when using @import.

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.