@tryghost/admin-api
Advanced tools
+5
-1
@@ -6,2 +6,5 @@ const axios = require('axios'); | ||
| const packageInfo = require('../package.json'); | ||
| const packageVersion = packageInfo.version; | ||
| // NOTE: bump this default when Ghost v5 is released | ||
@@ -421,3 +424,4 @@ const defaultAcceptVersionHeader = 'v4.0'; | ||
| const ghostHeaders = { | ||
| Authorization: authorizationHeader | ||
| Authorization: authorizationHeader, | ||
| 'User-Agent': `GhostAdminSDK/${packageVersion}` | ||
| }; | ||
@@ -424,0 +428,0 @@ |
+2
-2
| { | ||
| "name": "@tryghost/admin-api", | ||
| "version": "1.10.0", | ||
| "version": "1.11.0", | ||
| "repository": "https://github.com/TryGhost/SDK/tree/master/packages/admin-api", | ||
@@ -34,3 +34,3 @@ "author": "Ghost Foundation", | ||
| }, | ||
| "gitHead": "af2e0206c91195715d42b1640f453204abef5a5d" | ||
| "gitHead": "db46574e3958a2487e8ccdcfb735fbe5de2a2731" | ||
| } |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
18272
0.85%410
0.74%