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 1.1.0 to 1.1.1

7

build/src/index.js

@@ -14,2 +14,3 @@ "use strict";

const http = require("http");
const enableDestroy = require("server-destroy");
const links_1 = require("./links");

@@ -40,2 +41,3 @@ const ecstatic = require('ecstatic');

server = yield this.startWebServer(options.path, port);
enableDestroy(server);
options.path = `http://localhost:${port}`;

@@ -49,3 +51,3 @@ }

if (server) {
server.close();
server.destroy();
}

@@ -124,3 +126,4 @@ return result;

// only crawl links that start with the same host
const crawl = url.startsWith(opts.checkOptions.path);
const crawl = opts.checkOptions.recurse &&
url.startsWith(opts.checkOptions.path);
yield this.crawl({

@@ -127,0 +130,0 @@ url,

{
"name": "linkinator",
"description": "Find broken links, missing images, etc in your HTML.",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

@@ -29,2 +29,3 @@ "repository": "JustinBeckwith/linkinator",

"meow": "^5.0.0",
"server-destroy": "^1.0.1",
"update-notifier": "^2.5.0"

@@ -41,2 +42,3 @@ },

"@types/node": "^11.9.3",
"@types/server-destroy": "^1.0.0",
"@types/sinon": "^7.0.5",

@@ -43,0 +45,0 @@ "@types/update-notifier": "^2.5.0",

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