Packages

jsdom

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

Your version

16.5.0

7 Mar 2021Where it was published

16.7.0 is the newest release of 16.x.

In short

3 new12 fixed1 changed

Release note

  • Added window.queueMicrotask().

  • Added window.event.

  • Added inputEvent.inputType.

  • Removed ondragexit from Window and friends, per a spec update.

  • Fixed the URL of about:blank iframes. Previously it was getting set to the parent's URL.

  • Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.

  • Fixed the hidden="" attribute to cause display: none per the user-agent stylesheet.

  • Fixed the new File() constructor to no longer convert / to :, per a pending spec update.

  • Fixed mutation observer callbacks to be called with the MutationObserver instance as their this value.

  • Fixed <input type=checkbox> and <input type=radio> to be mutable even when disabled, per a spec update.

  • Fixed XMLHttpRequest to not fire a redundant final progress event if a progress event was previously fired with the same loaded value. This would usually occur with small files.

  • Fixed XMLHttpRequest to expose the Content-Length header on cross-origin responses.

  • Fixed xhr.response to return null for failures that occur during the middle of the download.

  • Fixed edge cases around passing callback functions or event handlers.

  • Fixed edge cases around the properties of proxy-like objects such as localStorage or dataset.

  • Fixed a potential memory leak with custom elements (although we could not figure out how to trigger it).

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.