@tryghost/admin-api
Advanced tools
+3
-0
@@ -304,2 +304,5 @@ const axios = require('axios'); | ||
| } else { | ||
| delete err.request; | ||
| delete err.config; | ||
| delete err.response; | ||
| throw err; | ||
@@ -306,0 +309,0 @@ } |
+2
-3
@@ -6,5 +6,4 @@ const jwt = require('jsonwebtoken'); | ||
| return jwt.sign({ | ||
| kid: id | ||
| }, Buffer.from(secret, 'hex'), { // eslint-disable-line no-undef | ||
| return jwt.sign({}, Buffer.from(secret, 'hex'), { // eslint-disable-line no-undef | ||
| keyid: id, | ||
| algorithm: 'HS256', | ||
@@ -11,0 +10,0 @@ expiresIn: '5m', |
+2
-3
| { | ||
| "name": "@tryghost/admin-api", | ||
| "version": "0.2.0", | ||
| "version": "0.3.0", | ||
| "repository": "https://github.com/TryGhost/Ghost-SDKs/tree/master/packages/admin-api", | ||
@@ -32,4 +32,3 @@ "author": "Ghost Foundation", | ||
| "jsonwebtoken": "^8.4.0" | ||
| }, | ||
| "gitHead": "28a3651a34a304660e32f0890540c618a6c4c98d" | ||
| } | ||
| } |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
12802
0.38%271
0.74%