Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 49 additions & 83 deletions exercises/udacity-c2-restapi/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion exercises/udacity-c2-restapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"jsonwebtoken": "^8.5.1",
"pg": "^7.11.0",
"reflect-metadata": "^0.1.13",
"sequelize": "^5.15.1",
"sequelize": "^6.6.5",
Copy link

Choose a reason for hiding this comment

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

Bug: Incompatible sequelize-typescript version with Sequelize 6 upgrade

The sequelize package was upgraded from 5.x to 6.x, but sequelize-typescript remains at version 0.6.11. This version of sequelize-typescript depends on @types/sequelize 4.28.1 and @types/bluebird, indicating it was built for Sequelize 4/5. Sequelize 6 has breaking changes including removal of Bluebird promises and API modifications. The application uses sequelize-typescript decorators and the Model class throughout, and this incompatibility will cause runtime failures. For Sequelize 6 compatibility, sequelize-typescript needs to be upgraded to version 2.x.

Fix in Cursor Fix in Web

"sequelize-typescript": "^0.6.11"
},
"devDependencies": {
Expand Down
Loading