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
46 changes: 20 additions & 26 deletions course-02/exercises/udacity-c2-restapi/package-lock.json
100755 → 100644

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

2 changes: 1 addition & 1 deletion course-02/exercises/udacity-c2-restapi/package.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"jsonwebtoken": "^8.5.1",
"pg": "^7.11.0",
"reflect-metadata": "^0.1.13",
"sequelize": "^5.10.0",
"sequelize": "^5.22.5",

Choose a reason for hiding this comment

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

high

Upgrading sequelize to 5.22.5 also upgrades its transitive dependency validator to version 13.x. Since validator@11+ bundles its own TypeScript definitions, the devDependencies entry for @types/validator (currently at ^10.11.3) is now obsolete and may cause type conflicts. It is recommended to remove @types/validator from devDependencies.

After removing it, you should run npm install to regenerate the package-lock.json file. This will also resolve the issue with the invalid validator version in the lock file.

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