@appium/base-driver 8.2.2 → 8.2.3

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/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "firefoxos",
12
12
  "testing"
13
13
  ],
14
- "version": "8.2.2",
14
+ "version": "8.2.3",
15
15
  "author": "https://github.com/appium",
16
16
  "license": "Apache-2.0",
17
17
  "repository": {
@@ -39,14 +39,14 @@
39
39
  "!build/test/basedriver/fixtures"
40
40
  ],
41
41
  "dependencies": {
42
- "@appium/support": "^2.55.2",
42
+ "@appium/support": "^2.55.3",
43
43
  "@babel/runtime": "7.16.3",
44
+ "@dabh/colors": "1.4.0",
44
45
  "async-lock": "1.3.0",
45
46
  "asyncbox": "2.9.2",
46
47
  "axios": "0.24.0",
47
48
  "bluebird": "3.7.2",
48
49
  "body-parser": "1.19.0",
49
- "colors": "1.4.0",
50
50
  "es6-error": "4.1.1",
51
51
  "express": "4.17.1",
52
52
  "http-status-codes": "2.1.4",
@@ -57,11 +57,11 @@
57
57
  "serve-favicon": "2.5.0",
58
58
  "source-map-support": "0.5.21",
59
59
  "validate.js": "0.13.1",
60
- "ws": "7.5.5"
60
+ "ws": "7.5.6"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
65
  "homepage": "https://appium.io",
66
- "gitHead": "280d409df6c02d36b4ffc4d02a95ab3f4649b08c"
66
+ "gitHead": "ca90a11813546ab4851e5b1f0406f420a53227e6"
67
67
  }
@@ -98,6 +98,10 @@ describe('helpers', function () {
98
98
  sandbox.stub(zip, 'extractAllTo').resolves();
99
99
  sandbox.stub(zip, 'assertValidZip').resolves();
100
100
  sandbox.stub(fs, 'mv').resolves();
101
+ sandbox.stub(fs, 'stat').resolves({
102
+ isFile: () => true,
103
+ isDirectory: () => false,
104
+ });
101
105
  sandbox.stub(fs, 'exists').resolves(true);
102
106
  sandbox.stub(fs, 'hash').resolves('0xDEADBEEF');
103
107
  sandbox.stub(fs, 'glob').resolves(['/path/to/an.apk']);