cosmiconfig
10.0.1 · 30 Aug 2026MIT172.2M / weekRepositoryHomepagenpmAtom feed
Upgrading cosmiconfig From 8.3.6 to 9.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 3
- changes to make
- 0
- advisories fixed
- 5
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- breaking9.0.0
- breaking9.0.0
- breaking9.0.0
Release by release
- breaking
Breaking change: This is the default value if you don't pass a
stopDiroption, which means that cosmiconfig no longer traverses directories by default, and instead just looks in the current working directory. - breaking
Meta config files (i.e.
config.jsand similar) are not looked for in the current working directory anymore. Instead, it looks in the.configsubfolder. - breaking
When defining
searchPlacesin a meta config file, the tool-definedsearchPlacesare merged into this. Users may specifymergeSearchPlaces: falseto disable this. - new
The
nonevalue means that cosmiconfig does not traverse any directories upwards.
- breaking