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

apns2

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apns2 - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

4

CHANGELOG.md

@@ -8,2 +8,6 @@ Change Log

## [8.0.0](https://github.com/AndrewBarba/apns2/releases/tag/7.0.0)
1. Require Node.js v10 or higher
## [7.0.0](https://github.com/AndrewBarba/apns2/releases/tag/7.0.0)

@@ -10,0 +14,0 @@

5

lib/http2-client.js

@@ -12,3 +12,4 @@ const { URL } = require('url')

HTTP2_HEADER_PATH,
HTTP2_HEADER_STATUS
HTTP2_HEADER_STATUS,
NGHTTP2_CANCEL
} = http2.constants

@@ -125,3 +126,3 @@

// Cancel request after timeout
req.setTimeout(this._timeout, () => req.rstWithCancel())
req.setTimeout(this._timeout, () => req.close(NGHTTP2_CANCEL))

@@ -128,0 +129,0 @@ // Response handling

{
"name": "apns2",
"version": "7.0.0",
"version": "8.0.0",
"description": "Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens.",

@@ -10,3 +10,3 @@ "author": "Andrew Barba <abarba.77@gmail.com>",

"engines": {
"node": ">=8.10.0"
"node": ">=10.16.0"
},

@@ -13,0 +13,0 @@ "repository": {

@@ -10,3 +10,3 @@ APNS2

> Now uses the native `http2` module in Node.js v8.10 or later
> Now uses the native `http2` module in Node.js v10.16 or later

@@ -13,0 +13,0 @@ ---

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