@applitools/core 4.57.0 → 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,20 @@
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
+
3
18
  ## [4.57.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.56.3...js/core@4.57.0) (2026-03-02)
4
19
 
5
20
 
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.57.0",
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"
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@applitools/core-base": "1.32.0",
64
- "@applitools/dom-capture": "11.6.9",
64
+ "@applitools/dom-capture": "11.6.10",
65
65
  "@applitools/dom-snapshot": "4.15.10",
66
66
  "@applitools/driver": "1.25.1",
67
67
  "@applitools/ec-client": "1.12.20",
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';