@applitools/eyes-images 4.23.23 → 4.23.26
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 +80 -0
- package/README.md +4 -12
- package/package.json +4 -12
- package/types/index.d.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,85 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.23.26](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images-v4.23.25...js/eyes-images@4.23.26) (2023-09-11)
|
|
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/core bumped to 3.10.3
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* suppport coded regions with layoutBreakpoints reload ([7903347](https://github.com/applitools/eyes.sdk.javascript1/commit/79033472b9475992a44cf3828ff334c958ae2066))
|
|
17
|
+
* @applitools/eyes bumped to 1.8.3
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## [4.23.24](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.23...js/eyes-images@4.23.24) (2023-09-04)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Dependencies
|
|
24
|
+
|
|
25
|
+
* @applitools/utils bumped to 1.6.0
|
|
26
|
+
#### Features
|
|
27
|
+
|
|
28
|
+
* add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
|
|
29
|
+
* @applitools/logger bumped to 2.0.10
|
|
30
|
+
|
|
31
|
+
* @applitools/socket bumped to 1.1.10
|
|
32
|
+
|
|
33
|
+
* @applitools/req bumped to 1.6.0
|
|
34
|
+
#### Features
|
|
35
|
+
|
|
36
|
+
* add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
|
|
37
|
+
* update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
* @applitools/image bumped to 1.1.5
|
|
42
|
+
|
|
43
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.44
|
|
44
|
+
|
|
45
|
+
* @applitools/spec-driver-selenium bumped to 1.5.58
|
|
46
|
+
|
|
47
|
+
* @applitools/spec-driver-puppeteer bumped to 1.2.0
|
|
48
|
+
#### Features
|
|
49
|
+
|
|
50
|
+
* update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
* @applitools/driver bumped to 1.14.0
|
|
55
|
+
#### Features
|
|
56
|
+
|
|
57
|
+
* update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
* @applitools/screenshoter bumped to 3.8.10
|
|
62
|
+
|
|
63
|
+
* @applitools/nml-client bumped to 1.5.10
|
|
64
|
+
|
|
65
|
+
* @applitools/tunnel-client bumped to 1.2.2
|
|
66
|
+
|
|
67
|
+
* @applitools/ufg-client bumped to 1.8.0
|
|
68
|
+
#### Features
|
|
69
|
+
|
|
70
|
+
* add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
* @applitools/ec-client bumped to 1.7.7
|
|
75
|
+
|
|
76
|
+
* @applitools/core-base bumped to 1.5.3
|
|
77
|
+
|
|
78
|
+
* @applitools/core bumped to 3.10.1
|
|
79
|
+
|
|
80
|
+
* @applitools/eyes bumped to 1.8.1
|
|
81
|
+
|
|
82
|
+
|
|
3
83
|
## [4.23.23](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images@4.23.22...js/eyes-images@4.23.23) (2023-08-30)
|
|
4
84
|
|
|
5
85
|
|
package/README.md
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
@applitools/eyes-images
|
|
2
2
|
===================
|
|
3
3
|
|
|
4
|
-
The simplest
|
|
4
|
+
The simplest implementation of Applitools Eyes SDK, uploads images for validation
|
|
5
5
|
|
|
6
6
|
[](https://www.npmjs.com/package/@applitools/eyes-images)
|
|
7
7
|
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
npm install @applitools/eyes-images
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
Please check the applitools website for usage instructions:
|
|
17
|
-
|
|
18
|
-
- Screenshots JavaScript Tutorial: https://applitools.com/tutorials/screenshots-javascript.html
|
|
8
|
+
## Resources
|
|
9
|
+
- [Quick start](https://applitools.com/tutorials/quickstart/images/code/javascript)
|
|
10
|
+
- [API reference](https://applitools.com/docs/api-ref/category/images-javascript)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.26",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -12,15 +12,7 @@
|
|
|
12
12
|
"testing",
|
|
13
13
|
"tests"
|
|
14
14
|
],
|
|
15
|
-
"homepage": "https://applitools.com",
|
|
16
|
-
"bugs": {
|
|
17
|
-
"url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
18
|
-
},
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "git://github.com/applitools/eyes.sdk.javascript1.git",
|
|
22
|
-
"directory": "js/packages/eyes-images"
|
|
23
|
-
},
|
|
15
|
+
"homepage": "https://applitools.com/docs/api-ref/category/images-javascript",
|
|
24
16
|
"license": "SEE LICENSE IN LICENSE",
|
|
25
17
|
"author": {
|
|
26
18
|
"name": "Applitools Team",
|
|
@@ -48,10 +40,10 @@
|
|
|
48
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}"
|
|
49
41
|
},
|
|
50
42
|
"dependencies": {
|
|
51
|
-
"@applitools/eyes": "1.8.
|
|
43
|
+
"@applitools/eyes": "1.8.3"
|
|
52
44
|
},
|
|
53
45
|
"devDependencies": {
|
|
54
|
-
"@applitools/api-extractor": "^1.2.
|
|
46
|
+
"@applitools/api-extractor": "^1.2.22",
|
|
55
47
|
"@applitools/bongo": "^5.6.1",
|
|
56
48
|
"@applitools/generic": "^3.3.10",
|
|
57
49
|
"@applitools/test-utils": "^1.5.17",
|
package/types/index.d.ts
CHANGED
|
@@ -1170,6 +1170,16 @@ export type TargetImage = {
|
|
|
1170
1170
|
url(imageUrl: string): CheckSettingsImage;
|
|
1171
1171
|
url(imageUrl: URL): CheckSettingsImage;
|
|
1172
1172
|
};
|
|
1173
|
+
export const TargetImage: {
|
|
1174
|
+
image(image: string): CheckSettingsImage;
|
|
1175
|
+
image(image: Buffer): CheckSettingsImage;
|
|
1176
|
+
image(image: URL): CheckSettingsImage;
|
|
1177
|
+
buffer(imageBuffer: Buffer): CheckSettingsImage;
|
|
1178
|
+
base64(imageBase64: string): CheckSettingsImage;
|
|
1179
|
+
path(imagePath: string): CheckSettingsImage;
|
|
1180
|
+
url(imageUrl: string): CheckSettingsImage;
|
|
1181
|
+
url(imageUrl: URL): CheckSettingsImage;
|
|
1182
|
+
};
|
|
1173
1183
|
export type CutProviderPlain = { top: number; right: number; bottom: number; left: number; } | { x: number; y: number; width: number; height: number; };
|
|
1174
1184
|
export class CutProvider implements Required<{
|
|
1175
1185
|
x: number;
|