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

@october/slate-md-serializer

Package Overview
Dependencies
Maintainers
8
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@october/slate-md-serializer - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

5

lib/renderer.js

@@ -49,3 +49,3 @@ "use strict";

if (obj.kind === "string") {
return children;
return ("" + children).replace("@", "\\@");
}

@@ -158,2 +158,5 @@ }

return "`" + children + "`";
case "mention":
var username = (0, _urls.encode)(obj.getIn(["data", "username"]) || "");
return username && "@" + username;
}

@@ -160,0 +163,0 @@ }

2

package.json
{
"name": "@october/slate-md-serializer",
"version": "1.0.14",
"version": "1.0.15",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/renderer.js",

@@ -37,3 +37,3 @@ import parser from "./parser";

if (obj.kind === "string") {
return children;
return `${children}`.replace("@", "\\@");
}

@@ -146,2 +146,5 @@ }

return `\`${children}\``;
case "mention":
const username = encode(obj.getIn(["data", "username"]) || "");
return username && `@${username}`;
}

@@ -148,0 +151,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