jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
11.12.0 is the newest release of 11.x.
In short
1 removed9 new8 fixed2 changed
- Removed
Removed the nonstandard
window.scrollLeftandwindow.scrollTopproperties, and thewindow.createPopup()method.
Release note
Added a fully-functioning
WebSocketimplementation!Added a
window.performanceimplementation, including the basics of the High Resolution Time specification:performance.now(),performance.timeOrigin, andperformance.toJSON().Added support for all of the public API of
HTMLMeterElement, except formeterEl.labels.Added the
locationbar,menubar,personalbar,scrollbars,statusbar, andtoolbarproperties toWindow.Added more properties to
window.screen:availWidth,availHeight,colorDepth, andpixelDepth. All of its properties are now getters as well.Added
window.devicePixelRatio.Added
getModifierState()toMouseEventandKeyboardEvent.Added a setter for
HTMLInputElement'sfilesproperty.Added support for the
endingsoption to theBlobconstructor.Fixed firing various event firings to have the correct default values, e.g. the properties of
MouseEventwhen usingelement.click().Fixed the firing of
popstateandhashchangeevents during fragment navigation to make them trusted events.Fixed
data:URL parsing to not include the fragment portions.Fixed all URL-accepting properties to properly perform scalar value string conversion and URL resolution.
Fixed many other small edge-case conformance issues in the API surface of various web APIs; see #2053 and #2081 for more information.
Fixed various APIs to use ASCII lowercasing, instead of Unicode lowercasing, for element and attribute names.
Fixed the encoding of a document created via
new Document()to be UTF-8.Fixed event handler properties behavior when given non-callable objects.
Increased the performance of parsing HTML documents with large numbers of sibling elements.
Removed
probablySupportsContext()andsetContext()fromHTMLCanvasElement, per spec updates.- Removed
Removed the nonstandard
window.scrollLeftandwindow.scrollTopproperties, and thewindow.createPopup()method.
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.