Socket
Socket
Sign inDemoInstall

lexical

Package Overview
Dependencies
Maintainers
4
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lexical - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

7

Lexical.d.ts

@@ -131,2 +131,3 @@ /**

_readOnly: boolean;
_headless: boolean;
isComposing(): boolean;

@@ -153,2 +154,3 @@ registerUpdateListener(listener: UpdateListener): () => void;

hasNodes(nodes: Array<Class<LexicalNode>>): boolean;
getKey(): string;
getDecorators<X>(): Record<NodeKey, X>;

@@ -253,3 +255,3 @@ getRootElement(): null | HTMLElement;

parentEditor?: LexicalEditor;
nodes?: Array<Class<LexicalNode>>;
nodes?: ReadonlyArray<Class<LexicalNode>>;
onError: (error: Error) => void;

@@ -358,5 +360,3 @@ disableEvents?: boolean;

isDirty(): boolean;
// $FlowFixMe
getLatest<T extends LexicalNode>(): T;
// $FlowFixMe
getWritable<T extends LexicalNode>(): T;

@@ -624,2 +624,3 @@ getTextContent(includeInert?: boolean, includeDirectionless?: false): string;

mergeWithSibling(target: TextNode): TextNode;
isTextEntity(): boolean;
}

@@ -626,0 +627,0 @@ export function $createTextNode(text?: string): TextNode;

@@ -12,3 +12,3 @@ {

"license": "MIT",
"version": "0.2.7",
"version": "0.2.8",
"main": "Lexical.js",

@@ -15,0 +15,0 @@ "typings": "Lexical.d.ts",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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