Packages

cosmiconfig

10.0.1 · 30 Aug 2026MIT172.2M / weekRepositoryHomepagenpmAtom feed

Upgrading cosmiconfig From 5.0.1 to 5.2.1

9 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.0.1Latest10.0.1
  1. 5.0.1yours
  2. 8 releases
  3. 5.2.1target
0
changes to make
0
advisories fixed
1
new
0
fixes

Release by release

  1. 5.0.3 – 5.2.18 releases, nothing new or fixed in the notes

  2. 5.0.2

    7 May 20181 new
    • new

      Fixed: Allow searchSync and loadSync to load JS configuration files whose export is a Promise.

6 other lines we could not sort, mostly version bumps
  • Added: packageProp values can be arrays of strings, to allow for property names that include periods. (This was possible before, but not documented or deliberately supported.)

    5.2.0
  • Added: packageProp values can include periods to describe paths to nested objects within package.json.

    5.1.0
  • Fixed: JS loader bypasses Node's require cache, fixing a bug where updates to .js config files would not load even when Cosmiconfig was told not to cache.

    5.0.7
  • Fixed: Better error message if the end user tries an extension Cosmiconfig is not configured to understand.

    5.0.6
  • Fixed: load and loadSync work with paths relative to process.cwd().

    5.0.5
  • Fixed: rc files with .js extensions included in default searchPlaces.

    5.0.4

4 internal lines (docs, tests, tooling) left out.