@applitools/driver 1.12.3 → 1.12.4

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.12.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver@1.12.3...js/driver@1.12.4) (2023-06-28)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/utils bumped from 1.4.0 to 1.5.0
9
+ #### Features
10
+
11
+ * handled abandoned tunnels ([#1669](https://github.com/applitools/eyes.sdk.javascript1/issues/1669)) ([e01a9f6](https://github.com/applitools/eyes.sdk.javascript1/commit/e01a9f6f7543fc5e6bd842acf6ee8de8cfb49998))
12
+ * @applitools/logger bumped from 2.0.4 to 2.0.5
13
+
14
+
3
15
  ## [1.12.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/driver@1.12.2...js/driver@1.12.3) (2023-06-21)
4
16
 
5
17
 
package/dist/driver.js CHANGED
@@ -174,10 +174,11 @@ class Driver {
174
174
  return this._driverInfo;
175
175
  }
176
176
  async getCapabilities({ force } = {}) {
177
- var _a, _b, _c, _d, _e;
177
+ var _a, _b, _c, _d, _e, _f, _g;
178
178
  if (((_a = this._driverInfo) === null || _a === void 0 ? void 0 : _a.capabilities) === undefined || force) {
179
179
  (_b = this._driverInfo) !== null && _b !== void 0 ? _b : (this._driverInfo = {});
180
- this._driverInfo.capabilities = (_e = (await ((_d = (_c = this._spec).getCapabilities) === null || _d === void 0 ? void 0 : _d.call(_c, this.target)))) !== null && _e !== void 0 ? _e : null;
180
+ await ((_d = (_c = this._spec).getCapabilities) === null || _d === void 0 ? void 0 : _d.call(_c, this.target));
181
+ this._driverInfo.capabilities = (_g = (await ((_f = (_e = this._spec).getCapabilities) === null || _f === void 0 ? void 0 : _f.call(_e, this.target)))) !== null && _g !== void 0 ? _g : null;
181
182
  this._logger.log('Extracted driver capabilities', this._driverInfo.capabilities);
182
183
  }
183
184
  return this._driverInfo.capabilities;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/driver",
3
- "version": "1.12.3",
3
+ "version": "1.12.4",
4
4
  "description": "Applitools universal framework wrapper",
5
5
  "keywords": [
6
6
  "applitools",
@@ -73,9 +73,9 @@
73
73
  "test": "run --top-level mocha './test/**/*.spec.ts'"
74
74
  },
75
75
  "dependencies": {
76
- "@applitools/logger": "2.0.4",
76
+ "@applitools/logger": "2.0.5",
77
77
  "@applitools/snippets": "2.4.21",
78
- "@applitools/utils": "1.4.0",
78
+ "@applitools/utils": "1.5.0",
79
79
  "semver": "7.3.7"
80
80
  },
81
81
  "devDependencies": {