Comparing version 3.8.0 to 3.8.1
@@ -26,4 +26,5 @@ import { getNumericParam, setParamIfDefined, setParamIfUndefined, toUrl, } from "../utils.js"; | ||
setParamIfUndefined(url, "fit", "cover"); | ||
setParamIfUndefined(url, "sharp", "true"); | ||
} | ||
return url; | ||
}; |
@@ -5,3 +5,3 @@ { | ||
"name": "unpic", | ||
"version": "3.8.0", | ||
"version": "3.8.1", | ||
"description": "Universal image CDN translator", | ||
@@ -8,0 +8,0 @@ "license": "MIT", |
@@ -30,2 +30,3 @@ "use strict"; | ||
(0, utils_js_1.setParamIfUndefined)(url, "fit", "cover"); | ||
(0, utils_js_1.setParamIfUndefined)(url, "sharp", "true"); | ||
} | ||
@@ -32,0 +33,0 @@ return url; |
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
154845
4314