Socket
Socket
Sign inDemoInstall

gatsby-source-ghost

Package Overview
Dependencies
Maintainers
11
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-ghost - npm Package Compare versions

Comparing version 3.4.6 to 3.5.0

12

content-api.js
const GhostContentAPI = require('@tryghost/content-api');
module.exports.configure = configOptions => new GhostContentAPI({
url: configOptions.apiUrl,
key: configOptions.contentApiKey,
version: 'v2'
});
module.exports.configure = ({apiUrl, contentApiKey, version = `v2`}) => {
return new GhostContentAPI({
url: apiUrl,
key: contentApiKey,
version: version
});
};
{
"name": "gatsby-source-ghost",
"version": "3.4.6",
"version": "3.5.0",
"description": "Gatsby source plugin for building websites using the Ghost API as a data source.",

@@ -22,17 +22,17 @@ "repository": "git@github.com:TryGhost/gatsby-source-ghost.git",

"devDependencies": {
"eslint": "6.4.0",
"eslint": "6.5.1",
"eslint-plugin-ghost": "0.5.0",
"lodash": "4.17.15",
"mocha": "6.2.0",
"mocha": "6.2.1",
"proxyquire": "2.1.3",
"should": "13.2.3",
"sinon": "7.4.2"
"sinon": "7.5.0"
},
"dependencies": {
"@tryghost/content-api": "1.2.9",
"bluebird": "3.5.5",
"@tryghost/content-api": "1.3.1",
"bluebird": "3.7.1",
"cheerio": "1.0.0-rc.3",
"gatsby-node-helpers": "^0.3.0",
"qs": "6.8.0"
"qs": "6.9.0"
}
}

@@ -25,3 +25,4 @@ # Gatsby Source Ghost

apiUrl: `https://<your-subdomain>.ghost.io`,
contentApiKey: `<your content api key>`
contentApiKey: `<your content api key>`,
version: `v2` // optional, defaults to "v2"
}

@@ -28,0 +29,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc