Socket
Socket
Sign inDemoInstall

lexical

Package Overview
Dependencies
Maintainers
6
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.7.2 to 0.7.3

4

LexicalUtils.d.ts

@@ -53,3 +53,3 @@ /**

export declare function getAnchorTextFromDOM(anchorNode: Node): null | string;
export declare function $updateSelectedTextFromDOM(isCompositionEnd: boolean, data?: string): void;
export declare function $updateSelectedTextFromDOM(isCompositionEnd: boolean, editor: LexicalEditor, data?: string): void;
export declare function $updateTextNodeFromDOMContent(textNode: TextNode, textContent: string, anchorOffset: null | number, focusOffset: null | number, compositionEnd: boolean): void;

@@ -112,2 +112,2 @@ export declare function $shouldInsertTextAfterOrBeforeTextNode(selection: RangeSelection, node: TextNode): boolean;

export declare function updateDOMBlockCursorElement(editor: LexicalEditor, rootElement: HTMLElement, nextSelection: null | RangeSelection | NodeSelection | GridSelection): void;
export declare function getDOMSelection(): null | Selection;
export declare function getDOMSelection(targetWindow: null | Window): null | Selection;

@@ -8,6 +8,6 @@ /**

*/
import type { EditorConfig } from '../LexicalEditor';
import type { DOMConversionMap, NodeKey, SerializedLexicalNode } from '../LexicalNode';
import type { EditorConfig, LexicalEditor } from '../LexicalEditor';
import type { DOMConversionMap, DOMExportOutput, NodeKey, SerializedLexicalNode } from '../LexicalNode';
import type { GridSelection, NodeSelection, RangeSelection } from '../LexicalSelection';
import type { Spread } from 'lexical';
import { Spread } from 'lexical';
import { LexicalNode } from '../LexicalNode';

@@ -61,2 +61,3 @@ export declare type SerializedTextNode = Spread<{

static importJSON(serializedNode: SerializedTextNode): TextNode;
exportDOM(editor: LexicalEditor): DOMExportOutput;
exportJSON(): SerializedTextNode;

@@ -63,0 +64,0 @@ selectionTransform(prevSelection: null | RangeSelection | NodeSelection | GridSelection, nextSelection: RangeSelection): void;

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

"license": "MIT",
"version": "0.7.2",
"version": "0.7.3",
"main": "Lexical.js",

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

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