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.5.1 to 4.0.0

2

content-api.js
const GhostContentAPI = require('@tryghost/content-api');
module.exports.configure = ({apiUrl, contentApiKey, version = `v2`}) => {
module.exports.configure = ({apiUrl, contentApiKey, version = `v3`}) => {
return new GhostContentAPI({

@@ -5,0 +5,0 @@ url: apiUrl,

{
"name": "gatsby-source-ghost",
"version": "3.5.1",
"version": "4.0.0",
"description": "Gatsby source plugin for building websites using the Ghost API as a data source.",

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

"eslint-plugin-ghost": "0.5.0",
"mocha": "6.2.1",
"mocha": "6.2.2",
"proxyquire": "2.1.3",

@@ -31,3 +31,3 @@ "should": "13.2.3",

"dependencies": {
"@tryghost/content-api": "1.3.1",
"@tryghost/content-api": "1.3.2",
"bluebird": "3.7.1",

@@ -34,0 +34,0 @@ "cheerio": "1.0.0-rc.3",

@@ -26,3 +26,3 @@ # Gatsby Source Ghost

contentApiKey: `<your content api key>`,
version: `v2` // optional, defaults to "v2"
version: `v3` // Ghost API version, optional, defaults to "v3". Pass in "v2" if your Ghost install is not on 3.0 yet.
}

@@ -29,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