html-react-parser 3.0.13 → 3.0.14

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.7
1
+ // TypeScript Version: 5.0
2
2
  /* eslint-disable no-undef, no-unused-vars */
3
3
 
4
4
  import {
@@ -6,9 +6,9 @@ import {
6
6
  Element,
7
7
  Node,
8
8
  ProcessingInstruction,
9
- Text,
10
- type DomHandlerOptions
9
+ Text
11
10
  } from 'domhandler';
11
+ import type { DomHandlerOptions } from 'domhandler';
12
12
  import htmlToDOM from 'html-dom-parser';
13
13
  import { ParserOptions } from 'htmlparser2';
14
14
 
@@ -1,4 +1,5 @@
1
- // TypeScript Version: 4.7
1
+ // TypeScript Version: 5.0
2
+ /* eslint-disable no-unused-vars */
2
3
 
3
4
  export type Attributes = Record<string, string>;
4
5
 
@@ -1,4 +1,5 @@
1
- // TypeScript Version: 4.7
1
+ // TypeScript Version: 5.0
2
+ /* eslint-disable no-undef, no-unused-vars */
2
3
 
3
4
  import { DOMNode, HTMLReactParserOptions } from '..';
4
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-react-parser",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "description": "HTML to React parser.",
5
5
  "author": "Mark <mark@remarkablemark.org>",
6
6
  "main": "index.js",
@@ -51,7 +51,7 @@
51
51
  "style-to-js": "1.1.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@commitlint/cli": "17.4.4",
54
+ "@commitlint/cli": "17.5.0",
55
55
  "@commitlint/config-conventional": "17.4.4",
56
56
  "@rollup/plugin-commonjs": "24.0.1",
57
57
  "@rollup/plugin-node-resolve": "15.0.1",
@@ -68,10 +68,10 @@
68
68
  "lint-staged": "13.2.0",
69
69
  "pinst": "3.0.0",
70
70
  "preact": "10.13.1",
71
- "prettier": "2.8.5",
71
+ "prettier": "2.8.6",
72
72
  "react": "18.2.0",
73
73
  "react-dom": "18.2.0",
74
- "rimraf": "4.4.0",
74
+ "rimraf": "4.4.1",
75
75
  "rollup": "2.79.1",
76
76
  "rollup-plugin-terser": "7.0.2",
77
77
  "size-limit": "8.1.0",