New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More โ†’
Socket
Sign inDemoInstall
Socket

webdriver-image-comparison

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webdriver-image-comparison - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

6

CHANGELOG.md
# webdriver-image-comparison
## 4.0.1
### Patch Changes
- fd74a35: (feat): set default baseline folder next to test file
## 4.0.0

@@ -4,0 +10,0 @@

12

dist/helpers/constants.d.ts

@@ -9,8 +9,8 @@ import type { IosOffsets } from './constants.interfaces';

export declare const FOLDERS: {
ACTUAL: string;
DIFF: string;
TEMP_FULL_SCREEN: string;
DEFAULT: {
BASE: string;
SCREENSHOTS: string;
readonly ACTUAL: "actual";
readonly DIFF: "diff";
readonly TEMP_FULL_SCREEN: "tempFullScreen";
readonly DEFAULT: {
readonly BASE: "./__snapshots__/";
readonly SCREENSHOTS: ".tmp/";
};

@@ -17,0 +17,0 @@ };

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

DEFAULT: {
BASE: './wic/baseline/',
BASE: './__snapshots__/',
SCREENSHOTS: '.tmp/',

@@ -28,0 +28,0 @@ },

@@ -6,4 +6,2 @@ import type { TabbableOptions } from '../commands/tabbable.interfaces';

addIOSBezelCorners?: boolean;
autoSaveBaseline?: boolean;
baselineFolder?: any;
clearRuntimeFolder?: boolean;

@@ -14,4 +12,6 @@ formatImageName?: string;

savePerInstance?: boolean;
screenshotPath?: any;
toolBarShadowPadding?: number;
autoSaveBaseline?: boolean;
screenshotPath?: string | ((options: ClassOptions) => string);
baselineFolder?: string | ((options: ClassOptions) => string);
disableCSSAnimation?: boolean;

@@ -18,0 +18,0 @@ fullPageScrollTimeout?: number;

@@ -12,3 +12,3 @@ import BaseClass from './base.js';

import { ImageCompareResult } from './methods/images.interfaces';
import { IOS_OFFSETS } from './helpers/constants.js';
import { IOS_OFFSETS, FOLDERS } from './helpers/constants.js';
export type { ScreenshotOutput } from './helpers/afterScreenshot.interfaces';

@@ -20,3 +20,3 @@ export type { CheckScreenMethodOptions, SaveScreenMethodOptions, } from './commands/screen.interfaces';

export type { InstanceData } from './methods/instanceData.interfaces';
export { BaseClass, ClassOptions, ImageCompareResult, IOS_OFFSETS, saveScreen, saveElement, saveFullPageScreen, saveTabbablePage, checkScreen, checkElement, checkFullPageScreen, checkTabbablePage, };
export { BaseClass, ClassOptions, ImageCompareResult, IOS_OFFSETS, FOLDERS, saveScreen, saveElement, saveFullPageScreen, saveTabbablePage, checkScreen, checkElement, checkFullPageScreen, checkTabbablePage, };
//# sourceMappingURL=index.d.ts.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.checkTabbablePage = exports.checkFullPageScreen = exports.checkElement = exports.checkScreen = exports.saveTabbablePage = exports.saveFullPageScreen = exports.saveElement = exports.saveScreen = exports.IOS_OFFSETS = exports.BaseClass = void 0;
exports.checkTabbablePage = exports.checkFullPageScreen = exports.checkElement = exports.checkScreen = exports.saveTabbablePage = exports.saveFullPageScreen = exports.saveElement = exports.saveScreen = exports.FOLDERS = exports.IOS_OFFSETS = exports.BaseClass = void 0;
var base_js_1 = __importDefault(require("./base.js"));

@@ -28,2 +28,3 @@ exports.BaseClass = base_js_1.default;

Object.defineProperty(exports, "IOS_OFFSETS", { enumerable: true, get: function () { return constants_js_1.IOS_OFFSETS; } });
Object.defineProperty(exports, "FOLDERS", { enumerable: true, get: function () { return constants_js_1.FOLDERS; } });
//# sourceMappingURL=index.js.map

@@ -1,3 +0,1 @@

/// <reference types="node" />
/// <reference types="resemblejs" />
export interface CompareData {

@@ -4,0 +2,0 @@ rawMisMatchPercentage: number;

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

/// <reference types="node" />
import type { ComparisonOptions } from 'resemblejs';

@@ -3,0 +2,0 @@ import type { CompareData } from './compare.interfaces';

{
"name": "webdriver-image-comparison",
"version": "4.0.0",
"version": "4.0.1",
"author": "Wim Selles - wswebcreation",

@@ -27,3 +27,3 @@ "description": "An image compare module that can be used for different NodeJS Test automation frameworks that support the webdriver protocol",

"copyfiles": "^2.4.1",
"webdriverio": "^8.29.1"
"webdriverio": "^8.29.7"
},

@@ -30,0 +30,0 @@ "scripts": {

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

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