From 6eeb15606f1e83c988b9cd1303e7db698cec3c97 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 18 Jun 2022 15:36:10 -0400 Subject: [PATCH 1/2] build(package): bump html-dom-parser from 1.2.0 to 2.0.0 BREAKING CHANGE: remove Internet Explorer (IE) support Internet Explorer has been retired on 2022-06-15 https://github.com/remarkablemark/html-dom-parser/pull/302 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 33c776b6..c4d8f543 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ ], "dependencies": { "domhandler": "4.3.1", - "html-dom-parser": "1.2.0", + "html-dom-parser": "2.0.0", "react-property": "2.0.0", "style-to-js": "1.1.1" }, From e41dadb8c1e894d53ebe24f04f4780a4f8e84b89 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 18 Jun 2022 15:37:57 -0400 Subject: [PATCH 2/2] docs(readme): document Internet Explorer is no longer supported --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 26c4e256..8da3e882 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ parse('

Hello, World!

'); // React.createElement('p', {}, 'Hello, World!') - [htmlparser2](#htmlparser2) - [trim](#trim) - [Migration](#migration) + - [v2.0.0](#v200) - [v1.0.0](#v100) - [FAQ](#faq) - [Is this XSS safe?](#is-this-xss-safe) @@ -370,6 +371,10 @@ parse('

', { trim: true }); // React.createElement('p') ## Migration +### v2.0.0 + +Since [v2.0.0](https://github.com/remarkablemark/html-react-parser/releases/tag/v2.0.0), Internet Explorer (IE) is no longer supported. + ### v1.0.0 TypeScript projects will need to update the types in [v1.0.0](https://github.com/remarkablemark/html-react-parser/releases/tag/v1.0.0).