Socket
Socket
Sign inDemoInstall

@applitools/core-base

Package Overview
Dependencies
Maintainers
36
Versions
100
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.44 to 1.1.45

9

dist/server/requests.js

@@ -58,2 +58,3 @@ "use strict";

const accountPromise = getAccountInfoWithCache({ settings });
const initializedAt = new Date().toISOString();
const response = await req('/api/sessions/running', {

@@ -115,2 +116,3 @@ name: 'openEyes',

resultsUrl: result.url,
initializedAt,
appId: settings.appName,

@@ -388,2 +390,7 @@ isNew: (_c = result.isNew) !== null && _c !== void 0 ? _c : response.status === 201,

result.userTestId = test.userTestId;
result.url = test.resultsUrl;
result.isNew = test.isNew;
result.initializedAt = test.initializedAt;
result.keepIfDuplicate = test.keepIfDuplicate;
result.server = test.server;
logger.log('Request "checkAndClose" finished successfully with body', result);

@@ -417,2 +424,3 @@ return [result];

result.isNew = test.isNew;
result.initializedAt = test.initializedAt;
result.keepIfDuplicate = test.keepIfDuplicate;

@@ -446,2 +454,3 @@ result.server = test.server;

result.userTestId = test.userTestId;
result.initializedAt = test.initializedAt;
result.keepIfDuplicate = test.keepIfDuplicate;

@@ -448,0 +457,0 @@ result.server = test.server;

2

package.json
{
"name": "@applitools/core-base",
"version": "1.1.44",
"version": "1.1.45",
"homepage": "https://applitools.com",

@@ -5,0 +5,0 @@ "bugs": {

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

resultsUrl: string;
initializedAt: string;
isNew: boolean;

@@ -219,3 +220,2 @@ keepBatchOpen: boolean;

}
type ImageRotation = -270 | -180 | -90 | 0 | 90 | 180 | 270;
type OffsetRect = {

@@ -233,3 +233,3 @@ top?: number;

cut?: ImageCropRect | ImageCropRegion;
rotation?: ImageRotation;
rotation?: -270 | -180 | -90 | 0 | 90 | 180 | 270;
scaleRatio?: number;

@@ -323,68 +323,67 @@ limit?: {

}
type TestResultsStatus = 'Passed' | 'Unresolved' | 'Failed';
type AccessibilityStatus = 'Passed' | 'Failed';
type StepInfo = {
readonly name?: string;
readonly isDifferent?: boolean;
readonly hasBaselineImage?: boolean;
readonly hasCurrentImage?: boolean;
readonly appUrls?: AppUrls;
readonly apiUrls?: ApiUrls;
readonly renderId?: string[];
readonly name: string;
readonly isDifferent: boolean;
readonly hasBaselineImage: boolean;
readonly hasCurrentImage: boolean;
readonly appUrls: AppUrls;
readonly apiUrls: ApiUrls;
readonly renderId: string[];
};
type ApiUrls = {
readonly baselineImage?: string;
readonly currentImage?: string;
readonly checkpointImage?: string;
readonly checkpointImageThumbnail?: string;
readonly diffImage?: string;
readonly baselineImage: string;
readonly currentImage: string;
readonly checkpointImage: string;
readonly checkpointImageThumbnail: string;
readonly diffImage: string;
};
type AppUrls = {
readonly step?: string;
readonly stepEditor?: string;
readonly step: string;
readonly stepEditor: string;
};
type SessionUrls = {
readonly batch?: string;
readonly session?: string;
readonly batch: string;
readonly session: string;
};
export interface TestResult {
readonly id?: string;
readonly baselineId?: string;
readonly userTestId?: string;
readonly name?: string;
readonly secretToken?: string;
readonly status?: TestResultsStatus;
readonly appName?: string;
readonly batchId?: string;
readonly batchName?: string;
readonly branchName?: string;
readonly hostOS?: string;
readonly hostApp?: string;
readonly hostDisplaySize?: Size;
readonly accessibilityStatus?: {
readonly id: string;
readonly baselineId: string;
readonly userTestId: string;
readonly batchId: string;
readonly server: ServerSettings;
readonly secretToken: string;
readonly status: 'Passed' | 'Unresolved' | 'Failed';
readonly name: string;
readonly appName: string;
readonly batchName: string;
readonly branchName: string;
readonly hostOS: string;
readonly hostApp: string;
readonly hostDisplaySize: Size;
readonly accessibilityStatus: {
readonly level: AccessibilityLevel;
readonly version: AccessibilityGuidelinesVersion;
readonly status: AccessibilityStatus;
readonly status: 'Passed' | 'Failed';
};
readonly startedAt?: Date | string;
readonly duration?: number;
readonly isNew?: boolean;
readonly isDifferent?: boolean;
readonly isAborted?: boolean;
readonly appUrls?: SessionUrls;
readonly apiUrls?: SessionUrls;
readonly stepsInfo?: StepInfo[];
readonly steps?: number;
readonly matches?: number;
readonly mismatches?: number;
readonly missing?: number;
readonly exactMatches?: number;
readonly strictMatches?: number;
readonly contentMatches?: number;
readonly layoutMatches?: number;
readonly noneMatches?: number;
readonly url?: string;
readonly initializedAt: string;
readonly startedAt: string;
readonly duration: number;
readonly isNew: boolean;
readonly isDifferent: boolean;
readonly isAborted: boolean;
readonly keepIfDuplicate: boolean;
readonly server: ServerSettings;
readonly appUrls: SessionUrls;
readonly apiUrls: SessionUrls;
readonly url: string;
readonly stepsInfo: StepInfo[];
readonly steps: number;
readonly matches: number;
readonly mismatches: number;
readonly missing: number;
readonly exactMatches: number;
readonly strictMatches: number;
readonly contentMatches: number;
readonly layoutMatches: number;
readonly noneMatches: number;
}
export {};
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