New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-source-notion-database

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-notion-database - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

2

gatsby-node.js

@@ -11,5 +11,5 @@ const Notabase = require("notabase")

let [tableName, collection] = i
await genApiData(collection, tableName, 'id', createNode, createNodeId, createContentDigest, settings)
await genApiData(nb, collection, tableName, 'id', createNode, createNodeId, createContentDigest, settings)
}))
return
}
{
"name": "gatsby-source-notion-database",
"version": "0.4.4",
"version": "0.4.5",
"description": "Load data from Notion's database",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -45,3 +45,3 @@ const getPageHtml = require('./getPageHtml')

async function genApiData(collection, tableName, key, createNode, createNodeId, createContentDigest, settings) {
async function genApiData(nb, collection, tableName, key, createNode, createNodeId, createContentDigest, settings) {
console.log(`🌈fetch data from notion: ${tableName}`)

@@ -48,0 +48,0 @@ let props = collection.props.filter(i => !(i === '_raw'))

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