Packages

jsdom

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

Upgrading jsdom From 4.2.0 to 4.5.2

5 releases in betweennotes for 4

Other targets from 4.2.0Latest31.0.1
?
changes to make
0
advisories fixed
2+
new
?
fixes

Counted from 4 of 5 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 4.5.1 – 4.5.22 releases, nothing new or fixed; 1 without a note

  2. 4.5.0

    16 Apr 20151 new
    • New

      Added document.currentScript.

  3. 4.4.0nothing new or fixed in the note

  4. 4.3.0

    10 Apr 20151 new
    • New

      Added defaultPrevented property to Event instances, reflecting whether ev.preventDefault() has been called.

5 other lines we could not sort, mostly version bumps
  • Removed unnecessary browserify dependency that was erroneously included in 4.5.0.

    4.5.1
  • All resources are now loaded with the request package, which means that e.g. GZIPped resources will be properly uncompressed, redirects will be followed, and more. This was previously the case only for URLs passed directly to jsdom.env, and not for sub-resources inside the resulting page.

    4.4.0
  • Made the click behavior for radio buttons and checkboxes work when doing el.dispatchEvent(clickEvent), not just when doing el.click().

    4.3.0
  • Moved the click() method from HTMLInputElement.prototype to HTMLElement.prototype, per the latest spec.

    4.3.0
  • Made the click() method trigger a MouseEvent instead of just an Event.

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