Skip to content

Commit

Permalink
build(deps): bump html-dom-parser from 5.0.2 to 5.0.3 (#1108)
Browse files Browse the repository at this point in the history
Release-As: 4.2.10
  • Loading branch information
dependabot[bot] committed Oct 28, 2023
1 parent 589c745 commit 52f7615
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
],
"dependencies": {
"domhandler": "5.0.3",
"html-dom-parser": "5.0.2",
"html-dom-parser": "5.0.3",
"react-property": "2.0.2",
"style-to-js": "1.1.8"
},
Expand Down
2 changes: 1 addition & 1 deletion test/types/exports.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { domToReact, htmlToDOM } from 'html-react-parser';

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

// $ExpectType string | Element | Element[]
Expand Down
2 changes: 1 addition & 1 deletion test/types/lib/dom-to-react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import domToReact from 'html-react-parser/lib/dom-to-react';
import * as React from 'react';
import htmlToDOM from 'html-dom-parser';

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

// $ExpectType string | Element | Element[]
Expand Down

0 comments on commit 52f7615

Please sign in to comment.