linkfollower
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -43,2 +43,6 @@ const http = require('http'); | ||
if (isRedirect(response)) { | ||
if (!response.headers.location) { | ||
failure(new Error(location.href + ' returned a redirect but no Location header')); | ||
return; | ||
} | ||
depth++; | ||
@@ -45,0 +49,0 @@ visit(location.parse(response.headers.location)); |
{ | ||
"name": "linkfollower", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Node.js based command line utility that lets you follow redirects to see where http URLs end up. Useful for shortened URLs.", | ||
@@ -5,0 +5,0 @@ "main": "cli.js", |
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
3478
73