linkinator
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106140
1434