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

@lexical/code

Package Overview
Dependencies
Maintainers
6
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.6.3 to 0.6.4

3

CodeNode.d.ts

@@ -22,3 +22,3 @@ /**

import { ElementNode } from 'lexical';
declare type SerializedCodeNode = Spread<{
export declare type SerializedCodeNode = Spread<{
language: string | null | undefined;

@@ -49,2 +49,1 @@ type: 'code';

export declare function $isCodeNode(node: LexicalNode | null | undefined): node is CodeNode;
export {};

@@ -12,2 +12,3 @@ /** @module @lexical/code */

export { $createCodeHighlightNode, $isCodeHighlightNode, CODE_LANGUAGE_FRIENDLY_NAME_MAP, CODE_LANGUAGE_MAP, CodeHighlightNode, DEFAULT_CODE_LANGUAGE, getCodeLanguages, getDefaultCodeLanguage, getFirstCodeHighlightNodeOfLine, getLanguageFriendlyName, getLastCodeHighlightNodeOfLine, normalizeCodeLang, } from './CodeHighlightNode';
export type { SerializedCodeNode } from './CodeNode';
export { $createCodeNode, $isCodeNode, CodeNode } from './CodeNode';

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

"license": "MIT",
"version": "0.6.3",
"version": "0.6.4",
"main": "LexicalCode.js",
"peerDependencies": {
"lexical": "0.6.3"
"lexical": "0.6.4"
},
"dependencies": {
"@lexical/utils": "0.6.3",
"@lexical/utils": "0.6.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