Packages

jsdom

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

Upgrading jsdom From 9.10.0 to 9.12.0

2 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 9.10.0Latest31.0.1
0
changes to make
0
advisories fixed
3
new
6
fixes

Release by release

  1. 9.12.0

    12 Mar 20172 new · 5 fixes
    • New

      Added the Option named constructor.

    • New

      Added support for the canvas-prebuilt npm package as an alternative to canvas.

    • Fixed

      Fixed setTimeout() and setInterval() to always return a positive integer, instead of returning 0 the first time were called.

    • Fixed

      Fixed jsdom.env() to preserve URL fragments across redirects.

    • Fixed

      Fixed optionEl.text and optionEl.value to be more spec-compliant.

    • Fixed

      Fixed event.stopImmediatePropagation() to actually stop immediate propagation, not just propagation.

    • Fixed

      Fixed clearTimeout() and clearInterval() to work correctly when using jsdom browserified.

  2. 9.11.0

    11 Feb 20171 new · 1 fix
    • New

      Added dummy properties offsetTop, offsetLeft, offsetWidth, and offsetHeight that always return 0, and offsetParent which always returns null, for all HTML elements.

    • Fixed

      Fixed various edge cases in our type conversions applied to method arguments and setters throughout the web platform APIs implemented by jsdom.

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.