universal-github-app-jwt
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "universal-github-app-jwt", | ||
"type": "module", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"exports": "./index.js", | ||
@@ -38,10 +38,10 @@ "imports": { | ||
"devDependencies": { | ||
"ava": "^5.1.0", | ||
"c8": "^8.0.0", | ||
"esbuild": "^0.16.10", | ||
"ava": "^6.0.0", | ||
"c8": "^9.0.0", | ||
"esbuild": "^0.20.0", | ||
"mockdate": "^3.0.5", | ||
"open-cli": "^7.1.0", | ||
"prettier": "^2.8.1", | ||
"tsd": "^0.25.0", | ||
"typescript": "^4.9.4" | ||
"open-cli": "^8.0.0", | ||
"prettier": "^3.0.0", | ||
"tsd": "^0.30.0", | ||
"typescript": "^5.0.0" | ||
}, | ||
@@ -58,3 +58,8 @@ "release": { | ||
] | ||
}, | ||
"renovate": { | ||
"extends": [ | ||
"github>gr2m/.github" | ||
] | ||
} | ||
} |
@@ -200,6 +200,8 @@ # universal-github-app-jwt | ||
const privateKeyPkcs8 = crypto.createPrivateKey(process.env.PRIVATE_KEY).export({ | ||
type: "pkcs8", | ||
format: "pem", | ||
} | ||
const privateKeyPkcs8 = crypto | ||
.createPrivateKey(process.env.PRIVATE_KEY) | ||
.export({ | ||
type: "pkcs8", | ||
format: "pem", | ||
}); | ||
@@ -206,0 +208,0 @@ const { token, appId, expiration } = await githubAppJwt({ |
@@ -144,3 +144,3 @@ import test from "ava"; | ||
error.message, | ||
"[universal-github-app-jwt] Private Key is in OpenSSH format, but only PKCS#8 is supported. See https://github.com/gr2m/universal-github-app-jwt#private-key-formats" | ||
"[universal-github-app-jwt] Private Key is in OpenSSH format, but only PKCS#8 is supported. See https://github.com/gr2m/universal-github-app-jwt#private-key-formats", | ||
); | ||
@@ -147,0 +147,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
29708
230