Skip to content

[Snyk] Security upgrade glob from 11.0.2 to 12.0.0#9

Open
silvere27 wants to merge 1 commit intomainfrom
snyk-fix-94f7183c8f511e813ba06312946ab29f
Open

[Snyk] Security upgrade glob from 11.0.2 to 12.0.0#9
silvere27 wants to merge 1 commit intomainfrom
snyk-fix-94f7183c8f511e813ba06312946ab29f

Conversation

@silvere27
Copy link
Owner

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):

  • scripts/package.json
  • scripts/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
  436  

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:

🦉 Regular Expression Denial of Service (ReDoS)

Copilot AI review requested due to automatic review settings February 9, 2026 08:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the glob dependency used by the scripts/ documentation generator package to remediate a Snyk-reported ReDoS vulnerability (via brace-expansion) and refreshes the lockfile accordingly.

Changes:

  • Bump glob in scripts/package.json from ^11.x to ^12.0.0.
  • Regenerate/update scripts/package-lock.json to resolve glob@12 and updated transitive versions.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
scripts/package.json Updates glob dependency version for the scripts/doc-generator package.
scripts/package-lock.json Updates resolved dependency graph to glob@12 and related transitive packages.
Files not reviewed (1)
  • scripts/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 8 to 11
"@types/node": "^24.5.1",
"@types/react": "^19.1.13",
"glob": "^11.0.3",
"glob": "^12.0.0",
"ts-node": "^10.9.2",
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glob@12 declares engines.node as 20 || >=22 (see lockfile), but scripts/package.json doesn't declare a Node engine requirement. This can lead to confusing install/runtime failures for contributors or CI running Node 18/16. Consider adding an explicit engines field (e.g. >=20) for this scripts package, or keep glob on v11 if older Node versions must be supported.

Copilot uses AI. Check for mistakes.
Comment on lines +694 to +701
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-12.0.0.tgz",
"integrity": "sha512-5Qcll1z7IKgHr5g485ePDdHcNQY0k2dtv/bjYy0iuyGxQw2qSOiiXUXJ+AYQpg3HNoUMHqAruX478Jeev7UULw==",
"license": "BlueOak-1.0.0",
"dependencies": {
"foreground-child": "^3.1.0",
"jackspeak": "^4.0.1",
"minimatch": "^10.0.0",
"foreground-child": "^3.3.1",
"jackspeak": "^4.1.1",
"minimatch": "^10.1.1",
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glob is updated to v12 here; note that this release declares engines.node as 20 || >=22 (a few lines below in this same entry). If the docs generator/scripts are expected to run under Node 18/16, this upgrade will break installs/runs; consider pinning glob to v11 or explicitly requiring Node >=20 via engines in scripts/package.json.

Copilot uses AI. Check for mistakes.
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.

3 participants