@applitools/core 4.56.3 → 4.57.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/CHANGELOG.md CHANGED
@@ -1,5 +1,65 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.57.1](https://github.com/Applitools-Dev/sdk/compare/js/core@4.57.0...js/core@4.57.1) (2026-03-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * remove checkNetwork from public API, add unit tests ([#3598](https://github.com/Applitools-Dev/sdk/issues/3598)) ([d0a70a3](https://github.com/Applitools-Dev/sdk/commit/d0a70a3b7319aab6e1ca9dbca5e6a94069955447))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-capture bumped to 11.6.10
14
+ #### Bug Fixes
15
+
16
+ * handle empty data URLs in CSS extraction | FLD-4158 ([#3606](https://github.com/Applitools-Dev/sdk/issues/3606)) ([8adef70](https://github.com/Applitools-Dev/sdk/commit/8adef702c7136b0b4a15f150b3d7ca6f649b30a2))
17
+
18
+ ## [4.57.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.56.3...js/core@4.57.0) (2026-03-02)
19
+
20
+
21
+ ### Features
22
+
23
+ * http 2 support | FLD-4085 ([#3539](https://github.com/Applitools-Dev/sdk/issues/3539)) ([b304d4a](https://github.com/Applitools-Dev/sdk/commit/b304d4a1072a201d1c3f5cea1275b6a15230d6aa))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * resolve Node.js punycode deprecation warning in tests ([#3590](https://github.com/Applitools-Dev/sdk/issues/3590)) ([b759df9](https://github.com/Applitools-Dev/sdk/commit/b759df98dcce2bcfb09db105edadbc73964e4d8d))
29
+ * video link with http live streaming - workaround | FLD-4089 ([#3567](https://github.com/Applitools-Dev/sdk/issues/3567)) ([8639c37](https://github.com/Applitools-Dev/sdk/commit/8639c37d39997915d5fcdc46c45a96d510b6ad91))
30
+
31
+
32
+ ### Dependencies
33
+
34
+ * @applitools/dom-snapshot bumped to 4.15.10
35
+ #### Bug Fixes
36
+
37
+ * video link with http live streaming - workaround | FLD-4089 ([#3567](https://github.com/Applitools-Dev/sdk/issues/3567)) ([8639c37](https://github.com/Applitools-Dev/sdk/commit/8639c37d39997915d5fcdc46c45a96d510b6ad91))
38
+ * @applitools/req bumped to 1.9.0
39
+ #### Features
40
+
41
+ * http 2 support | FLD-4085 ([#3539](https://github.com/Applitools-Dev/sdk/issues/3539)) ([b304d4a](https://github.com/Applitools-Dev/sdk/commit/b304d4a1072a201d1c3f5cea1275b6a15230d6aa))
42
+ * @applitools/nml-client bumped to 1.11.18
43
+
44
+ * @applitools/tunnel-client bumped to 1.11.7
45
+
46
+ * @applitools/ufg-client bumped to 1.19.3
47
+
48
+ * @applitools/core-base bumped to 1.32.0
49
+ #### Features
50
+
51
+ * http 2 support | FLD-4085 ([#3539](https://github.com/Applitools-Dev/sdk/issues/3539)) ([b304d4a](https://github.com/Applitools-Dev/sdk/commit/b304d4a1072a201d1c3f5cea1275b6a15230d6aa))
52
+
53
+
54
+ #### Bug Fixes
55
+
56
+ * video link with http live streaming - workaround | FLD-4089 ([#3567](https://github.com/Applitools-Dev/sdk/issues/3567)) ([8639c37](https://github.com/Applitools-Dev/sdk/commit/8639c37d39997915d5fcdc46c45a96d510b6ad91))
57
+
58
+
59
+
60
+ * @applitools/ec-client bumped to 1.12.20
61
+
62
+
3
63
  ## [4.56.3](https://github.com/Applitools-Dev/sdk/compare/js/core@4.56.2...js/core@4.56.3) (2026-03-01)
4
64
 
5
65
 
package/dist/index.js CHANGED
@@ -26,14 +26,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.MissingApiKeyError = exports.checkNetwork = exports.logs = exports.formatters = void 0;
29
+ exports.MissingApiKeyError = exports.logs = exports.formatters = void 0;
30
30
  __exportStar(require("./types"), exports);
31
31
  __exportStar(require("./core"), exports);
32
32
  __exportStar(require("./autonomous/core"), exports);
33
33
  __exportStar(require("@applitools/driver/dist/debug"), exports);
34
34
  exports.formatters = __importStar(require("./utils/format-results"));
35
35
  exports.logs = __importStar(require("./troubleshoot/logs"));
36
- var check_network_1 = require("./troubleshoot/check-network");
37
- Object.defineProperty(exports, "checkNetwork", { enumerable: true, get: function () { return check_network_1.checkNetwork; } });
38
36
  var core_base_1 = require("@applitools/core-base");
39
37
  Object.defineProperty(exports, "MissingApiKeyError", { enumerable: true, get: function () { return core_base_1.MissingApiKeyError; } });
@@ -33,8 +33,8 @@ const eyes_1 = __importDefault(require("./eyes"));
33
33
  const ufg_1 = __importDefault(require("./ufg"));
34
34
  const utils = __importStar(require("@applitools/utils"));
35
35
  const TIMEOUT = 15000;
36
- const config = utils.config.getConfig({ params: ['apiKey', 'serverUrl', 'proxy'] });
37
36
  async function checkNetwork({ stream = process.stdout, eyes = eyes_1.default, ufg = ufg_1.default } = {}) {
37
+ const config = utils.config.getConfig({ params: ['apiKey', 'serverUrl', 'proxy'] });
38
38
  const hasClearLine = !!stream.clearLine && !!stream.cursorTo;
39
39
  if (!config.apiKey) {
40
40
  printErr('Missing "apiKey". Add APPLITOOLS_API_KEY as an env variable or add "apiKey" in applitools.config.js\n');
@@ -52,7 +52,7 @@ async function checkNetwork({ stream = process.stdout, eyes = eyes_1.default, uf
52
52
  hasErr = curlRenderErr;
53
53
  hasErr = (await doTest(eyes.testHttps, '[eyes] https')) || hasErr;
54
54
  hasErr = (await doTest(eyes.testFetch, '[eyes] node-fetch')) || hasErr;
55
- hasErr = await doTest(eyes.testServer, '[eyes] server connector');
55
+ hasErr = (await doTest(eyes.testServer, '[eyes] server connector')) || hasErr;
56
56
  print('[2] Checking Ultrafast grid API', ufg.url.origin, '\n');
57
57
  curlVgErr = await doTest(ufg.testCurl, '[UFG] cURL');
58
58
  hasErr = curlVgErr || hasErr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "4.56.3",
3
+ "version": "4.57.1",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -50,7 +50,9 @@
50
50
  "test": "run --top-level mocha './test/**/*.spec.ts' --exclude './test/e2e/mocha-sync/**' --parallel --jobs ${MOCHA_JOBS:-15} --exit --require ./test/mocha-global-setup.js",
51
51
  "test:local": "MOCHA_OMIT_TAGS=sauce,browserstack run test",
52
52
  "test:sauce": "MOCHA_ONLY_TAGS=sauce,browserstack run test",
53
- "test:e2e": "MOCHA_GROUP=e2e run --top-level mocha './test/e2e/**/*.spec.ts' --exclude './test/e2e/mocha-sync/**' --parallel --jobs ${MOCHA_JOBS:-15} --exit --require ./test/mocha-global-setup.js",
53
+ "test:bin": "MOCHA_GROUP=bin run --top-level mocha './test/bin/**/*.spec.ts' --parallel --jobs ${MOCHA_JOBS:-15} --require ./test/mocha-global-setup.js",
54
+ "test:e2e": "MOCHA_OMIT_TAGS=http2 MOCHA_GROUP=e2e run --top-level mocha './test/e2e/**/*.spec.ts' --exclude './test/e2e/mocha-sync/**' --parallel --jobs ${MOCHA_JOBS:-15} --exit --require ./test/mocha-global-setup.js",
55
+ "test:e2e:http2": "APPLITOOLS_HTTP_VERSION=2 MOCHA_OMIT_TAGS=http1,sauce,browserstack MOCHA_GROUP=e2e run --top-level mocha './test/e2e/**/*.spec.ts' --exclude './test/e2e/mocha-sync/**' --parallel --jobs ${MOCHA_JOBS:-15} --exit --require ./test/mocha-global-setup.js",
54
56
  "test:it": "MOCHA_GROUP=it run --top-level mocha './test/it/**/*.spec.ts' --require ./test/mocha-global-setup.js",
55
57
  "test:e2e:sync": "MOCHA_GROUP=e2e SYNC=true run --top-level mocha './test/e2e/mocha-sync/**/*.spec.ts' --exit --require ./test/mocha-global-setup.js",
56
58
  "test:unit": "MOCHA_GROUP=unit run --top-level mocha './test/unit/**/*.spec.ts' --require ./test/mocha-global-setup.js",
@@ -58,18 +60,18 @@
58
60
  "setup:standalone": "sh -c 'yarn chromedriver --port=4444 --verbose &'"
59
61
  },
60
62
  "dependencies": {
61
- "@applitools/core-base": "1.31.3",
62
- "@applitools/dom-capture": "11.6.9",
63
- "@applitools/dom-snapshot": "4.15.9",
63
+ "@applitools/core-base": "1.32.0",
64
+ "@applitools/dom-capture": "11.6.10",
65
+ "@applitools/dom-snapshot": "4.15.10",
64
66
  "@applitools/driver": "1.25.1",
65
- "@applitools/ec-client": "1.12.19",
67
+ "@applitools/ec-client": "1.12.20",
66
68
  "@applitools/logger": "2.2.8",
67
- "@applitools/nml-client": "1.11.17",
68
- "@applitools/req": "1.8.8",
69
+ "@applitools/nml-client": "1.11.18",
70
+ "@applitools/req": "1.9.0",
69
71
  "@applitools/screenshoter": "3.12.14",
70
72
  "@applitools/snippets": "2.7.0",
71
73
  "@applitools/socket": "1.3.9",
72
- "@applitools/ufg-client": "1.19.2",
74
+ "@applitools/ufg-client": "1.19.3",
73
75
  "@applitools/utils": "1.14.1",
74
76
  "abort-controller": "3.0.0",
75
77
  "chalk": "4.1.2",
@@ -83,7 +85,7 @@
83
85
  "@applitools/spec-driver-selenium": "^1.7.12",
84
86
  "@applitools/test-server": "^1.4.0",
85
87
  "@applitools/test-utils": "^1.5.17",
86
- "@applitools/tunnel-client": "^1.11.6",
88
+ "@applitools/tunnel-client": "^1.11.7",
87
89
  "@types/mocha": "^10.0.7",
88
90
  "@types/node": "^12.20.55",
89
91
  "@types/selenium-webdriver": "^4.1.2",
package/types/index.d.ts CHANGED
@@ -5,5 +5,4 @@ export { type SpecType, type SpecDriver, type Selector } from '@applitools/drive
5
5
  export * from '@applitools/driver/dist/debug';
6
6
  export * as formatters from './utils/format-results';
7
7
  export * as logs from './troubleshoot/logs';
8
- export { checkNetwork } from './troubleshoot/check-network';
9
8
  export { MissingApiKeyError } from '@applitools/core-base';