npm / baseline-browser-mapping
baseline-browser-mapping
What changed in baseline-browser-mapping 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-14.
2 breaking3 new APIs and options3 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initbaseline-browser-mapping 210 changes
Breaking changes 2
Unsupported option combinations now throw an Error instead of calling process.exit(), allowing more graceful handling.
The main script no longer calls process.loadEnfFile().
New APIs and options 3
Adds a method to get the series of minimum browser changes, grouped by date or by browser.
Adds an environment variable to suppress data staleness warnings.
Adds a boolean option to suppress data staleness warnings.
Behavior and default changes 3
Node 6 is supported; package.json specifies support for Node versions >=6.0.0, and the CLI avoids APIs unavailable before Node 18.
Warnings are shown only when getCompatibleVersions() or getAllVersions() is called, rather than whenever the module is loaded.
Warnings are limited to cases where feature cutoff data is within the last two months and module data is more than two months old.
Fixes and other changes 2
Fixes a browser support bug.
The package now respects this existing environment variable to suppress data staleness warnings.