@tryghost/admin-api
Advanced tools
+15
-1
@@ -9,2 +9,11 @@ const axios = require('axios'); | ||
| /** | ||
| * | ||
| * @param {Object} options | ||
| * @param {String} options.url | ||
| * @param {String} [options.ghostPath] | ||
| * @param {String} [options.version] | ||
| * @param {Function} [options.makeRequest] | ||
| * @param {String} [options.host] Deprecated | ||
| */ | ||
| module.exports = function GhostAdminAPI(options) { | ||
@@ -39,3 +48,8 @@ if (this instanceof GhostAdminAPI) { | ||
| // new GhostAdminAPI({host: '...'}) is deprecated | ||
| // | ||
| /** | ||
| * host parameter is deprecated | ||
| * @deprecated use "url" instead | ||
| * @example new GhostAdminAPI({host: '...'}) | ||
| */ | ||
| if (config.host) { | ||
@@ -42,0 +56,0 @@ // eslint-disable-next-line |
+2
-2
| { | ||
| "name": "@tryghost/admin-api", | ||
| "version": "1.8.0", | ||
| "version": "1.8.1", | ||
| "repository": "https://github.com/TryGhost/SDK/tree/master/packages/admin-api", | ||
@@ -34,3 +34,3 @@ "author": "Ghost Foundation", | ||
| }, | ||
| "gitHead": "36ffe70168eb2ad3eaefa0dc63a35697b284c9e7" | ||
| "gitHead": "dbf4ab41a6964422987a68c4327336692a54527f" | ||
| } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
16006
2.07%367
3.97%1
Infinity%