npm jsdom 27.0.0-beta.1
Version 27.0.0-beta.1

latest releases: 27.0.0-beta.3, 27.0.0-beta.2
4 months ago

Breaking changes:

  • Node.js v20+ is now the minimum supported version.
  • The user agent stylesheet is now derived from the HTML Standard, instead of from Chromium. This might change the results you see from getComputedStyle().
  • The virtual console has seen a number of changes:
    • "jsdomError" events are now documented, with specific type properties and other properties that depend on the type.
    • sendTo() was renamed to forwardTo().
    • The jsdomErrors option to sendTo() can be used to control which errors are sent to the Node.js console. This replaces the previous omitJSDOMErrors boolean option.
    • "jsdomError"s for failed XMLHttpRequest fetches are no longer emitted.
    • The values that are printed when forwarding "jsdomError"s to the Node.js console are streamlined.

Other changes:

  • Fixed the ElementInternals accessibility getters and setters. (They were introduced in v23.1.0, but due to inadequate test coverage never actually worked.)
  • Fixed using Object.defineProperty() on certain objects, such as HTMLSelectElement instances.

Don't miss a new jsdom release

NewReleases is sending notifications on new releases.