@wdio/globals 8.39.1 → 8.40.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/build/index.d.ts +1 -2
- package/build/index.d.ts.map +1 -1
- package/cjs/index.js +2 -2
- package/package.json +3 -3
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference path="../types.d.ts" />
|
|
2
|
-
type SupportedGlobals = 'browser' | 'driver' | 'multiremotebrowser' | '$' | '$$' | 'expect';
|
|
1
|
+
/// <reference path="../types.d.ts" />type SupportedGlobals = 'browser' | 'driver' | 'multiremotebrowser' | '$' | '$$' | 'expect';
|
|
3
2
|
declare global {
|
|
4
3
|
var _wdioGlobals: Map<SupportedGlobals, any>;
|
|
5
4
|
}
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,KAAK,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,oBAAoB,GAAG,GAAG,GAAG,IAAI,GAAG,QAAQ,CAAA;AAE3F,OAAO,CAAC,MAAM,CAAC;IAEX,IAAI,YAAY,EAAE,GAAG,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAA;CAC/C;AA6BD,eAAO,MAAM,OAAO,EAAE,WAAW,CAAC,OAGjC,CAAA;AACD,eAAO,MAAM,MAAM,EAAE,WAAW,CAAC,OAGhC,CAAA;AACD,eAAO,MAAM,kBAAkB,EAAE,WAAW,CAAC,kBAG5C,CAAA;AACD,eAAO,MAAM,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,CAKtC,CAAA;AACD,eAAO,MAAM,EAAE,EAAE,WAAW,CAAC,OAAO,CAAC,IAAI,CAKxC,CAAA;AACD,eAAO,MAAM,MAAM,EAAE,iBAAiB,CAAC,MAKT,CAAA;AAsC9B;;;;;GAKG;AACH,wBAAgB,UAAU,CAAE,GAAG,EAAE,gBAAgB,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,UAAO,QAM9E"}
|
package/cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/// <reference path="../types.d.ts" />
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.expect = exports.$$ = exports.$ = exports.multiremotebrowser = exports.driver = exports.browser = void 0;
|
|
5
|
+
exports._setGlobal = _setGlobal;
|
|
5
6
|
/**
|
|
6
7
|
* As this file gets imported/used as ESM and CJS artifact we have to make sure
|
|
7
8
|
* that we can share the globals map across both files. For example if someone
|
|
@@ -95,4 +96,3 @@ function _setGlobal(key, value, setGlobal = true) {
|
|
|
95
96
|
globalThis[key] = value;
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
|
-
exports._setGlobal = _setGlobal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/globals",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.40.2",
|
|
4
4
|
"description": "A helper utility for importing global variables directly",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-globals",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
45
|
"expect-webdriverio": "^4.11.2",
|
|
46
|
-
"webdriverio": "8.
|
|
46
|
+
"webdriverio": "8.40.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "4cade71f6be0b8c53c48918b9a6da37a6ad21835"
|
|
49
49
|
}
|