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.1 to 4.0.2

9

build/src/links.js

@@ -101,4 +101,9 @@ import { WritableStream } from 'htmlparser2/lib/WritableStream';

switch (name) {
case 'srcset':
return parseSrcset(value).map(p => p.url);
case 'srcset': {
// The swapping of any multiple spaces into a single space is here to
// work around this bug:
// https://github.com/sindresorhus/srcset/issues/14
const strippedValue = value.replace(/\s+/, ' ');
return parseSrcset(strippedValue).map(p => p.url);
}
default:

@@ -105,0 +110,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.1",
"version": "4.0.2",
"license": "MIT",

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

@@ -108,3 +108,3 @@ # 🐿 linkinator

```sh
npx linkinator http://jbeckwith.com
npx linkinator https://jbeckwith.com
```

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