Packages

jsdom

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

Your version

9.12.0

12 Mar 2017Where it was published

In short

2 new5 fixed

Release note

  • Added the Option named constructor.

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

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

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

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

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

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

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.