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

notion-content-render

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notion-content-render - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

11

dist/index.js

@@ -67,6 +67,5 @@ "use strict";

}
// function toBulletList(block: BulletedListItemBlock): B {
// const { text } = block.bulleted_list_item;
// return styleFactory.bulletList(text.map(toBulletListItem));
// }
function toBulletList(content) {
return styleFactory.bulletList(content);
}
return {

@@ -85,3 +84,5 @@ renderRichText: toRichTextBlock,

case exports.BLOCK_TYPES.BULLETED_LIST_ITEM:
return toBulletListItem(block.bulleted_list_item.text);
return toBulletList([
toBulletListItem(block.bulleted_list_item.text),
]);
default:

@@ -88,0 +89,0 @@ return styleFactory.unsupported(block);

{
"name": "notion-content-render",
"version": "0.2.8",
"version": "0.2.9",
"description": "A library to render notion content structure to React or MD",

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

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