jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 27.1.0 to 27.4.0
3 releases in betweenevery note read
Release by release
- New
Added
TextEncoderandTextDecoder. - Fixed
Fixed a memory leak when
Ranges were used and then the elements referred to by those ranges were removed.
- New
27.3.0nothing new or fixed in the note
- New
Added
CSSGroupingRule,CSSNestedDeclarations,CSSConditionRule,CSSContainerRule,CSSScopeRule,CSSSupportsRule,CSSLayerBlockRule, andCSSLayerStatementRuleto jsdomWindows. - Fixed
Fixed
@import-ed stylesheets to be properly exposed to CSSOM, and not to overwrite the sheet created from the<link>or<style>element.
- New
3 other lines we could not sort, mostly version bumps
- 27.4.0
Improved decoding of HTML bytes by using the new
@exodus/bytespackage; it is now much more correct. - 27.4.0
Improved decoding of XML bytes to use UTF-8 more often, instead of sniffing for
<meta charset>or using the parent frame's encoding. - 27.3.0
Improved CSS parsing and CSSOM object APIs via updates to
@acemir/cssom.
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.