Skip to content

Commit 52f7615

Browse files
build(deps): bump html-dom-parser from 5.0.2 to 5.0.3 (#1108)
Release-As: 4.2.10
1 parent 589c745 commit 52f7615

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
],
5151
"dependencies": {
5252
"domhandler": "5.0.3",
53-
"html-dom-parser": "5.0.2",
53+
"html-dom-parser": "5.0.3",
5454
"react-property": "2.0.2",
5555
"style-to-js": "1.1.8"
5656
},

test/types/exports.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { domToReact, htmlToDOM } from 'html-react-parser';
22

3-
// $ExpectType (Element | Text | Comment | ProcessingInstruction)[]
3+
// $ExpectType DOMNode[]
44
const domNodes = htmlToDOM('<div>text</div>');
55

66
// $ExpectType string | Element | Element[]

test/types/lib/dom-to-react.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import domToReact from 'html-react-parser/lib/dom-to-react';
44
import * as React from 'react';
55
import htmlToDOM from 'html-dom-parser';
66

7-
// $ExpectType (Element | Text | Comment | ProcessingInstruction)[]
7+
// $ExpectType DOMNode[]
88
htmlToDOM('<div>text</div>');
99

1010
// $ExpectType string | Element | Element[]

0 commit comments

Comments
 (0)