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

lexical

Package Overview
Dependencies
Maintainers
5
Versions
210
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.17.2-nightly.20240913.0 to 0.17.2-nightly.20240916.0

3

LexicalSelection.d.ts

@@ -191,4 +191,5 @@ /**

* @param formatType the format type to apply to the nodes in the Selection.
* @param alignWithFormat a 32-bit integer representing formatting flags to align with.
*/
formatText(formatType: TextFormatType): void;
formatText(formatType: TextFormatType, alignWithFormat?: number | null): void;
/**

@@ -195,0 +196,0 @@ * Attempts to "intelligently" insert an arbitrary list of Lexical nodes into the EditorState at the

@@ -29,2 +29,8 @@ /**

hasTextFormat(type: TextFormatType): boolean;
/**
* Returns the format flags applied to the node as a 32-bit integer.
*
* @returns a number representing the TextFormatTypes applied to the node.
*/
getFormatFlags(type: TextFormatType, alignWithFormat: null | number): number;
getTextStyle(): string;

@@ -31,0 +37,0 @@ setTextStyle(style: string): this;

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

"license": "MIT",
"version": "0.17.2-nightly.20240913.0",
"version": "0.17.2-nightly.20240916.0",
"main": "Lexical.js",

@@ -15,0 +15,0 @@ "types": "index.d.ts",

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

Sorry, the diff of this file is not supported yet

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