cosmiconfig
10.0.1 · 30 Aug 2026MIT172.2M / weekRepositoryHomepagenpmAtom feed
Upgrading cosmiconfig From 8.0.0 to 8.3.6
12 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- fixed
Ignore search place if accessing it causes ENOTDIR (i.e. if access of a subpath of a file is attempted)
- fixed
- fixed
Pass null to transform function for backwards compat
- fixed
- fixed
Use
.cjsextension for sync compiled typescript - fixed
Use default for async TS loader
- fixed
- new
Add support for TypeScript configuration files
- new
- new
Add support for ECMAScript modules (ESM) to the asynchronous API. End users running Node versions that support ESM can provide
.mjsfiles, or.jsfiles whose nearest parentpackage.jsonfile contains"type": "module".
- new
4 other lines we could not sort, mostly version bumps
- 8.1.3
Fixed: existence of meta config breaking default loaders
- 8.1.2
Fixed: generation of TypeScript types going to the wrong output path
- 8.1.1
Fixed: meta config overriding original options completely (now merges correctly)
- 8.1.0
Added: always look at
.config.{yml,yaml,json,js,cjs}file to configure cosmiconfig itself, and look for tool configuration in it usingpackageProp(similar to package.json)