appium-espresso-driver 2.20.0 → 2.21.0
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 +14 -0
- package/README.md +18 -1
- package/build/lib/commands/execute.js +4 -2
- package/build/lib/commands/execute.js.map +1 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/lib/commands/execute.js +3 -0
- package/npm-shrinkwrap.json +56 -56
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.21.0](https://github.com/appium/appium-espresso-driver/compare/v2.20.1...v2.21.0) (2023-04-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Expose keyboard extensions ([#870](https://github.com/appium/appium-espresso-driver/issues/870)) ([3a91658](https://github.com/appium/appium-espresso-driver/commit/3a916581f509958f81b2ee85c63aa74c124c87fc))
|
|
7
|
+
|
|
8
|
+
## [2.20.1](https://github.com/appium/appium-espresso-driver/compare/v2.20.0...v2.20.1) (2023-04-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Miscellaneous Chores
|
|
12
|
+
|
|
13
|
+
* **deps-dev:** bump rimraf from 4.4.1 to 5.0.0 ([#868](https://github.com/appium/appium-espresso-driver/issues/868)) ([67cfe30](https://github.com/appium/appium-espresso-driver/commit/67cfe30e1345cbb6ede1d975213179f074aa8151))
|
|
14
|
+
|
|
1
15
|
## [2.20.0](https://github.com/appium/appium-espresso-driver/compare/v2.19.0...v2.20.0) (2023-03-29)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -1124,7 +1124,7 @@ List of fully qualified class names of currently registered idling resources or
|
|
|
1124
1124
|
|
|
1125
1125
|
### mobile: waitForUIThread
|
|
1126
1126
|
|
|
1127
|
-
- Wait for the UI thread to become idle, in other words, wait for the APP to become idle(https://developer.android.com/reference/androidx/test/espresso/UiController#loopMainThreadUntilIdle()).
|
|
1127
|
+
- Wait for the UI thread to become idle, in other words, wait for the APP to become [idle](https://developer.android.com/reference/androidx/test/espresso/UiController#loopMainThreadUntilIdle()).
|
|
1128
1128
|
- Use case: On compose and native combination screens, it's possible for the Espresso API to block the UI thread, which can cause the app to freeze. To resolve this issue, it's recommended to explicitly call the `mobile:waitForUIThread` API, which can help to unfreeze the UI thread.
|
|
1129
1129
|
|
|
1130
1130
|
|
|
@@ -1187,6 +1187,23 @@ formFields | Map<string, string> or Array<Pair> | no | Additional fo
|
|
|
1187
1187
|
|
|
1188
1188
|
Base64-encoded content of the recorded media file if `remotePath` argument is falsy or an empty string.
|
|
1189
1189
|
|
|
1190
|
+
### mobile: hideKeyboard
|
|
1191
|
+
|
|
1192
|
+
Tries to hide the on-screen keyboard. Throws an exception if the keyboard cannot be hidden.
|
|
1193
|
+
Does nothing if the keyboard is already hidden.
|
|
1194
|
+
|
|
1195
|
+
#### Returned Result
|
|
1196
|
+
|
|
1197
|
+
`true` if the keyboard was successfully hidden or `false` if it was already invisible.
|
|
1198
|
+
|
|
1199
|
+
### mobile: isKeyboardShown
|
|
1200
|
+
|
|
1201
|
+
Checks if the system on-screen keyboard is visible.
|
|
1202
|
+
|
|
1203
|
+
#### Returned Result
|
|
1204
|
+
|
|
1205
|
+
`true` if the keyboard is visible
|
|
1206
|
+
|
|
1190
1207
|
|
|
1191
1208
|
## Backdoor Extension Usage
|
|
1192
1209
|
|
|
@@ -62,7 +62,9 @@ extensions.executeMobile = async function executeMobile(mobileCommand, opts = {}
|
|
|
62
62
|
refreshGpsCache: 'mobileRefreshGpsCache',
|
|
63
63
|
startMediaProjectionRecording: 'mobileStartMediaProjectionRecording',
|
|
64
64
|
isMediaProjectionRecordingRunning: 'mobileIsMediaProjectionRecordingRunning',
|
|
65
|
-
stopMediaProjectionRecording: 'mobileStopMediaProjectionRecording'
|
|
65
|
+
stopMediaProjectionRecording: 'mobileStopMediaProjectionRecording',
|
|
66
|
+
hideKeyboard: 'mobileHideKeyboard',
|
|
67
|
+
isKeyboardShown: 'isKeyboardShown'
|
|
66
68
|
};
|
|
67
69
|
if (!_lodash.default.has(mobileCommandsMapping, mobileCommand)) {
|
|
68
70
|
throw new _driver.errors.UnknownCommandError(`Unknown mobile command "${mobileCommand}". ` + `Only ${_lodash.default.keys(mobileCommandsMapping)} commands are supported.`);
|
|
@@ -71,4 +73,4 @@ extensions.executeMobile = async function executeMobile(mobileCommand, opts = {}
|
|
|
71
73
|
};
|
|
72
74
|
var _default = extensions;
|
|
73
75
|
exports.default = _default;
|
|
74
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
76
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfbG9kYXNoIiwiX2ludGVyb3BSZXF1aXJlRGVmYXVsdCIsInJlcXVpcmUiLCJfZHJpdmVyIiwiZXh0ZW5zaW9ucyIsImV4ZWN1dGVNb2JpbGUiLCJtb2JpbGVDb21tYW5kIiwib3B0cyIsIm1vYmlsZUNvbW1hbmRzTWFwcGluZyIsInNoZWxsIiwiZXhlY0VtdUNvbnNvbGVDb21tYW5kIiwicGVyZm9ybUVkaXRvckFjdGlvbiIsImNoYW5nZVBlcm1pc3Npb25zIiwiZ2V0UGVybWlzc2lvbnMiLCJzdGFydFNjcmVlblN0cmVhbWluZyIsInN0b3BTY3JlZW5TdHJlYW1pbmciLCJzd2lwZSIsInNjcm9sbFRvUGFnZSIsIm5hdmlnYXRlVG8iLCJjbGlja0FjdGlvbiIsImRldmljZUluZm8iLCJpc1RvYXN0VmlzaWJsZSIsIm9wZW5EcmF3ZXIiLCJjbG9zZURyYXdlciIsInNldERhdGUiLCJzZXRUaW1lIiwiZ2V0RGV2aWNlVGltZSIsImJhY2tkb29yIiwiZmxhc2hFbGVtZW50IiwidWlhdXRvbWF0b3IiLCJ1aWF1dG9tYXRvclBhZ2VTb3VyY2UiLCJ3Z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","_driver","extensions","executeMobile","mobileCommand","opts","mobileCommandsMapping","shell","execEmuConsoleCommand","performEditorAction","changePermissions","getPermissions","startScreenStreaming","stopScreenStreaming","swipe","scrollToPage","navigateTo","clickAction","deviceInfo","isToastVisible","openDrawer","closeDrawer","setDate","setTime","getDeviceTime","backdoor","flashElement","uiautomator","uiautomatorPageSource","webAtoms","getContexts","dismissAutofill","getNotifications","listSms","sensorSet","pushFile","pullFile","pullFolder","deleteFile","isAppInstalled","queryAppState","activateApp","removeApp","terminateApp","installApp","clearApp","startActivity","startService","stopService","broadcast","registerIdlingResources","unregisterIdlingResources","listIdlingResources","waitForUIThread","unlock","refreshGpsCache","startMediaProjectionRecording","isMediaProjectionRecordingRunning","stopMediaProjectionRecording","_","has","errors","UnknownCommandError","keys","_default","exports","default"],"sources":["../../../lib/commands/execute.js"],"sourcesContent":["import _ from 'lodash';\nimport { errors } from 'appium/driver';\n\nconst extensions = {};\n\nextensions.executeMobile = async function executeMobile (mobileCommand, opts = {}) {\n const mobileCommandsMapping = {\n shell: 'mobileShell',\n\n execEmuConsoleCommand: 'mobileExecEmuConsoleCommand',\n\n performEditorAction: 'mobilePerformEditorAction',\n\n changePermissions: 'mobileChangePermissions',\n getPermissions: 'mobileGetPermissions',\n\n startScreenStreaming: 'mobileStartScreenStreaming',\n stopScreenStreaming: 'mobileStopScreenStreaming',\n\n swipe: 'mobileSwipe',\n scrollToPage: 'mobileScrollToPage',\n navigateTo: 'mobileNavigateTo',\n clickAction: 'mobileClickAction',\n\n deviceInfo: 'mobileGetDeviceInfo',\n\n isToastVisible: 'mobileIsToastVisible',\n\n openDrawer: 'mobileOpenDrawer',\n closeDrawer: 'mobileCloseDrawer',\n\n setDate: 'mobileSetDate',\n setTime: 'mobileSetTime',\n\n getDeviceTime: 'mobileGetDeviceTime',\n\n backdoor: 'mobileBackdoor',\n\n flashElement: 'mobileFlashElement',\n\n uiautomator: 'mobileUiautomator',\n uiautomatorPageSource: 'mobileUiautomatorPageSource',\n\n webAtoms: 'mobileWebAtoms',\n getContexts: 'mobileGetContexts',\n\n dismissAutofill: 'mobileDismissAutofill',\n\n getNotifications: 'mobileGetNotifications',\n\n listSms: 'mobileListSms',\n\n sensorSet: 'sensorSet',\n\n pushFile: 'mobilePushFile',\n pullFile: 'mobilePullFile',\n pullFolder: 'mobilePullFolder',\n deleteFile: 'mobileDeleteFile',\n\n isAppInstalled: 'mobileIsAppInstalled',\n queryAppState: 'mobileQueryAppState',\n activateApp: 'mobileActivateApp',\n removeApp: 'mobileRemoveApp',\n terminateApp: 'mobileTerminateApp',\n installApp: 'mobileInstallApp',\n clearApp: 'mobileClearApp',\n\n startActivity: 'mobileStartActivity',\n startService: 'mobileStartService',\n stopService: 'mobileStopService',\n broadcast: 'mobileBroadcast',\n\n registerIdlingResources: 'mobileRegisterIdlingResources',\n unregisterIdlingResources: 'mobileUnregisterIdlingResources',\n listIdlingResources: 'mobileListIdlingResources',\n waitForUIThread: 'mobileWaitForUIThread',\n\n unlock: 'mobileUnlock',\n\n refreshGpsCache: 'mobileRefreshGpsCache',\n\n startMediaProjectionRecording: 'mobileStartMediaProjectionRecording',\n isMediaProjectionRecordingRunning: 'mobileIsMediaProjectionRecordingRunning',\n stopMediaProjectionRecording: 'mobileStopMediaProjectionRecording',\n };\n\n if (!_.has(mobileCommandsMapping, mobileCommand)) {\n throw new errors.UnknownCommandError(`Unknown mobile command \"${mobileCommand}\". ` +\n `Only ${_.keys(mobileCommandsMapping)} commands are supported.`);\n }\n return await this[mobileCommandsMapping[mobileCommand]](opts);\n};\n\nexport default extensions;\n"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEA,MAAME,UAAU,GAAG,CAAC,CAAC;AAErBA,UAAU,CAACC,aAAa,GAAG,eAAeA,aAAaA,CAAEC,aAAa,EAAEC,IAAI,GAAG,CAAC,CAAC,EAAE;EACjF,MAAMC,qBAAqB,GAAG;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AE5BC,uBAAuB,EAAE,+BAA+B;IACxDC,yBAAyB,EAAE,iCAAiC;IAC5DC,mBAAmB,EAAE,2BAA2B;IAChDC,eAAe,EAAE,uBAAuB;IAExCC,MAAM,EAAE,cAAc;IAEtBC,eAAe,EAAE,uBAAuB;IAExCC,6BAA6B,EAAE,qCAAqC;IACpEC,iCAAiC,EAAE,yCAAyC;IAC5EC,4BAA4B,EAAE;
|
|
1
|
+
{"version":3,"file":"execute.js","names":["_lodash","_interopRequireDefault","require","_driver","extensions","executeMobile","mobileCommand","opts","mobileCommandsMapping","shell","execEmuConsoleCommand","performEditorAction","changePermissions","getPermissions","startScreenStreaming","stopScreenStreaming","swipe","scrollToPage","navigateTo","clickAction","deviceInfo","isToastVisible","openDrawer","closeDrawer","setDate","setTime","getDeviceTime","backdoor","flashElement","uiautomator","uiautomatorPageSource","webAtoms","getContexts","dismissAutofill","getNotifications","listSms","sensorSet","pushFile","pullFile","pullFolder","deleteFile","isAppInstalled","queryAppState","activateApp","removeApp","terminateApp","installApp","clearApp","startActivity","startService","stopService","broadcast","registerIdlingResources","unregisterIdlingResources","listIdlingResources","waitForUIThread","unlock","refreshGpsCache","startMediaProjectionRecording","isMediaProjectionRecordingRunning","stopMediaProjectionRecording","hideKeyboard","isKeyboardShown","_","has","errors","UnknownCommandError","keys","_default","exports","default"],"sources":["../../../lib/commands/execute.js"],"sourcesContent":["import _ from 'lodash';\nimport { errors } from 'appium/driver';\n\nconst extensions = {};\n\nextensions.executeMobile = async function executeMobile (mobileCommand, opts = {}) {\n const mobileCommandsMapping = {\n shell: 'mobileShell',\n\n execEmuConsoleCommand: 'mobileExecEmuConsoleCommand',\n\n performEditorAction: 'mobilePerformEditorAction',\n\n changePermissions: 'mobileChangePermissions',\n getPermissions: 'mobileGetPermissions',\n\n startScreenStreaming: 'mobileStartScreenStreaming',\n stopScreenStreaming: 'mobileStopScreenStreaming',\n\n swipe: 'mobileSwipe',\n scrollToPage: 'mobileScrollToPage',\n navigateTo: 'mobileNavigateTo',\n clickAction: 'mobileClickAction',\n\n deviceInfo: 'mobileGetDeviceInfo',\n\n isToastVisible: 'mobileIsToastVisible',\n\n openDrawer: 'mobileOpenDrawer',\n closeDrawer: 'mobileCloseDrawer',\n\n setDate: 'mobileSetDate',\n setTime: 'mobileSetTime',\n\n getDeviceTime: 'mobileGetDeviceTime',\n\n backdoor: 'mobileBackdoor',\n\n flashElement: 'mobileFlashElement',\n\n uiautomator: 'mobileUiautomator',\n uiautomatorPageSource: 'mobileUiautomatorPageSource',\n\n webAtoms: 'mobileWebAtoms',\n getContexts: 'mobileGetContexts',\n\n dismissAutofill: 'mobileDismissAutofill',\n\n getNotifications: 'mobileGetNotifications',\n\n listSms: 'mobileListSms',\n\n sensorSet: 'sensorSet',\n\n pushFile: 'mobilePushFile',\n pullFile: 'mobilePullFile',\n pullFolder: 'mobilePullFolder',\n deleteFile: 'mobileDeleteFile',\n\n isAppInstalled: 'mobileIsAppInstalled',\n queryAppState: 'mobileQueryAppState',\n activateApp: 'mobileActivateApp',\n removeApp: 'mobileRemoveApp',\n terminateApp: 'mobileTerminateApp',\n installApp: 'mobileInstallApp',\n clearApp: 'mobileClearApp',\n\n startActivity: 'mobileStartActivity',\n startService: 'mobileStartService',\n stopService: 'mobileStopService',\n broadcast: 'mobileBroadcast',\n\n registerIdlingResources: 'mobileRegisterIdlingResources',\n unregisterIdlingResources: 'mobileUnregisterIdlingResources',\n listIdlingResources: 'mobileListIdlingResources',\n waitForUIThread: 'mobileWaitForUIThread',\n\n unlock: 'mobileUnlock',\n\n refreshGpsCache: 'mobileRefreshGpsCache',\n\n startMediaProjectionRecording: 'mobileStartMediaProjectionRecording',\n isMediaProjectionRecordingRunning: 'mobileIsMediaProjectionRecordingRunning',\n stopMediaProjectionRecording: 'mobileStopMediaProjectionRecording',\n\n hideKeyboard: 'mobileHideKeyboard',\n isKeyboardShown: 'isKeyboardShown',\n };\n\n if (!_.has(mobileCommandsMapping, mobileCommand)) {\n throw new errors.UnknownCommandError(`Unknown mobile command \"${mobileCommand}\". ` +\n `Only ${_.keys(mobileCommandsMapping)} commands are supported.`);\n }\n return await this[mobileCommandsMapping[mobileCommand]](opts);\n};\n\nexport default extensions;\n"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEA,MAAME,UAAU,GAAG,CAAC,CAAC;AAErBA,UAAU,CAACC,aAAa,GAAG,eAAeA,aAAaA,CAAEC,aAAa,EAAEC,IAAI,GAAG,CAAC,CAAC,EAAE;EACjF,MAAMC,qBAAqB,GAAG;IAC5BC,KAAK,EAAE,aAAa;IAEpBC,qBAAqB,EAAE,6BAA6B;IAEpDC,mBAAmB,EAAE,2BAA2B;IAEhDC,iBAAiB,EAAE,yBAAyB;IAC5CC,cAAc,EAAE,sBAAsB;IAEtCC,oBAAoB,EAAE,4BAA4B;IAClDC,mBAAmB,EAAE,2BAA2B;IAEhDC,KAAK,EAAE,aAAa;IACpBC,YAAY,EAAE,oBAAoB;IAClCC,UAAU,EAAE,kBAAkB;IAC9BC,WAAW,EAAE,mBAAmB;IAEhCC,UAAU,EAAE,qBAAqB;IAEjCC,cAAc,EAAE,sBAAsB;IAEtCC,UAAU,EAAE,kBAAkB;IAC9BC,WAAW,EAAE,mBAAmB;IAEhCC,OAAO,EAAE,eAAe;IACxBC,OAAO,EAAE,eAAe;IAExBC,aAAa,EAAE,qBAAqB;IAEpCC,QAAQ,EAAE,gBAAgB;IAE1BC,YAAY,EAAE,oBAAoB;IAElCC,WAAW,EAAE,mBAAmB;IAChCC,qBAAqB,EAAE,6BAA6B;IAEpDC,QAAQ,EAAE,gBAAgB;IAC1BC,WAAW,EAAE,mBAAmB;IAEhCC,eAAe,EAAE,uBAAuB;IAExCC,gBAAgB,EAAE,wBAAwB;IAE1CC,OAAO,EAAE,eAAe;IAExBC,SAAS,EAAE,WAAW;IAEtBC,QAAQ,EAAE,gBAAgB;IAC1BC,QAAQ,EAAE,gBAAgB;IAC1BC,UAAU,EAAE,kBAAkB;IAC9BC,UAAU,EAAE,kBAAkB;IAE9BC,cAAc,EAAE,sBAAsB;IACtCC,aAAa,EAAE,qBAAqB;IACpCC,WAAW,EAAE,mBAAmB;IAChCC,SAAS,EAAE,iBAAiB;IAC5BC,YAAY,EAAE,oBAAoB;IAClCC,UAAU,EAAE,kBAAkB;IAC9BC,QAAQ,EAAE,gBAAgB;IAE1BC,aAAa,EAAE,qBAAqB;IACpCC,YAAY,EAAE,oBAAoB;IAClCC,WAAW,EAAE,mBAAmB;IAChCC,SAAS,EAAE,iBAAiB;IAE5BC,uBAAuB,EAAE,+BAA+B;IACxDC,yBAAyB,EAAE,iCAAiC;IAC5DC,mBAAmB,EAAE,2BAA2B;IAChDC,eAAe,EAAE,uBAAuB;IAExCC,MAAM,EAAE,cAAc;IAEtBC,eAAe,EAAE,uBAAuB;IAExCC,6BAA6B,EAAE,qCAAqC;IACpEC,iCAAiC,EAAE,yCAAyC;IAC5EC,4BAA4B,EAAE,oCAAoC;IAElEC,YAAY,EAAE,oBAAoB;IAClCC,eAAe,EAAE;EACnB,CAAC;EAED,IAAI,CAACC,eAAC,CAACC,GAAG,CAACxD,qBAAqB,EAAEF,aAAa,CAAC,EAAE;IAChD,MAAM,IAAI2D,cAAM,CAACC,mBAAmB,CAAE,2BAA0B5D,aAAc,KAAI,GAC/E,QAAOyD,eAAC,CAACI,IAAI,CAAC3D,qBAAqB,CAAE,0BAAyB,CAAC;EACpE;EACA,OAAO,MAAM,IAAI,CAACA,qBAAqB,CAACF,aAAa,CAAC,CAAC,CAACC,IAAI,CAAC;AAC/D,CAAC;AAAC,IAAA6D,QAAA,GAEahE,UAAU;AAAAiE,OAAA,CAAAC,OAAA,GAAAF,QAAA"}
|
|
Binary file
|
package/lib/commands/execute.js
CHANGED
|
@@ -82,6 +82,9 @@ extensions.executeMobile = async function executeMobile (mobileCommand, opts = {
|
|
|
82
82
|
startMediaProjectionRecording: 'mobileStartMediaProjectionRecording',
|
|
83
83
|
isMediaProjectionRecordingRunning: 'mobileIsMediaProjectionRecordingRunning',
|
|
84
84
|
stopMediaProjectionRecording: 'mobileStopMediaProjectionRecording',
|
|
85
|
+
|
|
86
|
+
hideKeyboard: 'mobileHideKeyboard',
|
|
87
|
+
isKeyboardShown: 'isKeyboardShown',
|
|
85
88
|
};
|
|
86
89
|
|
|
87
90
|
if (!_.has(mobileCommandsMapping, mobileCommand)) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-espresso-driver",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.21.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "^7.4.3",
|
|
13
13
|
"appium-adb": "^9.10.2",
|
|
14
|
-
"appium-android-driver": "^5.
|
|
14
|
+
"appium-android-driver": "^5.10.0",
|
|
15
15
|
"asyncbox": "^2.3.1",
|
|
16
16
|
"bluebird": "^3.5.0",
|
|
17
17
|
"lodash": "^4.17.11",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"lint-staged": "^13.0.3",
|
|
47
47
|
"mocha": "^10.0.0",
|
|
48
48
|
"pre-commit": "^1.2.2",
|
|
49
|
-
"rimraf": "^
|
|
49
|
+
"rimraf": "^5.0.0",
|
|
50
50
|
"semantic-release": "^20.0.2",
|
|
51
51
|
"sinon": "^15.0.0",
|
|
52
52
|
"webdriverio": "^8.0.2",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"node_modules/@appium/base-driver": {
|
|
64
|
-
"version": "9.3.
|
|
64
|
+
"version": "9.3.7",
|
|
65
65
|
"license": "Apache-2.0",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@appium/support": "^3.1.
|
|
68
|
-
"@appium/types": "^0.
|
|
67
|
+
"@appium/support": "^3.1.11",
|
|
68
|
+
"@appium/types": "^0.11.0",
|
|
69
69
|
"@colors/colors": "1.5.0",
|
|
70
70
|
"@types/async-lock": "1.4.0",
|
|
71
71
|
"@types/bluebird": "3.5.38",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@types/serve-favicon": "2.5.3",
|
|
75
75
|
"async-lock": "1.4.0",
|
|
76
76
|
"asyncbox": "2.9.4",
|
|
77
|
-
"axios": "1.3.
|
|
77
|
+
"axios": "1.3.5",
|
|
78
78
|
"bluebird": "3.7.2",
|
|
79
79
|
"body-parser": "1.20.2",
|
|
80
80
|
"es6-error": "4.1.1",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"morgan": "1.10.0",
|
|
87
87
|
"serve-favicon": "2.5.0",
|
|
88
88
|
"source-map-support": "0.5.21",
|
|
89
|
-
"type-fest": "3.
|
|
89
|
+
"type-fest": "3.8.0",
|
|
90
90
|
"validate.js": "0.13.1"
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"node_modules/@appium/base-plugin": {
|
|
105
|
-
"version": "2.2.
|
|
105
|
+
"version": "2.2.7",
|
|
106
106
|
"extraneous": true,
|
|
107
107
|
"license": "Apache-2.0",
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@appium/base-driver": "^9.3.
|
|
110
|
-
"@appium/support": "^3.1.
|
|
109
|
+
"@appium/base-driver": "^9.3.7",
|
|
110
|
+
"@appium/support": "^3.1.11"
|
|
111
111
|
},
|
|
112
112
|
"engines": {
|
|
113
113
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
|
@@ -115,13 +115,13 @@
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"node_modules/@appium/docutils": {
|
|
118
|
-
"version": "0.3.
|
|
118
|
+
"version": "0.3.7",
|
|
119
119
|
"extraneous": true,
|
|
120
120
|
"license": "Apache-2.0",
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@appium/support": "^3.1.
|
|
123
|
-
"@appium/tsconfig": "^0.
|
|
124
|
-
"@appium/typedoc-plugin-appium": "^0.
|
|
122
|
+
"@appium/support": "^3.1.11",
|
|
123
|
+
"@appium/tsconfig": "^0.3.0",
|
|
124
|
+
"@appium/typedoc-plugin-appium": "^0.6.2",
|
|
125
125
|
"@sliphua/lilconfig-ts-loader": "3.2.2",
|
|
126
126
|
"chalk": "4.1.2",
|
|
127
127
|
"consola": "2.15.3",
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
"log-symbols": "4.1.0",
|
|
135
135
|
"pkg-dir": "5.0.0",
|
|
136
136
|
"read-pkg": "5.2.0",
|
|
137
|
-
"semver": "7.
|
|
137
|
+
"semver": "7.4.0",
|
|
138
138
|
"source-map-support": "0.5.21",
|
|
139
139
|
"teen_process": "2.0.2",
|
|
140
|
-
"type-fest": "3.
|
|
140
|
+
"type-fest": "3.8.0",
|
|
141
141
|
"typedoc": "0.23.28",
|
|
142
142
|
"typedoc-plugin-markdown": "3.14.0",
|
|
143
143
|
"typedoc-plugin-resolve-crossmodule-references": "0.3.3",
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
213
|
"node_modules/@appium/docutils/node_modules/semver": {
|
|
214
|
-
"version": "7.
|
|
214
|
+
"version": "7.4.0",
|
|
215
215
|
"extraneous": true,
|
|
216
216
|
"license": "ISC",
|
|
217
217
|
"dependencies": {
|
|
@@ -254,11 +254,11 @@
|
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
"node_modules/@appium/support": {
|
|
257
|
-
"version": "3.1.
|
|
257
|
+
"version": "3.1.11",
|
|
258
258
|
"license": "Apache-2.0",
|
|
259
259
|
"dependencies": {
|
|
260
|
-
"@appium/tsconfig": "^0.
|
|
261
|
-
"@appium/types": "^0.
|
|
260
|
+
"@appium/tsconfig": "^0.3.0",
|
|
261
|
+
"@appium/types": "^0.11.0",
|
|
262
262
|
"@colors/colors": "1.5.0",
|
|
263
263
|
"@types/archiver": "5.3.2",
|
|
264
264
|
"@types/base64-stream": "1.0.2",
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"@types/teen_process": "2.0.0",
|
|
280
280
|
"@types/uuid": "9.0.1",
|
|
281
281
|
"archiver": "5.3.1",
|
|
282
|
-
"axios": "1.3.
|
|
282
|
+
"axios": "1.3.5",
|
|
283
283
|
"base64-stream": "1.0.0",
|
|
284
284
|
"bluebird": "3.7.2",
|
|
285
285
|
"bplist-creator": "0.1.1",
|
|
@@ -306,12 +306,12 @@
|
|
|
306
306
|
"resolve-from": "5.0.0",
|
|
307
307
|
"rimraf": "3.0.2",
|
|
308
308
|
"sanitize-filename": "1.6.3",
|
|
309
|
-
"semver": "7.
|
|
310
|
-
"shell-quote": "1.8.
|
|
309
|
+
"semver": "7.4.0",
|
|
310
|
+
"shell-quote": "1.8.1",
|
|
311
311
|
"source-map-support": "0.5.21",
|
|
312
312
|
"supports-color": "8.1.1",
|
|
313
313
|
"teen_process": "2.0.2",
|
|
314
|
-
"type-fest": "3.
|
|
314
|
+
"type-fest": "3.8.0",
|
|
315
315
|
"uuid": "9.0.0",
|
|
316
316
|
"which": "3.0.0",
|
|
317
317
|
"yauzl": "2.10.0"
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
}
|
|
416
416
|
},
|
|
417
417
|
"node_modules/@appium/support/node_modules/semver": {
|
|
418
|
-
"version": "7.
|
|
418
|
+
"version": "7.4.0",
|
|
419
419
|
"license": "ISC",
|
|
420
420
|
"dependencies": {
|
|
421
421
|
"lru-cache": "^6.0.0"
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
"license": "ISC"
|
|
433
433
|
},
|
|
434
434
|
"node_modules/@appium/tsconfig": {
|
|
435
|
-
"version": "0.
|
|
435
|
+
"version": "0.3.0",
|
|
436
436
|
"license": "Apache-2.0",
|
|
437
437
|
"dependencies": {
|
|
438
438
|
"@tsconfig/node14": "1.0.3"
|
|
@@ -443,14 +443,14 @@
|
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
445
|
"node_modules/@appium/typedoc-plugin-appium": {
|
|
446
|
-
"version": "0.
|
|
446
|
+
"version": "0.6.2",
|
|
447
447
|
"extraneous": true,
|
|
448
448
|
"license": "Apache-2.0",
|
|
449
449
|
"dependencies": {
|
|
450
450
|
"handlebars": "4.7.7",
|
|
451
451
|
"lodash": "4.17.21",
|
|
452
452
|
"pluralize": "8.0.0",
|
|
453
|
-
"type-fest": "3.
|
|
453
|
+
"type-fest": "3.8.0"
|
|
454
454
|
},
|
|
455
455
|
"engines": {
|
|
456
456
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
|
@@ -458,22 +458,22 @@
|
|
|
458
458
|
},
|
|
459
459
|
"peerDependencies": {
|
|
460
460
|
"appium": "^2.0.0-beta.48",
|
|
461
|
-
"typedoc": "
|
|
462
|
-
"typedoc-plugin-markdown": "
|
|
461
|
+
"typedoc": "~0.23.14",
|
|
462
|
+
"typedoc-plugin-markdown": "3.14.0",
|
|
463
463
|
"typedoc-plugin-resolve-crossmodule-references": "~0.3.3",
|
|
464
|
-
"typescript": "^4.7.0"
|
|
464
|
+
"typescript": "^4.7.0 || ^5.0.0"
|
|
465
465
|
}
|
|
466
466
|
},
|
|
467
467
|
"node_modules/@appium/types": {
|
|
468
|
-
"version": "0.
|
|
468
|
+
"version": "0.11.0",
|
|
469
469
|
"license": "Apache-2.0",
|
|
470
470
|
"dependencies": {
|
|
471
471
|
"@appium/schema": "^0.2.6",
|
|
472
|
-
"@appium/tsconfig": "^0.
|
|
472
|
+
"@appium/tsconfig": "^0.3.0",
|
|
473
473
|
"@types/express": "4.17.17",
|
|
474
474
|
"@types/npmlog": "4.1.4",
|
|
475
475
|
"@types/ws": "8.5.4",
|
|
476
|
-
"type-fest": "3.
|
|
476
|
+
"type-fest": "3.8.0"
|
|
477
477
|
},
|
|
478
478
|
"engines": {
|
|
479
479
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
}
|
|
482
482
|
},
|
|
483
483
|
"node_modules/@babel/code-frame": {
|
|
484
|
-
"version": "7.
|
|
484
|
+
"version": "7.21.4",
|
|
485
485
|
"license": "MIT",
|
|
486
486
|
"dependencies": {
|
|
487
487
|
"@babel/highlight": "^7.18.6"
|
|
@@ -1225,7 +1225,7 @@
|
|
|
1225
1225
|
}
|
|
1226
1226
|
},
|
|
1227
1227
|
"node_modules/@xmldom/xmldom": {
|
|
1228
|
-
"version": "0.8.
|
|
1228
|
+
"version": "0.8.7",
|
|
1229
1229
|
"license": "MIT",
|
|
1230
1230
|
"engines": {
|
|
1231
1231
|
"node": ">=10.0.0"
|
|
@@ -1329,7 +1329,7 @@
|
|
|
1329
1329
|
"license": "MIT"
|
|
1330
1330
|
},
|
|
1331
1331
|
"node_modules/appium-adb": {
|
|
1332
|
-
"version": "9.
|
|
1332
|
+
"version": "9.11.1",
|
|
1333
1333
|
"license": "Apache-2.0",
|
|
1334
1334
|
"dependencies": {
|
|
1335
1335
|
"@appium/support": "^3.0.0",
|
|
@@ -1359,7 +1359,7 @@
|
|
|
1359
1359
|
}
|
|
1360
1360
|
},
|
|
1361
1361
|
"node_modules/appium-adb/node_modules/semver": {
|
|
1362
|
-
"version": "7.
|
|
1362
|
+
"version": "7.5.0",
|
|
1363
1363
|
"license": "ISC",
|
|
1364
1364
|
"dependencies": {
|
|
1365
1365
|
"lru-cache": "^6.0.0"
|
|
@@ -1386,11 +1386,11 @@
|
|
|
1386
1386
|
"license": "ISC"
|
|
1387
1387
|
},
|
|
1388
1388
|
"node_modules/appium-android-driver": {
|
|
1389
|
-
"version": "5.
|
|
1389
|
+
"version": "5.10.1",
|
|
1390
1390
|
"license": "Apache-2.0",
|
|
1391
1391
|
"dependencies": {
|
|
1392
1392
|
"@babel/runtime": "^7.0.0",
|
|
1393
|
-
"appium-adb": "^9.
|
|
1393
|
+
"appium-adb": "^9.11.0",
|
|
1394
1394
|
"appium-chromedriver": "^5.2.0",
|
|
1395
1395
|
"asyncbox": "^2.8.0",
|
|
1396
1396
|
"axios": "^1.x",
|
|
@@ -1425,7 +1425,7 @@
|
|
|
1425
1425
|
}
|
|
1426
1426
|
},
|
|
1427
1427
|
"node_modules/appium-android-driver/node_modules/semver": {
|
|
1428
|
-
"version": "7.
|
|
1428
|
+
"version": "7.5.0",
|
|
1429
1429
|
"license": "ISC",
|
|
1430
1430
|
"dependencies": {
|
|
1431
1431
|
"lru-cache": "^6.0.0"
|
|
@@ -1452,7 +1452,7 @@
|
|
|
1452
1452
|
"license": "ISC"
|
|
1453
1453
|
},
|
|
1454
1454
|
"node_modules/appium-chromedriver": {
|
|
1455
|
-
"version": "5.
|
|
1455
|
+
"version": "5.4.0",
|
|
1456
1456
|
"hasInstallScript": true,
|
|
1457
1457
|
"license": "Apache-2.0",
|
|
1458
1458
|
"dependencies": {
|
|
@@ -1487,7 +1487,7 @@
|
|
|
1487
1487
|
}
|
|
1488
1488
|
},
|
|
1489
1489
|
"node_modules/appium-chromedriver/node_modules/semver": {
|
|
1490
|
-
"version": "7.
|
|
1490
|
+
"version": "7.5.0",
|
|
1491
1491
|
"license": "ISC",
|
|
1492
1492
|
"dependencies": {
|
|
1493
1493
|
"lru-cache": "^6.0.0"
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
"license": "MIT"
|
|
1658
1658
|
},
|
|
1659
1659
|
"node_modules/axios": {
|
|
1660
|
-
"version": "1.3.
|
|
1660
|
+
"version": "1.3.5",
|
|
1661
1661
|
"license": "MIT",
|
|
1662
1662
|
"dependencies": {
|
|
1663
1663
|
"follow-redirects": "^1.15.0",
|
|
@@ -1886,7 +1886,7 @@
|
|
|
1886
1886
|
}
|
|
1887
1887
|
},
|
|
1888
1888
|
"node_modules/cli-spinners": {
|
|
1889
|
-
"version": "2.
|
|
1889
|
+
"version": "2.8.0",
|
|
1890
1890
|
"extraneous": true,
|
|
1891
1891
|
"license": "MIT",
|
|
1892
1892
|
"engines": {
|
|
@@ -2789,7 +2789,7 @@
|
|
|
2789
2789
|
"license": "MIT"
|
|
2790
2790
|
},
|
|
2791
2791
|
"node_modules/is-core-module": {
|
|
2792
|
-
"version": "2.
|
|
2792
|
+
"version": "2.12.0",
|
|
2793
2793
|
"license": "MIT",
|
|
2794
2794
|
"dependencies": {
|
|
2795
2795
|
"has": "^1.0.3"
|
|
@@ -3268,7 +3268,7 @@
|
|
|
3268
3268
|
}
|
|
3269
3269
|
},
|
|
3270
3270
|
"node_modules/moment-timezone": {
|
|
3271
|
-
"version": "0.5.
|
|
3271
|
+
"version": "0.5.43",
|
|
3272
3272
|
"license": "MIT",
|
|
3273
3273
|
"dependencies": {
|
|
3274
3274
|
"moment": "^2.29.4"
|
|
@@ -3602,7 +3602,7 @@
|
|
|
3602
3602
|
}
|
|
3603
3603
|
},
|
|
3604
3604
|
"node_modules/package-changed": {
|
|
3605
|
-
"version": "
|
|
3605
|
+
"version": "3.0.0",
|
|
3606
3606
|
"extraneous": true,
|
|
3607
3607
|
"license": "ISC",
|
|
3608
3608
|
"dependencies": {
|
|
@@ -3943,7 +3943,7 @@
|
|
|
3943
3943
|
}
|
|
3944
3944
|
},
|
|
3945
3945
|
"node_modules/readdir-glob": {
|
|
3946
|
-
"version": "1.1.
|
|
3946
|
+
"version": "1.1.3",
|
|
3947
3947
|
"license": "Apache-2.0",
|
|
3948
3948
|
"dependencies": {
|
|
3949
3949
|
"minimatch": "^5.1.0"
|
|
@@ -3987,10 +3987,10 @@
|
|
|
3987
3987
|
}
|
|
3988
3988
|
},
|
|
3989
3989
|
"node_modules/resolve": {
|
|
3990
|
-
"version": "1.22.
|
|
3990
|
+
"version": "1.22.2",
|
|
3991
3991
|
"license": "MIT",
|
|
3992
3992
|
"dependencies": {
|
|
3993
|
-
"is-core-module": "^2.
|
|
3993
|
+
"is-core-module": "^2.11.0",
|
|
3994
3994
|
"path-parse": "^1.0.7",
|
|
3995
3995
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
|
3996
3996
|
},
|
|
@@ -4176,7 +4176,7 @@
|
|
|
4176
4176
|
}
|
|
4177
4177
|
},
|
|
4178
4178
|
"node_modules/shell-quote": {
|
|
4179
|
-
"version": "1.8.
|
|
4179
|
+
"version": "1.8.1",
|
|
4180
4180
|
"license": "MIT",
|
|
4181
4181
|
"funding": {
|
|
4182
4182
|
"url": "https://github.com/sponsors/ljharb"
|
|
@@ -4497,7 +4497,7 @@
|
|
|
4497
4497
|
"license": "0BSD"
|
|
4498
4498
|
},
|
|
4499
4499
|
"node_modules/type-fest": {
|
|
4500
|
-
"version": "3.
|
|
4500
|
+
"version": "3.8.0",
|
|
4501
4501
|
"license": "(MIT OR CC0-1.0)",
|
|
4502
4502
|
"engines": {
|
|
4503
4503
|
"node": ">=14.16"
|
|
@@ -4571,7 +4571,7 @@
|
|
|
4571
4571
|
}
|
|
4572
4572
|
},
|
|
4573
4573
|
"node_modules/typedoc/node_modules/minimatch": {
|
|
4574
|
-
"version": "7.4.
|
|
4574
|
+
"version": "7.4.6",
|
|
4575
4575
|
"extraneous": true,
|
|
4576
4576
|
"license": "ISC",
|
|
4577
4577
|
"dependencies": {
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.21.0",
|
|
11
11
|
"author": "Appium Contributors",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@babel/runtime": "^7.4.3",
|
|
70
70
|
"appium-adb": "^9.10.2",
|
|
71
|
-
"appium-android-driver": "^5.
|
|
71
|
+
"appium-android-driver": "^5.10.0",
|
|
72
72
|
"asyncbox": "^2.3.1",
|
|
73
73
|
"bluebird": "^3.5.0",
|
|
74
74
|
"lodash": "^4.17.11",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"lint-staged": "^13.0.3",
|
|
127
127
|
"mocha": "^10.0.0",
|
|
128
128
|
"pre-commit": "^1.2.2",
|
|
129
|
-
"rimraf": "^
|
|
129
|
+
"rimraf": "^5.0.0",
|
|
130
130
|
"semantic-release": "^20.0.2",
|
|
131
131
|
"sinon": "^15.0.0",
|
|
132
132
|
"webdriverio": "^8.0.2",
|