@applitools/eyes 1.41.0 → 1.42.0

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,91 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.42.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.41.0...js/eyes@1.42.0) (2026-05-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * soft-deprecate CheckSettings.timeout() with telemetry [[#3705](https://github.com/Applitools-Dev/sdk/issues/3705)] ([#3805](https://github.com/Applitools-Dev/sdk/issues/3805)) ([a5d6390](https://github.com/Applitools-Dev/sdk/commit/a5d6390f17fc0380736b88cbe05dd147e66a86cf))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * @applitools/req bumped to 1.10.1
19
+ #### Bug Fixes
20
+
21
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
22
+ * @applitools/dom-snapshot bumped to 4.17.1
23
+
24
+ * @applitools/snippets bumped to 2.9.1
25
+ #### Bug Fixes
26
+
27
+ * declare @babel/preset-typescript dep for sandbox build ([#3815](https://github.com/Applitools-Dev/sdk/issues/3815)) ([10c44c6](https://github.com/Applitools-Dev/sdk/commit/10c44c66635f1ed4e0361f22ecebf2221c2cc912))
28
+ * @applitools/driver bumped to 1.26.1
29
+ #### Bug Fixes
30
+
31
+ * address CI regressions from executeBrowserCommands and Chromium 140+ service worker ([#3848](https://github.com/Applitools-Dev/sdk/issues/3848)) ([099ada5](https://github.com/Applitools-Dev/sdk/commit/099ada5e52d4153157b98c2203df428579527e49))
32
+
33
+
34
+
35
+ * @applitools/spec-driver-webdriver bumped to 1.6.1
36
+
37
+ * @applitools/spec-driver-selenium bumped to 1.8.1
38
+
39
+ * @applitools/spec-driver-playwright bumped to 1.9.1
40
+ #### Bug Fixes
41
+
42
+ * address CI regressions from executeBrowserCommands and Chromium 140+ service worker ([#3848](https://github.com/Applitools-Dev/sdk/issues/3848)) ([099ada5](https://github.com/Applitools-Dev/sdk/commit/099ada5e52d4153157b98c2203df428579527e49))
43
+
44
+
45
+
46
+ * @applitools/core-base bumped to 1.34.0
47
+ #### Features
48
+
49
+ * soft-deprecate CheckSettings.timeout() with telemetry [[#3705](https://github.com/Applitools-Dev/sdk/issues/3705)] ([#3805](https://github.com/Applitools-Dev/sdk/issues/3805)) ([a5d6390](https://github.com/Applitools-Dev/sdk/commit/a5d6390f17fc0380736b88cbe05dd147e66a86cf))
50
+
51
+
52
+ #### Bug Fixes
53
+
54
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
55
+
56
+
57
+
58
+ * @applitools/spec-driver-puppeteer bumped to 1.8.1
59
+
60
+ * @applitools/screenshoter bumped to 3.12.20
61
+
62
+ * @applitools/nml-client bumped to 1.11.27
63
+
64
+ * @applitools/tunnel-client bumped to 1.11.13
65
+
66
+ * @applitools/ufg-client bumped to 1.22.1
67
+ #### Bug Fixes
68
+
69
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
70
+
71
+
72
+
73
+ * @applitools/ec-client bumped to 1.12.29
74
+
75
+ * @applitools/core bumped to 4.63.0
76
+ #### Features
77
+
78
+ * soft-deprecate CheckSettings.timeout() with telemetry [[#3705](https://github.com/Applitools-Dev/sdk/issues/3705)] ([#3805](https://github.com/Applitools-Dev/sdk/issues/3805)) ([a5d6390](https://github.com/Applitools-Dev/sdk/commit/a5d6390f17fc0380736b88cbe05dd147e66a86cf))
79
+
80
+
81
+ #### Bug Fixes
82
+
83
+ * avoid double-scaling environment viewport in classic mode | FLD-4359 ([#3793](https://github.com/Applitools-Dev/sdk/issues/3793)) ([246050b](https://github.com/Applitools-Dev/sdk/commit/246050b8a7984b869c068262162a69191c834947))
84
+ * http2 support via settings AD 13119 ([#3804](https://github.com/Applitools-Dev/sdk/issues/3804)) ([759d451](https://github.com/Applitools-Dev/sdk/commit/759d4518254828140aa50e2c5de14e80af0b997c))
85
+
86
+
87
+
88
+
3
89
  ## [1.41.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.40.1...js/eyes@1.41.0) (2026-05-05)
4
90
 
5
91
 
@@ -445,6 +445,7 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
445
445
  super(undefined, parent !== null && parent !== void 0 ? parent : settings === null || settings === void 0 ? void 0 : settings.parent);
446
446
  this._settings = null;
447
447
  this._spec = null;
448
+ this._usedDeprecations = [];
448
449
  const self = CheckSettingsBaseFluent.makeMutableTreeProxy(this, (CheckSettingsAutomationFluent));
449
450
  self._spec = spec;
450
451
  self._settings = utils.types.instanceOf(settings, CheckSettingsAutomationFluent)
@@ -455,6 +456,9 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
455
456
  // copy constructor does not considered as a new child
456
457
  parent === null || parent === void 0 ? void 0 : parent.childs.pop();
457
458
  }
459
+ else if (utils.types.has(settings, 'timeout') && (settings === null || settings === void 0 ? void 0 : settings.timeout) !== undefined) {
460
+ self._usedDeprecations.push('CheckSettings.timeout');
461
+ }
458
462
  return self;
459
463
  }
460
464
  region(region) {
@@ -587,7 +591,11 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
587
591
  this._settings.useSystemScreenshot = useSystemScreenshot;
588
592
  return this;
589
593
  }
594
+ /**
595
+ * @deprecated Use `Configuration.matchTimeout` during `eyes.open()` instead
596
+ */
590
597
  timeout(timeout) {
598
+ this._usedDeprecations.push('CheckSettings.timeout');
591
599
  this._settings.timeout = timeout;
592
600
  return this;
593
601
  }
@@ -659,6 +667,7 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
659
667
  densityMetrics: this._settings.densityMetrics,
660
668
  assumesMutability: this.assumesMutability(),
661
669
  stitchMode: this._settings.stitchMode,
670
+ usedDeprecations: this._usedDeprecations.length ? this._usedDeprecations : undefined,
662
671
  }),
663
672
  };
664
673
  }
@@ -1263,6 +1263,7 @@ class ConfigurationData {
1263
1263
  mobileOptions: this.mobileOptions,
1264
1264
  }),
1265
1265
  check: utils.general.removeUndefinedProps({
1266
+ httpVersion: this.httpVersion,
1266
1267
  environments: (_c = this.browsersInfo) === null || _c === void 0 ? void 0 : _c.map(browserInfo => {
1267
1268
  if (utils.types.has(browserInfo, 'iosDeviceInfo') &&
1268
1269
  utils.types.has(browserInfo.iosDeviceInfo, 'iosVersion')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.41.0",
3
+ "version": "1.42.0",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -50,15 +50,16 @@
50
50
  "test": "run --top-level mocha './test/**/*.spec.ts'"
51
51
  },
52
52
  "dependencies": {
53
- "@applitools/core": "4.62.0",
53
+ "@applitools/core": "4.63.0",
54
54
  "@applitools/logger": "2.2.11",
55
55
  "@applitools/utils": "1.14.4",
56
56
  "chalk": "4.1.2",
57
57
  "yargs": "17.7.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@applitools/req": "^1.10.0",
61
- "@types/node": "^12.20.55"
60
+ "@applitools/req": "^1.10.1",
61
+ "@types/node": "^12.20.55",
62
+ "nock": "^13.3.0"
62
63
  },
63
64
  "engines": {
64
65
  "node": ">=12.13.0"
@@ -100,6 +100,7 @@ export type CheckSettingsAutomation<TSpec extends Core.SpecType, TRegionReferenc
100
100
  hooks?: {
101
101
  beforeCaptureScreenshot: string;
102
102
  };
103
+ /** @deprecated Use `Configuration.matchTimeout` instead */
103
104
  timeout?: number;
104
105
  waitBeforeCapture?: number | (() => Promise<void>);
105
106
  lazyLoad?: boolean | LazyLoadOptions;
@@ -217,6 +218,7 @@ export declare class CheckSettingsAutomationFluent<TSpec extends Core.SpecType =
217
218
  protected _settings: CheckSettingsAutomation<TSpec>;
218
219
  protected static readonly _spec: Core.SpecDriver<Core.SpecType>;
219
220
  protected _spec: Core.SpecDriver<TSpec>;
221
+ protected _usedDeprecations: string[];
220
222
  protected _isElementReference(value: any): value is ElementReference<TSpec>;
221
223
  protected _isSelectorReference(selector: any): selector is SelectorReference<TSpec>;
222
224
  protected _isFrameReference(value: any): value is FrameReference<TSpec>;
@@ -255,6 +257,9 @@ export declare class CheckSettingsAutomationFluent<TSpec extends Core.SpecType =
255
257
  [key: string]: any;
256
258
  }): this;
257
259
  useSystemScreenshot(useSystemScreenshot?: boolean): this;
260
+ /**
261
+ * @deprecated Use `Configuration.matchTimeout` during `eyes.open()` instead
262
+ */
258
263
  timeout(timeout: number): typeof this;
259
264
  waitBeforeCapture(waitBeforeCapture: number | (() => Promise<void>)): typeof this;
260
265
  lazyLoad(options?: LazyLoadOptions | boolean): typeof this;