Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

html-react-parser

HTML to React parser.
Collective - Host: opensource - https://opencollective.com/html-react-parser - Website: https://b.remarkabl.org/html-react-parser - Code: https://github.com/remarkablemark/html-react-parser

Merge pull request #28 from remarkablemark/html-to-dom

Replace HTML to DOM implementation with `html-dom-parser` package

github.com/remarkablemark/html-react-parser - 310f45e0602665a71905b18aaa2811f93e34e982 authored about 8 years ago by Mark <[email protected]>
Update README with `html-dom-parser` and tidy up special thanks

Replace `htmlparser2` with `html-dom-parser` link and tidy up
other parts.

github.com/remarkablemark/html-react-parser - e207d62a155857131488c0ed93148b4fe4b563ad authored about 8 years ago by Mark <[email protected]>
Rename test mocks file and update tests

- Rename `test/data.json` to `test/helpers/mocks.json`
- Require mocks in test helpers index
- A...

github.com/remarkablemark/html-react-parser - 07c6847ce4b36ac1ecf2a7d5596752b93aabccfe authored about 8 years ago by Mark <[email protected]>
Update tests to use `html-dom-parser` and prune unused helpers

Fix broken requires in tests now that `lib/html-to-dom-server.js`
and `lib/html-to-dom-client.js...

github.com/remarkablemark/html-react-parser - 0dd9a7d1d212a2423d337a55ccc1c72922355f38 authored about 8 years ago by Mark <[email protected]>
Replace HTML to DOM implementation with `html-dom-parser` package

The HTML to DOM parser has been externalized to its own package.

Save to dependencies:
- html-d...

github.com/remarkablemark/html-react-parser - c1832a7c94076ddf0e0f7d709f411e9e1c86aabe authored about 8 years ago by Mark <[email protected]>
Change `Error` to `TypeError` and update tests

Change generic JavaScript `Error` object to more specific
`TypeError`:

- https://nodejs.org/api...

github.com/remarkablemark/html-react-parser - 40fec9d3eadf6d04609aadf724bfce20e5055c18 authored over 8 years ago by Mark <[email protected]>
Bump version to 0.0.7

- Update build (#25):
- Change filenames in `dist/` to `html-react-parser`
- Create examples (...

github.com/remarkablemark/html-react-parser - f153f5b4d524a2ce4673908e51b111095d6a3240 authored over 8 years ago by Mark <[email protected]>
Merge pull request #27 from remarkablemark/chore-readme

Tidy README instructions and examples

github.com/remarkablemark/html-react-parser - c7bfd40d5d43c3c66a73ce49479f5307c9f555ae authored over 8 years ago by Mark <[email protected]>
Merge pull request #26 from remarkablemark/examples

Add examples

github.com/remarkablemark/html-react-parser - cfffc97fe9becfbe797b374bee3f72de892eb97f authored over 8 years ago by Mark <[email protected]>
Update README advanced example for replace options

Trim the fat and keep the example super concise and readable.
Refactor example to ES6 and JSX.

github.com/remarkablemark/html-react-parser - b89ca5b938c879697ee32551b92a34a8636acf9e authored over 8 years ago by Mark <[email protected]>
Tidy README replace options and its simple example

Make instructions clearer; simplifying examples by removing
unnecessary parts and rewriting them...

github.com/remarkablemark/html-react-parser - a8de45763cba02de345f75f94e807ae85cb18bc3 authored over 8 years ago by Mark <[email protected]>
Tidy README usage examples

Separate the examples into their own code blocks. Rewrite in ES6
syntax for cleanliness and read...

github.com/remarkablemark/html-react-parser - 5465d8f2f96ee9cffbb6a0c61057735584a3c361 authored over 8 years ago by Mark <[email protected]>
Update README installation instructions with CDN script

Also add examples link.

github.com/remarkablemark/html-react-parser - cab1472c4e61a2265f02bbe046ce93007bb1b1b0 authored over 8 years ago by Mark <[email protected]>
Reword README beginning

Make explanations/examples clearer, trim fat, and add hyperlinks.

github.com/remarkablemark/html-react-parser - 5a5e6cf420f2ee73961abff1a685b82a4668c0d6 authored over 8 years ago by Mark <[email protected]>
Add `examples` to `.npmignore`

github.com/remarkablemark/html-react-parser - e48a9f05626cbe3fc6fbc0ebd7f078e6658b0a63 authored over 8 years ago by Mark <[email protected]>
Add example of loading the parser with Require.js (AMD)

Create an HTML file in `./examples/ that loads the parser and
React with Require.js

github.com/remarkablemark/html-react-parser - 361c198591f31ec6c932b48d5c6224abcf44d391 authored over 8 years ago by Mark <[email protected]>
Add example of loading the parser with a script tag

- Create directory `./examples/`
- Create HTML file in `./examples/` with a working example of
...

github.com/remarkablemark/html-react-parser - 9f58ef2dd93450b54acec119769e389725e931ab authored over 8 years ago by Mark <[email protected]>
Merge pull request #25 from remarkablemark/chore-build

Rename dist filenames and add webpack to `.npmignore`

github.com/remarkablemark/html-react-parser - 43f46ce8ef5b758e510ce07dccc9a91384bf75a8 authored over 8 years ago by Mark <[email protected]>
Add `webpack.config.js` to `.npmignore`

github.com/remarkablemark/html-react-parser - 6747cd4e980b4eb145a8071b58af7cf5c08f55be authored over 8 years ago by Mark <[email protected]>
Change dist filenames to `html-react-parser` (npm build tasks)

github.com/remarkablemark/html-react-parser - 79d00d0f2a834159d49e2cb2c444798460e302be authored over 8 years ago by Mark <[email protected]>
Bump version to 0.0.6

- Update README (#17 and #21):
- Improve documentation of `replace` option with the help of
...

github.com/remarkablemark/html-react-parser - 56016066b3d739e7500383ae4544107dd9de25e8 authored over 8 years ago by Mark <[email protected]>
Merge pull request #24 from remarkablemark/bug-client-parser

Fix regex bug on client parser

github.com/remarkablemark/html-react-parser - 0bc51e0bac0fc1aaea8e9bb08abe9a0640a810ee authored over 8 years ago by Mark <[email protected]>
Add test to ensure client-side parser works with `DOMParser`

Confirm that for the client parser, if the first HTML element has
attributes, it should properly...

github.com/remarkablemark/html-react-parser - 1bd17dde394ec4852acd96114b8c4552ee329063 authored over 8 years ago by Mark <[email protected]>
Fix error for client-side parser by improving regex

For the client parser, when the first element of the HTML string
has attributes, the regex will ...

github.com/remarkablemark/html-react-parser - 2dfffb37cb7c590a3c46ada41fa59e876070124a authored over 8 years ago by Mark <[email protected]>
Merge pull request #22 from remarkablemark/webpack

Use webpack to build UMD bundle

github.com/remarkablemark/html-react-parser - 646b4a8391192e75c520118d1412e667e06314ef authored over 8 years ago by Mark <[email protected]>
Create npm prepublish script that builds the bundles before publish

Build the unminified and minified client-side bundles before
publish.

github.com/remarkablemark/html-react-parser - 22453d0710e661f7dae75b88d175426affd8560d authored over 8 years ago by Mark <[email protected]>
Optimize webpack build with NODE_ENV and plugin

Remove branches where `process.env.NODE_ENV !== "production"`
especially for React.

github.com/remarkablemark/html-react-parser - 6495a8eddc9e20865f9ffd1117ca07967b8a8b53 authored over 8 years ago by Mark <[email protected]>
Create npm build scripts that use webpack to build UMD bundle

npm scripts:
- build (unminified UMD bundle)
- build-min (minified UMD bundle)

`webpack.config....

github.com/remarkablemark/html-react-parser - 626d411ac815e9d11d36a6ef39466a10231267f9 authored over 8 years ago by Mark <[email protected]>
Refactor `index.js` to let webpack handle UMD build

github.com/remarkablemark/html-react-parser - bc66407ccced4c450f3158cde2a1c426ed441d37 authored over 8 years ago by Mark <[email protected]>
Update .gitignore with `dist` directory

github.com/remarkablemark/html-react-parser - 3ae836a75521fddcada3d3f2d5c32a72d16b7f45 authored over 8 years ago by Mark <[email protected]>
Create webpack.config.js

Follow standard config:
https://webpack.github.io/docs/configuration.html

Export to `./dist/htm...

github.com/remarkablemark/html-react-parser - 8644c1c635f54c10ad693a88206989454ef7dee2 authored over 8 years ago by Mark <[email protected]>
Save `webpack` to "devDependencies"

github.com/remarkablemark/html-react-parser - f1e3c2a1b0dfaa64871092a2502553dce9a61961 authored over 8 years ago by Mark <[email protected]>
Update MIT license header

Follow example: https://opensource.org/licenses/MIT

github.com/remarkablemark/html-react-parser - 1774d2cadc77b7772c3c36f8038ab20cec042816 authored over 8 years ago by Mark <[email protected]>
Merge pull request #21 from remarkablemark/chore-readme

Tidy and reword README for readability and add contributors

github.com/remarkablemark/html-react-parser - 9556e4fa1c10a1ebfb16ac7a220e089b84b86c07 authored over 8 years ago by Mark <[email protected]>
Tidy and reword README for readability and add contributors

- Try to follow the 80 column rule for readability.
- Reword sentences to make them more underst...

github.com/remarkablemark/html-react-parser - 71e3de4867e0c26a673bef61b227d6ea4aafce70 authored over 8 years ago by Mark <[email protected]>
Merge pull request #17 from poacher2k/master

Update README with advanced usage of `replace` method

github.com/remarkablemark/html-react-parser - 9241f1bb93da4eebe165eb3a921721669644d6ba authored over 8 years ago by Mark <[email protected]>
Updates README with advanced usage of the `replace` method

Keeping child nodes that in turn gets parsed recursively.

github.com/remarkablemark/html-react-parser - 6a664de47fbca9b023b4cfaca1801e03c712019d authored over 8 years ago by Daniel Skogly (poacher2k) <[email protected]>
Bump version to 0.0.5

- Fix parsing of <script> and <style> tags (#20)
- Remove `key` parameter in `replace` method an...

github.com/remarkablemark/html-react-parser - 11770d942ec0cbee3e9033b6bc14f881c7a03a8f authored over 8 years ago by Mark <[email protected]>
Merge pull request #20 from remarkablemark/bug-script-style

Fix parsing of <script> and <style> tags

github.com/remarkablemark/html-react-parser - 020973e119eb4d09c954f59acc2505fc2ba0f72b authored over 8 years ago by Mark <[email protected]>
Fix parsing of <script> and <style> tags

- Ensure empty <script> tag is converted to a React element and
not an empty array `[]`
- Add ...

github.com/remarkablemark/html-react-parser - 9170e9235770d8f5162984979fbbe77e5bed9c72 authored over 8 years ago by Mark <[email protected]>
Merge pull request #18 from remarkablemark/remove-replace-key

Remove `key` parameter from `replace` and use `React.cloneElement` instead

github.com/remarkablemark/html-react-parser - 7522a0aca4a023f99c4b71564fed725f7c665848 authored over 8 years ago by Mark <[email protected]>
Update ESLint rule for `no-unused-vars`

Check all variables for usage but do not check function arguments.

github.com/remarkablemark/html-react-parser - 26e4e7c84948a58f851a86fb3bc2abc9d63448aa authored over 8 years ago by Mark <[email protected]>
Update README with the `key` parameter in `replace` removed

github.com/remarkablemark/html-react-parser - e18cf81238e17ef70c1e9dedbefe181fde7e8f4f authored over 8 years ago by Mark <[email protected]>
Remove `key` parameter from `replace` and use `React.cloneElement`

The previous implementation was to pass the `key` as the 2nd
parameter in `replace` method and f...

github.com/remarkablemark/html-react-parser - b86a3500cfe62d304a4d5ef744d6ad3675b20f6f authored over 8 years ago by Mark <[email protected]>
Bump version to 0.0.4

- Fix void element bug (#14)
- Void elements like <img> should not have any children
(even...

github.com/remarkablemark/html-react-parser - ddd289bfca6228eb67b6c70382d935da8583951c authored over 8 years ago by Mark <[email protected]>
Merge pull request #16 from remarkablemark/bug-void-element

Fix void element bug and add `key` parameter to `replace` method

github.com/remarkablemark/html-react-parser - 20177ee68eb088010e013ccf9af723a2a7851b9a authored over 8 years ago by Mark <[email protected]>
Update README with better documentation on `replace` method

Add new parameter `key` and update examples.

github.com/remarkablemark/html-react-parser - e3c91acc3a0718a49d442181546fe0baff9645ed authored over 8 years ago by Mark <[email protected]>
Update `replace` method with additional `key` parameter

The `replace` method now has 2 parameters:
1. domNode - The object describing the DOM node.
2. k...

github.com/remarkablemark/html-react-parser - 226cc15285e9b1f68c57e5f269a4891a19bced1b authored over 8 years ago by Mark <[email protected]>
Refactor tests by moving `render` function into helpers

`render` is an alias for `ReactDOMServer.renderToStaticMarkup`

Update `render` function to chec...

github.com/remarkablemark/html-react-parser - db39cf6922645d0f30a2e2ba656880268b86218f authored over 8 years ago by Mark <[email protected]>
Make sure `props.children` is null for void elements like <img>

The error came from the fact that `props.children` would always
be at minimum an empty array `[]...

github.com/remarkablemark/html-react-parser - 2a12730cc2a352852a8d786c95626a648fc4265a authored over 8 years ago by Mark <[email protected]>
Merge pull request #15 from remarkablemark/readme

Fix typo and add more badges to README

github.com/remarkablemark/html-react-parser - 15d92abf155ec6ee806a3efe800b45f0a4c36718 authored over 8 years ago by Mark <[email protected]>
Add badges from NodeICO, NPM, and David to README

Display npm package details:
- https://nodei.co

Display npm version:
- http://shields.io

Displ...

github.com/remarkablemark/html-react-parser - 6cd5ea60d26f9af9b3974accbb1c75a1be6ce79c authored over 8 years ago by Mark <[email protected]>
Fix typo and improve wording in README

github.com/remarkablemark/html-react-parser - 91f534094834b55d0867448940e759bcadcb2c69 authored over 8 years ago by Mark <[email protected]>
Merge pull request #13 from remarkablemark/badges

Update README with Travis and Coveralls badges

github.com/remarkablemark/html-react-parser - 23bd9289b95ec96ac0885566e4bb62002ad01895 authored over 8 years ago by Mark <[email protected]>
Update README with Travis and Coveralls badges

github.com/remarkablemark/html-react-parser - 194b5f6e1cbaa425bf7d7d617260a3c7ea8926e4 authored over 8 years ago by Mark <[email protected]>
Merge pull request #12 from remarkablemark/coveralls

Setup Istanbul and Coveralls for coverage reporting

github.com/remarkablemark/html-react-parser - dadbac74d0a9ffb3e0965af95cd8822ceac4ab2b authored over 8 years ago by Mark <[email protected]>
Integrate Coveralls with Travis

github.com/remarkablemark/html-react-parser - d2cb9f1f4bd76b4d0b62a1cf7b0b46cd1ae6ab1d authored over 8 years ago by Mark <[email protected]>
Ignore `coverage` directory

Add directory to:
- .gitignore
- .npmignore

github.com/remarkablemark/html-react-parser - e44e73980eae3f1b44ab1e1975d3b31559fc3fb1 authored over 8 years ago by Mark <[email protected]>
Create npm script that sends coverage report to Coveralls

https://coveralls.io

github.com/remarkablemark/html-react-parser - e2a9655c62c985c407683a6ad69ea7122e91a51c authored over 8 years ago by Mark <[email protected]>
Setup Istanbul as the code coverage reporter

http://gotwarlost.github.io/istanbul/

https://github.com/gotwarlost/istanbul/issues/44#issuecom...

github.com/remarkablemark/html-react-parser - 886e1d90e82189763687ac68ef71ea173924adb1 authored over 8 years ago by Mark <[email protected]>
Bump version to 0.0.3

- Make package compatible with UMD (Universal Module Definition)
- Fix bug in client parser (reg...

github.com/remarkablemark/html-react-parser - ab2b86ea68b5e70702a89290beb2eba4bacb27d2 authored over 8 years ago by Mark <[email protected]>
Merge pull request #10 from remarkablemark/html-to-dom-client

Fix HTML to DOM client parser

github.com/remarkablemark/html-react-parser - becc168a04e0901d548b8428f0611673f3bf8d64 authored over 8 years ago by Mark <[email protected]>
Throw an error if the first argument for the parser is not a string

This is to give the user gets feedback if the first argument is
invalid. Also, add tests to conf...

github.com/remarkablemark/html-react-parser - 8cd62a8058cd23818646cc6db1fdcd398abcc8bd authored over 8 years ago by Mark <[email protected]>
Fix HTML to DOM client parser

`DOMParser` was nesting certain elements (e.g., div) in `<html>`
and `body` so formatting the ch...

github.com/remarkablemark/html-react-parser - 80ca2e255f2c3833c09875b9843aa5a6f592a8a7 authored over 8 years ago by Mark <[email protected]>
Merge pull request #9 from remarkablemark/umd

UMD compatibility

github.com/remarkablemark/html-react-parser - 15cc84c333b9e253dd5955c477c855e753c7ea45 authored over 8 years ago by Mark <[email protected]>
Disable eslint warnings in UMD module `index.js`

Also add `.npmignore` file to `.npmignore`

github.com/remarkablemark/html-react-parser - f109b58c564f0bc14e1353c9eeee1f24d2634bd7 authored over 8 years ago by Mark <[email protected]>
Make package UMD (Univeral Module Definition) compatible

Wrap main logic so that it can be loaded by CommonJS (node and
bundlers like webpack), AMD (Requ...

github.com/remarkablemark/html-react-parser - 38352d9cbad0108ce02bce03736f40de2ada45d9 authored over 8 years ago by Mark <[email protected]>
Ignore `lib/html-to-dom-server` when bundling for the browser

Also, fix the require path for `html-to-dom-client` module in the
entry file `index.js`.

github.com/remarkablemark/html-react-parser - 319510936618550caa6ba1047ae48dc984164e07 authored over 8 years ago by Mark <[email protected]>
Merge pull request #5 from remarkablemark/refactor-html-to-dom

Refactor HTML to DOM modules and environment detection logic

github.com/remarkablemark/html-react-parser - 58e81ccafd62b97b333b6387565eae95a2973e1c authored over 8 years ago by Mark <[email protected]>
Refactor HTML to DOM modules and environment detection logic

Move the client/server environment detection logic to the entry
file.

Rename `lib/html-to-dom.j...

github.com/remarkablemark/html-react-parser - cfeaea538cba724d143d39ef5c4b1603518ee62e authored over 8 years ago by Mark <[email protected]>
Bump version to 0.0.2

Fix `peerDependencies` so react >=0.14 is required.

github.com/remarkablemark/html-react-parser - 22a3cc1d3d8f56222c7f820b8a5382c0e3f7df2e authored over 8 years ago by Mark <[email protected]>
Merge pull request #4 from remarkablemark/travis

Add Travis CI

github.com/remarkablemark/html-react-parser - d66db4b458e89fccfb12cccce800197ddc444495 authored over 8 years ago by Mark <[email protected]>
Ensure applicable versions of `react` are specified (package.json)

This package only supports `react` greater than or equal to
v0.14 to stay consistent with React ...

github.com/remarkablemark/html-react-parser - 8c7c7f8eb28dc43809f1291d5468dd47325838c2 authored over 8 years ago by Mark <[email protected]>
Add Travis CI

Continuous integration tool will run tests and linter and ensure
code confidence.

Also ignore `...

github.com/remarkablemark/html-react-parser - 1572b7c91736e4f737b73ebf0a2d733053f1a646 authored over 8 years ago by Mark <[email protected]>
Merge pull request #2 from remarkablemark/lint

Add ESLint and fix linting errors

github.com/remarkablemark/html-react-parser - 572f1f5d37001ff093bdc7bca37023f0c05dd2e4 authored over 8 years ago by Mark <[email protected]>
Fix linting errors

Also fix a bug in test helpers in which `util` was not required.

github.com/remarkablemark/html-react-parser - d62961ad74783e5acbb1f000636cdeaca6dbd0a7 authored over 8 years ago by Mark <[email protected]>
Add ESLint as the default linter

- Create `.eslintrc` and `.eslintignore`
- Add the above files to `.npmignore`
- Save `eslint` t...

github.com/remarkablemark/html-react-parser - 94972150c105c9045a1e853d1fc2d310be66b887 authored over 8 years ago by Mark <[email protected]>
Create .npmignore and ignore test directory

https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package

github.com/remarkablemark/html-react-parser - 9970b64fde0823e1143bc2c2fdd7db69e0f2f0e9 authored over 8 years ago by Mark <[email protected]>
Update README wording again and give thanks to reviewers

github.com/remarkablemark/html-react-parser - 4cd0b298deacb567b71c3fff62636af89b2afa89 authored over 8 years ago by Mark <[email protected]>
Update README with better explanations and descriptions

github.com/remarkablemark/html-react-parser - dd3f34f3b5a750e7b2c45f362ebb2c0c844d6fa2 authored over 8 years ago by Mark <[email protected]>
Update README with an example usage of the `replace` option

github.com/remarkablemark/html-react-parser - 4ce37b0f782be04b7b4931a08779f08b341d1054 authored over 8 years ago by Mark <[email protected]>
Update README with usage examples

github.com/remarkablemark/html-react-parser - 7bcff2a2d4da075740f9264f77e5e1b57814017f authored over 8 years ago by Mark <[email protected]>
Add `repository` and `bugs` fields to package.json

github.com/remarkablemark/html-react-parser - d03d5c8b3a126b2412f423450299755aa03f3011 authored over 8 years ago by Mark <[email protected]>
Update README with installation, testing, and license information

github.com/remarkablemark/html-react-parser - e9bd7f7749678d72c57228788741890fdf492a3a authored over 8 years ago by Mark <[email protected]>
Add the `browser` field in package.json as a hint to bundlers

The `browser` field in `package.json` will tell JavaScript
bundlers like browserify and webpack ...

github.com/remarkablemark/html-react-parser - 2587326e2736ff510f32a5fdf20cf1678f4b9633 authored over 8 years ago by Mark <[email protected]>
Update HTML to DOM parser to detect environment (browser vs node)

- In node/server, use `htmlparser2` and `domhandler`
- In browser/client, use the DOM API that's...

github.com/remarkablemark/html-react-parser - e7ee263e9a4a8d43737d1abf75a6d9d095c43093 authored over 8 years ago by Mark <[email protected]>
Add tests for HTML to DOM parsing on the client

- Organize Mocha tests to differentiate between environments
(node versus browser)
- Add tests...

github.com/remarkablemark/html-react-parser - 26213ba2c40f1bcbda3b3efc8e8fbb61cc7525a4 authored over 8 years ago by Mark <[email protected]>
Create test helper that does deepEqual for circular references

Since the objects returned by `htmlparser2.parseDOM` have circular
references, this makes `asser...

github.com/remarkablemark/html-react-parser - 954a96492fa45d81d5cf7c9bfd2021a835d7e4a7 authored over 8 years ago by Mark <[email protected]>
Create HTML to DOM helper for the client/browser

The original HTML to DOM helper works in the node environment
and it depends on both `htmlparser...

github.com/remarkablemark/html-react-parser - bde933e449e132369f185d6ac9d84cb04218fa76 authored over 8 years ago by Mark <[email protected]>
Add optional replace override to parser

Update `domToReact` and `htmlToReact` to have a second and optional
argument which is an object ...

github.com/remarkablemark/html-react-parser - c7af9a9abd8c96e05adad854e42b251d25a2fd1e authored over 8 years ago by Mark <[email protected]>
Add tests for SVG to React conversion

github.com/remarkablemark/html-react-parser - 006d5c27c3f289ab266e0b848909397155fcadb4 authored over 8 years ago by Mark <[email protected]>
Skip HTML comments when converting DOM nodes to React

- Update `domToReact` to skip if node is not "tag" or "text"
- This ensures that HTML comments a...

github.com/remarkablemark/html-react-parser - 889623ed51d7876c63dc0522a9d7bfa1fc962a01 authored over 8 years ago by Mark <[email protected]>
Add tests for HTML to React

In the tests, use the parser to convert HTML string to React
elements and then use ReactDOMServe...

github.com/remarkablemark/html-react-parser - 9e22732adac93c25a1ebc2aaf18cc131838be3c8 authored over 8 years ago by Mark <[email protected]>
Use attributes to props helper in DOM to React parser

github.com/remarkablemark/html-react-parser - a1c8f2dc9ecd6505c012e373c235df93974e1633 authored over 8 years ago by Mark <[email protected]>
Add optional override feature in invert object utility helper

In utilities, `invertObject` can now take an optional 2nd parameter
which is an override functio...

github.com/remarkablemark/html-react-parser - 78a6f84d4811cebcd68820385d85e7e29a8c1d30 authored over 8 years ago by Mark <[email protected]>
Create main module that converts HTML to React

- The module will take an HTML string and return a React element
or an array of React elements...

github.com/remarkablemark/html-react-parser - 8b75b57d5aad0e6a579f2d22e9c15749bb1bb653 authored over 8 years ago by Mark <[email protected]>
Update attributes to props helper to handle SVG props

The property config originally only had the HTML DOM property
config. Updated the property confi...

github.com/remarkablemark/html-react-parser - bae093ba38c12b0c31b0233f6e0990e51b03a7b4 authored over 8 years ago by Mark <[email protected]>
Update invert object utility helper to swap only if value is string

- The helper will no longer throw an error if the object isn't
flat
- Update utilities tests a...

github.com/remarkablemark/html-react-parser - 376d22967725e07bf152a209c13c882962ac5e30 authored over 8 years ago by Mark <[email protected]>
Tidy and organize tests for attributes to props helper

Organize tests with comments and describe blocks.

github.com/remarkablemark/html-react-parser - 8b1c50ead49701e9e46861c2f2d0107b7da478e6 authored over 8 years ago by Mark <[email protected]>
Create tests for `camelCase` utility helper

github.com/remarkablemark/html-react-parser - 6834026f31229ac894bbbb1b44f40ab3016a3945 authored over 8 years ago by Mark <[email protected]>