Skip to content

[Snyk] Security upgrade jscodeshift from 0.14.0 to 17.0.0#4030

Open
jaclynjessup wants to merge 2 commits into
masterfrom
snyk-fix-2864211d373731e9ecd6709760852868
Open

[Snyk] Security upgrade jscodeshift from 0.14.0 to 17.0.0#4030
jaclynjessup wants to merge 2 commits into
masterfrom
snyk-fix-2864211d373731e9ecd6709760852868

Conversation

@jaclynjessup

Copy link
Copy Markdown
Member

snyk-top-banner

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

Snyk changed the following file(s):

  • modules/codemod/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

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

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.

@jaclynjessup

Copy link
Copy Markdown
Member Author

Merge Risk: Medium

This is a very large major version upgrade from v0.14.0 to v17.0.0. The version number was intentionally jumped from v0.x to v17.0.0 to signify a major release after a long period of development.

Breaking Changes:

  • Node.js Requirement: Support for Node.js versions below 16 is dropped. Version 17.0.0 now explicitly requires Node.js 16 or higher.
  • Parser Defaults: There have been significant discussions and changes around the default parser (recast). While older versions defaulted to a Babel 5 compatible mode, newer versions have more modern parser configurations. Developers may need to explicitly set the parser (--parser=...) to ensure compatibility with modern JavaScript/TypeScript syntax.
  • Internal Dependencies: Many outdated and unused dependencies have been removed or replaced. While this is generally a positive change, it could have subtle effects on how transforms are executed.

Action Required:

  • Verify Node.js Version: Ensure your runtime environment and CI/CD pipelines are using Node.js v16 or newer.
  • Test Codemods: Due to the large version gap and internal changes to the parser and its dependencies, it is crucial to test all existing jscodeshift scripts thoroughly. Pay close attention to how modern syntax features are handled.
  • Review Parser Configuration: If you rely on specific language features (e.g., advanced TypeScript or experimental JS), you may need to explicitly configure the parser in your scripts or CLI commands.

Source: GitHub Releases

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

@jaclynjessup
jaclynjessup requested a review from a team as a code owner July 1, 2026 07:55
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a2cba244-5a75-4a06-b664-7d64f65b8aba

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch snyk-fix-2864211d373731e9ecd6709760852868

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cypress

cypress Bot commented Jul 1, 2026

Copy link
Copy Markdown

Workday/canvas-kit    Run #11218

Run Properties:  status check passed Passed #11218  •  git commit 32947ae251 ℹ️: Merge 90cfd62a8b3af961286336dd2e033d1821e12aa6 into b41a7bb8d71c073cdca72ebf185a...
Project Workday/canvas-kit
Branch Review snyk-fix-2864211d373731e9ecd6709760852868
Run status status check passed Passed #11218
Run duration 02m 31s
Commit git commit 32947ae251 ℹ️: Merge 90cfd62a8b3af961286336dd2e033d1821e12aa6 into b41a7bb8d71c073cdca72ebf185a...
Committer Jaclyn
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 17
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 809
View all changes introduced in this branch ↗︎
UI Coverage  19.55%
  Untested elements 1537  
  Tested elements 371  
Accessibility  99.41%
  Failed rules  5 critical   5 serious   0 moderate   2 minor
  Failed elements 68  

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