-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: major redesign - get rid of JSDOM #260
Conversation
Codecov Report
@@ Coverage Diff @@
## main #260 +/- ##
==========================================
- Coverage 95.76% 95.68% -0.09%
==========================================
Files 15 15
Lines 1607 1575 -32
==========================================
- Hits 1539 1507 -32
Misses 68 68
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kudos for this refactoring! 👍
Other big improvements I see getting rid of JSDOM:
- Debugging import scripts will be so easier not having to deal with JSDOM!
- Access to all CSS values in the transform functions!
I tested helix-importer build + tests and also basic manual testing in helix-importer-ui with recent import script I've been working on.
# [3.0.0](v2.9.41...v3.0.0) (2023-11-13) ### Features * get rid of JSDOM ([#260](#260)) ([2530363](2530363)) ### BREAKING CHANGES * removing JSDOM
🎉 This PR is included in version 3.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
In order to reduce the module size, I have been working on a major re-design, which includes:
This should not break backward compatibility in the browser usage case (I tested it in the helix-importer-ui context). But when used in Node.JS, you will need to provide a
createDocumentFromString
method.Will flag the release as major.