linkinator
Advanced tools
Comparing version 4.0.0 to 4.0.1
/// <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'; |
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
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
105755
1429
11
+ Addedsrcset@^5.0.0
+ Addedsrcset@5.0.1(transitive)