html-react-parser 5.0.7 → 5.0.8

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -387,7 +387,8 @@ parse('<br>', {
387
387
 
388
388
  ### htmlparser2
389
389
 
390
- > **Warning**: `htmlparser2` options _**do not** work on the client-side_ (browser) and the options _**only work** on the server-side_ (Node.js). By overriding the options, it could cause universal rendering to break.
390
+ > [!WARNING]
391
+ > `htmlparser2` options _**do not** work on the client-side_ (browser) and the options _**only work** on the server-side_ (Node.js). By overriding the options, it could cause universal rendering to break.
391
392
 
392
393
  Default [htmlparser2 options](https://github.com/fb55/htmlparser2/wiki/Parser-options#option-xmlmode) can be overridden in >=[0.12.0](https://github.com/remarkablemark/html-react-parser/tree/v0.12.0).
393
394
 
@@ -534,7 +535,8 @@ const options = {
534
535
  parse('<CustomElement>', options); // React.createElement('CustomElement')
535
536
  ```
536
537
 
537
- > **Warning**: By preserving case-sensitivity of the tags, you may get rendering warnings like:
538
+ > [!WARNING]
539
+ > By preserving case-sensitivity of the tags, you may get rendering warnings like:
538
540
  >
539
541
  > ```
540
542
  > Warning: <CustomElement> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-react-parser",
3
- "version": "5.0.7",
3
+ "version": "5.0.8",
4
4
  "description": "HTML to React parser.",
5
5
  "author": "Mark <mark@remarkablemark.org>",
6
6
  "main": "./lib/index.js",
@@ -53,7 +53,7 @@
53
53
  ],
54
54
  "dependencies": {
55
55
  "domhandler": "5.0.3",
56
- "html-dom-parser": "5.0.4",
56
+ "html-dom-parser": "5.0.5",
57
57
  "react-property": "2.0.2",
58
58
  "style-to-js": "1.1.10"
59
59
  },
@@ -64,28 +64,28 @@
64
64
  "@rollup/plugin-node-resolve": "15.2.3",
65
65
  "@rollup/plugin-terser": "0.4.4",
66
66
  "@rollup/plugin-typescript": "11.1.5",
67
- "@size-limit/preset-big-lib": "11.0.0",
67
+ "@size-limit/preset-big-lib": "11.0.1",
68
68
  "@types/benchmark": "2.1.5",
69
- "@types/jest": "29.5.10",
70
- "@types/react": "18.2.41",
71
- "@types/react-dom": "18.2.17",
72
- "@typescript-eslint/eslint-plugin": "6.13.1",
73
- "@typescript-eslint/parser": "6.13.1",
69
+ "@types/jest": "29.5.11",
70
+ "@types/react": "18.2.45",
71
+ "@types/react-dom": "18.2.18",
72
+ "@typescript-eslint/eslint-plugin": "6.14.0",
73
+ "@typescript-eslint/parser": "6.14.0",
74
74
  "benchmark": "2.1.4",
75
- "eslint": "8.55.0",
75
+ "eslint": "8.56.0",
76
76
  "eslint-plugin-prettier": "5.0.1",
77
77
  "husky": "8.0.3",
78
78
  "jest": "29.7.0",
79
79
  "jest-environment-jsdom": "29.7.0",
80
80
  "lint-staged": "15.2.0",
81
81
  "pinst": "3.0.0",
82
- "preact": "10.19.2",
82
+ "preact": "10.19.3",
83
83
  "react": "18.2.0",
84
84
  "react-dom": "18.2.0",
85
- "rollup": "4.6.1",
86
- "size-limit": "11.0.0",
85
+ "rollup": "4.9.1",
86
+ "size-limit": "11.0.1",
87
87
  "ts-jest": "29.1.1",
88
- "typescript": "5.3.2"
88
+ "typescript": "5.3.3"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "react": "0.14 || 15 || 16 || 17 || 18"