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

@lexical/headless

Package Overview
Dependencies
Maintainers
7
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/headless - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

14

index.d.ts

@@ -9,13 +9,3 @@ /** @module @lexical/headless */

*/
import type { EditorState, EditorThemeClasses, Klass, LexicalEditor, LexicalNode } from 'lexical';
declare type ErrorHandler = (error: Error) => void;
export declare function createHeadlessEditor(editorConfig?: {
editorState?: EditorState;
namespace?: string;
nodes?: ReadonlyArray<Klass<LexicalNode>>;
onError?: ErrorHandler;
parentEditor?: LexicalEditor;
editable?: boolean;
theme?: EditorThemeClasses;
}): LexicalEditor;
export {};
import type { CreateEditorArgs, LexicalEditor } from 'lexical';
export declare function createHeadlessEditor(editorConfig?: CreateEditorArgs): LexicalEditor;

4

package.json

@@ -11,6 +11,6 @@ {

"license": "MIT",
"version": "0.8.0",
"version": "0.8.1",
"main": "LexicalHeadless.js",
"peerDependencies": {
"lexical": "0.8.0"
"lexical": "0.8.1"
},

@@ -17,0 +17,0 @@ "repository": {

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