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

get-notion-contents

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-notion-contents - npm Package Compare versions

Comparing version 2.1.4 to 2.2.0

5

lib/utils/buildHtml.js

@@ -29,3 +29,2 @@ "use strict";

const page = yield browser.newPage();
yield windowSet(page, 'option', option);
yield page.goto(`https://www.notion.so/${pageId.split('-').join('')}`);

@@ -36,3 +35,3 @@ const cookie = [{ name: 'token_v2', value: token }];

yield page.waitFor(20000);
const data = yield page.evaluate(() => {
const data = yield page.evaluate(option => {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;

@@ -152,3 +151,3 @@ const contentEditable$ = document.querySelectorAll('div[contenteditable=true]');

}
});
}, option);
yield browser.close();

@@ -155,0 +154,0 @@ if (data == null) {

2

package.json
{
"name": "get-notion-contents",
"version": "2.1.4",
"version": "2.2.0",
"description": "Get contents from notion",

@@ -5,0 +5,0 @@ "keywords": [

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