New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tidy-markdown

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tidy-markdown - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

lib/cli.js

@@ -30,3 +30,3 @@ // Generated by CoffeeScript 1.10.0

buffer = '';
while (null !== (chunk = process.stdin.read())) {
while ((chunk = process.stdin.read()) !== null) {
buffer += chunk;

@@ -33,0 +33,0 @@ }

@@ -135,4 +135,4 @@ // Generated by CoffeeScript 1.10.0

}
} else if (!title && url !== '' && content === url) {
return "<" + url + ">";
} else if (!title && url !== '' && (content === url || content === url.replace(/^mailto:/, ''))) {
return "<" + content + ">";
} else if (title) {

@@ -207,3 +207,3 @@ return "[" + content + "](" + url + " \"" + title + "\")";

}
return delimitCode((language || '') + "\n" + content, '```');
return delimitCode((language || '') + "\n" + content + "\n", '```');
}

@@ -210,0 +210,0 @@ }, {

@@ -226,7 +226,4 @@ // Generated by CoffeeScript 1.10.0

var content, converter, whitespace;
content = getContent(node);
content = getContent(node).trim();
converter = node._converter;
if ('pre' !== node.tagName && 'pre' !== node.parentNode.tagName) {
content = content.trim();
}
if (converter.surroundingBlankLines) {

@@ -233,0 +230,0 @@ whitespace = {

{
"name": "tidy-markdown",
"description": "Fix ugly markdown.",
"version": "2.0.3",
"version": "2.0.4",
"author": "Sean Lang",

@@ -6,0 +6,0 @@ "bin": {

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