html-react-parser 5.2.16 → 6.0.0
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 +3 -3
- package/dist/html-react-parser.js +709 -799
- package/dist/html-react-parser.js.map +1 -1
- package/dist/html-react-parser.min.js +1 -1
- package/dist/html-react-parser.min.js.map +1 -1
- package/lib/attributes-to-props.js +13 -14
- package/lib/attributes-to-props.js.map +1 -1
- package/lib/dom-to-react.js +17 -18
- package/lib/dom-to-react.js.map +1 -1
- package/lib/index.js +4 -4
- package/lib/index.js.map +1 -1
- package/lib/utilities.d.ts +1 -1
- package/lib/utilities.js +6 -8
- package/lib/utilities.js.map +1 -1
- package/package.json +34 -38
package/README.md
CHANGED
|
@@ -614,9 +614,9 @@ npm run benchmark
|
|
|
614
614
|
Output of benchmark run on MacBook Pro 2024:
|
|
615
615
|
|
|
616
616
|
```
|
|
617
|
-
html-to-react - Single x 1,
|
|
618
|
-
html-to-react - Multiple x
|
|
619
|
-
html-to-react - Complex x 54,
|
|
617
|
+
html-to-react - Single x 1,270,990 ops/sec ±0.21% (100 runs sampled)
|
|
618
|
+
html-to-react - Multiple x 522,472 ops/sec ±0.64% (94 runs sampled)
|
|
619
|
+
html-to-react - Complex x 54,028 ops/sec ±0.82% (98 runs sampled)
|
|
620
620
|
```
|
|
621
621
|
|
|
622
622
|
Run [Size Limit](https://github.com/ai/size-limit):
|