@applitools/core 4.53.0 → 4.53.2

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,70 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.53.2](https://github.com/Applitools-Dev/sdk/compare/js/core@4.53.1...js/core@4.53.2) (2025-12-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Upgrade core version ([#3398](https://github.com/Applitools-Dev/sdk/issues/3398)) ([68858c7](https://github.com/Applitools-Dev/sdk/commit/68858c7024e0413c1cc6af68752b1c3a9a04bb0b))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-snapshot bumped to 4.15.3
14
+ #### Bug Fixes
15
+
16
+ * capture JavaScript-modified CSS selectors in nested [@layer](https://github.com/layer) rules ([#3391](https://github.com/Applitools-Dev/sdk/issues/3391)) ([b3bceb5](https://github.com/Applitools-Dev/sdk/commit/b3bceb5bfe894f3548173d23942e09d0e04b7e04))
17
+
18
+ ## [4.53.1](https://github.com/Applitools-Dev/sdk/compare/js/core@4.53.0...js/core@4.53.1) (2025-12-01)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * handle CSS variables in Shadow DOM adopted stylesheets | FLD-3790 ([#3381](https://github.com/Applitools-Dev/sdk/issues/3381)) ([b2bfca3](https://github.com/Applitools-Dev/sdk/commit/b2bfca3cd706cd996d78d51c6242148fbb8ce741))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * @applitools/utils bumped to 1.14.1
29
+ #### Bug Fixes
30
+
31
+ * setup script compatibility with ESM | AD-11756 ([#3363](https://github.com/Applitools-Dev/sdk/issues/3363)) ([d1222f4](https://github.com/Applitools-Dev/sdk/commit/d1222f40a74ab62782bebeeb0cf899aac3f3d3b6))
32
+ * @applitools/dom-snapshot bumped to 4.15.2
33
+ #### Bug Fixes
34
+
35
+ * handle CSS variables in Shadow DOM adopted stylesheets | FLD-3790 ([#3381](https://github.com/Applitools-Dev/sdk/issues/3381)) ([b2bfca3](https://github.com/Applitools-Dev/sdk/commit/b2bfca3cd706cd996d78d51c6242148fbb8ce741))
36
+
37
+
38
+
39
+ * @applitools/logger bumped to 2.2.7
40
+
41
+ * @applitools/socket bumped to 1.3.8
42
+
43
+ * @applitools/req bumped to 1.8.7
44
+
45
+ * @applitools/image bumped to 1.2.6
46
+
47
+ * @applitools/driver bumped to 1.24.3
48
+
49
+ * @applitools/spec-driver-webdriver bumped to 1.5.3
50
+
51
+ * @applitools/spec-driver-selenium bumped to 1.7.9
52
+
53
+ * @applitools/spec-driver-puppeteer bumped to 1.6.9
54
+
55
+ * @applitools/screenshoter bumped to 3.12.10
56
+
57
+ * @applitools/nml-client bumped to 1.11.12
58
+
59
+ * @applitools/tunnel-client bumped to 1.11.5
60
+
61
+ * @applitools/ufg-client bumped to 1.18.3
62
+
63
+ * @applitools/core-base bumped to 1.30.1
64
+
65
+ * @applitools/ec-client bumped to 1.12.14
66
+
67
+
3
68
  ## [4.53.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.52.0...js/core@4.53.0) (2025-11-19)
4
69
 
5
70
 
@@ -5,16 +5,19 @@ const calculate_required_sizes_1 = require("../automation/utils/calculate-requir
5
5
  const defaults_1 = require("../automation/utils/defaults");
6
6
  const verify_environment_info_1 = require("../ufg/utils/verify-environment-info");
7
7
  const populate_eyes_server_settings_1 = require("../utils/populate-eyes-server-settings");
8
- function makeCalculateEstimatedTime({ core, logger }) {
8
+ function makeCalculateEstimatedTime({ core, logger, }) {
9
9
  return async function calculateEstimatedTime({ settings }) {
10
10
  var _a;
11
11
  (0, populate_eyes_server_settings_1.populateEyesServerSettings)(settings);
12
12
  const accountInfo = await core.getAccountInfo({ settings, logger });
13
- const ufgClient = await core.getUFGClient({ settings: {
13
+ const ufgClient = await core.getUFGClient({
14
+ settings: {
14
15
  ...settings,
15
16
  ufgServerUrl: accountInfo.ufgServer.ufgServerUrl,
16
17
  accessToken: accountInfo.ufgServer.accessToken,
17
- }, logger });
18
+ },
19
+ logger,
20
+ });
18
21
  const deviceProviders = {
19
22
  getChromeEmulationDevices: ufgClient.getChromeEmulationDevices.bind(ufgClient),
20
23
  getIOSDevices: ufgClient.getIOSDevices.bind(ufgClient),
@@ -27,9 +30,7 @@ function makeCalculateEstimatedTime({ core, logger }) {
27
30
  ...(typeof settings.lazyLoad === 'object' ? settings.lazyLoad : {}),
28
31
  };
29
32
  // Calculate lazy load time per breakpoint
30
- const lazyLoadTimePerBreakpoint = settings.lazyLoad
31
- ? Math.ceil(maxAmountToScroll / scrollLength) * waitingTime
32
- : 0;
33
+ const lazyLoadTimePerBreakpoint = settings.lazyLoad ? Math.ceil(maxAmountToScroll / scrollLength) * waitingTime : 0;
33
34
  // Calculate total times (only handle number case for time estimation, default from defaults.ts)
34
35
  const waitBeforeCapture = Number(settings.waitBeforeCapture) || defaults_1.DEFAULT_WAIT_BEFORE_CAPTURE;
35
36
  // Calculate required sizes count using the same logic as take-dom-snapshots
package/dist/check.js CHANGED
@@ -64,7 +64,9 @@ function makeCheck({ type: defaultType = 'classic', eyes, target: defaultTarget,
64
64
  (_o = (_u = settings.lazyLoad).maxAmountToScroll) !== null && _o !== void 0 ? _o : (_u.maxAmountToScroll = defaults_1.DEFAULT_LAZY_LOAD.maxAmountToScroll);
65
65
  }
66
66
  settings.stepIndex = stepIndex++;
67
- (_p = settings.waitBetweenStitches) !== null && _p !== void 0 ? _p : (settings.waitBetweenStitches = utils.types.isObject(settings.lazyLoad) ? settings.lazyLoad.waitingTime : defaults_1.DEFAULT_WAIT_BEFORE_CAPTURE);
67
+ (_p = settings.waitBetweenStitches) !== null && _p !== void 0 ? _p : (settings.waitBetweenStitches = utils.types.isObject(settings.lazyLoad)
68
+ ? settings.lazyLoad.waitingTime
69
+ : defaults_1.DEFAULT_WAIT_BEFORE_CAPTURE);
68
70
  if (settings.mobileOptions) {
69
71
  (_q = (_v = settings.mobileOptions).keepNavigationBar) !== null && _q !== void 0 ? _q : (_v.keepNavigationBar = false);
70
72
  }
package/dist/open-eyes.js CHANGED
@@ -213,7 +213,6 @@ function refineMissingApiKeyException(error, sdk) {
213
213
  eyes_selenium: undefined,
214
214
  eyes_universal: undefined,
215
215
  eyes_capybara: undefined,
216
- eyes_calabash: undefined,
217
216
  },
218
217
  java: {
219
218
  java_appium: undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "4.53.0",
3
+ "version": "4.53.2",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -79,20 +79,20 @@
79
79
  }
80
80
  },
81
81
  "dependencies": {
82
- "@applitools/core-base": "1.30.0",
82
+ "@applitools/core-base": "1.30.1",
83
83
  "@applitools/dom-capture": "11.6.7",
84
- "@applitools/dom-snapshot": "4.15.1",
85
- "@applitools/driver": "1.24.2",
86
- "@applitools/ec-client": "1.12.13",
87
- "@applitools/logger": "2.2.6",
88
- "@applitools/nml-client": "1.11.11",
89
- "@applitools/req": "1.8.6",
90
- "@applitools/screenshoter": "3.12.9",
84
+ "@applitools/dom-snapshot": "4.15.3",
85
+ "@applitools/driver": "1.24.3",
86
+ "@applitools/ec-client": "1.12.14",
87
+ "@applitools/logger": "2.2.7",
88
+ "@applitools/nml-client": "1.11.12",
89
+ "@applitools/req": "1.8.7",
90
+ "@applitools/screenshoter": "3.12.10",
91
91
  "@applitools/snippets": "2.7.0",
92
- "@applitools/socket": "1.3.7",
93
- "@applitools/spec-driver-webdriver": "1.5.2",
94
- "@applitools/ufg-client": "1.18.2",
95
- "@applitools/utils": "1.14.0",
92
+ "@applitools/socket": "1.3.8",
93
+ "@applitools/spec-driver-webdriver": "1.5.3",
94
+ "@applitools/ufg-client": "1.18.3",
95
+ "@applitools/utils": "1.14.1",
96
96
  "@types/ws": "8.5.5",
97
97
  "abort-controller": "3.0.0",
98
98
  "chalk": "4.1.2",
@@ -106,11 +106,11 @@
106
106
  "devDependencies": {
107
107
  "@applitools/bongo": "^5.10.0",
108
108
  "@applitools/sea": "^1.0.0",
109
- "@applitools/spec-driver-puppeteer": "^1.6.8",
110
- "@applitools/spec-driver-selenium": "^1.7.8",
109
+ "@applitools/spec-driver-puppeteer": "^1.6.9",
110
+ "@applitools/spec-driver-selenium": "^1.7.9",
111
111
  "@applitools/test-server": "^1.3.5",
112
112
  "@applitools/test-utils": "^1.5.17",
113
- "@applitools/tunnel-client": "^1.11.4",
113
+ "@applitools/tunnel-client": "^1.11.5",
114
114
  "@types/mocha": "^10.0.7",
115
115
  "@types/node": "^12.20.55",
116
116
  "@types/selenium-webdriver": "^4.1.2",
@@ -5,7 +5,7 @@ import type { Logger } from '@applitools/logger';
5
5
  type Options<TSpec extends SpecType> = {
6
6
  settings: Partial<SnapshotSettings<TSpec>> & EyesServerSettings;
7
7
  };
8
- export declare function makeCalculateEstimatedTime<TSpec extends SpecType>({ core, logger }: {
8
+ export declare function makeCalculateEstimatedTime<TSpec extends SpecType>({ core, logger, }: {
9
9
  core: UFGCore<TSpec>;
10
10
  logger: Logger;
11
11
  }): ({ settings }: Options<TSpec>) => Promise<EstimatedTimeResult>;