cosmiconfig
10.0.1 · 30 Aug 2026MIT172.2M / weekRepositoryHomepagenpmAtom feed
Upgrading cosmiconfig From 9.0.2 to 10.0.1
2 releases in betweenevery note read
Reading releases, release notes and advisories…
- 3
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- breaking10.0.0
- breaking10.0.0
- breaking10.0.0
Release by release
10.0.1nothing new or fixed in the note
- breaking
The required version range is now
^22.18 || >=24. - breaking
Remove
typescriptin favor of Node's own type stripping. This means that TypeScript 7 projects are supported, but non-erasable type syntax likenamespaceorenumis unsupported. - breaking
JSON parsing uses the
JSON.parsefunction directly.parse-jsonis no longer used for better error messages, since Node has improved theirs. - new
Added support for UTF-16 config files
- breaking
1 other line we could not sort, mostly version bumps
- 10.0.0
Remove
import-freshdependency in favor of directly clearing the cache.