Packages

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…

Other targets from 8.3.6Latest10.0.1
  1. 8.3.6yours
  2. 9.0.0target

Before you upgrade

Tick each one off as you go
  • breaking9.0.0
  • breaking9.0.0
  • breaking9.0.0

Release by release

  1. 9.0.0

    Migration needed26 Nov 20235 new · 2 fixes
    • breaking

      Breaking change: This is the default value if you don't pass a stopDir option, 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.js and similar) are not looked for in the current working directory anymore. Instead, it looks in the .config subfolder.

    • breaking

      When defining searchPlaces in a meta config file, the tool-defined searchPlaces are merged into this. Users may specify mergeSearchPlaces: false to disable this.

    • new

      The none value means that cosmiconfig does not traverse any directories upwards.