@qualweb/crawler
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -326,3 +326,12 @@ "use strict"; | ||
}); | ||
const unique = [...new Set(normalizedUrls)].map((u) => decodeURIComponent(u)); | ||
const unique = [...new Set(normalizedUrls)] | ||
.map((u) => { | ||
try { | ||
return decodeURIComponent(u); | ||
} | ||
catch (err) { | ||
return null; | ||
} | ||
}) | ||
.filter((u) => u !== null); | ||
return unique.sort(); | ||
@@ -329,0 +338,0 @@ } |
{ | ||
"name": "@qualweb/crawler", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"description": "Webpage crawler for qualweb", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
30227
342