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

processmd

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

processmd - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

9

index.js

@@ -17,4 +17,4 @@ 'use strict'

}
const NEWLINE = process.platform === 'win32' ? '\r\n' : '\n'
const FRONTMATTER_SEPERATOR = '---' + NEWLINE
const NEWLINE = '\n'
const FRONTMATTER_SEPERATOR = '---'

@@ -222,6 +222,5 @@ const SOURCE_MODE = 'source'

newContent =
FRONTMATTER_SEPERATOR +
FRONTMATTER_SEPERATOR + NEWLINE +
cleanYaml +
FRONTMATTER_SEPERATOR +
NEWLINE +
FRONTMATTER_SEPERATOR + NEWLINE + NEWLINE +
newContent

@@ -228,0 +227,0 @@ }

{
"name": "processmd",
"version": "2.1.4",
"version": "2.1.5",
"description": "Process a directory of markdown and yaml files to JSON files",

@@ -14,2 +14,3 @@ "main": "index.js",

"fix-line-endings": "mv cli.js cli.old.js && cat cli.old.js | tr -d '\r' > cli.js",
"fix-eol": "tr -d '\\015' <test/data/input/frontmatter-code.md >test/data/input/frontmatter-code2.md",
"back": "node cli.js \"test/data/output/**/*.json\" --stdout --convertMode source --outputDir test/data/input",

@@ -16,0 +17,0 @@ "test": "jasmine",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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