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

apns2

Package Overview
Dependencies
Maintainers
0
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 12.0.0 to 12.1.0-beta.1

dist/cjs/apns.js

23

package.json
{
"name": "apns2",
"version": "12.0.0",
"version": "12.1.0-beta.1",
"description": "Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens.",

@@ -8,6 +8,11 @@ "author": "Andrew Barba <barba@hey.com>",

"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js"
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/index.d.ts"
}
},

@@ -20,3 +25,3 @@ "engines": {

},
"files": ["dist"],
"files": ["dist", "dist/cjs", "dist/esm"],
"keywords": [

@@ -50,3 +55,9 @@ "apn",

"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:package-files",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:package-files": "npm run build:package-files:cjs && npm run build:package-files:esm",
"build:package-files:cjs": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:package-files:esm": "echo '{\"type\":\"module\"}' > dist/esm/package.json",
"lint": "biome ci src test",

@@ -53,0 +64,0 @@ "lint:format": "biome format --write src test",

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