@applitools/eyes-images 4.23.27 → 4.23.29
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 +122 -0
- package/package.json +2 -2
- package/types/index.d.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,127 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.23.29](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images-v4.23.28...js/eyes-images@4.23.29) (2023-09-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Code Refactoring
|
|
7
|
+
|
|
8
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/utils bumped to 1.6.1
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#### Code Refactoring
|
|
20
|
+
|
|
21
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
22
|
+
* @applitools/logger bumped to 2.0.11
|
|
23
|
+
#### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
* @applitools/socket bumped to 1.1.11
|
|
30
|
+
#### Code Refactoring
|
|
31
|
+
|
|
32
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
* @applitools/req bumped to 1.6.1
|
|
37
|
+
#### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
* @applitools/image bumped to 1.1.6
|
|
44
|
+
#### Code Refactoring
|
|
45
|
+
|
|
46
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
* @applitools/spec-driver-puppeteer bumped to 1.2.2
|
|
51
|
+
#### Code Refactoring
|
|
52
|
+
|
|
53
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
* @applitools/ufg-client bumped to 1.9.2
|
|
58
|
+
#### Code Refactoring
|
|
59
|
+
|
|
60
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
* @applitools/core bumped to 3.11.2
|
|
65
|
+
#### Reverts
|
|
66
|
+
|
|
67
|
+
* perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
#### Code Refactoring
|
|
71
|
+
|
|
72
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.46
|
|
77
|
+
|
|
78
|
+
* @applitools/spec-driver-selenium bumped to 1.5.60
|
|
79
|
+
|
|
80
|
+
* @applitools/driver bumped to 1.14.2
|
|
81
|
+
#### Code Refactoring
|
|
82
|
+
|
|
83
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
* @applitools/screenshoter bumped to 3.8.12
|
|
88
|
+
|
|
89
|
+
* @applitools/nml-client bumped to 1.5.12
|
|
90
|
+
#### Code Refactoring
|
|
91
|
+
|
|
92
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
* @applitools/tunnel-client bumped to 1.2.3
|
|
97
|
+
#### Code Refactoring
|
|
98
|
+
|
|
99
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
* @applitools/ec-client bumped to 1.7.10
|
|
104
|
+
#### Code Refactoring
|
|
105
|
+
|
|
106
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
* @applitools/core-base bumped to 1.6.1
|
|
111
|
+
#### Reverts
|
|
112
|
+
|
|
113
|
+
* perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
#### Code Refactoring
|
|
117
|
+
|
|
118
|
+
* use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
* @applitools/eyes bumped to 1.9.1
|
|
123
|
+
|
|
124
|
+
|
|
3
125
|
## [4.23.27](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.26...js/eyes-images@4.23.27) (2023-09-12)
|
|
4
126
|
|
|
5
127
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.29",
|
|
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_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.
|
|
43
|
+
"@applitools/eyes": "1.9.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export class Eyes {
|
|
|
61
61
|
checkImage(image: Buffer, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
|
|
62
62
|
checkImage(image: URL, name?: undefined | string, ignoreMismatch?: undefined | boolean): Promise<MatchResult>;
|
|
63
63
|
locate<TLocator extends string>(target: {
|
|
64
|
-
image: string |
|
|
64
|
+
image: string | URL | Uint8Array;
|
|
65
65
|
size?: undefined | { width: number; height: number; };
|
|
66
66
|
name?: undefined | string;
|
|
67
67
|
source?: undefined | string;
|
|
@@ -72,7 +72,7 @@ export class Eyes {
|
|
|
72
72
|
}, settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
|
|
73
73
|
locate<TLocator extends string>(settings: VisualLocatorSettings<TLocator>): Promise<Record<TLocator, Array<RegionPlain>>>;
|
|
74
74
|
extractTextRegions<TPattern extends string>(target: {
|
|
75
|
-
image: string |
|
|
75
|
+
image: string | URL | Uint8Array;
|
|
76
76
|
size?: undefined | { width: number; height: number; };
|
|
77
77
|
name?: undefined | string;
|
|
78
78
|
source?: undefined | string;
|
|
@@ -81,10 +81,10 @@ export class Eyes {
|
|
|
81
81
|
locationInView?: undefined | { x: number; y: number; };
|
|
82
82
|
fullViewSize?: undefined | { width: number; height: number; };
|
|
83
83
|
}, settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
84
|
-
extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string |
|
|
84
|
+
extractTextRegions<TPattern extends string>(settingsWithImage: OCRSettings<TPattern> & { image: string | URL | Uint8Array; }): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
85
85
|
extractTextRegions<TPattern extends string>(settings: OCRSettings<TPattern>): Promise<Record<TPattern, Array<TextRegion>>>;
|
|
86
86
|
extractText(target: {
|
|
87
|
-
image: string |
|
|
87
|
+
image: string | URL | Uint8Array;
|
|
88
88
|
size?: undefined | { width: number; height: number; };
|
|
89
89
|
name?: undefined | string;
|
|
90
90
|
source?: undefined | string;
|
|
@@ -93,7 +93,7 @@ export class Eyes {
|
|
|
93
93
|
locationInView?: undefined | { x: number; y: number; };
|
|
94
94
|
fullViewSize?: undefined | { width: number; height: number; };
|
|
95
95
|
}, settings: Array<OCRRegion>): Promise<Array<string>>;
|
|
96
|
-
extractText(settingsWithImage: Array<OCRRegion & { image: string |
|
|
96
|
+
extractText(settingsWithImage: Array<OCRRegion & { image: string | URL | Uint8Array; }>): Promise<Array<string>>;
|
|
97
97
|
extractText(settings: Array<OCRRegion>): Promise<Array<string>>;
|
|
98
98
|
close(throwErr?: undefined | boolean): Promise<TestResults>;
|
|
99
99
|
closeAsync(): Promise<void>;
|