Packages

cosmiconfig

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

Upgrading cosmiconfig From 9.0.2 to 10.0.1

2 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 9.0.2yours
  2. 10.0.0major
  3. 10.0.1target
3
changes to make
0
advisories fixed
1
new
0
fixes

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

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

    10.0.0