Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@tryghost/admin-api

Package Overview
Dependencies
Maintainers
21
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tryghost/admin-api - npm Package Compare versions

Comparing version
1.8.0
to
1.8.1
+15
-1
lib/index.js

@@ -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"
}