@wdio/globals 8.0.4 → 8.0.6
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 +6 -4
- package/types.d.ts +5 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/globals",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.6",
|
|
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",
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
"exports": {
|
|
12
12
|
".": [
|
|
13
13
|
{
|
|
14
|
+
"types": "./build/index.d.ts",
|
|
14
15
|
"import": "./build/index.js",
|
|
15
16
|
"require": "./cjs/index.js"
|
|
16
17
|
},
|
|
17
18
|
"./cjs/index.js"
|
|
18
|
-
]
|
|
19
|
+
],
|
|
20
|
+
"./types": "./types.d.ts"
|
|
19
21
|
},
|
|
20
22
|
"types": "./build/index.d.ts",
|
|
21
23
|
"typeScriptVersion": "3.8.3",
|
|
@@ -40,7 +42,7 @@
|
|
|
40
42
|
},
|
|
41
43
|
"optionalDependencies": {
|
|
42
44
|
"expect-webdriverio": "^4.0.1",
|
|
43
|
-
"webdriverio": "8.0.
|
|
45
|
+
"webdriverio": "8.0.6"
|
|
44
46
|
},
|
|
45
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "4f63a94a3af029401d652ff1d0fa36e9057f553c"
|
|
46
48
|
}
|
package/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ type BrowserType = import('webdriverio').Browser<'async'>
|
|
|
2
2
|
type ElementType = import('webdriverio').Element<'async'>
|
|
3
3
|
type ElementArrayType = import('webdriverio').ElementArray
|
|
4
4
|
type MultiRemoteBrowserType = import('webdriverio').MultiRemoteBrowser<'async'>
|
|
5
|
-
type
|
|
5
|
+
type ExpectType = import('expect-webdriverio').Expect
|
|
6
6
|
|
|
7
7
|
declare namespace WebdriverIOAsync {
|
|
8
8
|
interface Browser {}
|
|
@@ -24,13 +24,12 @@ declare module NodeJS {
|
|
|
24
24
|
browser: WebdriverIO.Browser
|
|
25
25
|
driver: WebdriverIO.Browser
|
|
26
26
|
multiremotebrowser: WebdriverIO.MultiRemoteBrowser
|
|
27
|
-
expect:
|
|
27
|
+
expect: ExpectType
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
declare function $(...args: Parameters<WebdriverIO.Browser['$']>): ReturnType<WebdriverIO.Browser['$']>
|
|
32
32
|
declare function $$(...args: Parameters<WebdriverIO.Browser['$$']>): ReturnType<WebdriverIO.Browser['$$']>
|
|
33
|
-
declare
|
|
34
|
-
declare
|
|
35
|
-
declare
|
|
36
|
-
declare const expect: ExpectWebdriverIO.Expect
|
|
33
|
+
declare var browser: WebdriverIO.Browser
|
|
34
|
+
declare var driver: WebdriverIO.Browser
|
|
35
|
+
declare var multiremotebrowser: WebdriverIO.MultiRemoteBrowser
|