github jsdom/jsdom v9.2.1

latest releases: v0.5.7, v8.0.4, v27.4.0...
12 hours ago
  • Fixed <input>'s selectionStart, selectionEnd, and selectionDirection getters to return null, instead of throwing, for elements that do not allow selection, per a recent spec change.
  • Fixed <base>'s href getter logic to return the attribute value instead of the empty string for unparseable URLs, per a recent spec change.
  • Fixed the referrer sent when retrieving external resources to be the document's URL, not the document's base URL.
  • Fixed suppression of all error events on window beyond the first one.
  • Fixed new URL to correctly throw for unparseable URLs, and all of URL's setters to correctly ignore invalid input instead of throwing.
  • Fixed StyleSheetList.prototype.item to return null instead of undefined for out-of-bounds indices. (@Ginden)
  • Updated cssstyle minimum version to ensure all jsdom installs (not just fresh ones) get the benefit of cssstyle's recently-better background and width setters.

Don't miss a new jsdom release

NewReleases is sending notifications on new releases.