html-react-parser 5.0.2 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  import attributesToProps from '../lib/attributes-to-props.js';
2
2
 
3
- export default attributesToProps.default;
3
+ export default attributesToProps.default || attributesToProps;
@@ -1,3 +1,3 @@
1
1
  import domToReact from '../lib/dom-to-react.js';
2
2
 
3
- export default domToReact.default;
3
+ export default domToReact.default || domToReact;
package/esm/index.mjs CHANGED
@@ -10,4 +10,4 @@ export {
10
10
  htmlToDOM,
11
11
  } from '../lib/index.js';
12
12
 
13
- export default HTMLReactParser.default;
13
+ export default HTMLReactParser.default || HTMLReactParser;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-react-parser",
3
- "version": "5.0.2",
3
+ "version": "5.0.3",
4
4
  "description": "HTML to React parser.",
5
5
  "author": "Mark <mark@remarkablemark.org>",
6
6
  "main": "./lib/index.js",