Repository: remarkablemark/html-react-parser
Pull request #1108 (2023-10-23 04:46:22)

build(deps): bump html-dom-parser from 5.0.2 to 5.0.3
Bumps [html-dom-parser](https://github.com/remarkablemark/html-dom-parser) from 5.0.2 to 5.0.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/remarkablemark/html-dom-parser/releases">html-dom-parser's releases</a>.</em></p>
<blockquote>
<h2>v5.0.3</h2>
<h2><a href="https://github.com/remarkablemark/html-dom-parser/compare/v5.0.2...v5.0.3">5.0.3</a> (2023-10-22)</h2>
<h3>Miscellaneous Chores</h3>
<ul>
<li>export types from index.ts (<a href="https://github.com/remarkablemark/html-dom-parser/commit/8ed55e23df5c50e19c6df5d0e4856f52ee890a0c">8ed55e2</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/remarkablemark/html-dom-parser/blob/master/CHANGELOG.md">html-dom-parser's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/remarkablemark/html-dom-parser/compare/v5.0.2...v5.0.3">5.0.3</a> (2023-10-22)</h2>
<h3>Miscellaneous Chores</h3>
<ul>
<li>export types from index.ts (<a href="https://github.com/remarkablemark/html-dom-parser/commit/8ed55e23df5c50e19c6df5d0e4856f52ee890a0c">8ed55e2</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/ffad28f43cee57596147857cf543cf8072053433"><code>ffad28f</code></a> Merge pull request <a href="https://redirect.github.com/remarkablemark/html-dom-parser/issues/541">#541</a> from remarkablemark/release-please--branches--master-...</li>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/c9f89ecebe91ed1c47103b3286f8e5c9103ea23c"><code>c9f89ec</code></a> chore(master): release 5.0.3</li>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/8ed55e23df5c50e19c6df5d0e4856f52ee890a0c"><code>8ed55e2</code></a> chore: export types from index.ts</li>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/5fa78f8219f90357b2d2042a3b293aded97c3223"><code>5fa78f8</code></a> chore(client): ignore line in domparser from test coverage</li>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/7346811a95193e85a67daf51d9835dbcd68c9693"><code>7346811</code></a> build(package): add &quot;types&quot; field to package.json</li>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/775975ce26b6c1fc466ac14e92122ab21b15b7dd"><code>775975c</code></a> refactor(types): tidy types in client and server utilities</li>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/ebf0bc933433099559eb1d751d8791904e0cb65f"><code>ebf0bc9</code></a> refactor(html-to-dom): tidy early return in client and server</li>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/31d41c4db51512e60c81a82c70a3e64fd819ebc3"><code>31d41c4</code></a> chore(tsconfig): remove &quot;forceConsistentCasingInFileNames&quot;</li>
<li><a href="https://github.com/remarkablemark/html-dom-parser/commit/efdcc0a531ac6808fdcdd4d08c7a54bb1952d44b"><code>efdcc0a</code></a> build(deps-dev): bump lint-staged from 15.0.1 to 15.0.2 (<a href="https://redirect.github.com/remarkablemark/html-dom-parser/issues/540">#540</a>)</li>
<li>See full diff in <a href="https://github.com/remarkablemark/html-dom-parser/compare/v5.0.2...v5.0.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=html-dom-parser&package-manager=npm_and_yarn&previous-version=5.0.2&new-version=5.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

remarkablemark: @dependabot rebase
github-actions[bot]: ## size-limit report 📦 
| Path                          | Size               | Loading time (3g)  | Running time (snapdragon) | Total time |
| ----------------------------- | ------------------ | ------------------ | ------------------------- | ---------- |
| dist/html-react-parser.min.js | 9.9 KB (-0.08% 🔽) | 199 ms (-0.08% 🔽) | 59 ms (+4.2% 🔺)          | 257 ms     |
codecov[bot]: We're currently processing your upload.  This comment will be updated when the results are available.

Patch:
diff --git a/package-lock.json b/package-lock.json
index c115827..f9cad62 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11,7 +11,7 @@
       "license": "MIT",
       "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"
       },
@@ -6358,9 +6358,9 @@
       "license": "ISC"
     },
     "node_modules/html-dom-parser": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/html-dom-parser/-/html-dom-parser-5.0.2.tgz",
-      "integrity": "sha512-TPsxRbmzLQP4umvzRnI3US/DuqoHTX3QOGTsH9pNST6z1tm/ZOP4eWRqvGrv6rvOX42QRPF6opbOBoHM2UfTFQ==",
+      "version": "5.0.3",
+      "resolved": "https://registry.npmjs.org/html-dom-parser/-/html-dom-parser-5.0.3.tgz",
+      "integrity": "sha512-slsc6ipw88OUZjAayRs5NTmfOQCwcUa3hNyk6AdsbQxY09H5Lr1Y3CZ4ZlconMKql3Ga6sWg3HMoUzo7KSItaQ==",
       "dependencies": {
         "domhandler": "5.0.3",
         "htmlparser2": "9.0.0"
@@ -16480,9 +16480,9 @@
       }
     },
     "html-dom-parser": {
-      "version": "5.0.2",
-      "resolved": "https://registry.npmjs.org/html-dom-parser/-/html-dom-parser-5.0.2.tgz",
-      "integrity": "sha512-TPsxRbmzLQP4umvzRnI3US/DuqoHTX3QOGTsH9pNST6z1tm/ZOP4eWRqvGrv6rvOX42QRPF6opbOBoHM2UfTFQ==",
+      "version": "5.0.3",
+      "resolved": "https://registry.npmjs.org/html-dom-parser/-/html-dom-parser-5.0.3.tgz",
+      "integrity": "sha512-slsc6ipw88OUZjAayRs5NTmfOQCwcUa3hNyk6AdsbQxY09H5Lr1Y3CZ4ZlconMKql3Ga6sWg3HMoUzo7KSItaQ==",
       "requires": {
         "domhandler": "5.0.3",
         "htmlparser2": "9.0.0"
diff --git a/package.json b/package.json
index c7fa6c3..7627e32 100644
--- a/package.json
+++ b/package.json
@@ -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"
   },


Test patch:
diff --git a/test/types/exports.tsx b/test/types/exports.tsx
index b46df84..f11ce2c 100644
--- a/test/types/exports.tsx
+++ b/test/types/exports.tsx
@@ -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[]
diff --git a/test/types/lib/dom-to-react.tsx b/test/types/lib/dom-to-react.tsx
index 7dd66c9..2c5ecd4 100644
--- a/test/types/lib/dom-to-react.tsx
+++ b/test/types/lib/dom-to-react.tsx
@@ -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[]