unstale

npm / html-react-parser

html-react-parser

What changed in html-react-parser 2 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

2 breaking1 security5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

html-react-parser 65 changes

Security 1

  • Adds CSP support through the trustedTypePolicy option.

    6.1.0release notes

Fixes and other changes 4

  • Style attributes are converted case-insensitively.

    6.1.9release notes

  • Restores instanceof Text and Comment checks in the replace callback.

    6.1.8release notes

  • Requiring the package no longer throws ERR_REQUIRE_ESM_RACE_CONDITION.

    6.1.7release notes

  • Normalizes the exported DOM element class.

    6.1.1release notes

html-react-parser 52 changes

Breaking changes 1

  • CommonJS imports require accessing the default export through the .default key.

    5.0.0release notes

Fixes and other changes 1

  • The ESM import now specifies an explicit file extension.

    5.2.15release notes

html-react-parser 21 changes

Breaking changes 1

  • Internet Explorer support was removed, so developers can no longer rely on html-react-parser supporting IE.

    2.0.0release notes