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

lexical

Package Overview
Dependencies
Maintainers
5
Versions
247
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.14.2 to 0.14.3

Lexical.dev.mjs

4

index.d.ts

@@ -10,3 +10,3 @@ /** @module lexical */

export type { PasteCommandType } from './LexicalCommands';
export type { CommandListener, CommandListenerPriority, CommandPayloadType, CreateEditorArgs, EditableListener, EditorConfig, EditorThemeClasses, HTMLConfig, Klass, KlassConstructor, LexicalCommand, LexicalEditor, LexicalNodeReplacement, MutationListener, NodeMutation, SerializedEditor, Spread, } from './LexicalEditor';
export type { CommandListener, CommandListenerPriority, CommandPayloadType, CreateEditorArgs, EditableListener, EditorConfig, EditorThemeClasses, HTMLConfig, Klass, KlassConstructor, LexicalCommand, LexicalEditor, LexicalNodeReplacement, MutationListener, NodeMutation, SerializedEditor, Spread, Transform, } from './LexicalEditor';
export type { EditorState, SerializedEditorState } from './LexicalEditorState';

@@ -22,3 +22,3 @@ export type { DOMChildConversion, DOMConversion, DOMConversionFn, DOMConversionMap, DOMConversionOutput, DOMExportOutput, LexicalNode, NodeKey, NodeMap, SerializedLexicalNode, } from './LexicalNode';

export { $normalizeSelection as $normalizeSelection__EXPERIMENTAL } from './LexicalNormalization';
export { $createNodeSelection, $createPoint, $createRangeSelection, $getCharacterOffsets, $getPreviousSelection, $getSelection, $getTextContent, $insertNodes, $isBlockElementNode, $isNodeSelection, $isRangeSelection, } from './LexicalSelection';
export { $createNodeSelection, $createPoint, $createRangeSelection, $createRangeSelectionFromDom, $getCharacterOffsets, $getPreviousSelection, $getSelection, $getTextContent, $insertNodes, $isBlockElementNode, $isNodeSelection, $isRangeSelection, } from './LexicalSelection';
export { $parseSerializedNode, isCurrentlyReadOnlyMode } from './LexicalUpdates';

@@ -25,0 +25,0 @@ export { $addUpdateTag, $applyNodeReplacement, $copyNode, $getAdjacentNode, $getEditor, $getNearestNodeFromDOMNode, $getNearestRootOrShadowRoot, $getNodeByKey, $getRoot, $hasAncestor, $hasUpdateTag, $isInlineElementOrDecoratorNode, $isLeafNode, $isRootOrShadowRoot, $nodesOfType, $selectAll, $setCompositionKey, $setSelection, $splitNode, getNearestEditorFromDOMNode, isHTMLAnchorElement, isHTMLElement, isSelectionCapturedInDecoratorInput, isSelectionWithinEditor, } from './LexicalUtils';

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

export declare function internalCreateSelection(editor: LexicalEditor): null | BaseSelection;
export declare function $createRangeSelectionFromDom(domSelection: Selection | null, editor: LexicalEditor): null | RangeSelection;
export declare function internalCreateRangeSelection(lastSelection: null | BaseSelection, domSelection: Selection | null, editor: LexicalEditor, event: UIEvent | Event | null): null | RangeSelection;

@@ -277,0 +278,0 @@ export declare function $getSelection(): null | BaseSelection;

@@ -11,3 +11,3 @@ /**

import type { KlassConstructor, Spread } from 'lexical';
import { TextNode } from '../';
import { TextNode } from '../index';
import { LexicalNode } from '../LexicalNode';

@@ -14,0 +14,0 @@ export type SerializedElementNode<T extends SerializedLexicalNode = SerializedLexicalNode> = Spread<{

@@ -12,4 +12,5 @@ {

"license": "MIT",
"version": "0.14.2",
"version": "0.14.3",
"main": "Lexical.js",
"types": "index.d.ts",
"repository": {

@@ -20,4 +21,17 @@ "type": "git",

},
"module": "Lexical.esm.js",
"sideEffects": false
"module": "Lexical.mjs",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"node": "./Lexical.node.mjs",
"default": "./Lexical.mjs"
},
"require": {
"types": "./index.d.ts",
"default": "./Lexical.js"
}
}
}
}

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