Skip to content

fix(package): upgrade html-dom-parser to fix client ES Module import#667

Merged
remarkablemark merged 1 commit intomasterfrom
fix/html-dom-parser
Aug 23, 2022
Merged

fix(package): upgrade html-dom-parser to fix client ES Module import#667
remarkablemark merged 1 commit intomasterfrom
fix/html-dom-parser

Conversation

@remarkablemark
Copy link
Copy Markdown
Owner

What is the motivation for this pull request?

fix(package): upgrade html-dom-parser to fix client ES Module import

Fixes #662

Relates to remarkablemark/html-dom-parser#337

What is the current behavior?

Error in html-dom-parser@3.1.1:

error - /app/node_modules/html-dom-parser/lib/client/html-to-dom.mjs
Can't import the named export 'formatDOM' from non EcmaScript module (only default export is available)

What is the new behavior?

No error in html-dom-parser@3.1.2

Checklist:

@remarkablemark remarkablemark added the bug Something isn't working label Aug 23, 2022
@github-actions
Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/html-react-parser.min.js 10.23 KB (0%) 205 ms (0%) 84 ms (+23.3% 🔺) 288 ms

@remarkablemark remarkablemark merged commit 626e76e into master Aug 23, 2022
@remarkablemark remarkablemark deleted the fix/html-dom-parser branch August 23, 2022 00:45
@remarkablemark
Copy link
Copy Markdown
Owner Author

Release #668 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

1 participant