@applitools/eyes-images 4.22.0 → 4.22.1
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/dist/api.js +20 -15
- package/package.json +24 -44
- package/types/index.d.ts +445 -423
package/dist/api.js
CHANGED
|
@@ -26,24 +26,29 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.closeBatch = exports.BatchClose = exports.Target = exports.CheckSettings = exports.Configuration = exports.Eyes = void 0;
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
});
|
|
35
|
-
__exportStar(require("@applitools/eyes-api"), exports);
|
|
36
|
-
class Eyes extends api.Eyes {
|
|
29
|
+
exports.closeBatch = exports.BatchClose = exports.Target = exports.CheckSettings = exports.CheckSettingsImage = exports.CheckSettingsAutomation = exports.Configuration = exports.Eyes = void 0;
|
|
30
|
+
const eyes = __importStar(require("@applitools/eyes"));
|
|
31
|
+
__exportStar(require("@applitools/eyes"), exports);
|
|
32
|
+
const sdk = { agentId: `eyes.images.javascript/${require('../package.json').version}` };
|
|
33
|
+
class Eyes extends eyes.Eyes {
|
|
37
34
|
}
|
|
38
35
|
exports.Eyes = Eyes;
|
|
39
|
-
Eyes.
|
|
40
|
-
class Configuration extends
|
|
36
|
+
Eyes._sdk = sdk;
|
|
37
|
+
class Configuration extends eyes.Configuration {
|
|
41
38
|
}
|
|
42
39
|
exports.Configuration = Configuration;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
class CheckSettingsAutomation extends eyes.CheckSettingsAutomation {
|
|
41
|
+
}
|
|
42
|
+
exports.CheckSettingsAutomation = CheckSettingsAutomation;
|
|
43
|
+
class CheckSettingsImage extends eyes.CheckSettingsImage {
|
|
44
|
+
}
|
|
45
|
+
exports.CheckSettingsImage = CheckSettingsImage;
|
|
46
|
+
class CheckSettings extends CheckSettingsImage {
|
|
47
|
+
}
|
|
48
|
+
exports.CheckSettings = CheckSettings;
|
|
49
|
+
exports.Target = eyes.TargetImage;
|
|
50
|
+
class BatchClose extends eyes.BatchClose {
|
|
46
51
|
}
|
|
47
52
|
exports.BatchClose = BatchClose;
|
|
48
|
-
BatchClose.
|
|
49
|
-
exports.closeBatch =
|
|
53
|
+
BatchClose._sdk = sdk;
|
|
54
|
+
exports.closeBatch = eyes.closeBatch(sdk);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-images",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.1",
|
|
4
4
|
"description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-images",
|
|
@@ -13,17 +13,18 @@
|
|
|
13
13
|
"tests"
|
|
14
14
|
],
|
|
15
15
|
"homepage": "https://applitools.com",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"email": "team@applitools.com"
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
19
18
|
},
|
|
20
19
|
"repository": {
|
|
21
20
|
"type": "git",
|
|
22
21
|
"url": "git://github.com/applitools/eyes.sdk.javascript1.git",
|
|
23
22
|
"directory": "js/packages/eyes-images"
|
|
24
23
|
},
|
|
25
|
-
"
|
|
26
|
-
|
|
24
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
25
|
+
"author": {
|
|
26
|
+
"name": "Applitools Team",
|
|
27
|
+
"email": "team@applitools.com"
|
|
27
28
|
},
|
|
28
29
|
"aliases": [
|
|
29
30
|
"images"
|
|
@@ -42,54 +43,33 @@
|
|
|
42
43
|
"dist",
|
|
43
44
|
"types"
|
|
44
45
|
],
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@applitools/core": "1.2.9",
|
|
47
|
-
"@applitools/eyes-api": "1.10.0"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@applitools/api-extractor": "^1.2.11",
|
|
51
|
-
"@applitools/bongo": "^2.2.0",
|
|
52
|
-
"@applitools/sdk-coverage-tests": "^2.7.6",
|
|
53
|
-
"@applitools/test-utils": "^1.5.2",
|
|
54
|
-
"@types/node": "12",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
56
|
-
"@typescript-eslint/parser": "^5.40.1",
|
|
57
|
-
"eslint": "^8.27.0",
|
|
58
|
-
"eslint-config-prettier": "^8.5.0",
|
|
59
|
-
"eslint-plugin-mocha-no-only": "^1.1.1",
|
|
60
|
-
"eslint-plugin-no-only-tests": "^3.0.0",
|
|
61
|
-
"eslint-plugin-node": "^11.1.0",
|
|
62
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
63
|
-
"husky": "^4.3.7",
|
|
64
|
-
"mocha": "9",
|
|
65
|
-
"mocha-multi": "^1.1.6",
|
|
66
|
-
"prettier": "2.7.1",
|
|
67
|
-
"ts-node": "^10.9.1",
|
|
68
|
-
"ttypescript": "^1.5.13",
|
|
69
|
-
"typescript": "^4.8.4"
|
|
70
|
-
},
|
|
71
46
|
"scripts": {
|
|
72
|
-
"lint": "eslint '**/*.ts'",
|
|
73
|
-
"build": "ttsc",
|
|
47
|
+
"lint": "node ../../node_modules/.bin/eslint '**/*.ts'",
|
|
48
|
+
"build": "node ../../node_modules/.bin/ttsc --project ./tsconfig.build.json",
|
|
74
49
|
"generate:tests": "coverage-tests generate ./test/coverage/config.js --name 'eyes-images'",
|
|
75
50
|
"test": "yarn test:coverage",
|
|
51
|
+
"test:coverage": "yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage node ../../node_modules/.bin/mocha './test/generic/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}",
|
|
76
52
|
"test:sanity": "echo 'create sanity suite'",
|
|
77
|
-
"
|
|
78
|
-
"report": "coverage-tests report https://raw.githubusercontent.com/applitools/sdk.coverage.tests/master/js/config.js --name 'eyes-images'",
|
|
53
|
+
"report": "bongo report --name 'js_images'",
|
|
79
54
|
"deps": "bongo deps",
|
|
80
|
-
"gh:test": "gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='images' -f links='types test-utils core-base core eyes
|
|
55
|
+
"gh:test": "gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='images' -f links='types test-utils core-base core eyes utils'",
|
|
81
56
|
"gh:publish": "gh workflow run publish-images.yml --ref $(git rev-parse --abbrev-ref HEAD)",
|
|
82
57
|
"preversion": "bongo preversion",
|
|
83
58
|
"version": "bongo version",
|
|
84
|
-
"postversion": "bongo postversion
|
|
59
|
+
"postversion": "bongo postversion",
|
|
60
|
+
"postpublish": "bongo send-release-notification --name 'js_images'"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@applitools/eyes": "1.0.2"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@applitools/api-extractor": "^1.2.12",
|
|
67
|
+
"@applitools/bongo": "^3.0.2",
|
|
68
|
+
"@applitools/sdk-coverage-tests": "^3.0.0",
|
|
69
|
+
"@applitools/test-utils": "^1.5.14",
|
|
70
|
+
"@types/node": "^12.20.55"
|
|
85
71
|
},
|
|
86
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
87
72
|
"engines": {
|
|
88
73
|
"node": ">=12.13.0"
|
|
89
|
-
},
|
|
90
|
-
"husky": {
|
|
91
|
-
"hooks": {
|
|
92
|
-
"pre-push": "yarn bongo lint"
|
|
93
|
-
}
|
|
94
74
|
}
|
|
95
75
|
}
|