jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 16.5.1 to 16.5.2
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 12
- fixes
Release by release
- Fixed
Fixed
Access-Control-Allow-Headers: *to work withXMLHttpRequest. - Fixed
Fixed
xhr.responseto strip any leading BOM whenxhr.responseTypeis"json". - Fixed
Fixed
new Text()andnew Comment()constructors to properly set the resulting node'sownerDocument. - Fixed
Fixed
customElements.whenDefined()to resolve its returned promise with the custom element constructor, per recent spec updates.
- Fixed
1 other line we could not sort, mostly version bumps
- 16.5.2
On Node.js v14.6.0+ where
WeakRefs are available, fixedNodeIteratorto no longer stop working when more than tenNodeIteratorinstances are created, and to use less memory due to inactiveNodeIterators sticking around.
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.