html-react-parser

📝 HTML to React parser.

MIT License

Downloads
6.7M
Stars
2K
Committers
36

Bot releases are hidden (Show)

html-react-parser -

Published by remarkablemark over 4 years ago

0.11.0 (2020-06-02)

Features

html-react-parser -

Published by remarkablemark over 4 years ago

0.10.5 (2020-05-26)

Tests

  • html-to-react: tidy and organize tests in html-to-react.js (8dfbfe0)

Build System

  • package: add missing peerDependency typescript (91fb693)
  • package: upgrade devDependencies (b2dc83b)
  • rollup: upgrade rollup, consolidate config, remove cross-env (55b2b4e)
html-react-parser -

Published by remarkablemark over 4 years ago

0.10.4 (2020-05-25)

Tests

  • attributes-to-props: test that CSS comment is not parsed (0c27987)
  • dom-to-react: tidy tests and add case for single node replace (452f6be)
  • tidy tests, replace assert.equal with assert.strictEqual (ef04eff)
html-react-parser -

Published by remarkablemark over 4 years ago

0.10.3 (2020-03-28)

Bug Fixes

  • update .d.ts docstrings (bae05c0)
  • use JSX.Element for type definitions (d8e2ada)
html-react-parser -

Published by remarkablemark over 4 years ago

0.10.2 (2020-03-13)

Bug Fixes

  • index: add default export for parser (6259959)

Tests

  • html-to-react: add test to ensure default export for parser (efba1d4)
  • html-to-react: have a stronger assert (064f0df)
html-react-parser -

Published by remarkablemark over 4 years ago

0.10.1 (2020-02-08)

Bug Fixes

  • index: make replace property optional in index.d.ts (801512b), closes #134
html-react-parser -

Published by remarkablemark over 4 years ago

0.9.1 (2019-07-09)

Build System

  • replace webpack with rollup in order to optimize bundle (a04ef27)
  • index: fix rollup error of mixing named and default exports (230de70)
html-react-parser -

Published by remarkablemark over 4 years ago

0.9.0 (2019-07-09)

Bug Fixes

  • attributes-to-props: handle attr named after Object properties (3f857bb)

Build System

  • package: update react-property to 1.0.1 (26ebef9)

Features

  • attributes-to-props: check for overloaded boolean values (1151cfb)
  • attributes-to-props: replace react-dom with react-property (d6274b9), closes #107

Tests

  • attributes-to-props: improve test names (17fbdfd)
html-react-parser -

Published by remarkablemark over 4 years ago

0.8.1 (2019-07-03)

Tests

  • html-to-react: update variable name to fix test (73237dd)
html-react-parser -

Published by remarkablemark over 4 years ago

0.8.0 (2019-06-24)

Bug Fixes

  • attributes-to-props: fix lint error no-prototype-builtins (fa66dfc)

Build System

  • package: refactor webpack config and generate sourcemap (5dd4f07)
  • package: rename npm script cover to test:cover (7d806c8)
  • package: update [email protected] and devDependencies (b39ac53)
  • package: update dependencies and devDependencies (8765ea9)
  • package: update dependency style-to-object to 0.2.3 (c2cc2ec)

Features

  • dom-to-react: skip and do not parse content (1fb5ee2)

Tests

  • html-to-react: add test that verifies domToReact is exported (320c364)
  • verify invalid style for attributesToProps throws an error (b97f2e1)
html-react-parser -

Published by remarkablemark over 4 years ago

0.7.1 (2019-05-27)

html-react-parser -

Published by remarkablemark over 4 years ago

0.7.0 (2019-04-05)

Bug Fixes

  • coveralls: moved dtslint tests to lint folder (306fceb)
  • types: html-dom-parser > html-react-parser (438b9af)

Features

  • types: add lib/dom-to-react declaration (27ed8b6)
html-react-parser -

Published by remarkablemark over 4 years ago

0.6.4 (2019-03-29)

Bug Fixes

  • dom-to-react: allow custom keys for replacement (abf20a2)
  • dom-to-react: fix typos in the test (4eec53e)
html-react-parser -

Published by remarkablemark over 4 years ago

0.6.3 (2019-03-19)

Bug Fixes

  • typescript: test.tsx after dtslint run (38e6bba)
html-react-parser -

Published by remarkablemark over 4 years ago

0.6.2 (2019-03-07)

html-react-parser -

Published by remarkablemark over 4 years ago

0.6.1 (2019-01-03)

Bug Fixes

  • utilities: allow numbers in custom style names (5a6600f)
html-react-parser -

Published by remarkablemark over 4 years ago

0.6.0 (2018-12-17)

Features

  • utilities: add support for custom styles beginning with "--*" (2c0a9dc)
html-react-parser -

Published by remarkablemark over 4 years ago

0.5.0 (2018-12-16)

Bug Fixes

  • attributes-to-props: undo default function parameter (1017b25)

Features

  • support custom elements in React 16 (7b2c5a8)
html-react-parser -

Published by remarkablemark over 4 years ago

0.4.7 (2018-09-14)

html-react-parser -

Published by remarkablemark over 4 years ago

0.4.6 (2018-05-13)

Bug Fixes

  • accidentally left a console (953e564)
  • added test case for viewBox (261ffb7)
  • moving svg mock to correct place (6ffb148)
  • svg attributes now correctly handled (94643e1)
Package Rankings
Top 0.89% on Npmjs.org
Badges
Extracted from project README's
NPM NPM version Bundlephobia minified + gzip Build Status codecov NPM downloads Discord Code Contributors Financial Contributors - Individuals Financial Contributors - Organization 0 Financial Contributors - Organization 1 Financial Contributors - Organization 2 Financial Contributors - Organization 3 Financial Contributors - Organization 4 Financial Contributors - Organization 5 Financial Contributors - Organization 6 Financial Contributors - Organization 7 Financial Contributors - Organization 8 Financial Contributors - Organization 9
Related Projects