v3.4.0
What's Changed
Fixes
- Fix for ShadowSlotElement nodes with no
assignedNodes
to fall back tochildNodes
. Also fixed some more node.js compatibility (fixes #178 thanks @cWenyu).
New feature
- Added option to not copy over the web fonts when generating an SVG to allow smaller/faster conversions (fixes #158 thanks @davidburns573 and @YujiaCheng1996).
Passing disableEmbedFonts: true
in the options to any top-level call will make the generated (and intermediate) SVG not copy in the web font, greatly reducing the size and increasing the speed of the generation. Note, for toSVG outputs, you will have to still have the ability to reference the fonts.
Housekeeping
- Updated spec images to match current Chrome output.
- Added code to unit-test so emitted debug string when there's a SVG output it is properly escaped.
- Bumped dev dependencies for mocha 10.7.3 and eslint 9.9.0.
New Contributors
@cWenyu @davidburns573 @YujiaCheng1996
Full Changelog: v3.3.1...v3.4.0