s according to recent HTML Standard updates. (ninevra) Fixed some bad cascade computation in getComputedStyle(). (romain-trotard) Version 16.6.0 Added parentNode.replaceChildren(). (@​ninevra) Fixed jsdom's handling of when code running inside the jsdom throws null or undefined as an exception. (@​mbest) Removed the dependency on the deprecated request package, in the process fixing several issues with the XMLHttpRequest implementation around header processing. Thanks go to @​tobyhinloopen, @​andrewaylett, and especially @​vegardbb, for completing this months-long effort! Version 16.5.3 Fixed infinite recursion when using MutationObservers to observe elements inside a MutationObserver callback. Version 16.5.2 Fixed Access-Control-Allow-Headers: * to work with XMLHttpRequest. (silviot) Fixed xhr.response to strip any leading BOM when xhr.responseType is "json". Fixed new Text() and new Comment() constructors to properly set the resulting node's ownerDocument. Fixed customElements.whenDefined() to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss) Fixed parsing to ensure that \ does not throw an exception, but instead correctly produces a SVG-namespace \