@appium/test-support 3.0.51 → 3.0.52

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.
@@ -14,13 +14,13 @@ export type LogStubOptions = {
14
14
  * @param {LogStubOptions} [opts]
15
15
  * @returns {LogStub}
16
16
  */
17
- export function stubLog(sandbox: import("sinon").SinonSandbox, log: import("@appium/types").AppiumLogger, opts?: LogStubOptions | undefined): LogStub;
17
+ export function stubLog(sandbox: import("sinon").SinonSandbox, log: import("@appium/types").AppiumLogger, opts?: LogStubOptions): LogStub;
18
18
  declare class LogStub {
19
19
  /**
20
20
  *
21
21
  * @param {LogStubOptions} [opts]
22
22
  */
23
- constructor(opts?: LogStubOptions | undefined);
23
+ constructor(opts?: LogStubOptions);
24
24
  output: string;
25
25
  stripColors: boolean;
26
26
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"log-utils.d.ts","sourceRoot":"","sources":["../../lib/log-utils.js"],"names":[],"mappings":";;;;;;;;;AA2BA;;;;;;GAMG;AACH,iCALW,OAAO,OAAO,EAAE,YAAY,OAC5B,OAAO,eAAe,EAAE,YAAY,sCAElC,OAAO,CAUnB;AAxCD;IACE;;;OAGG;IACH,+CAGC;IAFC,eAAgB;IAChB,qBAA4C;IAE9C;;;;OAIG;IACH,WAHW,MAAM,WACN,GAAG,QAUb;CACF"}
1
+ {"version":3,"file":"log-utils.d.ts","sourceRoot":"","sources":["../../lib/log-utils.js"],"names":[],"mappings":";;;;;;;;;AA2BA;;;;;;GAMG;AACH,iCALW,OAAO,OAAO,EAAE,YAAY,OAC5B,OAAO,eAAe,EAAE,YAAY,SACpC,cAAc,GACZ,OAAO,CAUnB;AAxCD;IACE;;;OAGG;IACH,mBAFW,cAAc,EAKxB;IAFC,eAAgB;IAChB,qBAA4C;IAE9C;;;;OAIG;IACH,WAHW,MAAM,WACN,GAAG,QAUb;CACF"}
@@ -25,7 +25,7 @@ export class MockStore<Mocks extends Record<string, any>> {
25
25
  * Uses a sandbox if one is provided
26
26
  * @param {SinonSandbox} [sandbox]
27
27
  */
28
- constructor(sandbox?: sinon.SinonSandbox | undefined);
28
+ constructor(sandbox?: SinonSandbox);
29
29
  /**
30
30
  * Temporary sandbox; will be `undefined` until `beforeEach` is called
31
31
  * @type {SinonSandbox|undefined}
@@ -43,5 +43,4 @@ export class MockStore<Mocks extends Record<string, any>> {
43
43
  #private;
44
44
  }
45
45
  export type SinonSandbox = import("sinon").SinonSandbox;
46
- import sinon from 'sinon';
47
46
  //# sourceMappingURL=mock-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mock-utils.d.ts","sourceRoot":"","sources":["../../lib/mock-utils.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,oCAJW,MAAM,CAAC,MAAM,GAAC,MAAM,EAAC,GAAG,CAAC,MACzB,CAAC,KAAK,gBAAW,KAAK,IAAI,GACxB,MAAM,IAAI,CAatB;AAED;;;GAGG;AACH,yDAEC;AAED;;;GAGG;AACH,uBAHkC,KAAK,SAAzB,MAAM,CAAC,MAAM,EAAC,GAAG,CAAE;IAgB/B;;;OAGG;IACH,sDAEC;IAlBD;;;OAGG;IACH,SAFU,YAAY,GAAC,SAAS,CAExB;IAgBR;;OAEG;IACH,sBAFW,KAAK,QAYf;IAED;;OAEG;IACH,eAOC;IAED,cAMC;;CACF;2BAGY,OAAO,OAAO,EAAE,YAAY;kBAjGvB,OAAO"}
1
+ {"version":3,"file":"mock-utils.d.ts","sourceRoot":"","sources":["../../lib/mock-utils.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,oCAJW,MAAM,CAAC,MAAM,GAAC,MAAM,EAAC,GAAG,CAAC,MACzB,CAAC,KAAK,gBAAW,KAAK,IAAI,GACxB,MAAM,IAAI,CAatB;AAED;;;GAGG;AACH,yDAEC;AAED;;;GAGG;AACH,uBAHkC,KAAK,SAAzB,MAAM,CAAC,MAAM,EAAC,GAAG,CAAE;IAgB/B;;;OAGG;IACH,sBAFW,YAAY,EAItB;IAlBD;;;OAGG;IACH,SAFU,YAAY,GAAC,SAAS,CAExB;IAgBR;;OAEG;IACH,sBAFW,KAAK,QAYf;IAED;;OAEG;IACH,eAOC;IAED,cAMC;;CACF;2BAGY,OAAO,OAAO,EAAE,YAAY"}
@@ -20,7 +20,7 @@ export class SandboxStore<Mocks extends Record<string, any>> {
20
20
  * Uses a sandbox if one is provided
21
21
  * @param {SinonSandbox} [sandbox]
22
22
  */
23
- constructor(sandbox?: sinon.SinonSandbox | undefined);
23
+ constructor(sandbox?: SinonSandbox);
24
24
  /** @type {MockStore<Record<string,any>>} */
25
25
  mocks: MockStore<Record<string, any>>;
26
26
  /** @type {SinonSandbox|undefined} */
@@ -37,5 +37,4 @@ export class SandboxStore<Mocks extends Record<string, any>> {
37
37
  }
38
38
  export type SinonSandbox = import("sinon").SinonSandbox;
39
39
  import { MockStore } from './mock-utils';
40
- import sinon from 'sinon';
41
40
  //# sourceMappingURL=sandbox-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sandbox-utils.d.ts","sourceRoot":"","sources":["../../lib/sandbox-utils.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,4BAL8D,KAAK,SAArD,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,GAAC;IAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,CAAA;CAAE,YAClD,KAAK,MACL,CAAC,YAAY,mBAAc,KAAK,IAAI,GAClC,MAAM,IAAI,CAkBtB;AAED;;;GAGG;AACH,0CAFW,kCAAsB,QAIhC;AAED;;GAEG;AACH,0BAFkC,KAAK,SAAzB,MAAM,CAAC,MAAM,EAAC,GAAG,CAAE;IAS/B;;;OAGG;IACH,sDAEC;IAZD,4CAA4C;IAC5C,OADW,SAAS,CAAC,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,CAAC,CAClC;IAEN,qCAAqC;IACrC,SADW,YAAY,GAAC,SAAS,CACzB;IAUR;;OAEG;IACH,sBAFW,KAAK,QAKf;IAED;;OAEG;IACH,eAOC;IAED,cAGC;CACF;2BAGY,OAAO,OAAO,EAAE,YAAY;0BA/EjB,cAAc;kBAHpB,OAAO"}
1
+ {"version":3,"file":"sandbox-utils.d.ts","sourceRoot":"","sources":["../../lib/sandbox-utils.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,4BAL8D,KAAK,SAArD,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,GAAC;IAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,CAAA;CAAE,YAClD,KAAK,MACL,CAAC,YAAY,mBAAc,KAAK,IAAI,GAClC,MAAM,IAAI,CAkBtB;AAED;;;GAGG;AACH,0CAFW,kCAAsB,QAIhC;AAED;;GAEG;AACH,0BAFkC,KAAK,SAAzB,MAAM,CAAC,MAAM,EAAC,GAAG,CAAE;IAS/B;;;OAGG;IACH,sBAFW,YAAY,EAItB;IAZD,4CAA4C;IAC5C,OADW,SAAS,CAAC,MAAM,CAAC,MAAM,EAAC,GAAG,CAAC,CAAC,CAClC;IAEN,qCAAqC;IACrC,SADW,YAAY,GAAC,SAAS,CACzB;IAUR;;OAEG;IACH,sBAFW,KAAK,QAKf;IAED;;OAEG;IACH,eAOC;IAED,cAGC;CACF;2BAGY,OAAO,OAAO,EAAE,YAAY;0BA/EjB,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appium/test-support",
3
- "version": "3.0.51",
3
+ "version": "3.0.52",
4
4
  "description": "A collection of test utilities used across Appium packages",
5
5
  "keywords": [
6
6
  "automation",
@@ -45,7 +45,7 @@
45
45
  "test:unit": "mocha \"./test/unit/**/*.spec.js\""
46
46
  },
47
47
  "dependencies": {
48
- "@appium/support": "^5.1.6",
48
+ "@appium/support": "^5.1.7",
49
49
  "@colors/colors": "1.6.0",
50
50
  "bluebird": "3.7.2",
51
51
  "lodash": "4.17.21",
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "b0095bfd47d7d90ba4e933a727fa6e024f3fe844"
63
+ "gitHead": "abc9ebb9e8011cc606a63f1caa126bc8c61fe2a5"
64
64
  }