jsdom/jsdom (jsdom)
### [`v16.6.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#1660)
[Compare Source](https://togithub.com/jsdom/jsdom/compare/16.5.3...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`](https://www.npmjs.com/package/request) package, in the process fixing several issues with the `XMLHttpRequest` implementation around header processing. Special thanks to vegardbb for completing this months-long effort!
### [`v16.5.3`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#1653)
[Compare Source](https://togithub.com/jsdom/jsdom/compare/16.5.2...16.5.3)
- Fixed infinite recursion when using `MutationObserver`s to observe elements inside a `MutationObserver` callback.
### [`v16.5.2`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#1652)
[Compare Source](https://togithub.com/jsdom/jsdom/compare/16.5.1...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 `` element.
- Fixed `domParser.parseFromString()` to treat `
This PR contains the following updates:
^11.5.1
->^16.6.0
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
jsdom/jsdom (jsdom)
### [`v16.6.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#1660) [Compare Source](https://togithub.com/jsdom/jsdom/compare/16.5.3...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`](https://www.npmjs.com/package/request) package, in the process fixing several issues with the `XMLHttpRequest` implementation around header processing. Special thanks to vegardbb for completing this months-long effort! ### [`v16.5.3`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#1653) [Compare Source](https://togithub.com/jsdom/jsdom/compare/16.5.2...16.5.3) - Fixed infinite recursion when using `MutationObserver`s to observe elements inside a `MutationObserver` callback. ### [`v16.5.2`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#1652) [Compare Source](https://togithub.com/jsdom/jsdom/compare/16.5.1...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 `` element. - Fixed `domParser.parseFromString()` to treat `