Skip to content
Open
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
2 changes: 1 addition & 1 deletion course-04/exercises/lesson-5/solution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"elasticsearch": "^16.7.3",
"http-aws-es": "^6.0.0",
"jimp": "^0.6.4",
"jimp": "^0.22.12",

Choose a reason for hiding this comment

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

medium

Considering the significant version jump from 0.6.4 to 0.22.12, it's safer to pin the dependency to this exact version. This will prevent npm from automatically installing newer minor versions which, for a pre-1.0.0 package like jimp, could introduce unexpected breaking changes. Pinning the version ensures more predictable and stable builds.

Suggested change
"jimp": "^0.22.12",
"jimp": "0.22.12",

"jsonwebtoken": "^8.5.1",
"middy": "^0.25.0",
"source-map-support": "^0.5.11",
Expand Down