Packages

jsdom

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

Upgrading jsdom From 6.5.1 to 7.0.0

1 release in betweenevery note read

Other targets from 6.5.1Latest31.0.1
The note of 7.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 6.5.1yours
  2. 7.0.0target
?
changes to make
0
advisories fixed
4
new
2
fixes

Release by release

  1. 7.0.0

    17 Oct 20154 new · 2 fixes
    • New

      Adds some new request-management abilities, documented in the readme. In short, the pool, agentOptions, and userAgent options are new, and resource loads can now be aborted.

    • New

      Added document.charset, an alias for document.characterSet.

    • New

      Added HTMLTemplateElement.prototype.content, for getting the contents of a <template> element as a document fragment.

    • New

      Implemented "loose" cookie parsing, giving correct execution of code like document.cookie = "foo".

    • Fixed

      Fixed document.styleSheets to correctly track the removal of stylesheets from the document.

    • Fixed

      Fixed the created jsdom lifecycle callback receiving a different window object than the loaded or done callbacks when scripting was enabled.

7 other lines we could not sort, mostly version bumps
  • Node.js 4.0 onward is now required, as we have begun using ES2015 features only present there.

    7.0.0
  • Includes support for Blob, File, FileList, FileReader, FormData, ProgressEvent, and the supporting XMLHttpRequestUpload, and XMLHttpRequestEventTarget interfaces.

    7.0.0
  • Includes support for synchronous XHRs.

    7.0.0
  • These implementations are extremely complete and standards-compliant, passing 136 newly-introduced web platform tests.

    7.0.0
  • Several fixes related to event dispatching and creation, including the addition of Event.prototype.stopImmediatePropagation and the constants NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. This accounted for another 15 newly-passing web platform tests.

    7.0.0
  • Invalid URLs are no longer allowed when creating a jsdom document; the URL must be parseable, or an error will be thrown.

    7.0.0
  • The { omitJsdomErrors } option of the virtual console has moved; it is no longer provided when creating the virtual console, but instead when calling sendTo.

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