npm / dom-to-image-more
dom-to-image-more
What changed in dom-to-image-more 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
6 new APIs and options1 performance1 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdom-to-image-more 39 changes
New APIs and options 6
The filterFonts(fontFace) option can keep or drop each font face; () => true embeds every face on the page.
Adds a way to drop or tweak pseudo-elements.
Adds an option to silence console spam from cross-origin cssRules errors.
Adds a way to embed fonts from cross-origin stylesheets.
Adds an option to redirect or silence the library's console output.
Adds request interception and unifies resource handling.
Performance 1
The minified bundle shrank by approximately 2.7%, which may reduce the size of the bundle developers use.
Behavior and default changes 1
Only @font-face rules whose family the captured node uses are embedded, with families gathered from source, pseudo-element, clone, and options.style computed styles.
Fixes and other changes 1
References in mask, clip-path, filter, marker-*, fill, or stroke are written back as url("#id"), and their targets and referenced elements are copied into injected <defs> instead of being fetched as an image.