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/submitProject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"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

submitProject is still configured as node-16.0 in appwrite.config.json:606, while this SDK declares node >=20 (and depends on Undici 6, which requires Node 18+). The function will therefore run this dependency on an unsupported runtime, so deployment or its Appwrite API calls can fail; please align the function runtime with the SDK or keep a Node 16-compatible SDK.

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

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

`submitProject` is still configured as `node-16.0` in `appwrite.config.json:606`, while this SDK declares `node >=20` (and depends on Undici 6, which requires Node 18+). The function will therefore run this dependency on an unsupported runtime, so deployment or its Appwrite API calls can fail; please align the function runtime with the SDK or keep a Node 16-compatible SDK.

---

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.

"nodemailer": "^10.2.0"
}
}
Loading