Packages

jsdom

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

Upgrading jsdom From 11.3.0 to 11.4.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 11.3.0Newest 11.x11.12.0Latest31.0.1
  1. 11.3.0yours
  2. 11.4.0target
0
changes to make
0
advisories fixed
8
new
7
fixes

Release by release

  1. 11.4.0

    19 Nov 20178 new · 7 fixes
    • New

      Added a rudimentary set of SVG element classes, namely SVGElement, SVGGraphicsElement, SVGSVGElement, SVGTests, SVGAnimatedString, SVGNumber, and SVGStringList. The main impact here is that SVG elements are now instances of SVGElement, instead of being simply Element (as they were in v11.3.0) or HTMLUnknownElement (as they were in v11.2.0 and previously). The only concrete subclass that is implemented is SVGSVGElement, for <svg> itself; other tags will not map to their correct classes, because those classes are not yet implemented.

    • New

      Added the new pretendToBeVisual option, which controls the presence of the new requestAnimationFrame() and cancelAnimationFrame() methods, and the new values of document.hidden/document.visibilityState. See the README for more information.

    • New

      Added the append() and prepend() methods to Document, DocumentFragment, and Element.

    • New

      Added the before(), after(), and replaceWith() methods to DocumentType, Element, and CharacterData.

2 other lines we could not sort, mostly version bumps
  • Significantly improved the spec-compliance of NamedNodeMap, i.e. of element.attributes, such that retrieving named or indexed properties will now always work properly.

    11.4.0
  • Removed the <applet> element, following the spec.

    11.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.