Comparing version 12.0.0 to 12.1.0-beta.1
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33405
26
726
2
1