Update dependency cosmiconfig to v9 #88
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.2.1->9.0.0Release Notes
cosmiconfig/cosmiconfig (cosmiconfig)
v9.0.0Compare Source
searchStrategyoption:nonevalue means that cosmiconfig does not traverse any directories upwards.stopDiroption, which means that cosmiconfig no longer traverses directories by default, and instead just looks in the current working directory.stopDir, add thesearchStrategy: 'global'option.projectvalue means that cosmiconfig traverses upwards until it finds apackage.json(or.yaml) file.globalvalue means that cosmiconfig traverses upwards until the passedstopDir, or your home directory if nostopDiris given.config.jsand similar) are not looked for in the current working directory anymore. Instead, it looks in the.configsubfolder.searchPlacesin a meta config file, the tool-definedsearchPlacesare merged into this. Users may specifymergeSearchPlaces: falseto disable this.$importkey which will import another configuration filesearchStrategy: 'global'v8.3.6Compare Source
v8.3.5Compare Source
v8.3.4Compare Source
v8.3.3Compare Source
v8.3.2Compare Source
v8.3.1Compare Source
stopDirwas given but undefinedv8.3.0Compare Source
v8.2.0Compare Source
.mjsfiles, or.jsfiles whose nearest parentpackage.jsonfile contains"type": "module".${moduleName}rc.mjsand${moduleName}.config.mjsare included in the defaultsearchPlacesof the asynchronous API..mjsfiles.v8.1.3Compare Source
v8.1.2Compare Source
v8.1.1Compare Source
v8.1.0Compare Source
.config.{yml,yaml,json,js,cjs}file to configure cosmiconfig itself, and look for tool configuration in it usingpackageProp(similar to package.json)v8.0.0Compare Source
No major breaking changes! We dropped support for Node 10 and 12 -- which you're probably not using. And we swapped out the YAML parser -- which you probably won't notice.
Breaking change: Drop support for Node 10 and 12.
Breaking change: Use npm package js-yaml to parse YAML instead of npm package yaml.
Added: Loader errors now include the path of the file that was tried to be loaded.
v7.1.0Compare Source
searchPlaceswithin a .config subdirectory (without leading dot in the file name)v7.0.1Compare Source
v7.0.0Compare Source
${moduleName}rc.cjsand${moduleName}.config.cjsto the defaultsearchPlaces, to support users of"type": "module"in recent versions of Node.v6.0.0Compare Source
Breaking change: The package now has named exports. See examples below.
Breaking change: Separate async and sync APIs, accessible from different named exports. If you used
explorer.searchSync()orexplorer.loadSync(), you'll now create a sync explorer withcosmiconfigSync(), then useexplorerSync.search()andexplorerSync.load().Breaking change: Remove support for Node 4 and 6. Requires Node 8+.
Breaking change: Use npm package yaml to parse YAML instead of npm package js-yaml.
Breaking change: Remove
cosmiconfig.loadersand add named exportdefaultLoadersthat exports the default loaders used for each extension.Migrate from Flowtype to Typescript.
Lazy load all default loaders.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.