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.17 to 1.0.18

3

lib/renderer.js

@@ -31,3 +31,4 @@ "use strict";

function formatLinkBar(img, url, title, desc, domain) {
return "%%%\n" + (img ? url + "\n" + img : url) + "\n" + title + "\n" + desc.replace(/\[(.*?)\]/g, "") + "\n" + domain + "\n%%%\n";
var description = desc.replace(/\[(.*?)\]/g, "");
return "%%%\n" + (img ? url + "\n" + img : url) + "\n" + (title ? title + "\n" : "") + (description ? description + "\n" : "") + domain + "\n%%%\n";
}

@@ -34,0 +35,0 @@

{
"name": "@october/slate-md-serializer",
"version": "1.0.17",
"version": "1.0.18",
"description": "",

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

@@ -12,7 +12,6 @@ import parser from "./parser";

function formatLinkBar(img, url, title, desc, domain) {
const description = desc.replace(/\[(.*?)\]/g, "")
return `%%%
${img ? `${url}\n${img}` : url}
${title}
${desc.replace(/\[(.*?)\]/g, "")}
${domain}
${title ? `${title}\n` : ""}${description ? `${description}\n` : ""}${domain}
%%%

@@ -19,0 +18,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