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.1 to 2.1.2

1

lib/types/index.d.ts

@@ -59,2 +59,3 @@ export declare type Option = {

};
export declare type Type = 'NotionContent' | 'NotionBoard' | 'NotionList' | 'NotionTable' | 'NotionGallery';
export {};

4

lib/utils/buildHtml.js

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

{
const type = (_p = (_o = (_m = view$.getAttribute('class')) === null || _m === void 0 ? void 0 : _m.match(/^(?:notion-)(.+)(-view)$/)) === null || _o === void 0 ? void 0 : _o[1], (_p !== null && _p !== void 0 ? _p : 'Resource'));
const type = (_p = (_o = (_m = view$.getAttribute('class')) === null || _m === void 0 ? void 0 : _m.match(/^(?:notion-)(.+)(-view)$/)) === null || _o === void 0 ? void 0 : _o[1], (_p !== null && _p !== void 0 ? _p : 'Content'));
const wrapper$ = view$.parentElement.parentElement;

@@ -134,3 +134,3 @@ const cover$ = (_q = wrapper$.querySelector('img')) === null || _q === void 0 ? void 0 : _q.parentElement;

return {
type: 'Notion' + type.slice(0, 1).toUpperCase() + type.slice(1),
type: ('Notion' + type.slice(0, 1).toUpperCase() + type.slice(1)),
title,

@@ -137,0 +137,0 @@ titleString,

{
"name": "get-notion-contents",
"version": "2.1.1",
"version": "2.1.2",
"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