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

@lexical/hashtag

Package Overview
Dependencies
Maintainers
7
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/hashtag - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

12

LexicalHashtag.dev.js

@@ -64,5 +64,17 @@ /**

}
/**
* Generates a HashtagNode, which is a string following the format of a # followed by some text, eg. #lexical.
* @param text - The text used inside the HashtagNode.
* @returns - The HashtagNode with the embedded text.
*/
function $createHashtagNode(text = '') {
return lexical.$applyNodeReplacement(new HashtagNode(text));
}
/**
* Determines if node is a HashtagNode.
* @param node - The node to be checked.
* @returns true if node is a HashtagNode, false otherwise.
*/
function $isHashtagNode(node) {

@@ -69,0 +81,0 @@ return node instanceof HashtagNode;

@@ -21,3 +21,13 @@ /**

}
/**
* Generates a HashtagNode, which is a string following the format of a # followed by some text, eg. #lexical.
* @param text - The text used inside the HashtagNode.
* @returns - The HashtagNode with the embedded text.
*/
export declare function $createHashtagNode(text?: string): HashtagNode;
/**
* Determines if node is a HashtagNode.
* @param node - The node to be checked.
* @returns true if node is a HashtagNode, false otherwise.
*/
export declare function $isHashtagNode(node: LexicalNode | null | undefined): node is HashtagNode;

6

package.json

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

"license": "MIT",
"version": "0.9.1",
"version": "0.9.2",
"main": "LexicalHashtag.js",
"peerDependencies": {
"lexical": "0.9.1"
"lexical": "0.9.2"
},
"dependencies": {
"@lexical/utils": "0.9.1"
"@lexical/utils": "0.9.2"
},

@@ -20,0 +20,0 @@ "repository": {

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