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.1-nightly.20240826.0 to 0.17.1

4

LexicalEditor.d.ts

@@ -9,3 +9,3 @@ /**

import type { EditorState, SerializedEditorState } from './LexicalEditorState';
import type { DOMConversion, DOMConversionMap, DOMExportOutput, NodeKey } from './LexicalNode';
import type { DOMConversion, DOMConversionMap, DOMExportOutput, DOMExportOutputMap, NodeKey } from './LexicalNode';
import { LexicalNode } from './LexicalNode';

@@ -118,3 +118,3 @@ export type Spread<T1, T2> = Omit<T2, keyof T1> & T1;

export type HTMLConfig = {
export?: Map<Klass<LexicalNode>, (editor: LexicalEditor, target: LexicalNode) => DOMExportOutput>;
export?: DOMExportOutputMap;
import?: DOMConversionMap;

@@ -121,0 +121,0 @@ };

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

import type { BaseSelection, RangeSelection } from './LexicalSelection';
import type { KlassConstructor } from 'lexical';
import type { Klass, KlassConstructor } from 'lexical';
import { type DecoratorNode, ElementNode } from '.';

@@ -32,2 +32,3 @@ export type NodeMap = Map<NodeKey, LexicalNode>;

};
export type DOMExportOutputMap = Map<Klass<LexicalNode>, (editor: LexicalEditor, target: LexicalNode) => DOMExportOutput>;
export type DOMExportOutput = {

@@ -34,0 +35,0 @@ after?: (generatedElement: HTMLElement | Text | null | undefined) => HTMLElement | Text | null | undefined;

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

"license": "MIT",
"version": "0.17.1-nightly.20240826.0",
"version": "0.17.1",
"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