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

lexical

Package Overview
Dependencies
Maintainers
5
Versions
261
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.13.1 to 0.14.0

Lexical.dev.esm.js

2

Lexical.js

@@ -8,3 +8,3 @@ /**

'use strict'
const Lexical = process.env.NODE_ENV === 'development' ? require('./Lexical.dev.js') : require('./Lexical.prod.js')
const Lexical = process.env.NODE_ENV === 'development' ? require('./Lexical.dev.js') : require('./Lexical.prod.js');
module.exports = Lexical;

@@ -231,2 +231,11 @@ /**

/**
* Helper for handling forward character and word deletion that prevents element nodes
* like a table, columns layout being destroyed
*
* @param anchor the anchor
* @param anchorNode the anchor node in the selection
* @param isBackward whether or not selection is backwards
*/
forwardDeletion(anchor: PointType, anchorNode: TextNode | ElementNode, isBackward: boolean): boolean;
/**
* Performs one logical character deletion operation on the EditorState based on the current Selection.

@@ -233,0 +242,0 @@ * Handles different node types.

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

excludeFromCopy(destination?: 'clone' | 'html'): boolean;
canExtractContents(): boolean;
canReplaceWith(replacement: LexicalNode): boolean;

@@ -75,0 +74,0 @@ canInsertAfter(node: LexicalNode): boolean;

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

"license": "MIT",
"version": "0.13.1",
"version": "0.14.0",
"main": "Lexical.js",

@@ -19,3 +19,5 @@ "repository": {

"directory": "packages/lexical"
}
},
"module": "Lexical.esm.js",
"sideEffects": false
}
# `lexical`
[![See API Documentation](https://lexical.dev/img/see-api-documentation.svg)](https://lexical.dev/docs/api/modules/lexical)
Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility, and performance. Lexical aims to provide a best-in-class developer experience, so you can easily prototype and build features with confidence. Combined with a highly extensible architecture, Lexical allows developers to create unique text editing experiences that scale in size and functionality.

@@ -4,0 +6,0 @@

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

Sorry, the diff of this file is not supported yet

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