Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-source-drupal

Package Overview
Dependencies
Maintainers
1
Versions
815
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-drupal - npm Package Compare versions

Comparing version 1.0.0-alpha16-alpha.102adc51 to 1.0.0-alpha16-alpha.7b3bcd50

2

package.json
{
"name": "gatsby-source-drupal",
"version": "1.0.0-alpha16-alpha.102adc51",
"version": "1.0.0-alpha16-alpha.7b3bcd50",
"description": "Gatsby source plugin for building websites using the Drupal CMS as a data source",

@@ -5,0 +5,0 @@ "scripts": {

@@ -31,14 +31,3 @@ const axios = require(`axios`)

) => {
const {
createNode,
updateSourcePluginStatus,
touchNode,
} = boundActionCreators
updateSourcePluginStatus({
plugin: `gatsby-source-drupal`,
status: {
...store.getState().status[`gatsby-source-drupal`],
ready: false,
},
})
const { createNode, setPluginStatus, touchNode } = boundActionCreators

@@ -54,5 +43,10 @@ // Touch existing Drupal nodes so Gatsby doesn't garbage collect them.

const lastFetched = store.getState().status.sourcePlugins[
`gatsby-source-drupal`
].lastFetched
let lastFetched
if (
store.getState().status.plugins &&
store.getState().status.plugins[`gatsby-source-drupal`]
) {
lastFetched = store.getState().status.plugins[`gatsby-source-drupal`]
.lastFetched
}

@@ -75,6 +69,4 @@ let url

updateSourcePluginStatus({
plugin: `gatsby-source-drupal`,
setPluginStatus({
status: {
...store.getState().status[`gatsby-source-drupal`],
lastFetched: new Date().toJSON(),

@@ -164,11 +156,3 @@ },

updateSourcePluginStatus({
plugin: `gatsby-source-drupal`,
status: {
...store.getState().status[`gatsby-source-drupal`],
ready: true,
},
})
return
}
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