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

@lexical/code

Package Overview
Dependencies
Maintainers
4
Versions
191
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.2.3 to 0.2.4

8

LexicalCode.d.ts

@@ -37,3 +37,5 @@ /**

declare function $createCodeNode(): CodeNode;
declare function $isCodeNode(node: null | undefined | LexicalNode): boolean;
declare function $isCodeNode(
node: null | undefined | LexicalNode,
): node is CodeNode;

@@ -73,4 +75,6 @@ declare function getFirstCodeHighlightNodeOfLine(

): CodeHighlightNode;
declare function $isCodeHighlightNode(node: ?LexicalNode): boolean;
declare function $isCodeHighlightNode(
node: ?LexicalNode,
): node is CodeHighlightNode;
declare function registerCodeHighlighting(editor: LexicalEditor): () => void;

@@ -11,9 +11,9 @@ {

"license": "MIT",
"version": "0.2.3",
"version": "0.2.4",
"main": "LexicalCode.js",
"peerDependencies": {
"lexical": "0.2.3"
"lexical": "0.2.4"
},
"dependencies": {
"@lexical/utils": "0.2.3",
"@lexical/utils": "0.2.4",
"prismjs": "^1.27.0"

@@ -20,0 +20,0 @@ },

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