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.0.5 to 2.0.6

5

lib/utils/buildHtml.js

@@ -40,3 +40,3 @@ "use strict";

const src = item.getAttribute('src');
let newSrc;
let newSrc = src;
if (src.startsWith('https://s3.us-west')) {

@@ -47,4 +47,3 @@ const [parsedOriginUrl] = src.split('?');

else if (src.startsWith('/')) {
const notionImage = src.replace(/^\/image\//, '');
newSrc = decodeURIComponent(notionImage);
newSrc = 'https://notion.so' + src;
}

@@ -51,0 +50,0 @@ item.setAttribute('src', newSrc);

2

package.json
{
"name": "get-notion-contents",
"version": "2.0.5",
"version": "2.0.6",
"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