html-react-parser 5.1.5 → 5.1.7
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.
- package/esm/index.d.mts +2 -1
- package/package.json +4 -4
package/esm/index.d.mts
CHANGED
|
@@ -3,4 +3,5 @@ import HTMLReactParser from '../lib/index.js';
|
|
|
3
3
|
export * from '../lib/index.js';
|
|
4
4
|
|
|
5
5
|
// @ts-expect-error Property 'default' exists on type
|
|
6
|
-
export default HTMLReactParser.default
|
|
6
|
+
export default (HTMLReactParser.default as typeof HTMLReactParser) ??
|
|
7
|
+
HTMLReactParser;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-react-parser",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.7",
|
|
4
4
|
"description": "HTML to React parser.",
|
|
5
5
|
"author": "Mark <mark@remarkablemark.org> (https://remarkablemark.org)",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"dom"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@types/react": "18
|
|
51
|
+
"@types/react": "17 || 18",
|
|
52
52
|
"domhandler": "5.0.3",
|
|
53
53
|
"html-dom-parser": "5.0.8",
|
|
54
54
|
"react-property": "2.0.2",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@commitlint/cli": "18.6.1",
|
|
59
|
-
"@commitlint/config-conventional": "18.6.
|
|
59
|
+
"@commitlint/config-conventional": "18.6.2",
|
|
60
60
|
"@rollup/plugin-commonjs": "25.0.7",
|
|
61
61
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
62
62
|
"@rollup/plugin-terser": "0.4.4",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"preact": "10.19.4",
|
|
79
79
|
"react": "18.2.0",
|
|
80
80
|
"react-dom": "18.2.0",
|
|
81
|
-
"rollup": "4.
|
|
81
|
+
"rollup": "4.11.0",
|
|
82
82
|
"size-limit": "11.0.2",
|
|
83
83
|
"ts-jest": "29.1.2",
|
|
84
84
|
"typescript": "5.3.3"
|