Packages

jsdom

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

Your version

11.3.0

30 Sep 2017Where it was published

11.12.0 is the newest release of 11.x.

In short

4 new11 fixed3 changed

Release note

For this release we'd like to formally welcome @TimothyGu to the core team, as a prolific contributor. He will join the illustrious ranks of those who do so much work on jsdom that we no longer note their names in the changelog.

  • Added table.tHead, table.tFoot, and table.caption setters, and the table.createTBody() method.

  • Added CompositionEvent and WheelEvent classes.

  • Added a <details> element implementation.

  • Added stub <marquee> and <picture> element implementations.

  • Updated uiEvent.initUIEvent(), keyboardEvent.initKeyboardEvent(), and mouseEvent.initiMouseEvent() to match the latest specifications.

  • Converted DOMTokenList (used by, e.g., element.classList) to use proxies for improved specification compliance and "liveness".

  • Fixed the DOMException class to be spec-compliant, including its constructor signature.

  • Fixed some subtle interactions between inline event handlers and other event listeners.

  • Fixed the element interface used when creating many of the more obscure elements.

  • Fixed the behavior of the table.rows getter, and the table.createCaption() and table.deleteRow() methods.

  • Fixed incorrect sharing of methods between interfaces that used mixins (e.g. previously document.querySelector === documentFragment.querySelector, incorrectly).

  • Fixed FocusEvent creation, which regressed in v11.2.0.

  • Fixed UIEvent to only allow initializing with Window objects for its view property.

  • Fixed the behavior of tr.rowIndex and tr.deleteCall().

  • Fixed the element interface for <td> and <th> to be simply HTMLTableCellElement, and improved that class's spec compliance.

  • Fixed calling label.click() to not trigger the labeled control's activation behavior when the control is disabled.

  • Fixed document.getElementsByName() to return a NodeList instead of a HTMLCollection.

  • Significantly sped up synchronous XMLHttpRequest.

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.