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

@applitools/core-base

Package Overview
Dependencies
Maintainers
33
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/core-base - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

16

dist/utils/transform-image.js

@@ -47,9 +47,11 @@ "use strict";

await mutableImage.debug({ ...settings.debugImages, suffix: 'original' });
if (settings.normalization.scaleRatio)
mutableImage.scale(settings.normalization.scaleRatio);
if (settings.normalization.rotation)
mutableImage.scale(settings.normalization.rotation);
if (settings.normalization.cut)
mutableImage.crop(settings.normalization.cut);
await mutableImage.debug({ ...settings.debugImages, suffix: 'normalized' });
if (settings.normalization) {
if (settings.normalization.scaleRatio)
mutableImage.scale(settings.normalization.scaleRatio);
if (settings.normalization.rotation)
mutableImage.rotate(settings.normalization.rotation);
if (settings.normalization.cut)
mutableImage.crop(settings.normalization.cut);
await mutableImage.debug({ ...settings.debugImages, suffix: 'normalized' });
}
if (settings.region) {

@@ -56,0 +58,0 @@ mutableImage.crop(settings.region);

{
"name": "@applitools/core-base",
"version": "1.1.6",
"version": "1.1.7",
"homepage": "https://applitools.com",

@@ -60,3 +60,3 @@ "bugs": {

"@applitools/logger": "1.1.27",
"@applitools/req": "1.1.11",
"@applitools/req": "1.1.12",
"@applitools/utils": "1.3.13"

@@ -66,3 +66,3 @@ },

"@applitools/bongo": "^2.2.0",
"@applitools/test-server": "^1.1.6",
"@applitools/test-server": "^1.1.7",
"@applitools/test-utils": "^1.5.2",

@@ -69,0 +69,0 @@ "@types/mocha": "^9.1.1",

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