The none value means that cosmiconfig does not traverse any directories upwards.
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.
If you want to achieve maximum backwards compatibility without adding an explicit stopDir, add the searchStrategy: 'global' option.
The project value means that cosmiconfig traverses upwards until it finds a package.json (or .yaml) file.
The global value means that cosmiconfig traverses upwards until the passed stopDir, or your home directory if no stopDir is given.
Breaking change: 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 change: When defining searchPlaces in a meta config file, the tool-defined searchPlaces are merged into this. Users may specify mergeSearchPlaces: false to disable this.
Added support for a special $import key which will import another configuration file
The imported file will act as a base file - all properties from that file will be applied to the configuration, but can be overridden by the importing file
Added searching in OS conventional folders (XDG compatible on Linux, %APPDATA% on Windows, Library/Preferences on macOS) for searchStrategy: 'global'
Fixed crash when trying to load a file that is not readable due to file system permissions
Fixed wrong ERR_REQUIRE_ESM error being thrown when there is an issue loading an ESM file
8.3.6
Ignore search place if accessing it causes ENOTDIR (i.e. if access of a subpath of a file is attempted)
8.3.5
Fixed regression in transform option
8.3.4
Fixed crash in older node versions
8.3.3
Added back node 14 compat to package.json
8.3.2
Fixed some issues with TypeScript config loading
8.3.1
Fixed crash when stopDir was given but undefined
8.3.0
Add support for TypeScript configuration files
8.2.0
Add support for ECMAScript modules (ESM) to the asynchronous API. End users running Node versions that support ESM can provide .mjs files, or .js files whose nearest parent package.json file contains "type": "module".
${moduleName}rc.mjs and ${moduleName}.config.mjs are included in the default searchPlaces of the asynchronous API.
The synchronous API does not support ECMAScript modules, so does not look for .mjs files.
This version was pushed to npm by d-fischer, a new releaser for cosmiconfig since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps cosmiconfig from 7.0.0 to 9.0.0.
Release notes
Sourced from cosmiconfig's releases.
... (truncated)
Changelog
Sourced from cosmiconfig's changelog.
... (truncated)
Commits
006fc0b
9.0.0d4de473
update changelog for new version8bf59fc
make changelog leaner again0555009
chore: remove release-please5839d5e
9.0.0-alpha.37fcf489
chore: update lock fileb8b412f
chore: remove unnecessary dev packagesbb3ebba
chore: replace path-type package with own utility functions76d26bd
9.0.0-alpha.2559ed70
feat: load config from package.yamlMaintainer changes
This version was pushed to npm by d-fischer, a new releaser for cosmiconfig since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show