Skip to content

fix(deps): upgrade glob to 12.0.0#225

Open
snyk-io[bot] wants to merge 1 commit into
masterfrom
snyk-fix-50d86f5e085d497b9dd371dceff6991c
Open

fix(deps): upgrade glob to 12.0.0#225
snyk-io[bot] wants to merge 1 commit into
masterfrom
snyk-fix-50d86f5e085d497b9dd371dceff6991c

Conversation

@snyk-io

@snyk-io snyk-io Bot commented Jul 1, 2026

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Inefficient Algorithmic Complexity
SNYK-JS-BRACEEXPANSION-17706650
  721  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • 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 fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@snyk-io

snyk-io Bot commented Jul 1, 2026

Copy link
Copy Markdown
Author

Merge Risk: High

This is a very significant major version upgrade from v7 to v12, which includes a complete rewrite of the library and introduces numerous breaking changes. Code modifications are required for this upgrade.

Key Breaking Changes:

  • Promise-Based API: The most critical change is the move from a callback-based API to a modern Promise-based API starting in v9.0. Asynchronous operations now return Promises, and the old callback pattern is no longer supported.
  • Node.js Requirement: Support for older Node.js versions has been dropped. Version 9 and higher require Node.js v16 or newer.
  • Path Separators (Windows): Backslashes (\) are no longer treated as path separators in glob patterns; they are now exclusively used for escaping characters. All patterns, including on Windows, must use forward-slashes (/).
  • Module Exports: The package no longer has a default export. You must use named imports, for example: const { glob } = require('glob');.
  • Removed Options: Many options from v7 have been removed in v8.0, including silent, strict, nonull, nounique, and nosort. The behavior associated with these options (like ensuring unique results) is now standard.

Recommendation:
Due to the complete API rewrite, this upgrade requires careful code refactoring. You must update all glob calls to use the new Promise-based syntax and ensure your patterns use forward-slashes. Thorough testing is essential.

Source: GitHub Changelog

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@snyk-io snyk-io Bot requested a review from a team as a code owner July 1, 2026 11:12
@snyk-io

snyk-io Bot commented Jul 1, 2026

Copy link
Copy Markdown
Author

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

1 participant