Improved Node.js support
- Fixed imports [#2]
- Resolved ReferenceError: DOMParser is not defined issue when used in Node.js
- Removed the need to declare globalThis.self
- Added an error warning when used in Node without a parser installed
Documentation
- Added a section dedicated to usage in Node.js
- Minor improvements
Deprecations
Security
- End of support for versions <=1.5.3. This is due to the move away from the old build system
Other
- Transition from Webpack to Vite
- Update Jest version
Transition from Webpack to Vite
With the move to Vite, several enhancements were introduced to improve Node.js support:
- Elimination of unnecessary builds, streamlining the process and improving import configurations for Node.js
- Accelerated build times for a more efficient development workflow