npm / modern-screenshot
modern-screenshot
What changed in modern-screenshot 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 new APIs and options3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmodern-screenshot 44 changes
New APIs and options 1
Adds support for fonts in @layers.
Fixes and other changes 3
Deletes position when copying root element styles.
Clones documentElement instead of body for same-origin iframes.
WebKit scrollbar pseudo-classes are now cloned correctly.