-
Notifications
You must be signed in to change notification settings - Fork 71.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade APN Library & Support Time-Sensitive Notifications #8047
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,12 +71,11 @@ | |
"dependencies": { | ||
"@babel/core": "^7.18.10", | ||
"@babel/preset-env": "^7.18.10", | ||
"@parse/node-apn": "^5.1.3", | ||
"acorn": "^8.0.5", | ||
"acorn-jsx": "^5.3.1", | ||
"apn": "^2.2.0", | ||
"async": "^0.9.2", | ||
"babel-loader": "^8.2.5", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looking at the original PR when the prior APN package was added, I see the "pem" and "base64url" libraries were added in the same PR. Those don't seem needed from what I can tell since upgrading the library. Below is the output of
|
||
"base64url": "^3.0.1", | ||
"body-parser": "^1.19.0", | ||
"bootevent": "0.0.1", | ||
"braces": "^3.0.2", | ||
|
@@ -120,7 +119,6 @@ | |
"nightscout-connect": "^0.0.6", | ||
"node-cache": "^4.2.1", | ||
"parse-duration": "^0.1.3", | ||
"pem": "^1.14.4", | ||
"process": "^0.11.10", | ||
"pushover-notifications": "^1.2.2", | ||
"random-token": "0.0.8", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this package using the command:
npm install @parse/node-apn
I originally tried this from node version 18* but it added a bunch of changes to the file unrelated to my update (adding the prefix "node_modules" to each depedency). So I downgraded my node to an earlier version, v14.21.3, per some advice from SO and then ran the command again.