@wix/image-kit
Advanced tools
Comparing version 1.66.0 to 1.67.0
@@ -37,6 +37,6 @@ "use strict"; | ||
shouldLoadHQImage, | ||
hasAnimation, | ||
allowWEBPTransform | ||
hasAnimation | ||
} = options; | ||
const canTransformImage = (0, _imageServiceUtils.isImageTransformApplicable)(src.id, hasAnimation, allowWEBPTransform); | ||
const alwaysAllowWEBPTransform = true; | ||
const canTransformImage = (0, _imageServiceUtils.isImageTransformApplicable)(src.id, hasAnimation, alwaysAllowWEBPTransform); | ||
if (!canTransformImage || shouldLoadHQImage) { | ||
@@ -80,3 +80,3 @@ /* Either: | ||
hasAnimation, | ||
allowWEBPTransform | ||
allowWEBPTransform: alwaysAllowWEBPTransform | ||
}); | ||
@@ -83,0 +83,0 @@ const { |
@@ -24,4 +24,5 @@ import { emptyData } from '../../helpers/imageServiceConstants'; | ||
} | ||
const { autoEncode = true, isSEOBot, shouldLoadHQImage, hasAnimation, allowWEBPTransform, } = options; | ||
const canTransformImage = isImageTransformApplicable(src.id, hasAnimation, allowWEBPTransform); | ||
const { autoEncode = true, isSEOBot, shouldLoadHQImage, hasAnimation, } = options; | ||
const alwaysAllowWEBPTransform = true; | ||
const canTransformImage = isImageTransformApplicable(src.id, hasAnimation, alwaysAllowWEBPTransform); | ||
if (!canTransformImage || shouldLoadHQImage) { | ||
@@ -57,3 +58,3 @@ /* Either: | ||
hasAnimation, | ||
allowWEBPTransform, | ||
allowWEBPTransform: alwaysAllowWEBPTransform, | ||
}); | ||
@@ -60,0 +61,0 @@ const { attr = {}, css } = getData(fittingType, src, { |
{ | ||
"name": "@wix/image-kit", | ||
"description": "Standard library for generating canonical URL's for optimally consuming images at Wix", | ||
"version": "1.66.0", | ||
"version": "1.67.0", | ||
"license": "MIT", | ||
@@ -67,3 +67,3 @@ "author": { | ||
}, | ||
"falconPackageHash": "38760d163851f9525702b1ea22d4fcc94447338066104ca6b9d2b349" | ||
"falconPackageHash": "954f7af828d72bea57a7ba70b544720f60d6a396258dc5f95cdf8158" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
549796
5632