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

@lexical/hashtag

Package Overview
Dependencies
Maintainers
6
Versions
197
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.7.8 to 0.7.9

13

LexicalHashtag.dev.js

@@ -19,4 +19,4 @@ /**

*/
/** @noInheritDoc */
class HashtagNode extends lexical.TextNode {

@@ -26,11 +26,8 @@ static getType() {

}
static clone(node) {
return new HashtagNode(node.__text, node.__key);
}
constructor(text, key) {
super(text, key);
}
createDOM(config) {

@@ -41,3 +38,2 @@ const element = super.createDOM(config);

}
static importJSON(serializedNode) {

@@ -51,17 +47,14 @@ const node = $createHashtagNode(serializedNode.text);

}
exportJSON() {
return { ...super.exportJSON(),
return {
...super.exportJSON(),
type: 'hashtag'
};
}
canInsertTextBefore() {
return false;
}
isTextEntity() {
return true;
}
}

@@ -68,0 +61,0 @@ function $createHashtagNode(text = '') {

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

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

@@ -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