Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade cosmiconfig from 6.0.0 to 9.0.0 #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tunnckoCore
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade cosmiconfig from 6.0.0 to 9.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 21 versions ahead of your current version.

  • The recommended version was released on a year ago.

Release notes
Package name: cosmiconfig
  • 9.0.0 - 2023-11-26
    • Added searchStrategy option:
      • 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
      • 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
  • 9.0.0-alpha.3 - 2023-11-12

    9.0.0-alpha.3

  • 9.0.0-alpha.2 - 2023-11-12

    9.0.0-alpha.2

  • 9.0.0-alpha.1 - 2023-10-17

    9.0.0-alpha.1

  • 9.0.0-alpha.0 - 2023-10-16

    9.0.0-alpha.0

  • 8.3.6 - 2023-09-13

    8.3.6 (2023-09-13)

    Bug Fixes

    • ignore search place if accessing it causes ENOTDIR (i.e. if access of a subpath of a file is attempted) (5bd915a)
  • 8.3.5 - 2023-09-08

    8.3.5 (2023-09-08)

    Bug Fixes

    • pass null to transform function for backwards compat (2b38510)
  • 8.3.4 - 2023-09-04

    8.3.4 (2023-09-04)

    Bug Fixes

    • remove node: prefix from imports (f76484a), closes #323
  • 8.3.3 - 2023-09-03

    8.3.3 (2023-09-03)

    Bug Fixes

  • 8.3.2 - 2023-09-02

    8.3.2 (2023-09-02)

    Bug Fixes

    • use .cjs extension for sync compiled typescript (0d76a9a)
    • use default for async TS loader (5bed3e3)
  • 8.3.1 - 2023-09-02
  • 8.3.0 - 2023-09-02
  • 8.2.0 - 2023-06-04
  • 8.1.3 - 2023-03-18
  • 8.1.2 - 2023-03-17
  • 8.1.1 - 2023-03-17
  • 8.1.0 - 2023-02-24
  • 8.0.0 - 2022-11-21
  • 7.1.0 - 2022-11-12
  • 7.0.1 - 2021-08-21
  • 7.0.0 - 2020-08-01
  • 6.0.0 - 2019-11-02
from cosmiconfig GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade cosmiconfig from 6.0.0 to 9.0.0.

See this package in npm:
cosmiconfig

See this project in Snyk:
https://app.snyk.io/org/charlike/project/825c50df-1443-4a63-af2c-25fad5e3e4d1?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Could not resolve module "node:os" from Node.js version breaking change
2 participants