Packages

cosmiconfig

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

Upgrading cosmiconfig From 9.0.1 to 10.0.1

3 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 9.0.1Newest 9.x9.0.2
  1. 9.0.1yours
  2. 9.0.2
  3. 10.0.0major
  4. 10.0.1target

Before you upgrade

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

Release by release

  1. 10.0.1nothing new or fixed in the note

  2. 10.0.0

    Migration needed2 Aug 20261 new
    • breaking

      The required version range is now ^22.18 || >=24.

    • breaking

      Remove typescript in favor of Node's own type stripping. This means that TypeScript 7 projects are supported, but non-erasable type syntax like namespace or enum is unsupported.

    • breaking

      JSON parsing uses the JSON.parse function directly. parse-json is no longer used for better error messages, since Node has improved theirs.

    • new

      Added support for UTF-16 config files

  3. 9.0.2

    7 Jun 20262 fixes
    • fixed

      Fixed a prototype chain issue that may happen when merging different config objects.

    • fixed

      Fixed the project search strategy not correctly stopping at the package boundary.

1 other line we could not sort, mostly version bumps
  • Remove import-fresh dependency in favor of directly clearing the cache.

    10.0.0