@tryghost/admin-api
Advanced tools
+4
-0
@@ -141,2 +141,6 @@ const axios = require('axios'); | ||
| if (typeof config.version === 'string' && config.version.startsWith('v2')) { | ||
| resources.push('subscribers'); | ||
| } | ||
| const api = resources.reduce((apiObject, resourceType) => { | ||
@@ -143,0 +147,0 @@ function add(data, queryParams = {}) { |
+2
-2
| { | ||
| "name": "@tryghost/admin-api", | ||
| "version": "1.9.1", | ||
| "version": "1.10.0", | ||
| "repository": "https://github.com/TryGhost/SDK/tree/master/packages/admin-api", | ||
@@ -34,3 +34,3 @@ "author": "Ghost Foundation", | ||
| }, | ||
| "gitHead": "3633e6e946c394c73e53b496477543e98e301aa4" | ||
| "gitHead": "af2e0206c91195715d42b1640f453204abef5a5d" | ||
| } |
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
18118
0.71%407
0.74%