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.4.1 to 1.4.2

11

build/src/index.js

@@ -8,3 +8,4 @@ "use strict";

const links_1 = require("./links");
const ecstatic = require('ecstatic');
const finalhandler = require('finalhandler');
const serveStatic = require('serve-static');
var LinkState;

@@ -59,6 +60,8 @@ (function (LinkState) {

startWebServer(root, port) {
return new Promise(resolve => {
return new Promise((resolve, reject) => {
const serve = serveStatic(root);
const server = http
.createServer(ecstatic({ root }))
.listen(port, () => resolve(server));
.createServer((req, res) => serve(req, res, finalhandler(req, res)))
.listen(port, () => resolve(server))
.on('error', reject);
});

@@ -65,0 +68,0 @@ }

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

@@ -24,6 +24,7 @@ "repository": "JustinBeckwith/linkinator",

"cheerio": "^1.0.0-rc.2",
"ecstatic": "^4.1.2",
"finalhandler": "^1.1.2",
"gaxios": "^2.0.0",
"jsonexport": "^2.4.1",
"meow": "^5.0.0",
"serve-static": "^1.14.1",
"server-destroy": "^1.0.1",

@@ -34,2 +35,3 @@ "update-notifier": "^3.0.0"

"@types/cheerio": "^0.22.10",
"@types/finalhandler": "^1.1.0",
"@types/meow": "^5.0.0",

@@ -39,2 +41,3 @@ "@types/mocha": "^5.2.6",

"@types/node": "^11.9.4",
"@types/serve-static": "^1.13.2",
"@types/server-destroy": "^1.0.0",

@@ -48,3 +51,3 @@ "@types/sinon": "^7.0.6",

"nyc": "^14.0.0",
"semantic-release": "^15.13.12",
"semantic-release": "^15.13.13",
"sinon": "^7.2.3",

@@ -51,0 +54,0 @@ "source-map-support": "^0.5.10",

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