html-react-parser 5.1.0 → 5.1.1
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/README.md +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -207,7 +207,7 @@ parse('<br>', {
|
|
|
207
207
|
```
|
|
208
208
|
|
|
209
209
|
> [!NOTE]
|
|
210
|
-
> The index will restart at 0 when traversing the node's children so don't rely on index being a unique key.
|
|
210
|
+
> The index will restart at 0 when traversing the node's children so don't rely on index being a unique key. See [#1259](https://github.com/remarkablemark/html-react-parser/issues/1259#issuecomment-1889574133).
|
|
211
211
|
|
|
212
212
|
#### replace with TypeScript
|
|
213
213
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-react-parser",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "HTML to React parser.",
|
|
5
5
|
"author": "Mark <mark@remarkablemark.org>",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"domhandler": "5.0.3",
|
|
53
|
-
"html-dom-parser": "5.0.
|
|
53
|
+
"html-dom-parser": "5.0.7",
|
|
54
54
|
"react-property": "2.0.2",
|
|
55
55
|
"style-to-js": "1.1.10"
|
|
56
56
|
},
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"preact": "10.19.3",
|
|
80
80
|
"react": "18.2.0",
|
|
81
81
|
"react-dom": "18.2.0",
|
|
82
|
-
"rollup": "4.9.
|
|
82
|
+
"rollup": "4.9.5",
|
|
83
83
|
"size-limit": "11.0.1",
|
|
84
84
|
"ts-jest": "29.1.1",
|
|
85
85
|
"typescript": "5.3.3"
|