npm-package-json-lint
npm-package-json-lint copied to clipboard
build(deps): Bump cosmiconfig from 8.3.6 to 9.0.0
Bumps cosmiconfig from 8.3.6 to 9.0.0.
Changelog
Sourced from cosmiconfig's changelog.
9.0.0
- Added
searchStrategyoption:
- The
nonevalue means that cosmiconfig does not traverse any directories upwards.
- Breaking change: This is the default value if you don't pass a
stopDiroption, 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 thesearchStrategy: 'global'option.- The
projectvalue means that cosmiconfig traverses upwards until it finds apackage.json(or.yaml) file.- The
globalvalue means that cosmiconfig traverses upwards until the passedstopDir, or your home directory if nostopDiris given.- Breaking change: Meta config files (i.e.
config.jsand similar) are not looked for in the current working directory anymore. Instead, it looks in the.configsubfolder.- Breaking change: When defining
searchPlacesin a meta config file, the tool-definedsearchPlacesare merged into this. Users may specifymergeSearchPlaces: falseto disable this.- Added support for a special
$importkey 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
- For more information, read the import section of the README
- 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
Commits
006fc0b9.0.0d4de473update changelog for new version8bf59fcmake changelog leaner again0555009chore: remove release-please5839d5e9.0.0-alpha.37fcf489chore: update lock fileb8b412fchore: remove unnecessary dev packagesbb3ebbachore: replace path-type package with own utility functions76d26bd9.0.0-alpha.2559ed70feat: load config from package.yaml- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.