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…
Security
6 advisories still affect 4.0.0
- fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tagslow · GHSA-474x-hrwr-fgx4
- fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026-26278)high · GHSA-8gc5-j5rx-235r
- fast-xml-parser has stack overflow in XMLBuilder with preserveOrderlow · GHSA-fj3w-jwp8-x2g3
Upgrading to 5.12.0 clears them.
Release by release
- New
Support PI Tags processing
- New
Support
suppressBooleanAttributesby XML Builder for attributes with valuetrue. - New
Support HTML document parsing
- New
Support external entites without DOCTYPE
- New
19 other lines we could not sort, mostly version bumps
- 4.0.0
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
esmbranch. - 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
attrMaptoattibutesin parser output whenpreserveOrder:true
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.