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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@bull-board/express": "^4.3.1",
"@bull-board/ui": "^4.12.2",
"@elastic/elasticsearch": "^7.17.0",
"@parse/node-apn": "^5.1.3",
"@parse/node-apn": "^7.0.0",

Choose a reason for hiding this comment

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

high

This is a major version upgrade from v5 to v7 for @parse/node-apn. Version 6 of this library introduced a significant breaking change by removing support for callbacks and moving to a Promise-based API. Your code in src/jobs/PushNotification.js appears to use a callback-style API via the rollout-pushnotification wrapper. This update is very likely to break Apple Push Notifications. Please verify compatibility and update your code to use Promises if necessary before merging this change. Given the risk, you might want to find the minimum version that fixes the vulnerability without introducing breaking changes.

"@saurabharch/json-rules-engine": "^6.1.2",
"@saurabharch/rollout-chatbot-util": "^0.8.37",
"@saurabharch/rollout-node-sdk": "^0.0.6",
Expand Down Expand Up @@ -200,7 +200,7 @@
"node-rsa": "^1.1.1",
"node-schedule": "^2.1.0",
"node-uuid": "^1.4.8",
"nodemailer": "^6.7.8",
"nodemailer": "^7.0.11",

Choose a reason for hiding this comment

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

critical

The nodemailer package is being updated to version 7.0.11, which does not exist in the npm registry. This will cause npm install to fail. To fix the Snyk vulnerability SNYK-JS-NODEMAILER-14157156, you should update to a version like 6.9.8 or higher within the 6.x series. The latest version is 6.9.13.

Suggested change
"nodemailer": "^7.0.11",
"nodemailer": "^6.9.13",

"numeral": "^2.0.6",
"oauth2orize": "^1.11.1",
"oauthorize": "^0.1.0",
Expand Down
Loading