cache-hash
Advanced tools
Comparing version 1.0.0-beta.2 to 1.0.0-beta.3
{ | ||
"name": "cache-hash", | ||
"version": "1.0.0-beta.2", | ||
"version": "1.0.0-beta.3", | ||
"description": "Create hash for static resources to break http cache", | ||
@@ -27,2 +27,3 @@ "main": "cache-hash.js", | ||
"assets", | ||
"revision", | ||
"cache bust" | ||
@@ -29,0 +30,0 @@ ], |
@@ -6,4 +6,8 @@ module.exports = searchParams | ||
function searchParams(path) { | ||
const url = new URL(path, baseURL) | ||
return url.search + url.hash | ||
try { | ||
const url = new URL(path, baseURL) | ||
return url.search + url.hash | ||
} catch (error) { | ||
return | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22836
362
0