Skip to content

[Snyk] Security upgrade sequelize from 4.42.0 to 6.6.5#52

Open
arunsingh wants to merge 1 commit intomasterfrom
snyk-fix-f548932689761f1c9102339b296db63e
Open

[Snyk] Security upgrade sequelize from 4.42.0 to 6.6.5#52
arunsingh wants to merge 1 commit intomasterfrom
snyk-fix-f548932689761f1c9102339b296db63e

Conversation

@arunsingh
Copy link
Copy Markdown
Owner

@arunsingh arunsingh commented Nov 30, 2025

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

  • user-service/package.json
  • user-service/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Incomplete Filtering of One or More Instances of Special Elements
SNYK-JS-VALIDATOR-13653476
  828  

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.


Note

Upgrades sequelize to 6.6.5 in user-service and updates/removes transitive dependencies accordingly.

  • Dependencies:
    • Upgrade sequelize from ^4.42.0 to ^6.6.5 in user-service/package.json.
    • Refresh lockfile with major transitive changes:
      • Updates: lodash, moment/moment-timezone, validator, uuid, wkx, retry-as-promised, inflection, semver.
      • Adds: sequelize-pool, any-promise.
      • Removes legacy deps: bluebird/cls-bluebird, generic-pool, Geo-related packages (e.g., terraformer, terraformer-wkt-parser, @types/geojson).

Written by Cursor Bugbot for commit 5a4d60f. This will update automatically on new commits. Configure here.

…duce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-VALIDATOR-13653476
@vercel
Copy link
Copy Markdown

vercel bot commented Nov 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
playbox-ott-znm2 Building Building Preview Comment Nov 30, 2025 5:27am

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Nov 30, 2025

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.

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch snyk-fix-f548932689761f1c9102339b296db63e

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 and usage tips.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

"jsonwebtoken": "^8.3.0",
"pg": "^7.7.1",
"sequelize": "^4.42.0",
"sequelize": "^6.6.5",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Major version upgrade breaks existing Sequelize configuration

Upgrading sequelize from v4.42.0 to v6.6.5 is a breaking change, but the existing configuration in sequelizeConfig.js uses operatorsAliases: false, an option that was removed in Sequelize v5/v6. This will cause the application to fail at startup when Sequelize throws an error about the unrecognized/removed option. The upgrade requires corresponding code changes to remove the deprecated operatorsAliases option from the configuration.

Fix in Cursor Fix in Web

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.

2 participants