Packages

jsdom

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

Your version

8.2.0

28 Mar 2016Where it was published

8.5.0 is the newest release of 8.x.

In short

5 new3 fixed2 changed

Release note

  • Fixed input selection methods and properties to properly differentiate between inputs that can be selected outright vs. textual inputs which allow variable-length selection.

  • Added correct click behavior for inputs (jeffcarp):

    • change and input events now fire appropriately

    • The "click in progress" flag is implemented, so you cannot click while a click is in progress

    • Canceling a click event appropriately resets radio buttons and checkboxes

  • Updated our XMLHttpRequest implementation with a variety of fixes and features, including preliminary CORS support.

  • Added a strictSSL top-level option to govern all requests jsdom makes.

  • XHTML frames and iframes are now parsed as XML instead of HTML.

  • Added document.origin and document.lastModified.

  • Fixed the scriptEl.text getter and setter to follow the spec.

  • Fixed script execution to check against the canonical list of JavaScript MIME types and only execute those scripts as JavaScript.

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.