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
107
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.8 to 1.1.9

4

dist/utils/transform-target.js

@@ -37,3 +37,3 @@ "use strict";

if (utils.types.isHttpUrl(str)) {
const response = await (0, req_1.req)(target.image);
const response = await (0, req_1.req)(target.image, { proxy: settings === null || settings === void 0 ? void 0 : settings.autProxy });
target.image = await response.buffer();

@@ -46,3 +46,3 @@ }

const image = (0, image_1.makeImage)(target.image);
if (settings.normalization || settings.region) {
if ((settings === null || settings === void 0 ? void 0 : settings.normalization) || (settings === null || settings === void 0 ? void 0 : settings.region)) {
await image.debug({ ...settings.debugImages, suffix: 'original' });

@@ -49,0 +49,0 @@ if (settings.normalization) {

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

@@ -58,10 +58,10 @@ "bugs": {

"dependencies": {
"@applitools/image": "1.0.5",
"@applitools/logger": "1.1.27",
"@applitools/req": "1.1.12",
"@applitools/utils": "1.3.13"
"@applitools/image": "1.0.6",
"@applitools/logger": "1.1.28",
"@applitools/req": "1.1.13",
"@applitools/utils": "1.3.14"
},
"devDependencies": {
"@applitools/bongo": "^2.2.0",
"@applitools/test-server": "^1.1.8",
"@applitools/test-server": "^1.1.9",
"@applitools/test-utils": "^1.5.2",

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

@@ -198,2 +198,3 @@ /// <reference types="node" />

};
autProxy?: Proxy;
debugImages?: {

@@ -200,0 +201,0 @@ path: string;

import type { Target, ImageSettings } from '../types';
export declare function transformTarget({ target, settings }: {
target: Target;
settings: ImageSettings;
settings?: ImageSettings;
}): Promise<Target>;
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