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

@lexical/code

Package Overview
Dependencies
Maintainers
0
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/code - npm Package Compare versions

Comparing version 0.21.1-nightly.20241213.0 to 0.21.1-nightly.20241216.0

2

CodeHighlightNode.d.ts

@@ -30,3 +30,3 @@ /**

createDOM(config: EditorConfig): HTMLElement;
updateDOM(prevNode: CodeHighlightNode, dom: HTMLElement, config: EditorConfig): boolean;
updateDOM(prevNode: this, dom: HTMLElement, config: EditorConfig): boolean;
static importJSON(serializedNode: SerializedCodeHighlightNode): CodeHighlightNode;

@@ -33,0 +33,0 @@ exportJSON(): SerializedCodeHighlightNode;

@@ -24,3 +24,3 @@ /**

createDOM(config: EditorConfig): HTMLElement;
updateDOM(prevNode: CodeNode, dom: HTMLElement, config: EditorConfig): boolean;
updateDOM(prevNode: this, dom: HTMLElement, config: EditorConfig): boolean;
exportDOM(editor: LexicalEditor): DOMExportOutput;

@@ -27,0 +27,0 @@ static importDOM(): DOMConversionMap | null;

@@ -11,8 +11,8 @@ {

"license": "MIT",
"version": "0.21.1-nightly.20241213.0",
"version": "0.21.1-nightly.20241216.0",
"main": "LexicalCode.js",
"types": "index.d.ts",
"dependencies": {
"@lexical/utils": "0.21.1-nightly.20241213.0",
"lexical": "0.21.1-nightly.20241213.0",
"@lexical/utils": "0.21.1-nightly.20241216.0",
"lexical": "0.21.1-nightly.20241216.0",
"prismjs": "^1.27.0"

@@ -19,0 +19,0 @@ },

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