Packages

cosmiconfig

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

Your version

10.0.0

major2 Aug 2026Where it was published

10.0.1 is the newest release of 10.x.

In short

3 breaking1 new1 changed

  • 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.

Release note

  • 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.

  • Remove import-fresh dependency in favor of directly clearing the cache.

  • Added support for UTF-16 config files