Socket
Socket
Sign inDemoInstall

markdown-link-reporter

Package Overview
Dependencies
19
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.11 to 1.0.12

6

dist/utils/link-validator/fs-exists-with-case-sync.js

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

if (cache[fileDir]) {
return cache[fileDir].indexOf(fileBase) ? true : false;
return cache[fileDir].indexOf(fileBase) > -1;
}

@@ -27,7 +27,7 @@ try {

if (fileDir === "/" || fileDir === ".") {
return result = true;
return (result = true);
}
var fileNames = (cache[fileDir] = fs.readdirSync(fileDir));
if (fileNames.indexOf(path.basename(prevFilePath)) === -1) {
return result = false;
return (result = false);
}

@@ -34,0 +34,0 @@ prevFilePath = fileDir;

{
"name": "markdown-link-reporter",
"version": "1.0.11",
"version": "1.0.12",
"description": "A module for finding broken local markdown links.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc