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 packages/email-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"async": "^3.2.4",
"axios": "^0.27.2",
"bufferutil": "^4.0.7",
"canvas": "^2.10.2",
"canvas": "^3.0.0",

Choose a reason for hiding this comment

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

high

This upgrade to canvas is a major version bump (v2 to v3), which is flagged by Snyk as a breaking change. To ensure the stability and correctness of the application, it's crucial to perform the following actions:

  1. Update Lockfile: Run pnpm install to update the pnpm-lock.yaml file. The PR is incomplete without this change, and the new dependency version will not be used.
  2. Regression Testing: Thoroughly test all functionality that relies on canvas, such as email image generation, to verify that this major version upgrade has not introduced any breaking changes or visual regressions.

Merging without these steps could lead to broken functionality in production.

"cron": "^2.1.0",
"dotenv": "^16.0.3",
"encoding": "^0.1.13",
Expand Down
Loading