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 4.0.0 to 4.0.1

1

build/src/index.d.ts
/// <reference types="node" />
/// <reference types="node" />
import { EventEmitter } from 'events';

@@ -3,0 +4,0 @@ import { URL } from 'url';

/// <reference types="node" />
/// <reference types="node" />
import { Readable } from 'stream';

@@ -3,0 +4,0 @@ import { URL } from 'url';

5

build/src/links.js
import { WritableStream } from 'htmlparser2/lib/WritableStream';
import { URL } from 'url';
import { parseSrcset } from 'srcset';
const linksAttr = {

@@ -101,5 +102,3 @@ background: ['body'],

case 'srcset':
return value
.split(',')
.map((pair) => pair.trim().split(/\s+/)[0]);
return parseSrcset(value).map(p => p.url);
default:

@@ -106,0 +105,0 @@ return [value];

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

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

"server-destroy": "^1.0.1",
"srcset": "^5.0.0",
"update-notifier": "^6.0.0"

@@ -37,0 +38,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