New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@parse/node-apn

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parse/node-apn - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

5

ChangeLog.md
## Changelog
3.2.0
* Update node-forge and pin packages
* Add typings for the "voip" NotificationPushType
* Typed Notification.pushType
3.1.0

@@ -3,0 +8,0 @@ * Fix: http2session.shutdown() is not a function

4

index.d.ts

@@ -113,2 +113,4 @@ /// <reference types="node" />

export type NotificationPushType = 'background' | 'alert' | 'voip';
export interface NotificationAlertOptions {

@@ -154,3 +156,3 @@ title?: string;

public collapseId: string;
public pushType: string;
public pushType: NotificationPushType;
public threadId: string;

@@ -157,0 +159,0 @@

{
"name": "@parse/node-apn",
"description": "An interface to the Apple Push Notification service for Node.js",
"version": "3.1.0",
"version": "3.2.0",
"author": "Andrew Naylor <argon@mkbot.net>",

@@ -21,14 +21,13 @@ "keywords": [

"dependencies": {
"coveralls": "^3.0.6",
"debug": "^3.1.0",
"jsonwebtoken": "^8.1.0",
"node-forge": "^0.7.1",
"verror": "^1.10.0"
"debug": "3.1.0",
"jsonwebtoken": "8.1.0",
"node-forge": "0.10.0",
"verror": "1.10.0"
},
"devDependencies": {
"chai": "3.x",
"chai-as-promised": "^7.1.1",
"mocha": "^4.0.1",
"sinon": "^1.12.2",
"sinon-chai": "^2.14.0"
"chai-as-promised": "7.1.1",
"mocha": "4.0.1",
"sinon": "1.17.7",
"sinon-chai": "2.14.0"
},

@@ -35,0 +34,0 @@ "publishConfig": {

@@ -8,24 +8,11 @@ [<p align="center"><img src="doc/logo.png" alt="node-apn" width="450" height="auto"></p>][node-apn]

[![Maintenance help wanted](https://img.shields.io/badge/maintenance-help%20wanted-red.svg)](https://github.com/node-apn/node-apn/issues/436)
![Maintenance help wanted](https://img.shields.io/badge/maintenance-help%20wanted-red.svg)
[![Build status][ci-image] ][ci-url]
[![Code coverage][coverage-image]][coverage-url]
[![Codacy][codacy-image]][codacy-url]
[![dependencies][dependencies-image]][dependencies-url]
[![devdependencies][devdependencies-image]][devdependencies-url]
[logo]:doc/logo.png
[npm-image]:https://nodei.co/npm/apn.png?downloads=true
[npm-url]:https://npmjs.com/package/apn
[ci-image]:https://api.travis-ci.org/node-apn/node-apn.svg
[ci-url]:https://travis-ci.org/node-apn/node-apn
[coverage-image]:https://coveralls.io/repos/argon/node-apn/badge.svg?branch=develop
[coverage-url]:https://coveralls.io/r/argon/node-apn
[codacy-image]:https://www.codacy.com/project/badge/e7735fbe0db244f3b310657d0dabaa11
[codacy-url]:https://www.codacy.com/public/argon/node-apn
[npm-image]:https://nodei.co/npm/@parse/node-apn.png?downloads=true
[npm-url]:https://npmjs.com/package/@parse/node-apn
[ci-image]:https://api.travis-ci.org/parse-community/node-apn.svg
[ci-url]:https://travis-ci.org/parse-community/node-apn
[dependencies-image]:https://david-dm.org/node-apn/node-apn/status.svg
[dependencies-url]:https://david-dm.org/node-apn/node-apn
[devdependencies-image]:https://david-dm.org/node-apn/node-apn/dev-status.svg
[devdependencies-url]:https://david-dm.org/node-apn/node-apn?type=dev
## Features

@@ -54,3 +41,3 @@

```javascript
var apn = require('apn');
var apn = require('@parse/node-apn');
```

@@ -137,3 +124,3 @@

You should only create one `Provider` per-process for each certificate/key pair you have. You do not need to create a new `Provider` for each notification. If you are only sending notifications to one app then there is no need for more than one `Provider`.
You should only create one `Provider` per-process for each certificate/key pair you have. You do not need to create a new `Provider` for each notification. If you are only sending notifications to one app then there is no need for more than one `Provider`.

@@ -183,3 +170,3 @@ If you are constantly creating `Provider` instances in your app, make sure to call `Provider.shutdown()` when you are done with each provider to release its resources and memory.

[npm]: https://npmjs.org
[node-apn]: https://github.com/node-apn/node-apn
[node-apn]: https://github.com/parse-community/node-apn
[certificateWiki]:https://github.com/node-apn/node-apn/wiki/Preparing-Certificates "Preparing Certificates"

@@ -186,0 +173,0 @@ [pl]: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html "Local and Push Notification Programming Guide: APNs Overview"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc