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

markdownlint-cli

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdownlint-cli - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

15

markdownlint.js

@@ -8,3 +8,3 @@ #!/usr/bin/env node

var program = require('commander');
var difference = require('lodash.difference');
var differenceWith = require('lodash.differencewith');
var flatten = require('lodash.flatten');

@@ -58,3 +58,8 @@ var extend = require('deep-extend');

});
return flatten(files);
return flatten(files).map(function (file) {
return {
original: file,
absolute: path.resolve(file)
};
});
}

@@ -118,3 +123,7 @@

var ignores = prepareFileList(program.ignore);
var diff = difference(files, ignores);
var diff = differenceWith(files, ignores, function (a, b) {
return a.absolute === b.absolute;
}).map(function (paths) {
return paths.original;
});

@@ -121,0 +130,0 @@ if (files.length > 0) {

4

package.json
{
"name": "markdownlint-cli",
"version": "0.7.0",
"version": "0.7.1",
"description": "MarkdownLint Command Line Interface",

@@ -42,3 +42,3 @@ "main": "markdownlint.js",

"glob": "~7.0.3",
"lodash.difference": "~4.5.0",
"lodash.differencewith": "~4.5.0",
"lodash.flatten": "~4.4.0",

@@ -45,0 +45,0 @@ "markdownlint": "~0.7.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