# What changed in js-tokens

> 2 changes in js-tokens 10 from its official release notes, upgrade guides and advisories: 1 breaking. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/js-tokens/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## js-tokens 10

### Breaking changes

- js-tokens is now an ESM package, with type set to module and a default export instead of CommonJS. (10.0.0) — [release notes](https://github.com/lydell/js-tokens/blob/d7ec3643eac02418881ddb46ec420cfc10a653ba/CHANGELOG.md#version-1000-2025-12-08)

### Behavior and default changes

- CommonJS require continues to work with Node.js 20.19.0 or later, which supports require(esm). (10.0.0) — [release notes](https://github.com/lydell/js-tokens/blob/d7ec3643eac02418881ddb46ec420cfc10a653ba/CHANGELOG.md#version-1000-2025-12-08)
