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

@marvr/storyblok-rich-text-types

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marvr/storyblok-rich-text-types - npm Package Compare versions

Comparing version 3.3.2 to 3.4.0

14

dist/index.d.ts

@@ -22,2 +22,4 @@ declare enum NodeTypes {

STYLED = "styled",
SUPERSCRIPT = "superscript",
SUBSCRIPT = "subscript",
TEXT = "text",

@@ -168,4 +170,10 @@ COMPONENT = "blok"

}
interface SuperscriptNode extends Node {
type: NodeTypes.SUPERSCRIPT;
}
interface SubscriptNode extends Node {
type: NodeTypes.SUBSCRIPT;
}
type BlockNodes = DocumentNode | HeadingNode | ParagraphNode | ListItemNode | OrderedListNode | UnorderedListNode | QuoteNode | CodeBlockNode | HorizontalRuleNode | BreakNode | ImageNode;
type MarkNodes = BoldNode | StrongNode | StrikeNode | UnderlineNode | ItalicNode | CodeNode | LinkNode | StyledNode | AnchorNode;
type MarkNodes = BoldNode | StrongNode | StrikeNode | UnderlineNode | ItalicNode | CodeNode | LinkNode | StyledNode | AnchorNode | SuperscriptNode | SubscriptNode;
type RootNodes = HeadingNode | ParagraphNode | OrderedListNode | UnorderedListNode | QuoteNode | HorizontalRuleNode | ImageNode;

@@ -176,3 +184,3 @@ type BlockNodesWithContent = DocumentNode | ParagraphNode | QuoteNode | UnorderedListNode | ListItemNode;

type BlockNodesWithContentAndAttributes = HeadingNode | OrderedListNode | CodeBlockNode;
type MarkNodesWithoutOptions = BoldNode | StrongNode | StrikeNode | UnderlineNode | ItalicNode | CodeNode;
type MarkNodesWithoutOptions = BoldNode | StrongNode | StrikeNode | UnderlineNode | ItalicNode | CodeNode | SuperscriptNode | SubscriptNode;
type MarkNodesWithAttributes = LinkNode | AnchorNode | StyledNode;

@@ -184,2 +192,2 @@

export { AnchorAttributes, AnchorNode, BlockNodes, BlockNodesWithAttributes, BlockNodesWithContent, BlockNodesWithContentAndAttributes, BlockNodesWithoutOptions, BoldNode, BreakNode, CodeBlockAttributes, CodeBlockNode, CodeNode, ComponentAttributes, ComponentBody, ComponentBodyShell, ComponentNode, DocumentNode, HeadingAttributes, HeadingLevels, HeadingNode, HorizontalRuleNode, ImageAttributes, ImageNode, ItalicNode, LinkAttributes, LinkNode, LinkTargets, LinkTypes, ListItemNode, MarkNodes, MarkNodesWithAttributes, MarkNodesWithoutOptions, Node, NodeAttributes, NodeTypes, NodeWithContent, OrderedListAttributes, OrderedListNode, ParagraphNode, QuoteNode, RootNodes, StrikeNode, StrongNode, StyledAttributes, StyledNode, TextNode, UnderlineNode, UnorderedListNode, blockNodeTypes, isBlockNode, isComponentNode, isTextNode };
export { AnchorAttributes, AnchorNode, BlockNodes, BlockNodesWithAttributes, BlockNodesWithContent, BlockNodesWithContentAndAttributes, BlockNodesWithoutOptions, BoldNode, BreakNode, CodeBlockAttributes, CodeBlockNode, CodeNode, ComponentAttributes, ComponentBody, ComponentBodyShell, ComponentNode, DocumentNode, HeadingAttributes, HeadingLevels, HeadingNode, HorizontalRuleNode, ImageAttributes, ImageNode, ItalicNode, LinkAttributes, LinkNode, LinkTargets, LinkTypes, ListItemNode, MarkNodes, MarkNodesWithAttributes, MarkNodesWithoutOptions, Node, NodeAttributes, NodeTypes, NodeWithContent, OrderedListAttributes, OrderedListNode, ParagraphNode, QuoteNode, RootNodes, StrikeNode, StrongNode, StyledAttributes, StyledNode, SubscriptNode, SuperscriptNode, TextNode, UnderlineNode, UnorderedListNode, blockNodeTypes, isBlockNode, isComponentNode, isTextNode };

@@ -23,2 +23,4 @@ // src/nodes.ts

NodeTypes2["STYLED"] = "styled";
NodeTypes2["SUPERSCRIPT"] = "superscript";
NodeTypes2["SUBSCRIPT"] = "subscript";
NodeTypes2["TEXT"] = "text";

@@ -25,0 +27,0 @@ NodeTypes2["COMPONENT"] = "blok";

{
"name": "@marvr/storyblok-rich-text-types",
"version": "3.3.2",
"version": "3.4.0",
"keywords": [

@@ -5,0 +5,0 @@ "rich-text",

@@ -24,2 +24,4 @@ export enum NodeTypes {

STYLED = 'styled',
SUPERSCRIPT = 'superscript',
SUBSCRIPT = 'subscript',
// Text

@@ -226,2 +228,10 @@ TEXT = 'text',

export interface SuperscriptNode extends Node {
type: NodeTypes.SUPERSCRIPT
}
export interface SubscriptNode extends Node {
type: NodeTypes.SUBSCRIPT
}
export type BlockNodes =

@@ -250,2 +260,4 @@ | DocumentNode

| AnchorNode
| SuperscriptNode
| SubscriptNode

@@ -282,3 +294,5 @@ export type RootNodes =

| CodeNode
| SuperscriptNode
| SubscriptNode
export type MarkNodesWithAttributes = LinkNode | AnchorNode | StyledNode

Sorry, the diff of this file is not supported yet

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