Packages

fast-xml-parser

5.12.1 · 13 Nov 2026MIT118.5M / weekRepositoryHomepagenpmAtom feed

Upgrading fast-xml-parser From 3.21.1 to 4.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.21.1Clears its 3 advisories5.12.0Latest5.12.1
The note of 4.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 3.21.1yours
  2. 4.0.0target
  3. 8 pre
?
changes to make
0
advisories fixed
9
new
8
fixes

Security

Release by release

  1. 4.0.0

    6 Jan 20229 new · 8 fixes
    • New

      Support PI Tags processing

    • New

      Support suppressBooleanAttributes by XML Builder for attributes with value true.

    • New

      Support HTML document parsing

    • New

      Support external entites without DOCTYPE

19 other lines we could not sort, mostly version bumps
  • Generating different combined, parser only, builder only, validator only browser bundles

    4.0.0
  • Keeping cjs modules as they can be imported in cjs and esm modules both. Otherwise refer esm branch.

    4.0.0
  • Call tagValueProcessor for stop nodes

    4.0.0
  • XML Builder should suppress unpaired tags by default.

    4.0.0
  • Documents update for missing features

    4.0.0
  • Refactoring to use Object.assign

    4.0.0
  • Refactoring to remove repeated code

    4.0.0
  • Skip stop nodes parsing when building the XML from JS object

    4.0.0
  • Update dev dependency: strnum v1.0.5 to fix long number issue

    4.0.0
  • Rename attrMap to attibutes in parser output when preserveOrder:true

    4.0.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.