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 functions/upvoteProject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"node-appwrite": "^8.0.0"
"node-appwrite": "^31.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

SDK 31 requires a newer Node runtime

node-appwrite 31 declares engines.node >=20, but this function is configured with the node-16.0 runtime in appwrite.config.json. That leaves the deployed function running the SDK on an unsupported Node version and can cause runtime failures; update the function runtime along with this dependency bump.

Prompt To Fix With AI
This is a comment left during a code review.
Path: functions/upvoteProject/package.json
Line: 13

Comment:
**SDK 31 requires a newer Node runtime**

`node-appwrite` 31 declares `engines.node >=20`, but this function is configured with the `node-16.0` runtime in `appwrite.config.json`. That leaves the deployed function running the SDK on an unsupported Node version and can cause runtime failures; update the function runtime along with this dependency bump.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

🟠 Major · bug · Reply if this doesn't apply.

}
}
Loading