Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

linkinator

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkinator - npm Package Compare versions

Comparing version 2.6.0 to 2.7.0

4

build/src/cli.js

@@ -109,4 +109,2 @@ #!/usr/bin/env node

break;
default:
throw new Error('Invalid state.');
}

@@ -172,4 +170,2 @@ log(`${state} ${chalk.gray(link.url)}`);

break;
default:
throw new Error('Invalid state.');
}

@@ -176,0 +172,0 @@ log(` ${state} ${chalk.gray(link.url)}`);

8

build/src/index.js

@@ -127,2 +127,10 @@ "use strict";

}
// enable markdown if someone passes a flag/glob right at it
if (options.markdown === undefined) {
for (const p of options.path) {
if (path.extname(p).toLowerCase() === '.md') {
options.markdown = true;
}
}
}
// Figure out which directory should be used as the root for the web server,

@@ -129,0 +137,0 @@ // and how that impacts the path to the file for the first request.

{
"name": "linkinator",
"description": "Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.",
"version": "2.6.0",
"version": "2.7.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "JustinBeckwith/linkinator",

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