appium-espresso-driver 10.2.0 → 10.3.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 +12 -0
- package/build/lib/commands/server/builder.d.ts +9 -0
- package/build/lib/commands/server/builder.d.ts.map +1 -1
- package/build/lib/commands/server/builder.js +23 -0
- package/build/lib/commands/server/builder.js.map +1 -1
- package/build/lib/commands/server/hints.d.ts +28 -0
- package/build/lib/commands/server/hints.d.ts.map +1 -0
- package/build/lib/commands/server/hints.js +54 -0
- package/build/lib/commands/server/hints.js.map +1 -0
- package/build/lib/commands/server/runner.d.ts +7 -0
- package/build/lib/commands/server/runner.d.ts.map +1 -1
- package/build/lib/commands/server/runner.js +43 -4
- package/build/lib/commands/server/runner.js.map +1 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/espresso-server/app/build.gradle.kts +91 -1
- package/espresso-server/app/src/androidTestShaded/AndroidManifest.xml +16 -0
- package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.bin +0 -0
- package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/espresso-server/buildSrc/build/classes/kotlin/main/META-INF/buildSrc.kotlin_module +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/AnnotationSkipper$visitField$1$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/AnnotationSkipper$visitMethod$1$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/AnnotationSkipper.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/MemberRef.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/PrefixRemapper.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocateClassesTask$run$$inlined$groupingBy$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocateClassesTask$run$$inlined$sortedByDescending$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocateClassesTask$run$9$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocateClassesTask$run$remapper$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocateClassesTask.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocationKt$memberReferences$1$visitMethod$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocationKt$memberReferences$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocationKt$referencedClasses$collector$1.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocationKt$shareNonPublicDependents$Declared.class +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/gradle/RelocationKt.class +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/counters.tab +1 -1
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/espresso-server/buildSrc/build/libs/buildSrc.jar +0 -0
- package/espresso-server/buildSrc/build.gradle.kts +6 -0
- package/espresso-server/buildSrc/src/main/kotlin/io/appium/espressoserver/gradle/RelocateClassesTask.kt +141 -0
- package/espresso-server/buildSrc/src/main/kotlin/io/appium/espressoserver/gradle/Relocation.kt +342 -0
- package/espresso-server/buildSrc/src/test/kotlin/io/appium/espressoserver/gradle/RelocationTest.kt +186 -0
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/handlers/ListIdlingResources.kt +2 -1
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/ShadingHelpers.kt +45 -0
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/http/response/AppiumResponse.kt +3 -2
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/model/HamcrestMatcher.kt +8 -5
- package/espresso-server/library/src/test/java/io/appium/espressoserver/test/helpers/ShadingHelpersTest.kt +37 -0
- package/lib/commands/server/builder.ts +29 -0
- package/lib/commands/server/hints.ts +69 -0
- package/lib/commands/server/runner.ts +53 -5
- package/node_modules/{appium-android-driver → @appium/base-driver}/node_modules/asyncbox/README.md +1 -1
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/{appium-android-driver → @appium/base-driver}/node_modules/asyncbox/package.json +26 -12
- package/node_modules/{appium-adb → @appium/support}/node_modules/asyncbox/README.md +1 -1
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/collections → @appium/support/node_modules/asyncbox/build/cjs/lib}/asyncfilter.d.ts +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/collections → @appium/support/node_modules/asyncbox/build/cjs/lib}/asyncfilter.js +6 -3
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncfilter.js.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/collections → @appium/support/node_modules/asyncbox/build/cjs/lib}/asyncmap.d.ts +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/collections → @appium/support/node_modules/asyncbox/build/cjs/lib}/asyncmap.js +6 -3
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncmap.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/errors.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/errors.js +55 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/errors.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/index.d.ts +12 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/index.js +28 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/index.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts +3 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/limit-function.js +15 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/limit-function.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/lock.d.ts.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/lock → @appium/support/node_modules/asyncbox/build/cjs/lib}/lock.js +15 -21
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/lock.js.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/cjs/lib}/long-sleep.d.ts +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/long-sleep.js +36 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/long-sleep.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/retry.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/retry.js +57 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/retry.js.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/cjs/lib}/sleep.d.ts +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/sleep.d.ts.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/cjs/lib}/sleep.js +7 -4
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/sleep.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.js +3 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/shared → @appium/support/node_modules/asyncbox/build/cjs/lib}/types.js.map +1 -1
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/cjs/lib}/wait-for-condition.d.ts +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/cjs/lib}/wait-for-condition.js +9 -6
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/cjs/lib}/with-timeout.js +7 -4
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/with-timeout.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/package.json +3 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts +9 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/collections → @appium/support/node_modules/asyncbox/build/esm/lib}/asyncfilter.js +2 -2
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncfilter.js.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/collections → @appium/support/node_modules/asyncbox/build/esm/lib}/asyncmap.d.ts +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/collections → @appium/support/node_modules/asyncbox/build/esm/lib}/asyncmap.js +2 -2
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncmap.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/errors.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/errors.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/index.d.ts +12 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/index.js +10 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/index.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/limit-function.d.ts +3 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/limit-function.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/limit-function.js +12 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/limit-function.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/lock.d.ts.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/lock → @appium/support/node_modules/asyncbox/build/esm/lib}/lock.js +3 -13
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/lock.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts +15 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/long-sleep.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/retry.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/retry.js.map +1 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/esm/lib}/sleep.d.ts +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/sleep.d.ts.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/esm/lib}/sleep.js +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/sleep.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.d.ts.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/shared → @appium/support/node_modules/asyncbox/build/esm/lib}/types.js.map +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/esm/lib}/wait-for-condition.js +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/esm/lib}/with-timeout.js +1 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/with-timeout.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/package.json +3 -0
- package/node_modules/{appium-android-driver/node_modules/asyncbox/lib/collections → @appium/support/node_modules/asyncbox/lib}/asyncfilter.ts +3 -3
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/lib/collections → @appium/support/node_modules/asyncbox/lib}/asyncmap.ts +3 -3
- package/node_modules/@appium/support/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/limit-function.ts +18 -0
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/lib/lock → @appium/support/node_modules/asyncbox/lib}/lock.ts +6 -13
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/lib/time → @appium/support/node_modules/asyncbox/lib}/long-sleep.ts +1 -1
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/lib/time → @appium/support/node_modules/asyncbox/lib}/sleep.ts +2 -2
- package/node_modules/{appium-android-driver/node_modules/asyncbox/lib/time → @appium/support/node_modules/asyncbox/lib}/wait-for-condition.ts +2 -2
- package/node_modules/{appium-chromedriver/node_modules/asyncbox/lib/time → @appium/support/node_modules/asyncbox/lib}/with-timeout.ts +1 -1
- package/node_modules/{appium-adb → @appium/support}/node_modules/asyncbox/package.json +26 -12
- package/node_modules/@appium/support/node_modules/p-limit/index.d.ts +138 -0
- package/node_modules/@appium/support/node_modules/p-limit/index.js +148 -0
- package/node_modules/@appium/support/node_modules/p-limit/license +9 -0
- package/node_modules/@appium/support/node_modules/p-limit/package.json +58 -0
- package/node_modules/@appium/support/node_modules/p-limit/readme.md +183 -0
- package/node_modules/appium-adb/CHANGELOG.md +7 -0
- package/node_modules/appium-adb/package.json +3 -3
- package/node_modules/appium-android-driver/CHANGELOG.md +23 -0
- package/node_modules/appium-android-driver/build/lib/commands/bidi/helpers.d.ts +10 -0
- package/node_modules/appium-android-driver/build/lib/commands/bidi/helpers.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/bidi/helpers.js +15 -0
- package/node_modules/appium-android-driver/build/lib/commands/bidi/helpers.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/bidi/logcat-level.d.ts +9 -0
- package/node_modules/appium-android-driver/build/lib/commands/bidi/logcat-level.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/bidi/logcat-level.js +37 -0
- package/node_modules/appium-android-driver/build/lib/commands/bidi/logcat-level.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/device/common.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/common.js +2 -0
- package/node_modules/appium-android-driver/build/lib/commands/device/common.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/log.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/log.js +5 -1
- package/node_modules/appium-android-driver/build/lib/commands/log.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js +2 -4
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js.map +1 -1
- package/node_modules/appium-android-driver/lib/commands/bidi/helpers.ts +16 -0
- package/node_modules/appium-android-driver/lib/commands/bidi/logcat-level.ts +40 -0
- package/node_modules/appium-android-driver/lib/commands/device/common.ts +2 -0
- package/node_modules/appium-android-driver/lib/commands/log.ts +5 -1
- package/node_modules/appium-android-driver/lib/commands/media-stream/exports.ts +2 -11
- package/node_modules/appium-android-driver/package.json +5 -5
- package/node_modules/appium-chromedriver/CHANGELOG.md +7 -0
- package/node_modules/appium-chromedriver/config/mapping.json +1 -0
- package/node_modules/appium-chromedriver/package.json +2 -2
- package/node_modules/asyncbox/README.md +1 -1
- package/node_modules/asyncbox/lib/index.ts +11 -11
- package/node_modules/asyncbox/package.json +12 -26
- package/node_modules/bare-buffer/CMakeLists.txt +3 -3
- package/node_modules/bare-buffer/package.json +1 -1
- package/node_modules/bare-buffer/prebuilds/android-arm/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/android-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/android-ia32/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/android-x64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/darwin-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/darwin-x64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/ios-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/ios-arm64-simulator/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/ios-x64-simulator/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/linux-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/linux-x64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/win32-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/win32-x64/bare-buffer.bare +0 -0
- package/node_modules/bare-url/CMakeLists.txt +5 -5
- package/node_modules/bare-url/package.json +1 -1
- package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
- package/node_modules/ini/package.json +5 -5
- package/node_modules/io.appium.settings/CHANGELOG.md +7 -0
- package/node_modules/io.appium.settings/apks/settings_apk-debug.apk +0 -0
- package/node_modules/io.appium.settings/package.json +3 -3
- package/package.json +5 -5
- package/scripts/check-shaded-packages.mjs +106 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/index.ts +0 -28
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +0 -7
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.js +0 -35
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.d.ts +0 -12
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.js +0 -10
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.js.map +0 -1
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/asyncmap.ts +0 -33
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/limit-function.ts +0 -34
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/index.ts +0 -28
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/lock/lock.ts +0 -369
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/long-sleep.ts +0 -38
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/sleep.ts +0 -79
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/with-timeout.ts +0 -43
- package/node_modules/appium-chromedriver/node_modules/asyncbox/LICENSE +0 -203
- package/node_modules/appium-chromedriver/node_modules/asyncbox/README.md +0 -272
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +0 -9
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +0 -7
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.js +0 -35
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.d.ts +0 -12
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.js +0 -10
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +0 -15
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +0 -18
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.js.map +0 -1
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/asyncfilter.ts +0 -42
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/limit-function.ts +0 -34
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/index.ts +0 -28
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/wait-for-condition.ts +0 -52
- package/node_modules/appium-chromedriver/node_modules/asyncbox/package.json +0 -60
- package/node_modules/asyncbox/build/esm/lib/errors.js +0 -46
- package/node_modules/asyncbox/build/esm/lib/long-sleep.js +0 -33
- package/node_modules/asyncbox/build/esm/lib/retry.js +0 -53
- package/node_modules/asyncbox/build/esm/lib/types.js +0 -2
- package/node_modules/asyncbox/lib/errors.ts +0 -51
- package/node_modules/asyncbox/lib/retry.ts +0 -61
- package/node_modules/asyncbox/lib/types.ts +0 -88
- package/node_modules/io.appium.settings/node_modules/asyncbox/LICENSE +0 -203
- package/node_modules/io.appium.settings/node_modules/asyncbox/README.md +0 -272
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +0 -9
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.js +0 -36
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +0 -9
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.js +0 -27
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +0 -7
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.js +0 -35
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.d.ts +0 -12
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.js +0 -10
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.d.ts +0 -74
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.js +0 -302
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.d.ts +0 -27
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.js +0 -46
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.d.ts +0 -84
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.js +0 -2
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +0 -15
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.js +0 -33
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.d.ts +0 -17
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.js +0 -53
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.d.ts +0 -20
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.js +0 -58
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +0 -18
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.js +0 -48
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +0 -16
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.js +0 -42
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.js.map +0 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/asyncfilter.ts +0 -42
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/asyncmap.ts +0 -33
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/limit-function.ts +0 -34
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/index.ts +0 -28
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/lock/lock.ts +0 -369
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/shared/errors.ts +0 -51
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/shared/types.ts +0 -88
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/long-sleep.ts +0 -38
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/retry.ts +0 -61
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/sleep.ts +0 -79
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/wait-for-condition.ts +0 -52
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/with-timeout.ts +0 -43
- package/node_modules/io.appium.settings/node_modules/asyncbox/package.json +0 -60
- /package/node_modules/{appium-adb → @appium/base-driver}/node_modules/asyncbox/LICENSE +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/asyncfilter.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/asyncfilter.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/asyncfilter.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/asyncfilter.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/asyncmap.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/asyncmap.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/asyncmap.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/asyncmap.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/shared → @appium/base-driver/node_modules/asyncbox/build/cjs/lib}/errors.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/errors.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/errors.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/errors.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/index.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/index.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/index.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/index.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/limit-function.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/limit-function.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/limit-function.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/limit-function.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/lock → @appium/base-driver/node_modules/asyncbox/build/cjs/lib}/lock.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/lock.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/lock.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/lock.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/long-sleep.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/long-sleep.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/long-sleep.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/long-sleep.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/time → @appium/base-driver/node_modules/asyncbox/build/cjs/lib}/retry.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/retry.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/retry.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/retry.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/sleep.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/sleep.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/sleep.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/sleep.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/shared → @appium/base-driver/node_modules/asyncbox/build/cjs/lib}/types.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/types.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/types.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/types.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/wait-for-condition.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/wait-for-condition.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/wait-for-condition.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/wait-for-condition.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/time → @appium/base-driver/node_modules/asyncbox/build/cjs/lib}/with-timeout.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/with-timeout.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/with-timeout.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/lib/with-timeout.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/cjs/package.json +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/asyncfilter.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/asyncfilter.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/asyncfilter.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/asyncfilter.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/asyncmap.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/asyncmap.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/asyncmap.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/asyncmap.js.map +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/shared → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/errors.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/errors.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/shared → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/errors.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/errors.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/index.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/index.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/index.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/index.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/limit-function.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/limit-function.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/limit-function.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/limit-function.js.map +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/lock → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/lock.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/lock.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/lock.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/lock.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/long-sleep.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/long-sleep.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/time → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/long-sleep.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/long-sleep.js.map +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/retry.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/retry.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/time → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/retry.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/retry.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/sleep.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/sleep.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/sleep.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/sleep.js.map +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/shared → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/types.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/types.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/build/lib/shared → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/types.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/types.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/wait-for-condition.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/wait-for-condition.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/wait-for-condition.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/wait-for-condition.js.map +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/base-driver/node_modules/asyncbox/build/esm/lib}/with-timeout.d.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/with-timeout.d.ts.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/with-timeout.js +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/lib/with-timeout.js.map +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/build/esm/package.json +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/lib/asyncfilter.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/lib/asyncmap.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/lib/shared → @appium/base-driver/node_modules/asyncbox/lib}/errors.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/lib/limit-function.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/lib/lock.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/lib/long-sleep.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/lib/time → @appium/base-driver/node_modules/asyncbox/lib}/retry.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/lib/sleep.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox/lib/shared → @appium/base-driver/node_modules/asyncbox/lib}/types.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/lib/wait-for-condition.ts +0 -0
- /package/node_modules/{asyncbox → @appium/base-driver/node_modules/asyncbox}/lib/with-timeout.ts +0 -0
- /package/node_modules/{p-limit → @appium/base-driver/node_modules/p-limit}/index.d.ts +0 -0
- /package/node_modules/{p-limit → @appium/base-driver/node_modules/p-limit}/index.js +0 -0
- /package/node_modules/{p-limit → @appium/base-driver/node_modules/p-limit}/license +0 -0
- /package/node_modules/{p-limit → @appium/base-driver/node_modules/p-limit}/package.json +0 -0
- /package/node_modules/{p-limit → @appium/base-driver/node_modules/p-limit}/readme.md +0 -0
- /package/node_modules/{appium-android-driver → @appium/support}/node_modules/asyncbox/LICENSE +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/shared → @appium/support/node_modules/asyncbox/build/cjs/lib}/errors.d.ts +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/lock → @appium/support/node_modules/asyncbox/build/cjs/lib}/lock.d.ts +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/cjs/lib}/retry.d.ts +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/shared → @appium/support/node_modules/asyncbox/build/cjs/lib}/types.d.ts +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/cjs/lib}/with-timeout.d.ts +0 -0
- /package/node_modules/{asyncbox/build/cjs → @appium/support/node_modules/asyncbox/build/esm}/lib/errors.d.ts +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/shared → @appium/support/node_modules/asyncbox/build/esm/lib}/errors.js +0 -0
- /package/node_modules/{asyncbox/build/cjs → @appium/support/node_modules/asyncbox/build/esm}/lib/lock.d.ts +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/esm/lib}/long-sleep.js +0 -0
- /package/node_modules/{asyncbox/build/cjs → @appium/support/node_modules/asyncbox/build/esm}/lib/retry.d.ts +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/time → @appium/support/node_modules/asyncbox/build/esm/lib}/retry.js +0 -0
- /package/node_modules/{asyncbox/build/cjs → @appium/support/node_modules/asyncbox/build/esm}/lib/types.d.ts +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/build/lib/shared → @appium/support/node_modules/asyncbox/build/esm/lib}/types.js +0 -0
- /package/node_modules/{asyncbox/build/cjs → @appium/support/node_modules/asyncbox/build/esm}/lib/with-timeout.d.ts +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/lib/shared → @appium/support/node_modules/asyncbox/lib}/errors.ts +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/lib/time → @appium/support/node_modules/asyncbox/lib}/retry.ts +0 -0
- /package/node_modules/{appium-android-driver/node_modules/asyncbox/lib/shared → @appium/support/node_modules/asyncbox/lib}/types.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/asyncfilter.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/asyncfilter.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/asyncfilter.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/asyncfilter.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/asyncmap.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/asyncmap.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/asyncmap.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/asyncmap.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/limit-function.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/limit-function.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/limit-function.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/collections/limit-function.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/index.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/index.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/index.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/index.js.map +0 -0
- /package/node_modules/asyncbox/build/{esm/lib → lib/lock}/lock.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/lock/lock.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/lock/lock.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/lock/lock.js.map +0 -0
- /package/node_modules/asyncbox/build/{esm/lib → lib/shared}/errors.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/shared/errors.d.ts.map +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox → asyncbox}/build/lib/shared/errors.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/shared/errors.js.map +0 -0
- /package/node_modules/asyncbox/build/{esm/lib → lib/shared}/types.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/shared/types.d.ts.map +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox → asyncbox}/build/lib/shared/types.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/shared/types.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/long-sleep.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/long-sleep.d.ts.map +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox → asyncbox}/build/lib/time/long-sleep.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/long-sleep.js.map +0 -0
- /package/node_modules/asyncbox/build/{esm/lib → lib/time}/retry.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/retry.d.ts.map +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox → asyncbox}/build/lib/time/retry.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/retry.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/sleep.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/sleep.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/sleep.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/sleep.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/wait-for-condition.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/wait-for-condition.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/wait-for-condition.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/wait-for-condition.js.map +0 -0
- /package/node_modules/asyncbox/build/{esm/lib → lib/time}/with-timeout.d.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/with-timeout.d.ts.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/with-timeout.js +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/build/lib/time/with-timeout.js.map +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/lib/collections/asyncfilter.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/lib/collections/asyncmap.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/lib/collections/limit-function.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/lib/lock/lock.ts +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox → asyncbox}/lib/shared/errors.ts +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox → asyncbox}/lib/shared/types.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/lib/time/long-sleep.ts +0 -0
- /package/node_modules/{appium-chromedriver/node_modules/asyncbox → asyncbox}/lib/time/retry.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/lib/time/sleep.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/lib/time/wait-for-condition.ts +0 -0
- /package/node_modules/{appium-adb/node_modules/asyncbox → asyncbox}/lib/time/with-timeout.ts +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "p-limit",
|
|
3
|
+
"version": "7.3.3",
|
|
4
|
+
"description": "Run multiple promise-returning & async functions with limited concurrency",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "sindresorhus/p-limit",
|
|
7
|
+
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Sindre Sorhus",
|
|
10
|
+
"email": "sindresorhus@gmail.com",
|
|
11
|
+
"url": "https://sindresorhus.com"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"exports": {
|
|
15
|
+
"types": "./index.d.ts",
|
|
16
|
+
"default": "./index.js"
|
|
17
|
+
},
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=20"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"test": "xo && ava && tsd",
|
|
24
|
+
"benchmark": "node benchmark.js"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"index.js",
|
|
28
|
+
"index.d.ts"
|
|
29
|
+
],
|
|
30
|
+
"keywords": [
|
|
31
|
+
"promise",
|
|
32
|
+
"limit",
|
|
33
|
+
"limited",
|
|
34
|
+
"concurrency",
|
|
35
|
+
"throttle",
|
|
36
|
+
"throat",
|
|
37
|
+
"rate",
|
|
38
|
+
"batch",
|
|
39
|
+
"ratelimit",
|
|
40
|
+
"task",
|
|
41
|
+
"queue",
|
|
42
|
+
"async",
|
|
43
|
+
"await",
|
|
44
|
+
"promises",
|
|
45
|
+
"bluebird"
|
|
46
|
+
],
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"yocto-queue": "^1.2.1"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"ava": "^6.4.1",
|
|
52
|
+
"in-range": "^3.0.0",
|
|
53
|
+
"random-int": "^3.0.0",
|
|
54
|
+
"time-span": "^5.1.0",
|
|
55
|
+
"tsd": "^0.33.0",
|
|
56
|
+
"xo": "^1.2.1"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# p-limit
|
|
2
|
+
|
|
3
|
+
> Run multiple promise-returning & async functions with limited concurrency
|
|
4
|
+
|
|
5
|
+
*Works in Node.js and browsers.*
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install p-limit
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
import pLimit from 'p-limit';
|
|
17
|
+
|
|
18
|
+
const limit = pLimit(1);
|
|
19
|
+
|
|
20
|
+
const input = [
|
|
21
|
+
limit(() => fetchSomething('foo')),
|
|
22
|
+
limit(() => fetchSomething('bar')),
|
|
23
|
+
limit(() => doSomething())
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
// Only one promise is run at once
|
|
27
|
+
const result = await Promise.all(input);
|
|
28
|
+
console.log(result);
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## API
|
|
32
|
+
|
|
33
|
+
### pLimit(concurrency) <sup>default export</sup>
|
|
34
|
+
|
|
35
|
+
Returns a `limit` function.
|
|
36
|
+
|
|
37
|
+
#### concurrency
|
|
38
|
+
|
|
39
|
+
Type: `number | object`\
|
|
40
|
+
Minimum: `1`
|
|
41
|
+
|
|
42
|
+
Concurrency limit.
|
|
43
|
+
|
|
44
|
+
You can pass a number or an options object with a `concurrency` property.
|
|
45
|
+
|
|
46
|
+
#### rejectOnClear
|
|
47
|
+
|
|
48
|
+
Type: `boolean`\
|
|
49
|
+
Default: `false`
|
|
50
|
+
|
|
51
|
+
Reject pending promises with an `AbortError` when `clearQueue()` is called.
|
|
52
|
+
This is recommended if you await the returned promises, for example with `Promise.all`, so pending tasks do not remain unresolved after `clearQueue()`.
|
|
53
|
+
|
|
54
|
+
```js
|
|
55
|
+
import pLimit from 'p-limit';
|
|
56
|
+
|
|
57
|
+
const limit = pLimit({concurrency: 1});
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### limit(fn, ...args)
|
|
61
|
+
|
|
62
|
+
Returns the promise returned by calling `fn(...args)`.
|
|
63
|
+
|
|
64
|
+
#### fn
|
|
65
|
+
|
|
66
|
+
Type: `Function`
|
|
67
|
+
|
|
68
|
+
Promise-returning/async function.
|
|
69
|
+
|
|
70
|
+
#### args
|
|
71
|
+
|
|
72
|
+
Any arguments to pass through to `fn`.
|
|
73
|
+
|
|
74
|
+
Support for passing arguments on to the `fn` is provided in order to be able to avoid creating unnecessary closures. You probably don't need this optimization unless you're pushing a *lot* of functions.
|
|
75
|
+
|
|
76
|
+
Warning: Avoid calling the same `limit` function inside a function that is already limited by it. This can create a deadlock where inner tasks never run. Use a separate limiter for inner tasks.
|
|
77
|
+
|
|
78
|
+
### limit.map(iterable, mapperFunction)
|
|
79
|
+
|
|
80
|
+
Process an iterable of inputs with limited concurrency.
|
|
81
|
+
|
|
82
|
+
The mapper function receives the item value and its index.
|
|
83
|
+
|
|
84
|
+
Returns a promise equivalent to `Promise.all(Array.from(iterable, (item, index) => limit(mapperFunction, item, index)))`.
|
|
85
|
+
|
|
86
|
+
If the iterable throws during iteration, the returned promise rejects with that error. Mapper functions that were already scheduled still run, and their results are discarded.
|
|
87
|
+
|
|
88
|
+
This is a convenience function for processing inputs that arrive in batches. For more complex use cases, see [p-map](https://github.com/sindresorhus/p-map).
|
|
89
|
+
|
|
90
|
+
### limit.activeCount
|
|
91
|
+
|
|
92
|
+
The number of promises that are currently running.
|
|
93
|
+
|
|
94
|
+
### limit.pendingCount
|
|
95
|
+
|
|
96
|
+
The number of promises that are waiting to run (i.e. their internal `fn` was not called yet).
|
|
97
|
+
|
|
98
|
+
### limit.clearQueue()
|
|
99
|
+
|
|
100
|
+
Discard pending promises that are waiting to run.
|
|
101
|
+
|
|
102
|
+
This might be useful if you want to tear down the queue at the end of your program's lifecycle or discard any function calls referencing an intermediary state of your app.
|
|
103
|
+
|
|
104
|
+
Note: This does not cancel promises that are already running.
|
|
105
|
+
|
|
106
|
+
When `rejectOnClear` is enabled, pending promises are rejected with an `AbortError`.
|
|
107
|
+
This is recommended if you await the returned promises, for example with `Promise.all`, so pending tasks do not remain unresolved after `clearQueue()`.
|
|
108
|
+
|
|
109
|
+
### limit.concurrency
|
|
110
|
+
|
|
111
|
+
Get or set the concurrency limit.
|
|
112
|
+
|
|
113
|
+
### limitFunction(fn, options) <sup>named export</sup>
|
|
114
|
+
|
|
115
|
+
Returns a function with limited concurrency.
|
|
116
|
+
|
|
117
|
+
The returned function manages its own concurrent executions, allowing you to call it multiple times without exceeding the specified concurrency limit.
|
|
118
|
+
|
|
119
|
+
Ideal for scenarios where you need to control the number of simultaneous executions of a single function, rather than managing concurrency across multiple functions.
|
|
120
|
+
|
|
121
|
+
```js
|
|
122
|
+
import {limitFunction} from 'p-limit';
|
|
123
|
+
|
|
124
|
+
const limitedFunction = limitFunction(async () => {
|
|
125
|
+
return doSomething();
|
|
126
|
+
}, {concurrency: 1});
|
|
127
|
+
|
|
128
|
+
const input = Array.from({length: 10}, limitedFunction);
|
|
129
|
+
|
|
130
|
+
// Only one promise is run at once.
|
|
131
|
+
await Promise.all(input);
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
#### fn
|
|
135
|
+
|
|
136
|
+
Type: `Function`
|
|
137
|
+
|
|
138
|
+
Promise-returning/async function.
|
|
139
|
+
|
|
140
|
+
#### options
|
|
141
|
+
|
|
142
|
+
Type: `object`
|
|
143
|
+
|
|
144
|
+
#### concurrency
|
|
145
|
+
|
|
146
|
+
Type: `number`\
|
|
147
|
+
Minimum: `1`
|
|
148
|
+
|
|
149
|
+
Concurrency limit.
|
|
150
|
+
|
|
151
|
+
#### rejectOnClear
|
|
152
|
+
|
|
153
|
+
Type: `boolean`\
|
|
154
|
+
Default: `false`
|
|
155
|
+
|
|
156
|
+
Reject pending promises with an `AbortError` when `clearQueue()` is called.
|
|
157
|
+
This is recommended if you await the returned promises, for example with `Promise.all`, so pending tasks do not remain unresolved after `clearQueue()`.
|
|
158
|
+
|
|
159
|
+
### limitedFunction.clearQueue()
|
|
160
|
+
|
|
161
|
+
Discard pending calls that have not started yet.
|
|
162
|
+
|
|
163
|
+
When `rejectOnClear` is enabled, pending promises are rejected with an `AbortError`. Otherwise, their promises remain unresolved.
|
|
164
|
+
|
|
165
|
+
This does not cancel calls that are already running.
|
|
166
|
+
|
|
167
|
+
## Recipes
|
|
168
|
+
|
|
169
|
+
See [recipes.md](recipes.md) for common use cases and patterns.
|
|
170
|
+
|
|
171
|
+
## FAQ
|
|
172
|
+
|
|
173
|
+
### How is this different from the [`p-queue`](https://github.com/sindresorhus/p-queue) package?
|
|
174
|
+
|
|
175
|
+
This package is only about limiting the number of concurrent executions, while `p-queue` is a fully featured queue implementation with lots of different options, introspection, and ability to pause the queue.
|
|
176
|
+
|
|
177
|
+
## Related
|
|
178
|
+
|
|
179
|
+
- [p-throttle](https://github.com/sindresorhus/p-throttle) - Throttle promise-returning & async functions
|
|
180
|
+
- [p-debounce](https://github.com/sindresorhus/p-debounce) - Debounce promise-returning & async functions
|
|
181
|
+
- [p-map](https://github.com/sindresorhus/p-map) - Run promise-returning & async functions concurrently with different inputs
|
|
182
|
+
- [p-all](https://github.com/sindresorhus/p-all) - Run promise-returning & async functions concurrently with optional limited concurrency
|
|
183
|
+
- [More…](https://github.com/sindresorhus/promise-fun)
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [17.0.4](https://github.com/appium/appium-android/compare/appium-adb@17.0.3...appium-adb@17.0.4) (2026-11-17)
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* **adb:** update dependency ini to v7 ([#125](https://github.com/appium/appium-android/issues/125)) ([60df469](https://github.com/appium/appium-android/commit/60df469a5bebbd1110374ebfdacbfbe5207719d1))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
## [17.0.3](https://github.com/appium/appium-android/compare/appium-adb@17.0.2...appium-adb@17.0.3) (2026-11-14)
|
|
7
14
|
|
|
8
15
|
### Miscellaneous Chores
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-adb",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.4",
|
|
4
4
|
"description": "Android Debug Bridge interface",
|
|
5
5
|
"homepage": "https://appium.io",
|
|
6
6
|
"bugs": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@appium/support": "^8.0.0-beta.7",
|
|
48
48
|
"asyncbox": "^7.0.0",
|
|
49
|
-
"ini": "^
|
|
49
|
+
"ini": "^7.0.0",
|
|
50
50
|
"lru-cache": "^11.1.0",
|
|
51
51
|
"semver": "^7.0.0",
|
|
52
52
|
"teen_process": "^5.0.0"
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0",
|
|
65
65
|
"npm": ">=10"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "d3c3bdc927cdf82b47f8ae8ff2516ed525a74b73"
|
|
68
68
|
}
|
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [15.3.0](https://github.com/appium/appium-android/compare/appium-android-driver@15.2.4...appium-android-driver@15.3.0) (2026-11-18)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **driver-lib:** derive BiDi syslog level and gate log events on subscribers ([#127](https://github.com/appium/appium-android/issues/127)) ([b4fa1f9](https://github.com/appium/appium-android/commit/b4fa1f9946292d9d82aec18cbbf8dfd84850ded7))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [15.2.4](https://github.com/appium/appium-android/compare/appium-android-driver@15.2.3...appium-android-driver@15.2.4) (2026-11-18)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package appium-android-driver
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [15.2.3](https://github.com/appium/appium-android/compare/appium-android-driver@15.2.2...appium-android-driver@15.2.3) (2026-11-17)
|
|
22
|
+
|
|
23
|
+
**Note:** Version bump only for package appium-android-driver
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
## [15.2.2](https://github.com/appium/appium-android/compare/appium-android-driver@15.2.1...appium-android-driver@15.2.2) (2026-11-15)
|
|
7
30
|
|
|
8
31
|
### Bug Fixes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AndroidDriver } from '../../driver.js';
|
|
2
|
+
/**
|
|
3
|
+
* Checks whether any BiDi client is subscribed to the event or to its whole module.
|
|
4
|
+
*
|
|
5
|
+
* @param driver - The driver instance
|
|
6
|
+
* @param method - Fully qualified event name, e.g. `log.entryAdded`
|
|
7
|
+
* @param context - If set, only subscriptions that cover this context (or all contexts) count
|
|
8
|
+
*/
|
|
9
|
+
export declare function hasSubscribers(driver: AndroidDriver, method: string, context?: string): boolean;
|
|
10
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bidi/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAEnD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAM/F"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks whether any BiDi client is subscribed to the event or to its whole module.
|
|
3
|
+
*
|
|
4
|
+
* @param driver - The driver instance
|
|
5
|
+
* @param method - Fully qualified event name, e.g. `log.entryAdded`
|
|
6
|
+
* @param context - If set, only subscriptions that cover this context (or all contexts) count
|
|
7
|
+
*/
|
|
8
|
+
export function hasSubscribers(driver, method, context) {
|
|
9
|
+
const moduleName = method.split('.')[0];
|
|
10
|
+
return [method, moduleName].some((e) => {
|
|
11
|
+
const contexts = driver.bidiEventSubs[e];
|
|
12
|
+
return Boolean(contexts?.length) && (context === undefined || contexts.includes('') || contexts.includes(context));
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../lib/commands/bidi/helpers.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAAC,MAAqB,EAAE,MAAc,EAAE,OAAgB;IACpF,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QACrC,MAAM,QAAQ,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;QACzC,OAAO,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IACrH,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { LogEntry } from 'appium-adb';
|
|
2
|
+
/**
|
|
3
|
+
* Builds a transformer that sets the entry level from the logcat priority of the line.
|
|
4
|
+
* Lines without a recognizable priority are returned unchanged.
|
|
5
|
+
*
|
|
6
|
+
* @param format - The `logcat -v` format the capture was started with
|
|
7
|
+
*/
|
|
8
|
+
export declare function makeLogcatLevelTransformer(format?: string): (entry: LogEntry) => LogEntry;
|
|
9
|
+
//# sourceMappingURL=logcat-level.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logcat-level.d.ts","sourceRoot":"","sources":["../../../../lib/commands/bidi/logcat-level.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AA2BzC;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,QAAQ,KAAK,QAAQ,CAMzF"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { toLogRecord } from '../../utils.js';
|
|
2
|
+
const DEFAULT_FORMAT = 'threadtime';
|
|
3
|
+
// Same list as in appium-adb; an unknown format falls back to the default there
|
|
4
|
+
const KNOWN_FORMATS = ['brief', 'process', 'tag', 'thread', 'raw', 'time', 'threadtime', 'long'];
|
|
5
|
+
const TIME = String.raw `\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}`;
|
|
6
|
+
// Capture group 1 is the priority letter. `raw` and `long` carry no per-line priority.
|
|
7
|
+
// `brief` and `tag` match only the leading `X/`, as logcat truncates long tags and drops the suffix.
|
|
8
|
+
const PRIORITY_PATTERNS = {
|
|
9
|
+
brief: /^([VDIWEF])\//,
|
|
10
|
+
process: /^([VDIWEF])\(\s*\d+\)/,
|
|
11
|
+
tag: /^([VDIWEF])\//,
|
|
12
|
+
thread: /^([VDIWEF])\(\s*\d+:\s*\d+\)/,
|
|
13
|
+
time: new RegExp(String.raw `^${TIME}\s+([VDIWEF])/`),
|
|
14
|
+
threadtime: new RegExp(String.raw `^${TIME}\s+\d+\s+\d+\s+([VDIWEF])\s`),
|
|
15
|
+
};
|
|
16
|
+
const LEVELS = {
|
|
17
|
+
V: 'DEBUG',
|
|
18
|
+
D: 'DEBUG',
|
|
19
|
+
I: 'INFO',
|
|
20
|
+
W: 'WARN',
|
|
21
|
+
E: 'ERROR',
|
|
22
|
+
F: 'ERROR',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Builds a transformer that sets the entry level from the logcat priority of the line.
|
|
26
|
+
* Lines without a recognizable priority are returned unchanged.
|
|
27
|
+
*
|
|
28
|
+
* @param format - The `logcat -v` format the capture was started with
|
|
29
|
+
*/
|
|
30
|
+
export function makeLogcatLevelTransformer(format) {
|
|
31
|
+
const pattern = PRIORITY_PATTERNS[format && KNOWN_FORMATS.includes(format) ? format : DEFAULT_FORMAT];
|
|
32
|
+
return (entry) => {
|
|
33
|
+
const priority = pattern?.exec(entry.message)?.[1];
|
|
34
|
+
return priority ? toLogRecord(entry.timestamp, entry.message, LEVELS[priority]) : entry;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=logcat-level.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logcat-level.js","sourceRoot":"","sources":["../../../../lib/commands/bidi/logcat-level.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,MAAM,cAAc,GAAG,YAAY,CAAC;AACpC,gFAAgF;AAChF,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;AACjG,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAA,sCAAsC,CAAC;AAC9D,uFAAuF;AACvF,qGAAqG;AACrG,MAAM,iBAAiB,GAAqC;IAC1D,KAAK,EAAE,eAAe;IACtB,OAAO,EAAE,uBAAuB;IAChC,GAAG,EAAE,eAAe;IACpB,MAAM,EAAE,8BAA8B;IACtC,IAAI,EAAE,IAAI,MAAM,CAAC,MAAM,CAAC,GAAG,CAAA,IAAI,IAAI,gBAAgB,CAAC;IACpD,UAAU,EAAE,IAAI,MAAM,CAAC,MAAM,CAAC,GAAG,CAAA,IAAI,IAAI,6BAA6B,CAAC;CACxE,CAAC;AACF,MAAM,MAAM,GAAqC;IAC/C,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,MAAM;IACT,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;CACX,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CAAC,MAAe;IACxD,MAAM,OAAO,GAAG,iBAAiB,CAAC,MAAM,IAAI,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC;IACtG,OAAO,CAAC,KAAK,EAAE,EAAE;QACf,MAAM,QAAQ,GAAG,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1F,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../lib/commands/device/common.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,YAAY,CAAC;AAKpC,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../lib/commands/device/common.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,YAAY,CAAC;AAKpC,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAMnD,OAAO,KAAK,EAAC,aAAa,EAAE,aAAa,EAAC,MAAM,aAAa,CAAC;AAG9D,OAAO,QAAQ,iBAAiB,CAAC;IAC/B,UAAU,aAAa,CAAC,CAAC,SAAS,wBAAwB;QACxD,qBAAqB,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;QACnH,SAAS,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,SAAS,CAAC,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;QAC/E,aAAa,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;QAC3F,UAAU,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;KACnF;CACF;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAyGvF;AAED;;;;GAIG;AACH,wBAAsB,SAAS,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,CAQjE;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAyC3F;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAuHnE"}
|
|
@@ -3,6 +3,7 @@ import { retryInterval } from 'asyncbox';
|
|
|
3
3
|
import { SETTINGS_HELPER_ID } from 'io.appium.settings';
|
|
4
4
|
import * as semver from 'semver';
|
|
5
5
|
import { GET_SERVER_LOGS_FEATURE, nativeLogEntryToSeleniumEntry } from '../../utils.js';
|
|
6
|
+
import { makeLogcatLevelTransformer } from '../bidi/logcat-level.js';
|
|
6
7
|
import { setMockLocationApp } from '../geolocation.js';
|
|
7
8
|
import { hideKeyboardCompletely, initUnicodeKeyboard } from '../keyboard.js';
|
|
8
9
|
import { adjustTimeZone } from '../time.js';
|
|
@@ -221,6 +222,7 @@ export async function initDevice() {
|
|
|
221
222
|
if (this.adb.logcat) {
|
|
222
223
|
this.assignBiDiLogListener(this.adb.logcat, {
|
|
223
224
|
type: 'syslog',
|
|
225
|
+
entryTransformer: makeLogcatLevelTransformer(logcatFormat),
|
|
224
226
|
});
|
|
225
227
|
}
|
|
226
228
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../lib/commands/device/common.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAIjC,OAAO,EAAC,uBAAuB,EAAE,6BAA6B,EAAC,MAAM,gBAAgB,CAAC;AACtF,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAC,sBAAsB,EAAE,mBAAmB,EAAC,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAC,aAAa,EAAE,eAAe,EAAE,eAAe,EAAC,MAAM,YAAY,CAAC;AAW3E;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,yEAAyE;IACzE,+DAA+D;IAC/D,0EAA0E;IAC1E,oCAAoC;IACpC,MAAM,GAAG,GAAG,MAAM,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;IAC7C,IAAI,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IAC1B,IAAI,MAAkC,CAAC;IAEvC,6DAA6D;IAC7D,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC;QACnB,MAAM,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,C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B,gBAAgB,EAAE,6BAA6B;SAChD,CAAC,CAAC;IACL,CAAC;IAED,MAAM,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;AACnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../lib/commands/log.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAS9C,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAChD,OAAO,EAAsE,KAAK,QAAQ,EAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../lib/commands/log.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAS9C,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,mBAAmB,CAAC;AAChE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAChD,OAAO,EAAsE,KAAK,QAAQ,EAAC,MAAM,aAAa,CAAC;AAM/G,OAAO,QAAQ,cAAc,CAAC;IAC5B,UAAU,aAAa,CAAC,CAAC,SAAS,wBAAwB;QACxD,wBAAwB,CACtB,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,GACnD,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;QAC/C,uBAAuB,CACrB,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,GAClD,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;QAC9C,qBAAqB,CAAC,EAAE,SAAS,YAAY,EAC3C,UAAU,EAAE,EAAE,EACd,UAAU,EAAE,sBAAsB,GACjC,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;KACtB;CACF;AAED,eAAO,MAAM,iBAAiB;;;gCAGX,aAAa;;;;gCAIP,aAAa;;;;gCAQnB,aAAa;;CAKtB,CAAC;AAEX;;;;;;;;;GASG;AACH,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CA0DjF;AAED;;;;;GAKG;AACH,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAWhF;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,SAAS,YAAY,EAC3D,IAAI,EAAE,aAAa,EACnB,UAAU,EAAE,EAAE,EACd,UAAU,EAAE,sBAAsB,GACjC,CAAC,EAAE,EAAE,WAAW,CAAC,CAWnB;AAeD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,CAAC,CAAC,EAAE,QAAQ,KAAK,QAAQ,CAAC;CAC9C;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,QAAQ,EAAE,QAAQ,KAAK,GAAG,CAAC"}
|
|
@@ -3,7 +3,8 @@ import { util } from '@appium/support';
|
|
|
3
3
|
import { DEFAULT_WS_PATHNAME_PREFIX } from 'appium/driver.js';
|
|
4
4
|
import { WebSocket, WebSocketServer } from 'ws';
|
|
5
5
|
import { GET_SERVER_LOGS_FEATURE, toLogRecord, nativeLogEntryToSeleniumEntry } from '../utils.js';
|
|
6
|
-
import { BIDI_EVENT_NAME } from './bidi/constants.js';
|
|
6
|
+
import { BIDI_EVENT_NAME, LOG_ENTRY_ADDED_EVENT } from './bidi/constants.js';
|
|
7
|
+
import { hasSubscribers } from './bidi/helpers.js';
|
|
7
8
|
import { makeLogEntryAddedEvent } from './bidi/models.js';
|
|
8
9
|
import { NATIVE_WIN } from './context/helpers.js';
|
|
9
10
|
export const supportedLogTypes = {
|
|
@@ -122,6 +123,9 @@ export async function mobileStopLogsBroadcast() {
|
|
|
122
123
|
export function assignBiDiLogListener(logEmitter, properties) {
|
|
123
124
|
const { type, context = NATIVE_WIN, srcEventName = 'output', entryTransformer } = properties;
|
|
124
125
|
const listener = (logEntry) => {
|
|
126
|
+
if (!hasSubscribers(this, LOG_ENTRY_ADDED_EVENT, context)) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
125
129
|
const finalEntry = entryTransformer ? entryTransformer(logEntry) : logEntry;
|
|
126
130
|
this.eventEmitter.emit(BIDI_EVENT_NAME, makeLogEntryAddedEvent(finalEntry, context, type));
|
|
127
131
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../lib/commands/log.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAC,0BAA0B,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,IAAI,CAAC;AAI9C,OAAO,EAAC,uBAAuB,EAAE,WAAW,EAAE,6BAA6B,EAAgB,MAAM,aAAa,CAAC;AAC/G,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../lib/commands/log.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAC,0BAA0B,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,IAAI,CAAC;AAI9C,OAAO,EAAC,uBAAuB,EAAE,WAAW,EAAE,6BAA6B,EAAgB,MAAM,aAAa,CAAC;AAC/G,OAAO,EAAC,eAAe,EAAE,qBAAqB,EAAC,MAAM,qB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{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../../lib/commands/media-stream/exports.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../../lib/commands/media-stream/exports.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAMnD,OAAO,KAAK,EAAC,SAAS,EAAE,uBAAuB,EAAE,eAAe,EAAuB,MAAM,YAAY,CAAC;AAE1G,OAAO,QAAQ,iBAAiB,CAAC;IAC/B,UAAU,aAAa,CAAC,CAAC,SAAS,wBAAwB;QACxD,sBAAsB,CACpB,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,GACjD,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;QAC7C,gCAAgC,CAC9B,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,gCAAgC,CAAC,GAC3D,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC;QACvD,qBAAqB,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;KACpH;CACF;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,aAAa,EACnB,IAAI,EAAE,SAAS,EACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EACvB,GAAG,CAAC,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,MAAM,EAChB,KAAK,CAAC,EAAE,MAAM,EACd,UAAU,CAAC,EAAE,MAAM,EACnB,KAAK,CAAC,EAAE,OAAO,EACf,OAAO,GAAE,MAAyB,EAClC,eAAe,GAAE,MAAkC,GAClD,OAAO,CAAC,eAAe,CAAC,CAoE1B;AAED;;;GAGG;AACH,wBAAsB,gCAAgC,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAE5G;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAOhG;AAED,kEAAkE;AAClE,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAE5E"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { errors } from 'appium/driver.js';
|
|
2
2
|
import { BIDI_EVENT_NAME } from '../bidi/constants.js';
|
|
3
|
+
import { hasSubscribers } from '../bidi/helpers.js';
|
|
3
4
|
import { getCapabilities, queryVideoEncoders } from './capabilities.js';
|
|
4
|
-
import { DEFAULT_BATCH_MS, DEFAULT_IDLE_HEARTBEAT_MS,
|
|
5
|
+
import { DEFAULT_BATCH_MS, DEFAULT_IDLE_HEARTBEAT_MS, MEDIA_UNITS_EVENT, MIN_API_LEVEL } from './constants.js';
|
|
5
6
|
import { MediaStream } from './stream.js';
|
|
6
7
|
/**
|
|
7
8
|
* Starts streaming the screen as `appium:mediaStream.*` BiDi events.
|
|
@@ -108,9 +109,6 @@ export async function mobileStopMediaStream(streamId) {
|
|
|
108
109
|
export async function stopAllMediaStreams() {
|
|
109
110
|
await Promise.all([...(this._mediaStreams?.values() ?? [])].map((s) => s.stop('session ended')));
|
|
110
111
|
}
|
|
111
|
-
function hasSubscribers(driver, method) {
|
|
112
|
-
return [method, MEDIA_STREAM_MODULE].some((e) => (driver.bidiEventSubs[e]?.length ?? 0) > 0);
|
|
113
|
-
}
|
|
114
112
|
function validateOpts({ kind, codec, bitrate, quality, scale, audio, batchMs, idleHeartbeatMs, }) {
|
|
115
113
|
if (kind !== 'video' && kind !== 'jpeg') {
|
|
116
114
|
throw new errors.InvalidArgumentError(`'kind' must be either 'video' or 'jpeg', got '${String(kind)}'`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../lib/commands/media-stream/exports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAIxC,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAC,eAAe,EAAE,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../lib/commands/media-stream/exports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAIxC,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAC,eAAe,EAAE,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7G,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAexC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAE1C,IAAe,EACf,KAAuB,EACvB,GAAY,EACZ,OAAgB,EAChB,OAAgB,EAChB,KAAc,EACd,UAAmB,EACnB,KAAe,EACf,UAAkB,gBAAgB,EAClC,kBAA0B,yBAAyB;IAEnD,MAAM,IAAI,GAAsE;QAC9E,IAAI;QACJ,KAAK;QACL,GAAG;QACH,OAAO;QACP,OAAO;QACP,KAAK;QACL,UAAU;QACV,KAAK;QACL,OAAO;QACP,eAAe;KAChB,CAAC;IACF,YAAY,CAAC,IAAI,CAAC,C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eAAe,GACmD;IAClE,IAAI,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QACxC,MAAM,IAAI,MAAM,CAAC,oBAAoB,CAAC,iDAAiD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC1G,CAAC;IACD,MAAM,SAAS,GAAG,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,EAAC,OAAO,EAAE,KAAK,EAAC,CAAC,CAAC,CAAC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAC,CAAC;IAChF,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC;IAC/E,IAAI,SAAS,CAAC,MAAM,EAAE,CAAC;QACrB,MAAM,IAAI,MAAM,CAAC,oBAAoB,CACnC,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,4BAA4B,IAAI,GAAG,CAClF,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,OAAO,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,eAAe,GAAG,CAAC,EAAE,CAAC;QAC3G,MAAM,IAAI,MAAM,CAAC,oBAAoB,CAAC,+DAA+D,CAAC,CAAC;IACzG,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type {AndroidDriver} from '../../driver.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Checks whether any BiDi client is subscribed to the event or to its whole module.
|
|
5
|
+
*
|
|
6
|
+
* @param driver - The driver instance
|
|
7
|
+
* @param method - Fully qualified event name, e.g. `log.entryAdded`
|
|
8
|
+
* @param context - If set, only subscriptions that cover this context (or all contexts) count
|
|
9
|
+
*/
|
|
10
|
+
export function hasSubscribers(driver: AndroidDriver, method: string, context?: string): boolean {
|
|
11
|
+
const moduleName = method.split('.')[0];
|
|
12
|
+
return [method, moduleName].some((e) => {
|
|
13
|
+
const contexts = driver.bidiEventSubs[e];
|
|
14
|
+
return Boolean(contexts?.length) && (context === undefined || contexts.includes('') || contexts.includes(context));
|
|
15
|
+
});
|
|
16
|
+
}
|