@lexical/code
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39764
775
1
+ Added@lexical/list@0.2.4(transitive)
+ Added@lexical/table@0.2.4(transitive)
+ Added@lexical/utils@0.2.4(transitive)
+ Addedlexical@0.2.4(transitive)
- Removed@lexical/list@0.2.3(transitive)
- Removed@lexical/table@0.2.3(transitive)
- Removed@lexical/utils@0.2.3(transitive)
- Removedlexical@0.2.3(transitive)
Updated@lexical/utils@0.2.4