@applitools/eyes-images 4.28.6 → 4.28.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/package.json +2 -2
- package/types/index.d.ts +11 -46
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.28.7](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.28.6...js/eyes-images@4.28.7) (2024-08-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/dom-capture bumped to 11.3.1
|
|
9
|
+
#### Performance Improvements
|
|
10
|
+
|
|
11
|
+
* link tag without href ([#2450](https://github.com/Applitools-Dev/sdk/issues/2450)) ([523c3cd](https://github.com/Applitools-Dev/sdk/commit/523c3cd1cb003e9144015885b522e1d82e616b7a))
|
|
12
|
+
* @applitools/core bumped to 4.18.1
|
|
13
|
+
#### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* layoutbreakpoints stale dom ([#2456](https://github.com/Applitools-Dev/sdk/issues/2456)) ([a4329d6](https://github.com/Applitools-Dev/sdk/commit/a4329d6d280d27763e0c8ff6374bd26861183939))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* @applitools/eyes bumped to 1.22.1
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* update ios devices enums ([9b4614f](https://github.com/Applitools-Dev/sdk/commit/9b4614f09bbbe42cf99824d76893f9067aab2cc4))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
3
27
|
## [4.28.6](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.28.5...js/eyes-images@4.28.6) (2024-07-23)
|
|
4
28
|
|
|
5
29
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.28.
|
|
3
|
+
"version": "4.28.7",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@applitools/eyes": "1.22.
|
|
43
|
+
"@applitools/eyes": "1.22.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ export type ConfigurationPlain = {
|
|
|
207
207
|
rotation?: undefined | ImageRotationPlain;
|
|
208
208
|
scaleRatio?: undefined | number;
|
|
209
209
|
concurrentSessions?: undefined | number;
|
|
210
|
-
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
210
|
+
browsersInfo?: undefined | Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
|
|
211
211
|
visualGridOptions?: undefined | Record<string, any>;
|
|
212
212
|
layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
|
|
213
213
|
disableBrowserFetching?: undefined | boolean;
|
|
@@ -430,9 +430,9 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
430
430
|
set concurrentSessions(concurrentSessions: number);
|
|
431
431
|
getConcurrentSessions(): number;
|
|
432
432
|
setConcurrentSessions(concurrentSessions: number): Configuration;
|
|
433
|
-
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
434
|
-
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
435
|
-
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone
|
|
433
|
+
get browsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
|
|
434
|
+
set browsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>);
|
|
435
|
+
getBrowsersInfo(): Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone SE (3rd generation)" | "iPhone SE (2nd generation)" | "iPhone 13 mini" | "iPhone Xs Max" | "iPhone 14 Pro" | "iPhone 14 Plus"; }; })>;
|
|
436
436
|
setBrowsersInfo(browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
437
437
|
addBrowsers(...browsersInfo: Array<(DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })>): Configuration;
|
|
438
438
|
addBrowser(browserInfo: (DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; })): Configuration;
|
|
@@ -448,21 +448,21 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
448
448
|
addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
|
|
449
449
|
addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): Configuration;
|
|
450
450
|
addMultiDeviceTarget(deviceName: "iPhone Xs"): Configuration;
|
|
451
|
-
addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
|
|
452
451
|
addMultiDeviceTarget(deviceName: "iPhone 12"): Configuration;
|
|
453
452
|
addMultiDeviceTarget(deviceName: "iPhone 12 mini"): Configuration;
|
|
454
453
|
addMultiDeviceTarget(deviceName: "iPhone 12 Pro Max"): Configuration;
|
|
455
454
|
addMultiDeviceTarget(deviceName: "iPhone 12 Pro"): Configuration;
|
|
456
455
|
addMultiDeviceTarget(deviceName: "iPhone 13"): Configuration;
|
|
457
|
-
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
458
456
|
addMultiDeviceTarget(deviceName: "iPhone 13 Pro Max"): Configuration;
|
|
459
457
|
addMultiDeviceTarget(deviceName: "iPhone 13 Pro"): Configuration;
|
|
460
458
|
addMultiDeviceTarget(deviceName: "iPhone 14"): Configuration;
|
|
461
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
|
|
462
|
-
addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
|
|
463
459
|
addMultiDeviceTarget(deviceName: "iPhone 14 Pro Max"): Configuration;
|
|
464
|
-
addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
|
|
465
460
|
addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
|
|
461
|
+
addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
|
|
462
|
+
addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
|
|
463
|
+
addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
|
|
464
|
+
addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
|
|
465
|
+
addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
|
|
466
466
|
get visualGridOptions(): { [key: string]: any; };
|
|
467
467
|
set visualGridOptions(visualGridOptions: { [key: string]: any; });
|
|
468
468
|
getVisualGridOptions(): { [key: string]: any; };
|
|
@@ -872,46 +872,21 @@ export enum FailureReport {
|
|
|
872
872
|
IMMEDIATE = 'IMMEDIATE',
|
|
873
873
|
ON_CLOSE = 'ON_CLOSE'
|
|
874
874
|
}
|
|
875
|
-
export type IosDeviceNamePlain = "iPhone X" | "iPhone XR" | "
|
|
875
|
+
export type IosDeviceNamePlain = "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (7th generation)" | "iPad (9th generation)" | "iPad Air (4th generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Pro Max";
|
|
876
876
|
export enum IosDeviceName {
|
|
877
|
-
iPad_5 = 'iPad (5th generation)',
|
|
878
|
-
iPad_6 = 'iPad (6th generation)',
|
|
879
877
|
iPad_7 = 'iPad (7th generation)',
|
|
880
|
-
iPad_8 = 'iPad (8th generation)',
|
|
881
878
|
iPad_9 = 'iPad (9th generation)',
|
|
882
|
-
iPad_10 = 'iPad (10th generation)',
|
|
883
|
-
iPad_Air_2 = 'iPad Air 2',
|
|
884
|
-
iPad_Air_3 = 'iPad Air (3rd generation)',
|
|
885
879
|
iPad_Air_4 = 'iPad Air (4th generation)',
|
|
886
|
-
iPad_Air_5 = 'iPad Air (5th generation)',
|
|
887
|
-
iPad_mini_4 = 'iPad mini 4',
|
|
888
|
-
iPad_mini_5 = 'iPad mini (5th generation)',
|
|
889
|
-
iPad_mini_6 = 'iPad mini (6th generation)',
|
|
890
|
-
iPad_Pro_9_7_inch_1 = 'iPad Pro (9.7-inch)',
|
|
891
|
-
iPad_Pro_10_5_inch_1 = 'iPad Pro (10.5-inch)',
|
|
892
|
-
iPad_Pro_11_inch_1 = 'iPad Pro (11-inch) (1st generation)',
|
|
893
|
-
iPad_Pro_12_9_inch_1 = 'iPad Pro (12.9-inch) (1st generation)',
|
|
894
|
-
iPad_Pro_11_inch_2 = 'iPad Pro (11-inch) (2nd generation)',
|
|
895
|
-
iPad_Pro_12_9_inch_2 = 'iPad Pro (12.9-inch) (2nd generation)',
|
|
896
|
-
iPad_Pro_11_inch_3 = 'iPad Pro (11-inch) (3rd generation)',
|
|
897
880
|
iPad_Pro_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
898
881
|
iPad_Pro_12_9_inch_3 = 'iPad Pro (12.9-inch) (3rd generation)',
|
|
899
882
|
iPad_Pro_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
900
883
|
iPad_Pro_11_inch_4 = 'iPad Pro (11-inch) (4th generation)',
|
|
901
|
-
iPad_Pro_12_9_inch_4 = 'iPad Pro (12.9-inch) (4th generation)',
|
|
902
|
-
iPad_Pro_12_9_inch_5 = 'iPad Pro (12.9-inch) (5th generation)',
|
|
903
|
-
iPad_Pro_12_9_inch_6 = 'iPad Pro (12.9-inch) (6th generation)',
|
|
904
|
-
iPhone_6s = 'iPhone 6s',
|
|
905
|
-
iPhone_6s_Plus = 'iPhone 6s Plus',
|
|
906
|
-
iPhone_7 = 'iPhone 7',
|
|
907
|
-
iPhone_7_Plus = 'iPhone 7 Plus',
|
|
908
884
|
iPhone_8 = 'iPhone 8',
|
|
909
885
|
iPhone_8_Plus = 'iPhone 8 Plus',
|
|
910
886
|
iPhone_X = 'iPhone X',
|
|
911
887
|
iPhone_XR = 'iPhone XR',
|
|
912
888
|
iPhone_XS = 'iPhone Xs',
|
|
913
889
|
iPhone_Xs = 'iPhone Xs',
|
|
914
|
-
iPhone_Xs_Max = 'iPhone Xs Max',
|
|
915
890
|
iPhone_11 = 'iPhone 11',
|
|
916
891
|
iPhone_11_Pro_Max = 'iPhone 11 Pro Max',
|
|
917
892
|
iPhone_11_Pro = 'iPhone 11 Pro',
|
|
@@ -920,22 +895,12 @@ export enum IosDeviceName {
|
|
|
920
895
|
iPhone_12_Pro_Max = 'iPhone 12 Pro Max',
|
|
921
896
|
iPhone_12_Pro = 'iPhone 12 Pro',
|
|
922
897
|
iPhone_13 = 'iPhone 13',
|
|
923
|
-
iPhone_13_mini = 'iPhone 13 mini',
|
|
924
898
|
iPhone_13_Pro_Max = 'iPhone 13 Pro Max',
|
|
925
899
|
iPhone_13_Pro = 'iPhone 13 Pro',
|
|
926
900
|
iPhone_14 = 'iPhone 14',
|
|
927
|
-
iPhone_14_Plus = 'iPhone 14 Plus',
|
|
928
|
-
iPhone_14_Pro = 'iPhone 14 Pro',
|
|
929
901
|
iPhone_14_Pro_Max = 'iPhone 14 Pro Max',
|
|
930
902
|
iPhone_15 = 'iPhone 15',
|
|
931
|
-
|
|
932
|
-
iPhone_15_Pro = 'iPhone 15 Pro',
|
|
933
|
-
iPhone_15_Pro_Max = 'iPhone 15 Pro Max',
|
|
934
|
-
iPhone_SE = 'iPhone SE (1st generation)',
|
|
935
|
-
iPhone_SE_1 = 'iPhone SE (1st generation)',
|
|
936
|
-
iPhone_SE_2 = 'iPhone SE (2nd generation)',
|
|
937
|
-
iPhone_SE_3 = 'iPhone SE (3rd generation)',
|
|
938
|
-
iPod_touch_7 = 'iPod touch (7th generation)'
|
|
903
|
+
iPhone_15_Pro_Max = 'iPhone 15 Pro Max'
|
|
939
904
|
}
|
|
940
905
|
export type IosVersionPlain = AndroidVersionPlain;
|
|
941
906
|
export enum IosVersion {
|