Packages

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

Other targets from 27.1.0Latest31.0.1
0
changes to make
0
advisories fixed
2
new
2
fixes

Release by release

  1. 27.4.0

    26 Dec 20251 new · 1 fix
    • New

      Added TextEncoder and TextDecoder.

    • Fixed

      Fixed a memory leak when Ranges were used and then the elements referred to by those ranges were removed.

  2. 27.3.0nothing new or fixed in the note

  3. 27.2.0

    12 Nov 20251 new · 1 fix
    • New

      Added CSSGroupingRule, CSSNestedDeclarations, CSSConditionRule, CSSContainerRule, CSSScopeRule, CSSSupportsRule, CSSLayerBlockRule, and CSSLayerStatementRule to jsdom Windows.

    • Fixed

      Fixed @import-ed stylesheets to be properly exposed to CSSOM, and not to overwrite the sheet created from the <link> or <style> element.

3 other lines we could not sort, mostly version bumps
  • Improved decoding of HTML bytes by using the new @exodus/bytes package; 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.4.0
  • Improved CSS parsing and CSSOM object APIs via updates to @acemir/cssom.

    27.3.0

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.