Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apn

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apn - npm Package Compare versions

Comparing version 1.7.6 to 1.7.7

6

ChangeLog.md
## Changelog
1.7.7:
* Fix Documentation URL (#393)
* Prevent `badge: 0` sending `badge: undefined` (#394)
* Avoid error, when deferredConnection is null (#397)
1.7.6:

@@ -4,0 +10,0 @@

4

lib/connection.js

@@ -225,3 +225,5 @@ "use strict";

var connectionTimer = setTimeout(function () {
this.deferredConnection.reject(new Error("Connect timed out"));
if(this.deferredConnection) {
this.deferredConnection.reject(new Error("Connect timed out"));
}
if(this.socket) {

@@ -228,0 +230,0 @@ this.socket.end();

@@ -483,3 +483,3 @@ "use strict";

aps.badge = this.badge || aps.badge;
aps.badge = typeof this.badge !== "undefined" ? this.badge : aps.badge;
aps.sound = this.sound || aps.sound;

@@ -486,0 +486,0 @@ aps.alert = this.alert || aps.alert;

{
"name": "apn",
"description": "An interface to the Apple Push Notification service for Node.js",
"version": "1.7.6",
"version": "1.7.7",
"author": "Andrew Naylor <argon@mkbot.net>",

@@ -6,0 +6,0 @@ "contributors": [

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