cosmiconfig
10.0.1 · 30 Aug 2026MIT172.2M / weekRepositoryHomepagenpmAtom feed
Upgrading cosmiconfig From 2.2.2 to 3.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 2.2.2Latest10.0.1
The note of 3.0.0 lists no breaking change or deprecation, which is rare for a major.
- ?
- changes to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Release by release
- new
Removed: support for loading config path using the
--configflag. cosmiconfig will not parse command line arguments. Your application can parse command line arguments and pass them to cosmiconfig. - new
Removed: support for Node versions < 4.
- new
4 other lines we could not sort, mostly version bumps
- 3.0.0
Removed:
argvconfig option. - 3.0.0
Added:
syncoption. - 3.0.0
Fixed: Throw a clear error on getting empty config file.
- 3.0.0
Fixed: when a
options.configPathispackage.json, return the package prop, not the entire JSON file.