appium-uiautomator2-driver 9.0.0-beta.2 → 9.0.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 +30 -12
- package/node_modules/@appium/schema/build/lib/appium-config-schema.d.ts +1 -33
- package/node_modules/@appium/schema/build/lib/appium-config-schema.d.ts.map +1 -1
- package/node_modules/@appium/schema/build/lib/appium-config-schema.js +1 -33
- package/node_modules/@appium/schema/build/lib/appium-config-schema.js.map +1 -1
- package/node_modules/@appium/schema/lib/appium-config-schema.ts +1 -35
- package/node_modules/@appium/schema/lib/appium-config.schema.json +1 -37
- package/node_modules/@appium/schema/package.json +2 -2
- package/node_modules/@appium/support/build/lib/console.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/console.js +2 -47
- package/node_modules/@appium/support/build/lib/console.js.map +1 -1
- package/node_modules/@appium/support/build/lib/fs.d.ts +9 -11
- package/node_modules/@appium/support/build/lib/fs.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/fs.js +8 -8
- package/node_modules/@appium/support/build/lib/fs.js.map +1 -1
- package/node_modules/@appium/support/build/lib/index.d.ts +4 -4
- package/node_modules/@appium/support/build/lib/index.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/fs-like.d.ts +23 -0
- package/node_modules/@appium/support/build/lib/internal/fs-like.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/fs-like.js +2 -0
- package/node_modules/@appium/support/build/lib/internal/fs-like.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/http-upload.d.ts +39 -0
- package/node_modules/@appium/support/build/lib/internal/http-upload.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/http-upload.js +104 -0
- package/node_modules/@appium/support/build/lib/internal/http-upload.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/index.d.ts +19 -1
- package/node_modules/@appium/support/build/lib/internal/index.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/index.js +18 -1
- package/node_modules/@appium/support/build/lib/internal/index.js.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/move-operation.d.ts +10 -2
- package/node_modules/@appium/support/build/lib/internal/move-operation.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/move-operation.js +11 -10
- package/node_modules/@appium/support/build/lib/internal/move-operation.js.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/plain-object.d.ts +8 -0
- package/node_modules/@appium/support/build/lib/internal/plain-object.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/plain-object.js +14 -0
- package/node_modules/@appium/support/build/lib/internal/plain-object.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/platform.d.ts +5 -0
- package/node_modules/@appium/support/build/lib/internal/platform.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/platform.js +8 -0
- package/node_modules/@appium/support/build/lib/internal/platform.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/plist-buffers.d.ts +9 -0
- package/node_modules/@appium/support/build/lib/internal/plist-buffers.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/plist-buffers.js +47 -0
- package/node_modules/@appium/support/build/lib/internal/plist-buffers.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/pluralize.d.ts +15 -0
- package/node_modules/@appium/support/build/lib/internal/pluralize.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/pluralize.js +20 -0
- package/node_modules/@appium/support/build/lib/internal/pluralize.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/sizeof.d.ts +3 -0
- package/node_modules/@appium/support/build/lib/internal/sizeof.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/sizeof.js +77 -0
- package/node_modules/@appium/support/build/lib/internal/sizeof.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/sub-path.d.ts +11 -0
- package/node_modules/@appium/support/build/lib/internal/sub-path.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/sub-path.js +24 -0
- package/node_modules/@appium/support/build/lib/internal/sub-path.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/terminal.d.ts +16 -0
- package/node_modules/@appium/support/build/lib/internal/terminal.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/terminal.js +52 -0
- package/node_modules/@appium/support/build/lib/internal/terminal.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/units.d.ts +7 -0
- package/node_modules/@appium/support/build/lib/internal/units.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/units.js +7 -0
- package/node_modules/@appium/support/build/lib/internal/units.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/write-queue.d.ts +48 -0
- package/node_modules/@appium/support/build/lib/internal/write-queue.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/write-queue.js +99 -0
- package/node_modules/@appium/support/build/lib/internal/write-queue.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.d.ts +16 -0
- package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.js +81 -0
- package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.d.ts +90 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.js +226 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.d.ts +155 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.js +591 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-extractor.d.ts +30 -0
- package/node_modules/@appium/support/build/lib/internal/zip-extractor.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-extractor.js +249 -0
- package/node_modules/@appium/support/build/lib/internal/zip-extractor.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.d.ts +36 -0
- package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.js +669 -0
- package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.js.map +1 -0
- package/node_modules/@appium/support/build/lib/net.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/net.js +2 -101
- package/node_modules/@appium/support/build/lib/net.js.map +1 -1
- package/node_modules/@appium/support/build/lib/node.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/node.js +2 -70
- package/node_modules/@appium/support/build/lib/node.js.map +1 -1
- package/node_modules/@appium/support/build/lib/plist.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/plist.js +1 -45
- package/node_modules/@appium/support/build/lib/plist.js.map +1 -1
- package/node_modules/@appium/support/build/lib/system.d.ts +2 -5
- package/node_modules/@appium/support/build/lib/system.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/system.js +2 -6
- package/node_modules/@appium/support/build/lib/system.js.map +1 -1
- package/node_modules/@appium/support/build/lib/util.d.ts +3 -38
- package/node_modules/@appium/support/build/lib/util.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/util.js +9 -66
- package/node_modules/@appium/support/build/lib/util.js.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.d.ts +49 -11
- package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.js +38 -289
- package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
- package/node_modules/@appium/support/lib/console.ts +3 -54
- package/node_modules/@appium/support/lib/fs.ts +21 -15
- package/node_modules/@appium/support/lib/index.ts +9 -2
- package/node_modules/@appium/support/lib/internal/fs-like.ts +26 -0
- package/node_modules/@appium/support/lib/internal/http-upload.ts +148 -0
- package/node_modules/@appium/support/lib/internal/index.ts +54 -1
- package/node_modules/@appium/support/lib/internal/move-operation.ts +18 -9
- package/node_modules/@appium/support/lib/internal/plain-object.ts +13 -0
- package/node_modules/@appium/support/lib/internal/platform.ts +8 -0
- package/node_modules/@appium/support/lib/internal/plist-buffers.ts +47 -0
- package/node_modules/@appium/support/lib/internal/pluralize.ts +25 -0
- package/node_modules/@appium/support/lib/internal/sizeof.ts +85 -0
- package/node_modules/@appium/support/lib/internal/sub-path.ts +24 -0
- package/node_modules/@appium/support/lib/internal/terminal.ts +59 -0
- package/node_modules/@appium/support/lib/internal/units.ts +6 -0
- package/node_modules/@appium/support/lib/internal/write-queue.ts +105 -0
- package/node_modules/@appium/support/lib/internal/yauzl-helpers.ts +103 -0
- package/node_modules/@appium/support/lib/internal/zip-entry-sink.ts +282 -0
- package/node_modules/@appium/support/lib/internal/zip-entry-writer.ts +696 -0
- package/node_modules/@appium/support/lib/internal/zip-extractor.ts +292 -0
- package/node_modules/@appium/support/lib/internal/zip-stream-parser.ts +793 -0
- package/node_modules/@appium/support/lib/net.ts +10 -126
- package/node_modules/@appium/support/lib/node.ts +3 -81
- package/node_modules/@appium/support/lib/plist.ts +1 -47
- package/node_modules/@appium/support/lib/system.ts +3 -6
- package/node_modules/@appium/support/lib/util.ts +20 -76
- package/node_modules/@appium/support/lib/zip.ts +79 -339
- package/node_modules/@appium/support/package.json +4 -4
- package/node_modules/@appium/types/build/lib/appium-config.d.ts +1 -26
- package/node_modules/@appium/types/build/lib/appium-config.d.ts.map +1 -1
- package/node_modules/@appium/types/lib/appium-config.ts +1 -26
- package/node_modules/@appium/types/package.json +3 -3
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/zlib.d.ts +752 -0
- package/node_modules/appium-adb/CHANGELOG.md +36 -0
- package/node_modules/appium-adb/README.md +5 -2
- package/node_modules/appium-adb/build/lib/adb.d.ts +9 -0
- package/node_modules/appium-adb/build/lib/adb.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/adb.js +12 -1
- package/node_modules/appium-adb/build/lib/adb.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/aab-utils.js +1 -1
- package/node_modules/appium-adb/build/lib/tools/aab-utils.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/android-manifest.js +1 -1
- package/node_modules/appium-adb/build/lib/tools/android-manifest.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/apk-utils.js +3 -3
- package/node_modules/appium-adb/build/lib/tools/apk-utils.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/apks-utils.js +1 -1
- package/node_modules/appium-adb/build/lib/tools/apks-utils.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/app-commands.d.ts +4 -4
- package/node_modules/appium-adb/build/lib/tools/app-commands.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/app-commands.js +35 -36
- package/node_modules/appium-adb/build/lib/tools/app-commands.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/device-settings.js +2 -2
- package/node_modules/appium-adb/build/lib/tools/device-settings.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/fs-commands.js +2 -2
- package/node_modules/appium-adb/build/lib/tools/fs-commands.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/lockmgmt.d.ts +8 -0
- package/node_modules/appium-adb/build/lib/tools/lockmgmt.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/lockmgmt.js +21 -16
- package/node_modules/appium-adb/build/lib/tools/lockmgmt.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/system-calls.d.ts +14 -3
- package/node_modules/appium-adb/build/lib/tools/system-calls.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/system-calls.js +12 -6
- package/node_modules/appium-adb/build/lib/tools/system-calls.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/types.d.ts +8 -0
- package/node_modules/appium-adb/build/lib/tools/types.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/types.d.ts +20 -0
- package/node_modules/appium-adb/build/lib/types.d.ts.map +1 -1
- package/node_modules/appium-adb/lib/adb.ts +14 -1
- package/node_modules/appium-adb/lib/tools/aab-utils.ts +1 -1
- package/node_modules/appium-adb/lib/tools/android-manifest.ts +1 -1
- package/node_modules/appium-adb/lib/tools/apk-utils.ts +3 -3
- package/node_modules/appium-adb/lib/tools/apks-utils.ts +1 -1
- package/node_modules/appium-adb/lib/tools/app-commands.ts +52 -50
- package/node_modules/appium-adb/lib/tools/device-settings.ts +2 -2
- package/node_modules/appium-adb/lib/tools/fs-commands.ts +2 -2
- package/node_modules/appium-adb/lib/tools/lockmgmt.ts +22 -19
- package/node_modules/appium-adb/lib/tools/system-calls.ts +29 -9
- package/node_modules/appium-adb/lib/tools/types.ts +8 -0
- package/node_modules/appium-adb/lib/types.ts +21 -0
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/npm.d.ts.map +1 -1
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/npm.js +2 -1
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/npm.js.map +1 -1
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/util.d.ts.map +1 -1
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/util.js +13 -1
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/util.js.map +1 -1
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/zip.d.ts +2 -1
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/zip.js +193 -64
- package/node_modules/appium-adb/node_modules/@appium/support/build/lib/zip.js.map +1 -1
- package/node_modules/appium-adb/node_modules/@appium/support/lib/npm.ts +2 -1
- package/node_modules/appium-adb/node_modules/@appium/support/lib/util.ts +13 -1
- package/node_modules/appium-adb/node_modules/@appium/support/lib/zip.ts +231 -71
- package/node_modules/appium-adb/node_modules/@appium/support/package.json +6 -6
- package/node_modules/appium-adb/node_modules/@appium/types/build/lib/commands/basedriver.d.ts +6 -4
- package/node_modules/appium-adb/node_modules/@appium/types/build/lib/commands/basedriver.d.ts.map +1 -1
- package/node_modules/appium-adb/node_modules/@appium/types/lib/commands/basedriver.ts +4 -4
- package/node_modules/appium-adb/node_modules/@appium/types/package.json +2 -2
- package/node_modules/appium-adb/node_modules/axios/CHANGELOG.md +1934 -0
- package/node_modules/appium-adb/node_modules/axios/LICENSE +7 -0
- package/node_modules/appium-adb/node_modules/axios/MIGRATION_GUIDE.md +877 -0
- package/node_modules/appium-adb/node_modules/axios/README.md +2851 -0
- package/node_modules/appium-adb/node_modules/axios/dist/axios.js +5807 -0
- package/node_modules/appium-adb/node_modules/axios/dist/axios.min.js +5 -0
- package/node_modules/appium-adb/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/appium-adb/node_modules/axios/dist/browser/axios.cjs +5829 -0
- package/node_modules/appium-adb/node_modules/axios/dist/esm/axios.js +5850 -0
- package/node_modules/appium-adb/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/node_modules/appium-adb/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/appium-adb/node_modules/axios/dist/node/axios.cjs +6808 -0
- package/node_modules/appium-adb/node_modules/axios/index.d.cts +766 -0
- package/node_modules/appium-adb/node_modules/axios/index.d.ts +787 -0
- package/node_modules/appium-adb/node_modules/axios/index.js +45 -0
- package/node_modules/appium-adb/node_modules/axios/lib/adapters/README.md +36 -0
- package/node_modules/appium-adb/node_modules/axios/lib/adapters/adapters.js +132 -0
- package/node_modules/appium-adb/node_modules/axios/lib/adapters/fetch.js +696 -0
- package/node_modules/appium-adb/node_modules/axios/lib/adapters/http.js +1490 -0
- package/node_modules/appium-adb/node_modules/axios/lib/adapters/xhr.js +277 -0
- package/node_modules/appium-adb/node_modules/axios/lib/axios.js +89 -0
- package/node_modules/appium-adb/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/node_modules/appium-adb/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/appium-adb/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/Axios.js +306 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/AxiosError.js +219 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/InterceptorManager.js +171 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/buildFullPath.js +76 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/dispatchRequest.js +95 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/mergeConfig.js +174 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/settle.js +27 -0
- package/node_modules/appium-adb/node_modules/axios/lib/core/transformData.js +28 -0
- package/node_modules/appium-adb/node_modules/axios/lib/defaults/index.js +178 -0
- package/node_modules/appium-adb/node_modules/axios/lib/defaults/transitional.js +10 -0
- package/node_modules/appium-adb/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/appium-adb/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/appium-adb/node_modules/axios/lib/env/data.js +1 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/bind.js +14 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/callbackify.js +18 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/combineURLs.js +23 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/composeSignals.js +68 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/cookies.js +64 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/spread.js +28 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/throttle.js +45 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/toFormData.js +279 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/trackStream.js +89 -0
- package/node_modules/appium-adb/node_modules/axios/lib/helpers/validator.js +112 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/common/utils.js +52 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/index.js +7 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/node_modules/appium-adb/node_modules/axios/lib/platform/node/index.js +37 -0
- package/node_modules/appium-adb/node_modules/axios/lib/utils.js +1150 -0
- package/node_modules/appium-adb/node_modules/axios/package.json +203 -0
- package/node_modules/appium-adb/package.json +5 -7
- package/node_modules/appium-android-driver/CHANGELOG.md +38 -14
- package/node_modules/appium-android-driver/build/lib/commands/app-management.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/app-management.js +2 -1
- package/node_modules/appium-android-driver/build/lib/commands/app-management.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/context/exports.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/context/exports.js +9 -5
- package/node_modules/appium-android-driver/build/lib/commands/context/exports.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/intent.js +3 -3
- package/node_modules/appium-android-driver/build/lib/commands/intent.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/log.js +2 -2
- package/node_modules/appium-android-driver/build/lib/commands/log.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/permissions.js +2 -2
- package/node_modules/appium-android-driver/build/lib/commands/permissions.js.map +1 -1
- package/node_modules/appium-android-driver/lib/commands/app-management.ts +2 -1
- package/node_modules/appium-android-driver/lib/commands/context/exports.ts +9 -5
- package/node_modules/appium-android-driver/lib/commands/intent.ts +3 -3
- package/node_modules/appium-android-driver/lib/commands/log.ts +2 -2
- package/node_modules/appium-android-driver/lib/commands/permissions.ts +2 -2
- package/node_modules/appium-android-driver/package.json +12 -15
- package/node_modules/appium-chromedriver/CHANGELOG.md +67 -0
- package/node_modules/appium-chromedriver/build/lib/commands/version.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/commands/version.js +9 -0
- package/node_modules/appium-chromedriver/build/lib/commands/version.js.map +1 -1
- package/node_modules/appium-chromedriver/config/mapping.json +2 -0
- package/node_modules/appium-chromedriver/lib/commands/version.ts +10 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.d.ts +12 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.js +33 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.js +49 -12
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.js.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/driver.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/driver.js +2 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/basedriver/driver.js.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/express/middleware.d.ts +17 -6
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/express/middleware.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/express/middleware.js +11 -7
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/express/middleware.js.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/express/server.d.ts +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/express/server.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/express/server.js +4 -3
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/express/server.js.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.d.ts +1 -2
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.js +8 -3
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.js.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/lib/basedriver/commands/bidi-subscriptions.ts +36 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/lib/basedriver/commands/bidi.ts +56 -12
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/lib/basedriver/driver.ts +2 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/lib/express/middleware.ts +32 -12
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/lib/express/server.ts +7 -2
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/lib/protocol/bidi-commands.ts +9 -3
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/CHANGELOG.md +1934 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/LICENSE +7 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/MIGRATION_GUIDE.md +877 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/README.md +2851 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/dist/axios.js +5807 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/dist/axios.min.js +5 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/dist/browser/axios.cjs +5829 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.js +5850 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/dist/node/axios.cjs +6808 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/index.d.cts +766 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/index.d.ts +787 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/index.js +45 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/README.md +36 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/adapters.js +132 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/fetch.js +696 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/http.js +1490 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/xhr.js +277 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/axios.js +89 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/Axios.js +306 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/AxiosError.js +219 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/InterceptorManager.js +171 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/buildFullPath.js +76 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/dispatchRequest.js +95 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/mergeConfig.js +174 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/settle.js +27 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/core/transformData.js +28 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/defaults/index.js +178 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/defaults/transitional.js +10 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/env/data.js +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/bind.js +14 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/callbackify.js +18 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/combineURLs.js +23 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/composeSignals.js +68 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/cookies.js +64 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/spread.js +28 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/throttle.js +45 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/toFormData.js +279 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/trackStream.js +89 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/validator.js +112 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/common/utils.js +52 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/index.js +7 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/index.js +37 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/lib/utils.js +1150 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/node_modules/axios/package.json +203 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/base-driver/package.json +6 -6
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/npm.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/npm.js +2 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/npm.js.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/util.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/util.js +13 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/util.js.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/zip.d.ts +2 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/zip.js +193 -64
- package/node_modules/appium-chromedriver/node_modules/@appium/support/build/lib/zip.js.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/lib/npm.ts +2 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/lib/util.ts +13 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/support/lib/zip.ts +231 -71
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/CHANGELOG.md +1934 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/LICENSE +7 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/MIGRATION_GUIDE.md +877 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/README.md +2851 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/dist/axios.js +5807 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/dist/axios.min.js +5 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/dist/browser/axios.cjs +5829 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/dist/esm/axios.js +5850 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/dist/node/axios.cjs +6808 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/index.d.cts +766 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/index.d.ts +787 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/index.js +45 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/adapters/README.md +36 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/adapters/adapters.js +132 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/adapters/fetch.js +696 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/adapters/http.js +1490 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/adapters/xhr.js +277 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/axios.js +89 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/Axios.js +306 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/AxiosError.js +219 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/InterceptorManager.js +171 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/buildFullPath.js +76 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/dispatchRequest.js +95 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/mergeConfig.js +174 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/settle.js +27 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/core/transformData.js +28 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/defaults/index.js +178 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/defaults/transitional.js +10 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/env/data.js +1 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/bind.js +14 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/callbackify.js +18 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/combineURLs.js +23 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/composeSignals.js +68 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/cookies.js +64 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/spread.js +28 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/throttle.js +45 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/toFormData.js +279 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/trackStream.js +89 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/helpers/validator.js +112 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/common/utils.js +52 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/index.js +7 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/platform/node/index.js +37 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/lib/utils.js +1150 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/node_modules/axios/package.json +203 -0
- package/node_modules/appium-chromedriver/node_modules/@appium/support/package.json +6 -6
- package/node_modules/appium-chromedriver/node_modules/@appium/types/build/lib/commands/basedriver.d.ts +6 -4
- package/node_modules/appium-chromedriver/node_modules/@appium/types/build/lib/commands/basedriver.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/node_modules/@appium/types/lib/commands/basedriver.ts +4 -4
- package/node_modules/appium-chromedriver/node_modules/@appium/types/package.json +2 -2
- package/node_modules/appium-chromedriver/package.json +6 -6
- package/node_modules/appium-uiautomator2-server/CHANGELOG.md +61 -0
- package/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk +0 -0
- package/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk.idsig +0 -0
- package/node_modules/appium-uiautomator2-server/apks/{appium-uiautomator2-server-v10.7.1.apk → appium-uiautomator2-server-v10.7.9.apk} +0 -0
- package/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v10.7.9.apk.idsig +0 -0
- package/node_modules/appium-uiautomator2-server/package.json +3 -3
- package/node_modules/asyncbox/README.md +43 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts +9 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js +35 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts +9 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.js +23 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/errors.d.ts +9 -0
- package/node_modules/asyncbox/build/cjs/lib/errors.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/errors.js +20 -0
- package/node_modules/asyncbox/build/cjs/lib/errors.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/index.d.ts +12 -0
- package/node_modules/asyncbox/build/cjs/lib/index.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/index.js +24 -0
- package/node_modules/asyncbox/build/cjs/lib/index.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts +3 -0
- package/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/limit-function.js +15 -0
- package/node_modules/asyncbox/build/cjs/lib/limit-function.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/lock.d.ts +74 -0
- package/node_modules/asyncbox/build/cjs/lib/lock.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/lock.js +295 -0
- package/node_modules/asyncbox/build/cjs/lib/lock.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts +15 -0
- package/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/long-sleep.js +36 -0
- package/node_modules/asyncbox/build/cjs/lib/long-sleep.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/retry.d.ts +17 -0
- package/node_modules/asyncbox/build/cjs/lib/retry.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/retry.js +57 -0
- package/node_modules/asyncbox/build/cjs/lib/retry.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/sleep.d.ts +20 -0
- package/node_modules/asyncbox/build/cjs/lib/sleep.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/sleep.js +61 -0
- package/node_modules/asyncbox/build/cjs/lib/sleep.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js +51 -0
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts +16 -0
- package/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/with-timeout.js +45 -0
- package/node_modules/asyncbox/build/cjs/lib/with-timeout.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts +9 -0
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.js +32 -0
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts +9 -0
- package/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncmap.js +20 -0
- package/node_modules/asyncbox/build/esm/lib/asyncmap.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/errors.d.ts +9 -0
- package/node_modules/asyncbox/build/esm/lib/errors.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/errors.js +15 -0
- package/node_modules/asyncbox/build/esm/lib/errors.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/index.d.ts +12 -0
- package/node_modules/asyncbox/build/esm/lib/index.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/index.js +10 -0
- package/node_modules/asyncbox/build/esm/lib/index.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/limit-function.d.ts +3 -0
- package/node_modules/asyncbox/build/esm/lib/limit-function.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/limit-function.js +12 -0
- package/node_modules/asyncbox/build/esm/lib/limit-function.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/lock.d.ts +74 -0
- package/node_modules/asyncbox/build/esm/lib/lock.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/lock.js +291 -0
- package/node_modules/asyncbox/build/esm/lib/lock.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts +15 -0
- package/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/long-sleep.js +33 -0
- package/node_modules/asyncbox/build/esm/lib/long-sleep.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/retry.d.ts +17 -0
- package/node_modules/asyncbox/build/esm/lib/retry.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/retry.js +53 -0
- package/node_modules/asyncbox/build/esm/lib/retry.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/sleep.d.ts +20 -0
- package/node_modules/asyncbox/build/esm/lib/sleep.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/sleep.js +58 -0
- package/node_modules/asyncbox/build/esm/lib/sleep.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js +48 -0
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts +16 -0
- package/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/with-timeout.js +42 -0
- package/node_modules/asyncbox/build/esm/lib/with-timeout.js.map +1 -0
- package/node_modules/asyncbox/lib/asyncfilter.ts +38 -0
- package/node_modules/asyncbox/lib/asyncmap.ts +29 -0
- package/node_modules/asyncbox/lib/errors.ts +15 -0
- package/node_modules/asyncbox/lib/index.ts +21 -0
- package/node_modules/asyncbox/lib/limit-function.ts +18 -0
- package/node_modules/asyncbox/lib/lock.ts +360 -0
- package/node_modules/asyncbox/lib/long-sleep.ts +38 -0
- package/node_modules/asyncbox/lib/retry.ts +61 -0
- package/node_modules/asyncbox/lib/sleep.ts +79 -0
- package/node_modules/asyncbox/lib/wait-for-condition.ts +52 -0
- package/node_modules/asyncbox/lib/with-timeout.ts +43 -0
- package/node_modules/asyncbox/package.json +8 -8
- package/node_modules/axios/README.md +41 -106
- package/node_modules/axios/dist/axios.js +931 -278
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +948 -268
- package/node_modules/axios/dist/esm/axios.js +948 -268
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +925 -242
- package/node_modules/axios/index.d.cts +20 -1
- package/node_modules/axios/index.d.ts +18 -1
- package/node_modules/axios/lib/adapters/fetch.js +73 -20
- package/node_modules/axios/lib/adapters/http.js +145 -26
- package/node_modules/axios/lib/adapters/xhr.js +120 -13
- package/node_modules/axios/lib/core/Axios.js +67 -12
- package/node_modules/axios/lib/core/AxiosError.js +59 -0
- package/node_modules/axios/lib/core/AxiosHeaders.js +17 -4
- package/node_modules/axios/lib/core/InterceptorManager.js +13 -2
- package/node_modules/axios/lib/core/assertParamsAcyclic.js +49 -0
- package/node_modules/axios/lib/core/createMultipartBody.js +37 -0
- package/node_modules/axios/lib/core/dispatchRequest.js +20 -0
- package/node_modules/axios/lib/core/mergeConfig.js +183 -120
- package/node_modules/axios/lib/defaults/transitional.js +1 -0
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +11 -2
- package/node_modules/axios/lib/helpers/Http2Sessions.js +2 -1
- package/node_modules/axios/lib/helpers/composeSignals.js +6 -3
- package/node_modules/axios/lib/helpers/cookies.js +30 -6
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +34 -7
- package/node_modules/axios/lib/helpers/formDataToBlob.js +113 -0
- package/node_modules/axios/lib/helpers/formDataToJSON.js +25 -1
- package/node_modules/axios/lib/helpers/fromDataURI.js +8 -2
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +4 -9
- package/node_modules/axios/lib/helpers/parseHeaders.js +2 -1
- package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
- package/node_modules/axios/lib/helpers/resolveConfig.js +16 -3
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +16 -1
- package/node_modules/axios/lib/utils.js +61 -10
- package/node_modules/axios/package.json +1 -2
- package/node_modules/body-parser/README.md +17 -13
- package/node_modules/body-parser/lib/read.js +74 -57
- package/node_modules/body-parser/lib/types/json.js +11 -11
- package/node_modules/body-parser/lib/types/urlencoded.js +5 -5
- package/node_modules/body-parser/lib/utils.js +0 -15
- package/node_modules/body-parser/package.json +7 -12
- package/node_modules/encodeurl/README.md +14 -0
- package/node_modules/encodeurl/index.js +5 -10
- package/node_modules/encodeurl/package.json +10 -6
- package/node_modules/follow-redirects/README.md +27 -1
- package/node_modules/follow-redirects/index.js +1 -5
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/io.appium.settings/CHANGELOG.md +45 -0
- package/node_modules/io.appium.settings/README.md +8 -7
- package/node_modules/io.appium.settings/apks/settings_apk-debug.apk +0 -0
- package/node_modules/io.appium.settings/build/lib/client.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/client.js +2 -1
- package/node_modules/io.appium.settings/build/lib/client.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/media-projection.js +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/media-projection.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/typing.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/typing.js +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/typing.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.js +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.js.map +1 -1
- package/node_modules/io.appium.settings/lib/client.ts +2 -1
- package/node_modules/io.appium.settings/lib/commands/media-projection.ts +1 -1
- package/node_modules/io.appium.settings/lib/commands/typing.ts +4 -1
- package/node_modules/io.appium.settings/lib/commands/video-stream.ts +1 -1
- package/node_modules/io.appium.settings/package.json +5 -5
- package/node_modules/on-finished/index.js +14 -2
- package/node_modules/on-finished/package.json +11 -7
- package/node_modules/qs/.editorconfig +1 -1
- package/node_modules/qs/CHANGELOG.md +87 -22
- package/node_modules/qs/README.md +63 -10
- package/node_modules/qs/dist/qs.js +17 -17
- package/node_modules/qs/eslint.config.mjs +61 -50
- package/node_modules/qs/lib/formats.js +7 -2
- package/node_modules/qs/lib/parse.js +29 -10
- package/node_modules/qs/lib/stringify.js +5 -3
- package/node_modules/qs/lib/utils.js +28 -9
- package/node_modules/qs/package.json +6 -6
- package/node_modules/qs/test/parse.js +335 -2
- package/node_modules/qs/test/stringify.js +222 -0
- package/node_modules/qs/test/utils.js +61 -3
- package/node_modules/uuid/package.json +17 -17
- package/node_modules/xpath/package.json +1 -1
- package/node_modules/xpath/xpath.d.ts +59 -0
- package/package.json +8 -8
- package/node_modules/appium-adb/node_modules/shell-quote/.github/FUNDING.yml +0 -12
- package/node_modules/appium-adb/node_modules/shell-quote/.nycrc +0 -14
- package/node_modules/appium-adb/node_modules/shell-quote/LICENSE +0 -24
- package/node_modules/appium-adb/node_modules/shell-quote/README.md +0 -213
- package/node_modules/appium-adb/node_modules/shell-quote/eslint.config.mjs +0 -29
- package/node_modules/appium-adb/node_modules/shell-quote/index.d.ts +0 -28
- package/node_modules/appium-adb/node_modules/shell-quote/index.js +0 -4
- package/node_modules/appium-adb/node_modules/shell-quote/package.json +0 -76
- package/node_modules/appium-adb/node_modules/shell-quote/parse.d.ts +0 -48
- package/node_modules/appium-adb/node_modules/shell-quote/parse.js +0 -330
- package/node_modules/appium-adb/node_modules/shell-quote/quote.d.ts +0 -15
- package/node_modules/appium-adb/node_modules/shell-quote/quote.js +0 -65
- package/node_modules/appium-adb/node_modules/shell-quote/security.md +0 -11
- package/node_modules/appium-adb/node_modules/shell-quote/test/comment.js +0 -16
- package/node_modules/appium-adb/node_modules/shell-quote/test/env.js +0 -52
- package/node_modules/appium-adb/node_modules/shell-quote/test/env_fn.js +0 -21
- package/node_modules/appium-adb/node_modules/shell-quote/test/op.js +0 -102
- package/node_modules/appium-adb/node_modules/shell-quote/test/parse.js +0 -149
- package/node_modules/appium-adb/node_modules/shell-quote/test/quote.js +0 -145
- package/node_modules/appium-adb/node_modules/shell-quote/test/set.js +0 -31
- package/node_modules/appium-adb/node_modules/shell-quote/tsconfig.json +0 -10
- package/node_modules/appium-chromedriver/node_modules/shell-quote/.github/FUNDING.yml +0 -12
- package/node_modules/appium-chromedriver/node_modules/shell-quote/.nycrc +0 -14
- package/node_modules/appium-chromedriver/node_modules/shell-quote/LICENSE +0 -24
- package/node_modules/appium-chromedriver/node_modules/shell-quote/README.md +0 -213
- package/node_modules/appium-chromedriver/node_modules/shell-quote/eslint.config.mjs +0 -29
- package/node_modules/appium-chromedriver/node_modules/shell-quote/index.d.ts +0 -28
- package/node_modules/appium-chromedriver/node_modules/shell-quote/index.js +0 -4
- package/node_modules/appium-chromedriver/node_modules/shell-quote/package.json +0 -76
- package/node_modules/appium-chromedriver/node_modules/shell-quote/parse.d.ts +0 -48
- package/node_modules/appium-chromedriver/node_modules/shell-quote/parse.js +0 -330
- package/node_modules/appium-chromedriver/node_modules/shell-quote/quote.d.ts +0 -15
- package/node_modules/appium-chromedriver/node_modules/shell-quote/quote.js +0 -65
- package/node_modules/appium-chromedriver/node_modules/shell-quote/security.md +0 -11
- package/node_modules/appium-chromedriver/node_modules/shell-quote/test/comment.js +0 -16
- package/node_modules/appium-chromedriver/node_modules/shell-quote/test/env.js +0 -52
- package/node_modules/appium-chromedriver/node_modules/shell-quote/test/env_fn.js +0 -21
- package/node_modules/appium-chromedriver/node_modules/shell-quote/test/op.js +0 -102
- package/node_modules/appium-chromedriver/node_modules/shell-quote/test/parse.js +0 -149
- package/node_modules/appium-chromedriver/node_modules/shell-quote/test/quote.js +0 -145
- package/node_modules/appium-chromedriver/node_modules/shell-quote/test/set.js +0 -31
- package/node_modules/appium-chromedriver/node_modules/shell-quote/tsconfig.json +0 -10
- package/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v10.7.1.apk.idsig +0 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts +0 -103
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts.map +0 -1
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.js +0 -311
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.js.map +0 -1
- package/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts +0 -103
- package/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts.map +0 -1
- package/node_modules/asyncbox/build/esm/lib/asyncbox.js +0 -298
- package/node_modules/asyncbox/build/esm/lib/asyncbox.js.map +0 -1
- package/node_modules/asyncbox/lib/asyncbox.ts +0 -382
- package/node_modules/on-finished/HISTORY.md +0 -98
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,47 @@
|
|
|
1
|
-
## [9.0.0
|
|
1
|
+
## [9.0.0](https://github.com/appium/appium-uiautomator2-driver/compare/v8.7.3...v9.0.0) (2026-11-01)
|
|
2
|
+
|
|
3
|
+
### ⚠ BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* requires Appium >=4.0.0-beta.0 and drops Node 20 support
|
|
6
|
+
(minimum is now ^22.22.2 || ^24.15.0 || >=26.0.0), matching Appium 4's own
|
|
7
|
+
minimum supported Node engine. Also requires appium-android-driver
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* target Appium 4 beta ([#1048](https://github.com/appium/appium-uiautomator2-driver/issues/1048)) ([add442c](https://github.com/appium/appium-uiautomator2-driver/commit/add442c5b5e626a4f742bb4800f1fc61f95cbcf7))
|
|
2
12
|
|
|
3
13
|
### Bug Fixes
|
|
4
14
|
|
|
5
|
-
* Bring back autoLaunch cap ([#1053](https://github.com/appium/appium-uiautomator2-driver/issues/1053)) ([
|
|
6
|
-
* Drop obsolete sessions from the server list on IPC session claim ([#1052](https://github.com/appium/appium-uiautomator2-driver/issues/1052)) ([
|
|
15
|
+
* Bring back autoLaunch cap ([#1053](https://github.com/appium/appium-uiautomator2-driver/issues/1053)) ([a89c10e](https://github.com/appium/appium-uiautomator2-driver/commit/a89c10e65df0e26d50be12a56eba79e6b5f4930b))
|
|
16
|
+
* Drop obsolete sessions from the server list on IPC session claim ([#1052](https://github.com/appium/appium-uiautomator2-driver/issues/1052)) ([390f9b0](https://github.com/appium/appium-uiautomator2-driver/commit/390f9b0a290008ea44bd31384e5c87ccd84c7c52))
|
|
7
17
|
|
|
8
18
|
### Miscellaneous Chores
|
|
9
19
|
|
|
10
|
-
* Bump Appium monorepo packages to latest betas and fix lint warnings ([#1050](https://github.com/appium/appium-uiautomator2-driver/issues/1050)) ([
|
|
20
|
+
* Bump Appium monorepo packages to latest betas and fix lint warnings ([#1050](https://github.com/appium/appium-uiautomator2-driver/issues/1050)) ([b6aa938](https://github.com/appium/appium-uiautomator2-driver/commit/b6aa93808f61d05b7cebedb19e776bb63ab5d562))
|
|
21
|
+
* bump appium-android-driver to v15 ([0e7102c](https://github.com/appium/appium-uiautomator2-driver/commit/0e7102c8a0d48a196275ee6ddccd6c4944782e06))
|
|
22
|
+
* replace unzipper with @appium/support zip helpers ([#1069](https://github.com/appium/appium-uiautomator2-driver/issues/1069)) ([60c8601](https://github.com/appium/appium-uiautomator2-driver/commit/60c86015f602d21b3d8eaafced8b441a20c6f3a5))
|
|
11
23
|
|
|
12
24
|
### Code Refactoring
|
|
13
25
|
|
|
14
|
-
* attach commands via prototype to allow overrides in descendants ([#1055](https://github.com/appium/appium-uiautomator2-driver/issues/1055)) ([
|
|
26
|
+
* attach commands via prototype to allow overrides in descendants ([#1055](https://github.com/appium/appium-uiautomator2-driver/issues/1055)) ([51720b2](https://github.com/appium/appium-uiautomator2-driver/commit/51720b2e1b0ff6713c57e1b1e2f1ff4a99dee92a))
|
|
15
27
|
|
|
16
|
-
## [
|
|
28
|
+
## [8.7.3](https://github.com/appium/appium-uiautomator2-driver/compare/v8.7.2...v8.7.3) (2026-10-28)
|
|
17
29
|
|
|
18
|
-
###
|
|
30
|
+
### Bug Fixes
|
|
19
31
|
|
|
20
|
-
*
|
|
21
|
-
(minimum is now ^22.22.2 || ^24.15.0 || >=26.0.0), matching Appium 4's own
|
|
22
|
-
minimum supported Node engine. Also requires appium-android-driver
|
|
32
|
+
* bump server to 10.7.6 to fix [#988](https://github.com/appium/appium-uiautomator2-driver/issues/988) ([#1071](https://github.com/appium/appium-uiautomator2-driver/issues/1071)) ([bf13583](https://github.com/appium/appium-uiautomator2-driver/commit/bf13583bbb4cc50722e83a8ca98427129b48fdfd))
|
|
23
33
|
|
|
24
|
-
|
|
34
|
+
## [8.7.2](https://github.com/appium/appium-uiautomator2-driver/compare/v8.7.1...v8.7.2) (2026-10-27)
|
|
35
|
+
|
|
36
|
+
### Miscellaneous Chores
|
|
37
|
+
|
|
38
|
+
* dummy new line to kick a release again ([#1068](https://github.com/appium/appium-uiautomator2-driver/issues/1068)) ([3ea9527](https://github.com/appium/appium-uiautomator2-driver/commit/3ea9527a462fef830e9487a44057cd72c117489e))
|
|
39
|
+
|
|
40
|
+
## [8.7.1](https://github.com/appium/appium-uiautomator2-driver/compare/v8.7.0...v8.7.1) (2026-10-26)
|
|
41
|
+
|
|
42
|
+
### Miscellaneous Chores
|
|
25
43
|
|
|
26
|
-
*
|
|
44
|
+
* dummy new line to kick a release ([#1067](https://github.com/appium/appium-uiautomator2-driver/issues/1067)) ([8cc9d94](https://github.com/appium/appium-uiautomator2-driver/commit/8cc9d94629826f8f499d11a24178bedb5ed7066e))
|
|
27
45
|
|
|
28
46
|
## [8.7.0](https://github.com/appium/appium-uiautomator2-driver/compare/v8.6.4...v8.7.0) (2026-09-14)
|
|
29
47
|
|
|
@@ -67,27 +67,6 @@ export declare const AppiumConfigJsonSchema: {
|
|
|
67
67
|
readonly title: "base-path config";
|
|
68
68
|
readonly type: "string";
|
|
69
69
|
};
|
|
70
|
-
readonly 'callback-address': {
|
|
71
|
-
readonly appiumCliAliases: readonly ["ca"];
|
|
72
|
-
readonly description: "Callback IP address (default: same as \"address\")";
|
|
73
|
-
readonly title: "callback-address config";
|
|
74
|
-
readonly type: "string";
|
|
75
|
-
};
|
|
76
|
-
readonly 'callback-port': {
|
|
77
|
-
readonly appiumCliAliases: readonly ["cp"];
|
|
78
|
-
readonly default: 4723;
|
|
79
|
-
readonly description: "Callback port (default: same as \"port\")";
|
|
80
|
-
readonly maximum: 65535;
|
|
81
|
-
readonly minimum: 1;
|
|
82
|
-
readonly title: "callback-port config";
|
|
83
|
-
readonly type: "integer";
|
|
84
|
-
};
|
|
85
|
-
readonly 'debug-log-spacing': {
|
|
86
|
-
readonly default: false;
|
|
87
|
-
readonly description: "Add exaggerated spacing in logs to help with visual inspection";
|
|
88
|
-
readonly title: "debug-log-spacing config";
|
|
89
|
-
readonly type: "boolean";
|
|
90
|
-
};
|
|
91
70
|
readonly 'default-capabilities': {
|
|
92
71
|
readonly $comment: "TODO";
|
|
93
72
|
readonly appiumCliAliases: readonly ["dc"];
|
|
@@ -250,23 +229,12 @@ export declare const AppiumConfigJsonSchema: {
|
|
|
250
229
|
readonly appiumCliDest: "sslKeyPath";
|
|
251
230
|
readonly type: "string";
|
|
252
231
|
};
|
|
253
|
-
readonly 'strict-caps': {
|
|
254
|
-
readonly default: false;
|
|
255
|
-
readonly description: "Cause sessions to fail if desired caps are sent in that Appium does not recognize as valid for the selected device";
|
|
256
|
-
readonly title: "strict-caps config";
|
|
257
|
-
readonly type: "boolean";
|
|
258
|
-
};
|
|
259
232
|
readonly tmp: {
|
|
260
233
|
readonly appiumCliDest: "tmpDir";
|
|
261
|
-
readonly description: "Absolute path to directory Appium can use to manage temp files. Defaults to
|
|
234
|
+
readonly description: "Absolute path to directory Appium can use to manage temp files. Defaults to the system temp directory returned by Node.js os.tmpdir().";
|
|
262
235
|
readonly title: "tmp config";
|
|
263
236
|
readonly type: "string";
|
|
264
237
|
};
|
|
265
|
-
readonly 'trace-dir': {
|
|
266
|
-
readonly description: "Absolute path to directory Appium can use to save iOS instrument traces; defaults to <tmp>/appium-instruments";
|
|
267
|
-
readonly title: "trace-dir config";
|
|
268
|
-
readonly type: "string";
|
|
269
|
-
};
|
|
270
238
|
readonly 'use-drivers': {
|
|
271
239
|
readonly appiumCliDescription: "A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.";
|
|
272
240
|
readonly default: readonly [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appium-config-schema.d.ts","sourceRoot":"","sources":["../../lib/appium-config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAE7C;;;;GAIG;AAEH,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"appium-config-schema.d.ts","sourceRoot":"","sources":["../../lib/appium-config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAE7C;;;;GAIG;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCA4FP,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAwH3B,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgN7C,CAAC"}
|
|
@@ -67,27 +67,6 @@ export const AppiumConfigJsonSchema = {
|
|
|
67
67
|
title: 'base-path config',
|
|
68
68
|
type: 'string',
|
|
69
69
|
},
|
|
70
|
-
'callback-address': {
|
|
71
|
-
appiumCliAliases: ['ca'],
|
|
72
|
-
description: 'Callback IP address (default: same as "address")',
|
|
73
|
-
title: 'callback-address config',
|
|
74
|
-
type: 'string',
|
|
75
|
-
},
|
|
76
|
-
'callback-port': {
|
|
77
|
-
appiumCliAliases: ['cp'],
|
|
78
|
-
default: 4723,
|
|
79
|
-
description: 'Callback port (default: same as "port")',
|
|
80
|
-
maximum: 65535,
|
|
81
|
-
minimum: 1,
|
|
82
|
-
title: 'callback-port config',
|
|
83
|
-
type: 'integer',
|
|
84
|
-
},
|
|
85
|
-
'debug-log-spacing': {
|
|
86
|
-
default: false,
|
|
87
|
-
description: 'Add exaggerated spacing in logs to help with visual inspection',
|
|
88
|
-
title: 'debug-log-spacing config',
|
|
89
|
-
type: 'boolean',
|
|
90
|
-
},
|
|
91
70
|
'default-capabilities': {
|
|
92
71
|
$comment: 'TODO',
|
|
93
72
|
appiumCliAliases: ['dc'],
|
|
@@ -274,23 +253,12 @@ export const AppiumConfigJsonSchema = {
|
|
|
274
253
|
appiumCliDest: 'sslKeyPath',
|
|
275
254
|
type: 'string',
|
|
276
255
|
},
|
|
277
|
-
'strict-caps': {
|
|
278
|
-
default: false,
|
|
279
|
-
description: 'Cause sessions to fail if desired caps are sent in that Appium does not recognize as valid for the selected device',
|
|
280
|
-
title: 'strict-caps config',
|
|
281
|
-
type: 'boolean',
|
|
282
|
-
},
|
|
283
256
|
tmp: {
|
|
284
257
|
appiumCliDest: 'tmpDir',
|
|
285
|
-
description: 'Absolute path to directory Appium can use to manage temp files. Defaults to
|
|
258
|
+
description: 'Absolute path to directory Appium can use to manage temp files. Defaults to the system temp directory returned by Node.js os.tmpdir().',
|
|
286
259
|
title: 'tmp config',
|
|
287
260
|
type: 'string',
|
|
288
261
|
},
|
|
289
|
-
'trace-dir': {
|
|
290
|
-
description: 'Absolute path to directory Appium can use to save iOS instrument traces; defaults to <tmp>/appium-instruments',
|
|
291
|
-
title: 'trace-dir config',
|
|
292
|
-
type: 'string',
|
|
293
|
-
},
|
|
294
262
|
'use-drivers': {
|
|
295
263
|
appiumCliDescription: 'A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.',
|
|
296
264
|
default: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appium-config-schema.js","sourceRoot":"","sources":["../../lib/appium-config-schema.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,OAAO,EAAE,wCAAwC;IACjD,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EA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AE;oBACX,WAAW,EAAE,+EAA+E;oBAC5F,KAAK,EAAE,kBAAkB;oBACzB,IAAI,EAAE,QAAQ;iBACf;gBACD,
|
|
1
|
+
{"version":3,"file":"appium-config-schema.js","sourceRoot":"","sources":["../../lib/appium-config-schema.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,OAAO,EAAE,wCAAwC;IACjD,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,yCAAyC;IACtD,UAAU,EAAE;QACV,OAAO,EAAE;YACP,WAAW,EAAE,+BAA+B;YAC5C,OAAO,EAAE,sGAAsG;YAC/G,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,KAAK;SACd;QACD,MAAM,EAAE;YACN,oBAAoB,EAAE,KAAK;YAC3B,WAAW,EAAE,+CAA+C;YAC5D,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,gBAAgB,EAAE,CAAC,GAAG,CAAC;oBACvB,OAAO,EAAE,SAAS;oBAClB,WAAW,EAAE,8CAA8C;oBAC3D,KAAK,EAAE,gBAAgB;oBACvB,IAAI,EAAE,QAAQ;oBACd,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE,UAAU;yBACnB;wBACD;4BACE,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE,MAAM;yBACf;qBACF;iBACF;gBACD,gBAAgB,EAAE;oBAChB,oBAAoB,EAAE,KAAK;oBAC3B,OAAO,EAAE,EAAE;oBACX,WAAW,EACT,iUAAiU;oBACnU,KAAK,EAAE;wBACL,SAAS,EAAE,CAAC;wBACZ,IAAI,EAAE,QAAQ;qBACf;oBACD,KAAK,EAAE,uBAAuB;oBAC9B,IAAI,EAAE,OAAO;oBACb,WAAW,EAAE,IAAI;iBAClB;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EACT,0QAA0Q;oBAC5Q,KAAK,EAAE,2BAA2B;oBAClC,IAAI,EAAE,SAAS;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AE,uBAAuB,EAAC,EAAE,EAAC,IAAI,EAAE,wBAAwB,EAAC,CAAC;iBAC3E;aACF;SACF;KACF;CACO,CAAC"}
|
|
@@ -74,27 +74,6 @@ export const AppiumConfigJsonSchema = {
|
|
|
74
74
|
title: 'base-path config',
|
|
75
75
|
type: 'string',
|
|
76
76
|
},
|
|
77
|
-
'callback-address': {
|
|
78
|
-
appiumCliAliases: ['ca'],
|
|
79
|
-
description: 'Callback IP address (default: same as "address")',
|
|
80
|
-
title: 'callback-address config',
|
|
81
|
-
type: 'string',
|
|
82
|
-
},
|
|
83
|
-
'callback-port': {
|
|
84
|
-
appiumCliAliases: ['cp'],
|
|
85
|
-
default: 4723,
|
|
86
|
-
description: 'Callback port (default: same as "port")',
|
|
87
|
-
maximum: 65535,
|
|
88
|
-
minimum: 1,
|
|
89
|
-
title: 'callback-port config',
|
|
90
|
-
type: 'integer',
|
|
91
|
-
},
|
|
92
|
-
'debug-log-spacing': {
|
|
93
|
-
default: false,
|
|
94
|
-
description: 'Add exaggerated spacing in logs to help with visual inspection',
|
|
95
|
-
title: 'debug-log-spacing config',
|
|
96
|
-
type: 'boolean',
|
|
97
|
-
},
|
|
98
77
|
'default-capabilities': {
|
|
99
78
|
$comment: 'TODO',
|
|
100
79
|
appiumCliAliases: ['dc'],
|
|
@@ -287,26 +266,13 @@ export const AppiumConfigJsonSchema = {
|
|
|
287
266
|
appiumCliDest: 'sslKeyPath',
|
|
288
267
|
type: 'string',
|
|
289
268
|
},
|
|
290
|
-
'strict-caps': {
|
|
291
|
-
default: false,
|
|
292
|
-
description:
|
|
293
|
-
'Cause sessions to fail if desired caps are sent in that Appium does not recognize as valid for the selected device',
|
|
294
|
-
title: 'strict-caps config',
|
|
295
|
-
type: 'boolean',
|
|
296
|
-
},
|
|
297
269
|
tmp: {
|
|
298
270
|
appiumCliDest: 'tmpDir',
|
|
299
271
|
description:
|
|
300
|
-
'Absolute path to directory Appium can use to manage temp files. Defaults to
|
|
272
|
+
'Absolute path to directory Appium can use to manage temp files. Defaults to the system temp directory returned by Node.js os.tmpdir().',
|
|
301
273
|
title: 'tmp config',
|
|
302
274
|
type: 'string',
|
|
303
275
|
},
|
|
304
|
-
'trace-dir': {
|
|
305
|
-
description:
|
|
306
|
-
'Absolute path to directory Appium can use to save iOS instrument traces; defaults to <tmp>/appium-instruments',
|
|
307
|
-
title: 'trace-dir config',
|
|
308
|
-
type: 'string',
|
|
309
|
-
},
|
|
310
276
|
'use-drivers': {
|
|
311
277
|
appiumCliDescription:
|
|
312
278
|
'A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.',
|
|
@@ -70,31 +70,6 @@
|
|
|
70
70
|
"title": "base-path config",
|
|
71
71
|
"type": "string"
|
|
72
72
|
},
|
|
73
|
-
"callback-address": {
|
|
74
|
-
"appiumCliAliases": [
|
|
75
|
-
"ca"
|
|
76
|
-
],
|
|
77
|
-
"description": "Callback IP address (default: same as \"address\")",
|
|
78
|
-
"title": "callback-address config",
|
|
79
|
-
"type": "string"
|
|
80
|
-
},
|
|
81
|
-
"callback-port": {
|
|
82
|
-
"appiumCliAliases": [
|
|
83
|
-
"cp"
|
|
84
|
-
],
|
|
85
|
-
"default": 4723,
|
|
86
|
-
"description": "Callback port (default: same as \"port\")",
|
|
87
|
-
"maximum": 65535,
|
|
88
|
-
"minimum": 1,
|
|
89
|
-
"title": "callback-port config",
|
|
90
|
-
"type": "integer"
|
|
91
|
-
},
|
|
92
|
-
"debug-log-spacing": {
|
|
93
|
-
"default": false,
|
|
94
|
-
"description": "Add exaggerated spacing in logs to help with visual inspection",
|
|
95
|
-
"title": "debug-log-spacing config",
|
|
96
|
-
"type": "boolean"
|
|
97
|
-
},
|
|
98
73
|
"default-capabilities": {
|
|
99
74
|
"$comment": "TODO",
|
|
100
75
|
"appiumCliAliases": [
|
|
@@ -290,23 +265,12 @@
|
|
|
290
265
|
"appiumCliDest": "sslKeyPath",
|
|
291
266
|
"type": "string"
|
|
292
267
|
},
|
|
293
|
-
"strict-caps": {
|
|
294
|
-
"default": false,
|
|
295
|
-
"description": "Cause sessions to fail if desired caps are sent in that Appium does not recognize as valid for the selected device",
|
|
296
|
-
"title": "strict-caps config",
|
|
297
|
-
"type": "boolean"
|
|
298
|
-
},
|
|
299
268
|
"tmp": {
|
|
300
269
|
"appiumCliDest": "tmpDir",
|
|
301
|
-
"description": "Absolute path to directory Appium can use to manage temp files. Defaults to
|
|
270
|
+
"description": "Absolute path to directory Appium can use to manage temp files. Defaults to the system temp directory returned by Node.js os.tmpdir().",
|
|
302
271
|
"title": "tmp config",
|
|
303
272
|
"type": "string"
|
|
304
273
|
},
|
|
305
|
-
"trace-dir": {
|
|
306
|
-
"description": "Absolute path to directory Appium can use to save iOS instrument traces; defaults to <tmp>/appium-instruments",
|
|
307
|
-
"title": "trace-dir config",
|
|
308
|
-
"type": "string"
|
|
309
|
-
},
|
|
310
274
|
"use-drivers": {
|
|
311
275
|
"appiumCliDescription": "A list of drivers to activate. Can be a comma-delimited string or path to CSV file. By default, all installed drivers will be activated. Windows environments may require wrapping the comma-delimited string with quotes to escape the comma.",
|
|
312
276
|
"default": [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/schema",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
|
+
"gitHead": "5e87dc85d0e2dff27a4ff862600ed0187725347f",
|
|
5
5
|
"description": "Appium Configuration Schema",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"android",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../lib/console.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../lib/console.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,cAAc,EAA6B,MAAM,W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3
2
|
import { styleText as nodeStyleText } from 'node:util';
|
|
4
|
-
|
|
5
|
-
const ANSI_CSI_RE = // eslint-disable-next-line no-control-regex
|
|
6
|
-
/\x1b\[[0-?]*[ -/]*[@-~]/g;
|
|
7
|
-
const ANSI_OSC_RE = // eslint-disable-next-line no-control-regex
|
|
8
|
-
/\x1b\][^\x07]*(?:\x07|\x1b\\)/g;
|
|
3
|
+
import { isUnicodeSupported, NullWritable, streamSupportsColor, stripAnsi } from './internal/index.js';
|
|
9
4
|
/** Applies terminal styling via Node's `util.styleText`. */
|
|
10
5
|
export function styleText(style, text) {
|
|
11
6
|
const format = style === 'grey' ? 'gray' : style;
|
|
@@ -13,55 +8,15 @@ export function styleText(style, text) {
|
|
|
13
8
|
}
|
|
14
9
|
/** Removes ANSI escape sequences (CSI and OSC) from a string. */
|
|
15
10
|
export function stripColors(text) {
|
|
16
|
-
return text
|
|
17
|
-
}
|
|
18
|
-
function isUnicodeSupported() {
|
|
19
|
-
if (process.env.TERM === 'dumb') {
|
|
20
|
-
return false;
|
|
21
|
-
}
|
|
22
|
-
if (process.platform === 'win32') {
|
|
23
|
-
return Boolean(process.env.CI ||
|
|
24
|
-
process.env.WT_SESSION ||
|
|
25
|
-
process.env.TERMINAL_EMULATOR === 'JetBrains-JediTerm' ||
|
|
26
|
-
process.env.TERM_PROGRAM === 'vscode');
|
|
27
|
-
}
|
|
28
|
-
return true;
|
|
11
|
+
return stripAnsi(text);
|
|
29
12
|
}
|
|
30
13
|
const UNICODE = isUnicodeSupported();
|
|
31
|
-
/** Returns whether the given stream should use ANSI color by default. */
|
|
32
|
-
function streamSupportsColor(stream) {
|
|
33
|
-
const { env } = process;
|
|
34
|
-
if (env.NO_COLOR !== undefined || env.NODE_DISABLE_COLORS !== undefined) {
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
const { FORCE_COLOR: forceColor } = env;
|
|
38
|
-
if (forceColor !== undefined) {
|
|
39
|
-
const normalized = forceColor.toLowerCase();
|
|
40
|
-
return normalized !== '0' && normalized !== 'false';
|
|
41
|
-
}
|
|
42
|
-
if (env.TERM === 'dumb') {
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
if (!stream.isTTY) {
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
14
|
const logSymbols = {
|
|
51
15
|
info: UNICODE ? 'ℹ' : 'i',
|
|
52
16
|
success: UNICODE ? '✔' : '√',
|
|
53
17
|
warning: UNICODE ? '⚠' : '‼',
|
|
54
18
|
error: UNICODE ? '✖' : '×',
|
|
55
19
|
};
|
|
56
|
-
/**
|
|
57
|
-
* Stream to nowhere. Used when we want to disable any output other than JSON output.
|
|
58
|
-
*/
|
|
59
|
-
class NullWritable extends Writable {
|
|
60
|
-
/* eslint-disable promise/prefer-await-to-callbacks -- Node stream callback API */
|
|
61
|
-
_write(chunk, encoding, callback) {
|
|
62
|
-
setImmediate(callback);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
20
|
/**
|
|
66
21
|
* A particular console/logging class for Appium's CLI.
|
|
67
22
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console.js","sourceRoot":"","sources":["../../lib/console.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,cAAc,CAAC;AACpD,OAAO,
|
|
1
|
+
{"version":3,"file":"console.js","sourceRoot":"","sources":["../../lib/console.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,cAAc,CAAC;AACpD,OAAO,EAAsB,SAAS,IAAI,aAAa,EAAC,MAAM,WAAW,CAAC;AAI1E,OAAO,EAAC,kBAAkB,EAAE,YAAY,EAAE,mBAAmB,EAAE,SAAS,EAAC,MAAM,qBAAqB,CAAC;AA0CrG,4DAA4D;AAC5D,MAAM,UAAU,SAAS,CAAC,KAAgB,EAAE,IAAY;IACtD,MAAM,MAAM,GAAG,KA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AED,2CAA2C;IAC3C,KAAK,CAAC,OAAgB,EAAE,GAAG,IAAe;QACxC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,gCAAgC;IAChC,IAAI,CAAC,IAAa,EAAE,IAAqB;QACvC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/B,CAAC;IAED,wBAAwB;IACxB,IAAI,CAAC,OAAgB,EAAE,GAAG,IAAe;QACvC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;IACpD,CAAC;IAED,0BAA0B;IAC1B,IAAI,CAAC,OAAgB,EAAE,GAAG,IAAe;QACvC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;IACvD,CAAC;IAED,8CAA8C;IAC9C,KAAK,CAAC,OAAgB,EAAE,GAAG,IAAe;QACxC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAGH,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,UAAU,EAAE,CAAC;AACxC,OAAO,EAAC,UAAU,EAAE,UAAU,IAAI,OAAO,EAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { close, constants, type CopyOptions, createReadStream, createWriteStream, type Dirent, type MakeDirectoryOptions, open, type PathLike, promises as fsPromises, read, write } from 'node:fs';
|
|
1
|
+
import { close, constants, type CopyOptions, createReadStream, createWriteStream, type Dirent, type MakeDirectoryOptions, open, type PathLike, promises as fsPromises, read, type RmOptions, write } from 'node:fs';
|
|
2
2
|
import sanitize from 'sanitize-filename';
|
|
3
3
|
import which from 'which';
|
|
4
|
-
import { type Walker, type WalkOptions } from './internal/index.js';
|
|
4
|
+
import { type MvOptions, type Walker, type WalkOptions } from './internal/index.js';
|
|
5
5
|
/**
|
|
6
6
|
* Options for {@linkcode fs.copyFile}.
|
|
7
7
|
*
|
|
@@ -22,13 +22,9 @@ export interface CopyFileOptions {
|
|
|
22
22
|
/** Follow symlinks instead of copying them. Maps to `dereference`. */
|
|
23
23
|
dereference?: boolean;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
mkdirp?: boolean;
|
|
29
|
-
/** Set to false to throw if the destination file already exists */
|
|
30
|
-
clobber?: boolean;
|
|
31
|
-
}
|
|
25
|
+
export type { MvOptions };
|
|
26
|
+
/** Options for {@linkcode fs.rimraf} and {@linkcode fs.rimrafSync}; recursive and force removal are always enabled. */
|
|
27
|
+
export type RimrafOptions = Omit<RmOptions, 'recursive' | 'force'>;
|
|
32
28
|
/**
|
|
33
29
|
* Callback used during directory walking in {@linkcode fs.walkDir}.
|
|
34
30
|
* Return true to stop walking.
|
|
@@ -96,14 +92,16 @@ export declare const fs: {
|
|
|
96
92
|
exists(filePath: PathLike): Promise<boolean>;
|
|
97
93
|
/**
|
|
98
94
|
* Remove a directory and all its contents, recursively.
|
|
95
|
+
* Options are forwarded to Node.js; `recursive` and `force` are always `true`.
|
|
99
96
|
* @see https://nodejs.org/api/fs.html#fspromisesrmpath-options
|
|
100
97
|
*/
|
|
101
|
-
rimraf(filepath: PathLike): Promise<void>;
|
|
98
|
+
rimraf(filepath: PathLike, opts?: RimrafOptions): Promise<void>;
|
|
102
99
|
/**
|
|
103
100
|
* Remove a directory and all its contents, recursively (sync).
|
|
101
|
+
* Options are forwarded to Node.js; `recursive` and `force` are always `true`.
|
|
104
102
|
* @see https://nodejs.org/api/fs.html#fsrmsyncpath-options
|
|
105
103
|
*/
|
|
106
|
-
rimrafSync(filepath: PathLike): void;
|
|
104
|
+
rimrafSync(filepath: PathLike, opts?: RimrafOptions): void;
|
|
107
105
|
/**
|
|
108
106
|
* Like Node.js `fsPromises.mkdir()`, but will not reject if the directory already exists.
|
|
109
107
|
* @see https://nodejs.org/api/fs.html#fspromisesmkdirpath-options
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../lib/fs.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EACL,SAAS,EACT,KAAK,WAAW,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,IAAI,EACJ,KAAK,QAAQ,EACb,QAAQ,IAAI,UAAU,EACtB,IAAI,
|
|
1
|
+
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../lib/fs.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EACL,SAAS,EACT,KAAK,WAAW,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,IAAI,EACJ,KAAK,QAAQ,EACb,QAAQ,IAAI,UAAU,EACtB,IAAI,EACJ,KAAK,SAAS,EAEd,KAAK,EACN,MAAM,SAAS,CAAC;AAIjB,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AACzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,KAAK,SAAS,EAGd,KAAK,MAAM,EAEX,KAAK,WAAW,EACjB,MAAM,qBAAqB,CAAC;AAK7B;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;IAClD,sEAAsE;IACtE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,YAAY,EAAC,SAAS,EAAC,CAAC;AAExB,uHAAuH;AACvH,MAAM,MAAM,aAAa,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;;;;;OAOG;UAkBG,MAAM;IAEZ,kFAAkF;;IAGlF,sDAAsD;mBACjC,QAAQ,cAAa,MAAM,GAAY,OAAO,CAAC,MAAM,CAAC;IAc3E,oEAAoE;cAC1D,MAAM,SAAS,WAAW,GAAG,MAAM;IAI7C,sCAAsC;gBACpB,QAAQ,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAIxD;;;;;;OAMG;iBAEgB,MAAM,aAAa,OAAO,YAAY,eAAe,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;;;;;;;;;IAqFjG;;;OAGG;;;;;;;;;;;;;;CAcJ,CAAC;AAEF,eAAe,EAAE,CAAC"}
|
|
@@ -4,12 +4,10 @@ import path from 'node:path';
|
|
|
4
4
|
import { promisify } from 'node:util';
|
|
5
5
|
import sanitize from 'sanitize-filename';
|
|
6
6
|
import which from 'which';
|
|
7
|
-
import { walk } from './internal/index.js';
|
|
8
|
-
import { MoveOperation } from './internal/move-operation.js';
|
|
7
|
+
import { MoveOperation, pluralize, walk, } from './internal/index.js';
|
|
9
8
|
import log from './logger.js';
|
|
10
9
|
import { isWindows } from './system.js';
|
|
11
10
|
import { Timer } from './timing.js';
|
|
12
|
-
import { pluralize } from './util.js';
|
|
13
11
|
/**
|
|
14
12
|
* Maps {@link CopyFileOptions} (including legacy `ncp` fields) to `fs.cp` options.
|
|
15
13
|
*/
|
|
@@ -65,17 +63,19 @@ export const fs = {
|
|
|
65
63
|
},
|
|
66
64
|
/**
|
|
67
65
|
* Remove a directory and all its contents, recursively.
|
|
66
|
+
* Options are forwarded to Node.js; `recursive` and `force` are always `true`.
|
|
68
67
|
* @see https://nodejs.org/api/fs.html#fspromisesrmpath-options
|
|
69
68
|
*/
|
|
70
|
-
async rimraf(filepath) {
|
|
71
|
-
return await fsPromises.rm(filepath, { recursive: true, force: true });
|
|
69
|
+
async rimraf(filepath, opts = {}) {
|
|
70
|
+
return await fsPromises.rm(filepath, { ...opts, recursive: true, force: true });
|
|
72
71
|
},
|
|
73
72
|
/**
|
|
74
73
|
* Remove a directory and all its contents, recursively (sync).
|
|
74
|
+
* Options are forwarded to Node.js; `recursive` and `force` are always `true`.
|
|
75
75
|
* @see https://nodejs.org/api/fs.html#fsrmsyncpath-options
|
|
76
76
|
*/
|
|
77
|
-
rimrafSync(filepath) {
|
|
78
|
-
return rmSync(filepath, { recursive: true, force: true });
|
|
77
|
+
rimrafSync(filepath, opts = {}) {
|
|
78
|
+
return rmSync(filepath, { ...opts, recursive: true, force: true });
|
|
79
79
|
},
|
|
80
80
|
/**
|
|
81
81
|
* Like Node.js `fsPromises.mkdir()`, but will not reject if the directory already exists.
|
|
@@ -108,7 +108,7 @@ export const fs = {
|
|
|
108
108
|
* Move a file or a folder.
|
|
109
109
|
*/
|
|
110
110
|
async mv(from, to, opts = {}) {
|
|
111
|
-
await new MoveOperation(from, to, opts).move();
|
|
111
|
+
await new MoveOperation(from, to, opts, fs).move();
|
|
112
112
|
},
|
|
113
113
|
/** Find path to an executable in system `PATH`. @see https://github.com/npm/node-which */
|
|
114
114
|
which,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs.js","sourceRoot":"","sources":["../../lib/fs.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EACL,KAAK,EACL,SAAS,EAET,gBAAgB,EAChB,iBAAiB,EAGjB,IAAI,EAEJ,QAAQ,IAAI,UAAU,EACtB,IAAI,
|
|
1
|
+
{"version":3,"file":"fs.js","sourceRoot":"","sources":["../../lib/fs.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EACL,KAAK,EACL,SAAS,EAET,gBAAgB,EAChB,iBAAiB,EAGjB,IAAI,EAEJ,QAAQ,IAAI,UAAU,EACtB,IAAI,EAEJ,MAAM,EACN,KAAK,GACN,MAAM,SAAS,CAAC;AACjB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,E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