Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wix/image-kit

Package Overview
Dependencies
Maintainers
22
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/image-kit - npm Package Compare versions

Comparing version 1.50.0 to 1.51.0

8

dist/cjs/api/transform.js

@@ -56,2 +56,10 @@ "use strict";

};
if ((0, _imageServiceUtils.isWEBP)(src.id)) {
transformsObj.focalPoint = {
x: undefined,
y: undefined
};
src == null || delete src.crop;
delete target.alignment;
}
if (canTransformImage) {

@@ -58,0 +66,0 @@ (0, _imageTransformParts.setTransformParts)(transformsObj, src, target);

7

dist/esm/api/transform.js

@@ -1,2 +0,2 @@

import { isSEOBot, getFileType, getFileName, getFileExtension, getDevicePixelRatio, getUpscaleString, isImageTransformApplicable, } from '../helpers/imageServiceUtils';
import { isSEOBot, getFileType, getFileName, getFileExtension, getDevicePixelRatio, getUpscaleString, isImageTransformApplicable, isWEBP, } from '../helpers/imageServiceUtils';
import { isMobile } from '../helpers/browserFeatureSupport';

@@ -51,2 +51,7 @@ import { setTransformParts } from '../helpers/imageTransformParts';

};
if (isWEBP(src.id)) {
transformsObj.focalPoint = { x: undefined, y: undefined };
src === null || src === void 0 ? true : delete src.crop;
delete target.alignment;
}
if (canTransformImage) {

@@ -53,0 +58,0 @@ setTransformParts(transformsObj, src, target);

2

dist/esm/helpers/imageTransformOptions.js
import { last } from './utils';
import { getPreferredImageQuality, roundToFixed } from './imageServiceUtils';
import { defaultUSM, fileType, imageFilters, transformTypes } from './imageServiceConstants';
import { defaultUSM, fileType, imageFilters, transformTypes, } from './imageServiceConstants';
/**

@@ -5,0 +5,0 @@ * returns image filters part of the image transform uri

{
"name": "@wix/image-kit",
"description": "Standard library for generating canonical URL's for optimally consuming images at Wix",
"version": "1.50.0",
"version": "1.51.0",
"license": "MIT",

@@ -44,4 +44,4 @@ "author": {

"@types/node": "^16.18.79",
"@wix/jest-yoshi-preset": "^6.88.0",
"@wix/yoshi-flow-library": "^6.88.0",
"@wix/jest-yoshi-preset": "^6.88.1",
"@wix/yoshi-flow-library": "^6.88.1",
"husky": "~4.2.1",

@@ -68,3 +68,3 @@ "jsdom": "^19.0.0",

},
"falconPackageHash": "58d32dd2019e506e77a0a4bf0365d782aca81445c600e5153e447b38"
"falconPackageHash": "02109c83940c66dd503f60284372ef371aab175e5bda1f6a0fdf0a4a"
}

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc