linkinator
Advanced tools
Comparing version 3.0.5 to 3.0.6
@@ -50,5 +50,7 @@ import { promises as fs } from 'fs'; | ||
// The glob needs to be calculated from the serverRoot directory. | ||
const fullPath = options.serverRoot | ||
let fullPath = options.serverRoot | ||
? path.join(options.serverRoot, filePath) | ||
: filePath; | ||
// node-glob only accepts unix style path separators as of 8.x | ||
fullPath = fullPath.split(path.sep).join('/'); | ||
const expandedPaths = await glob(fullPath); | ||
@@ -55,0 +57,0 @@ if (expandedPaths.length === 0) { |
{ | ||
"name": "linkinator", | ||
"description": "Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"license": "MIT", | ||
@@ -29,3 +29,3 @@ "repository": "JustinBeckwith/linkinator", | ||
"gaxios": "^5.0.0", | ||
"glob": "^7.2.0", | ||
"glob": "^8.0.1", | ||
"htmlparser2": "^8.0.1", | ||
@@ -32,0 +32,0 @@ "jsonexport": "^3.2.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
104456
1413
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedglob@8.1.0(transitive)
+ Addedminimatch@5.1.6(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedglob@7.2.3(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
Updatedglob@^8.0.1