Huge News!Announcing our $40M Series B led by Abstract Ventures.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.6.2 to 0.6.3

2

package.json
{
"name": "gatsby-source-notion-database",
"version": "0.6.2",
"version": "0.6.3",
"description": "Load data from Notion's database",

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

@@ -48,5 +48,16 @@ const puppeteer = require('puppeteer');

// 表格视图 CSS 修复
document.querySelectorAll("div.notion-scroller.horizontal").forEach(item => {
item.children[0].style.padding = 0
item.previousElementSibling.style.paddingLeft = 0
})
// 文章内容
let content = document.querySelector('#notion-app > div > div.notion-cursor-listener > div > div > div.notion-page-content')
// 可编辑内容修复
let contenteditable = content.querySelectorAll("div[contenteditable=true]")
contenteditable.forEach(i => {
i.setAttribute("contenteditable", false)
})
if (content) {

@@ -53,0 +64,0 @@ return content.innerHTML

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