Packages

jsdom

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

Your version

14.1.0

21 Apr 2019Where it was published

In short

1 breaking4 new8 fixed1 changed

  • Breaking

    Updated the minimum nwsapi version from v2.1.1 to v2.1.3, bringing along a few fixes in our selector engine.

Release note

  • Added activation behavior for <a> and <area> elements whose href="" points to a javascript: URL or fragment.

  • Added the <datalist> element's options property.

  • Added the <input> element's list property.

  • Added PageTransitionEvent, and the firing of pageshow events during loading.

  • Exposed the External class as a property of window.

  • Fixed HTML fragment parsing (via innerHTML and outerHTML) to be spec-compliant.

  • Fixed HTML serialization (e.g. via innerHTML) breaking after setting certain properties to non-string values.

  • Fixed how disabling an element would cause its activation behavior to forever be null, even if it were re-enabled.

  • Fixed all access to attributes to ignore attributes with namespaces, per the spec.

  • Fixed <style>s to no longer apply to documents without a browsing context. This includes fixing a crash that would occur with such styles if they had an @import rule.

  • Fixed <option>'s label and value properties to return correct values in various edge cases.

  • Fixed the load event during document loading to target the Document, not the Window.

  • Fixed the pretendToBeVisual option to propagate to child subframes, as well as the main Window.

  • Breaking

    Updated the minimum nwsapi version from v2.1.1 to v2.1.3, bringing along a few fixes in our selector engine.

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.