npm / js-tokens
js-tokens
What changed in js-tokens 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
1 breaking1 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initjs-tokens 102 changes
Breaking changes 1
js-tokens is now an ESM package, with type set to module and a default export instead of CommonJS.
Behavior and default changes 1
CommonJS require continues to work with Node.js 20.19.0 or later, which supports require(esm).