diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index d6958a696..fcc6dd6be 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -329,7 +329,7 @@ class Site { if (response.status() >= 300 && response.status() < 400) { if (this.headers.location) { - url = new URL(this.headers.location.slice(-1)) + url = new URL(this.headers.location.slice(-1), url) } } else { responseReceived = true diff --git a/src/drivers/npm/package.json b/src/drivers/npm/package.json index a9c0a503d..c016d3fb0 100644 --- a/src/drivers/npm/package.json +++ b/src/drivers/npm/package.json @@ -13,7 +13,7 @@ "software" ], "homepage": "https://www.wappalyzer.com", - "version": "5.10.3", + "version": "6.0.3", "author": "Wappalyzer", "license": "MIT", "repository": {