html-react-parser 1.4.9 → 1.4.12

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // TypeScript Version: 4.1
1
+ // TypeScript Version: 4.7
2
2
 
3
3
  import { ParserOptions } from 'htmlparser2';
4
4
  import {
@@ -1,4 +1,4 @@
1
- // TypeScript Version: 4.1
1
+ // TypeScript Version: 4.7
2
2
 
3
3
  export type Attributes = Record<string, string>;
4
4
 
@@ -1,4 +1,4 @@
1
- // TypeScript Version: 4.1
1
+ // TypeScript Version: 4.7
2
2
 
3
3
  import { DOMNode, HTMLReactParserOptions } from '..';
4
4
 
package/package.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "html-react-parser",
3
- "version": "1.4.9",
3
+ "version": "1.4.12",
4
4
  "description": "HTML to React parser.",
5
5
  "author": "Mark <mark@remarkablemark.org>",
6
6
  "main": "index.js",
7
7
  "module": "index.mjs",
8
8
  "exports": {
9
- "import": "./index.mjs",
10
- "require": "./index.js"
9
+ ".": {
10
+ "import": "./index.mjs",
11
+ "require": "./index.js"
12
+ },
13
+ "./package.json": "./package.json"
11
14
  },
12
15
  "scripts": {
13
16
  "benchmark": "node benchmark",
@@ -42,38 +45,38 @@
42
45
  ],
43
46
  "dependencies": {
44
47
  "domhandler": "4.3.1",
45
- "html-dom-parser": "1.1.1",
48
+ "html-dom-parser": "1.2.0",
46
49
  "react-property": "2.0.0",
47
50
  "style-to-js": "1.1.0"
48
51
  },
49
52
  "devDependencies": {
50
53
  "@commitlint/cli": "16.2.3",
51
54
  "@commitlint/config-conventional": "16.2.1",
52
- "@rollup/plugin-commonjs": "21.0.2",
53
- "@rollup/plugin-node-resolve": "13.1.3",
55
+ "@rollup/plugin-commonjs": "21.1.0",
56
+ "@rollup/plugin-node-resolve": "13.2.1",
54
57
  "@size-limit/preset-big-lib": "7.0.8",
55
- "@types/react": "17.0.41",
56
- "@typescript-eslint/parser": "5.15.0",
58
+ "@types/react": "18.0.6",
59
+ "@typescript-eslint/parser": "5.20.0",
57
60
  "benchmark": "2.1.4",
58
61
  "dtslint": "4.2.1",
59
- "eslint": "8.11.0",
62
+ "eslint": "8.13.0",
60
63
  "eslint-plugin-prettier": "4.0.0",
61
64
  "husky": "7.0.4",
62
65
  "jest": "27.5.1",
63
- "lint-staged": "12.3.7",
66
+ "lint-staged": "12.4.0",
64
67
  "pinst": "3.0.0",
65
- "preact": "10.6.6",
66
- "prettier": "2.6.0",
67
- "react": "17.0.2",
68
- "react-dom": "17.0.2",
68
+ "preact": "10.7.1",
69
+ "prettier": "2.6.2",
70
+ "react": "18.0.0",
71
+ "react-dom": "18.0.0",
69
72
  "rimraf": "3.0.2",
70
- "rollup": "2.70.1",
73
+ "rollup": "2.70.2",
71
74
  "rollup-plugin-terser": "7.0.2",
72
75
  "size-limit": "7.0.8",
73
- "typescript": "4.6.2"
76
+ "typescript": "4.6.3"
74
77
  },
75
78
  "peerDependencies": {
76
- "react": "0.14 || 15 || 16 || 17"
79
+ "react": "0.14 || 15 || 16 || 17 || 18"
77
80
  },
78
81
  "files": [
79
82
  "/dist",