Skip to content

[Snyk] Security upgrade yeoman-generator from 8.2.2 to 10.0.0 - #248

Open
hnejra wants to merge 1 commit into
masterfrom
snyk-fix-ab57c3e6320a354d4ec6619a5e3d0bd7
Open

hnejra wants to merge 1 commit into
masterfrom
snyk-fix-ab57c3e6320a354d4ec6619a5e3d0bd7

Conversation

@hnejra

@hnejra hnejra commented Nov 23, 2026

Copy link
Copy Markdown
Member

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pnpm dependencies of this project.

Snyk changed the following file(s):

  • packages/generator-widget/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Arbitrary Argument Injection
SNYK-JS-SIMPLEGIT-22804375
  746  
critical severity Arbitrary Argument Injection
SNYK-JS-SIMPLEGITARGVPARSER-22804374
  746  

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.

@hnejra
hnejra requested a review from a team as a code owner November 23, 2026 21:26
@hnejra

hnejra commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Merge Risk: High

This is a major version upgrade from v8 to v10. However, as of October 2026, version 10.0.0 has not been released. The analysis is based on the breaking changes introduced in version 9.0.0.

Breaking Changes in v9.0.0:

  • Node.js Support: Support for Node.js version 20 has been dropped. This is an environment change that requires verification.
  • Stricter Pathing: The methods templatePath() and destinationPath() will now throw an error if the resolved path is outside the source or destination root. This stricter validation may cause previously working generators to fail.
  • Behavioral Change: The destination root folder is no longer created automatically at the start. It is now created on-demand when needed. Generators relying on the early existence of this folder may break.
  • Dependency Update: The execa dependency was updated to a new major version (v10), which could introduce subtle changes.

Recommendation:
Given that version 10.0.0 is not available, it is highly recommended to retarget this upgrade to the latest stable v9.x release. Developers must verify their generators against the stricter pathing rules, the change in destination folder creation, and ensure their environment uses a supported Node.js version.

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants