Packages

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.
  1. 2.2.2yours
  2. 3.0.0target
?
changes to make
0
advisories fixed
2
new
0
fixes

Release by release

  1. 3.0.0

    16 Sep 20172 new
    • new

      Removed: support for loading config path using the --config flag. 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.

4 other lines we could not sort, mostly version bumps
  • Removed: argv config option.

    3.0.0
  • Added: sync option.

    3.0.0
  • Fixed: Throw a clear error on getting empty config file.

    3.0.0
  • Fixed: when a options.configPath is package.json, return the package prop, not the entire JSON file.

    3.0.0