appium-espresso-driver 10.0.2 → 10.1.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 +16 -0
- package/build/lib/commands/server/constants.d.ts +1 -1
- package/build/lib/commands/server/constants.d.ts.map +1 -1
- package/build/lib/commands/server/constants.js.map +1 -1
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +2 -4
- package/build/lib/driver.js.map +1 -1
- package/build/lib/execute-method-map.d.ts +16 -0
- package/build/lib/execute-method-map.d.ts.map +1 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -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/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
- package/lib/commands/server/constants.ts +1 -1
- package/lib/driver.ts +2 -4
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.js +1 -1
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/caps.ts +1 -1
- package/node_modules/@appium/base-driver/package.json +4 -4
- package/node_modules/@appium/logger/CHANGELOG.md +37 -0
- package/node_modules/@appium/logger/package.json +2 -2
- package/node_modules/@appium/schema/package.json +2 -2
- package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.js +11 -11
- package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
- package/node_modules/@appium/support/lib/zip.ts +11 -12
- package/node_modules/@appium/support/node_modules/teen_process/CHANGELOG.md +1122 -0
- package/node_modules/@appium/support/node_modules/teen_process/LICENSE +201 -0
- package/node_modules/@appium/support/node_modules/teen_process/README.md +270 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/circular-buffer.ts +60 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/exec.ts +176 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/helpers.ts +45 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/index.ts +4 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/subprocess.ts +358 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/types.ts +83 -0
- package/node_modules/@appium/support/node_modules/teen_process/package.json +81 -0
- package/node_modules/@appium/support/package.json +5 -5
- package/node_modules/@appium/types/package.json +5 -5
- package/node_modules/appium-adb/CHANGELOG.md +21 -0
- package/node_modules/appium-adb/build/lib/logcat.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/logcat.js +2 -2
- package/node_modules/appium-adb/build/lib/logcat.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/aab-utils.js +1 -1
- package/node_modules/appium-adb/build/lib/tools/aab-utils.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/app-commands.js +1 -1
- package/node_modules/appium-adb/build/lib/tools/app-commands.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/device-settings.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/device-settings.js +2 -2
- package/node_modules/appium-adb/build/lib/tools/device-settings.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/emulator-commands.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/emulator-commands.js +9 -9
- package/node_modules/appium-adb/build/lib/tools/emulator-commands.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/lockmgmt.js +1 -1
- package/node_modules/appium-adb/build/lib/tools/lockmgmt.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/system-calls.js +5 -5
- package/node_modules/appium-adb/build/lib/tools/system-calls.js.map +1 -1
- package/node_modules/appium-adb/lib/logcat.ts +4 -2
- package/node_modules/appium-adb/lib/tools/aab-utils.ts +1 -1
- package/node_modules/appium-adb/lib/tools/app-commands.ts +1 -1
- package/node_modules/appium-adb/lib/tools/device-settings.ts +4 -2
- package/node_modules/appium-adb/lib/tools/emulator-commands.ts +13 -9
- package/node_modules/appium-adb/lib/tools/lockmgmt.ts +1 -1
- package/node_modules/appium-adb/lib/tools/system-calls.ts +5 -5
- package/node_modules/appium-adb/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/appium-adb/node_modules/asyncbox/README.md +272 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.d.ts +12 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.js +10 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.js +2 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.js +53 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/lock/lock.ts +369 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/shared/errors.ts +51 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/shared/types.ts +88 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/retry.ts +61 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/sleep.ts +79 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
- package/node_modules/appium-adb/node_modules/asyncbox/package.json +60 -0
- package/node_modules/appium-adb/package.json +7 -7
- package/node_modules/appium-android-driver/CHANGELOG.md +51 -0
- package/node_modules/appium-android-driver/README.md +4 -0
- package/node_modules/appium-android-driver/build/lib/commands/context/helpers.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/context/helpers.js +4 -22
- package/node_modules/appium-android-driver/build/lib/commands/context/helpers.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.d.ts +16 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.js +42 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.d.ts +11 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.js +96 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.d.ts +14 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.js +16 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts +42 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js +123 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.js +17 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.d.ts +12 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.js +196 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.d.ts +65 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.js +339 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.d.ts +67 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.js +2 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/streamscreen.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/streamscreen.js +4 -5
- package/node_modules/appium-android-driver/build/lib/commands/streamscreen.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/driver.d.ts +19 -0
- package/node_modules/appium-android-driver/build/lib/driver.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/driver.js +8 -0
- package/node_modules/appium-android-driver/build/lib/driver.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/execute-method-map.d.ts +16 -0
- package/node_modules/appium-android-driver/build/lib/execute-method-map.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/execute-method-map.js +16 -0
- package/node_modules/appium-android-driver/build/lib/execute-method-map.js.map +1 -1
- package/node_modules/appium-android-driver/lib/commands/context/helpers.ts +4 -22
- package/node_modules/appium-android-driver/lib/commands/media-stream/batcher.ts +44 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/capabilities.ts +101 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/constants.ts +15 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/exports.ts +179 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/jpeg.ts +16 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/sps.ts +208 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/stream.ts +385 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/types.ts +65 -0
- package/node_modules/appium-android-driver/lib/commands/streamscreen.ts +4 -5
- package/node_modules/appium-android-driver/lib/driver.ts +18 -3
- package/node_modules/appium-android-driver/lib/execute-method-map.ts +17 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/README.md +272 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.d.ts +12 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.js +10 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.js +2 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.js +53 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/lock/lock.ts +369 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/shared/errors.ts +51 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/shared/types.ts +88 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/retry.ts +61 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/sleep.ts +79 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/package.json +60 -0
- package/node_modules/appium-android-driver/package.json +11 -13
- package/node_modules/appium-chromedriver/CHANGELOG.md +21 -0
- package/node_modules/appium-chromedriver/build/lib/chromedriver.js +1 -1
- package/node_modules/appium-chromedriver/build/lib/chromedriver.js.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/commands/binary.js +3 -3
- package/node_modules/appium-chromedriver/build/lib/commands/binary.js.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.js +3 -3
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.js.map +1 -1
- package/node_modules/appium-chromedriver/lib/chromedriver.ts +2 -2
- package/node_modules/appium-chromedriver/lib/commands/binary.ts +3 -3
- package/node_modules/appium-chromedriver/lib/storage-client/storage-client.ts +3 -3
- package/node_modules/appium-chromedriver/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/README.md +272 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.d.ts +12 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.js +10 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.js +2 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.js +53 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/lock/lock.ts +369 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/shared/errors.ts +51 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/shared/types.ts +88 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/retry.ts +61 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/sleep.ts +79 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/package.json +60 -0
- package/node_modules/appium-chromedriver/package.json +7 -7
- package/node_modules/commander/Readme.md +17 -47
- package/node_modules/commander/index.js +14 -17
- package/node_modules/commander/lib/argument.js +3 -6
- package/node_modules/commander/lib/command.js +68 -42
- package/node_modules/commander/lib/error.js +2 -5
- package/node_modules/commander/lib/help.js +10 -22
- package/node_modules/commander/lib/option.js +4 -7
- package/node_modules/commander/lib/suggestSimilar.js +2 -4
- package/node_modules/commander/package.json +11 -28
- package/node_modules/commander/typings/index.d.ts +9 -6
- package/node_modules/io.appium.settings/CHANGELOG.md +35 -0
- package/node_modules/io.appium.settings/apks/settings_apk-debug.apk +0 -0
- package/node_modules/io.appium.settings/build/lib/client.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/client.js +5 -2
- package/node_modules/io.appium.settings/build/lib/client.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/accessibility.d.ts +3 -1
- package/node_modules/io.appium.settings/build/lib/commands/accessibility.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/accessibility.js +74 -20
- package/node_modules/io.appium.settings/build/lib/commands/accessibility.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.d.ts +9 -0
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.js +17 -2
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/constants.d.ts +2 -0
- package/node_modules/io.appium.settings/build/lib/constants.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/constants.js +2 -0
- package/node_modules/io.appium.settings/build/lib/constants.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/index.d.ts +3 -0
- package/node_modules/io.appium.settings/build/lib/index.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.d.ts +3 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.js +2 -0
- package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.d.ts +11 -0
- package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.js +41 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.js.map +1 -1
- package/node_modules/io.appium.settings/lib/client.ts +5 -2
- package/node_modules/io.appium.settings/lib/commands/accessibility.ts +83 -24
- package/node_modules/io.appium.settings/lib/commands/video-stream.ts +18 -1
- package/node_modules/io.appium.settings/lib/constants.ts +2 -0
- package/node_modules/io.appium.settings/lib/index.ts +3 -0
- package/node_modules/io.appium.settings/lib/utils/streaming-protocol.ts +2 -0
- package/node_modules/io.appium.settings/lib/utils/streaming-transport.ts +44 -1
- package/node_modules/io.appium.settings/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/README.md +272 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.d.ts +12 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.js +10 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.js +2 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.js +53 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/lock/lock.ts +369 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/shared/errors.ts +51 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/shared/types.ts +88 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/retry.ts +61 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/sleep.ts +79 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/package.json +60 -0
- package/node_modules/io.appium.settings/package.json +7 -7
- package/node_modules/teen_process/CHANGELOG.md +17 -0
- package/node_modules/teen_process/README.md +2 -2
- package/node_modules/teen_process/build/lib/circular-buffer.d.ts +13 -0
- package/node_modules/teen_process/build/lib/circular-buffer.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/circular-buffer.js +53 -0
- package/node_modules/teen_process/build/lib/circular-buffer.js.map +1 -0
- package/node_modules/teen_process/build/lib/exec.d.ts +33 -0
- package/node_modules/teen_process/build/lib/exec.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/exec.js +164 -0
- package/node_modules/teen_process/build/lib/exec.js.map +1 -0
- package/node_modules/teen_process/build/lib/helpers.d.ts +2 -0
- package/node_modules/teen_process/build/lib/helpers.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/helpers.js +41 -0
- package/node_modules/teen_process/build/lib/helpers.js.map +1 -0
- package/node_modules/teen_process/build/lib/index.d.ts +5 -0
- package/node_modules/teen_process/build/lib/index.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/index.js +4 -0
- package/node_modules/teen_process/build/lib/index.js.map +1 -0
- package/node_modules/teen_process/build/lib/subprocess.d.ts +131 -0
- package/node_modules/teen_process/build/lib/subprocess.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/subprocess.js +336 -0
- package/node_modules/teen_process/build/lib/subprocess.js.map +1 -0
- package/node_modules/teen_process/build/lib/types.d.ts +71 -0
- package/node_modules/teen_process/build/lib/types.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/types.js +2 -0
- package/node_modules/teen_process/build/lib/types.js.map +1 -0
- package/node_modules/teen_process/lib/exec.ts +15 -2
- package/node_modules/teen_process/lib/subprocess.ts +146 -110
- package/node_modules/teen_process/package.json +14 -25
- package/package.json +6 -8
- package/node_modules/appium-adb/build/lib/options.d.ts +0 -2
- package/node_modules/appium-adb/build/lib/options.d.ts.map +0 -1
- package/node_modules/appium-adb/build/lib/options.js +0 -2
- package/node_modules/appium-adb/build/lib/options.js.map +0 -1
- package/node_modules/appium-adb/lib/options.ts +0 -0
- package/node_modules/commander/esm.mjs +0 -16
- package/node_modules/commander/typings/esm.d.mts +0 -3
- package/node_modules/is-number-like/.editorconfig +0 -12
- package/node_modules/is-number-like/.npmignore +0 -2
- package/node_modules/is-number-like/.travis.yml +0 -16
- package/node_modules/is-number-like/LICENSE +0 -13
- package/node_modules/is-number-like/README.md +0 -27
- package/node_modules/is-number-like/lib/index.js +0 -54
- package/node_modules/is-number-like/package.json +0 -51
- package/node_modules/is-number-like/test/index.js +0 -39
- package/node_modules/lodash/LICENSE +0 -47
- package/node_modules/lodash/README.md +0 -39
- package/node_modules/lodash/_DataView.js +0 -7
- package/node_modules/lodash/_Hash.js +0 -32
- package/node_modules/lodash/_LazyWrapper.js +0 -28
- package/node_modules/lodash/_ListCache.js +0 -32
- package/node_modules/lodash/_LodashWrapper.js +0 -22
- package/node_modules/lodash/_Map.js +0 -7
- package/node_modules/lodash/_MapCache.js +0 -32
- package/node_modules/lodash/_Promise.js +0 -7
- package/node_modules/lodash/_Set.js +0 -7
- package/node_modules/lodash/_SetCache.js +0 -27
- package/node_modules/lodash/_Stack.js +0 -27
- package/node_modules/lodash/_Symbol.js +0 -6
- package/node_modules/lodash/_Uint8Array.js +0 -6
- package/node_modules/lodash/_WeakMap.js +0 -7
- package/node_modules/lodash/_apply.js +0 -21
- package/node_modules/lodash/_arrayAggregator.js +0 -22
- package/node_modules/lodash/_arrayEach.js +0 -22
- package/node_modules/lodash/_arrayEachRight.js +0 -21
- package/node_modules/lodash/_arrayEvery.js +0 -23
- package/node_modules/lodash/_arrayFilter.js +0 -25
- package/node_modules/lodash/_arrayIncludes.js +0 -17
- package/node_modules/lodash/_arrayIncludesWith.js +0 -22
- package/node_modules/lodash/_arrayLikeKeys.js +0 -49
- package/node_modules/lodash/_arrayMap.js +0 -21
- package/node_modules/lodash/_arrayPush.js +0 -20
- package/node_modules/lodash/_arrayReduce.js +0 -26
- package/node_modules/lodash/_arrayReduceRight.js +0 -24
- package/node_modules/lodash/_arraySample.js +0 -15
- package/node_modules/lodash/_arraySampleSize.js +0 -17
- package/node_modules/lodash/_arrayShuffle.js +0 -15
- package/node_modules/lodash/_arraySome.js +0 -23
- package/node_modules/lodash/_asciiSize.js +0 -12
- package/node_modules/lodash/_asciiToArray.js +0 -12
- package/node_modules/lodash/_asciiWords.js +0 -15
- package/node_modules/lodash/_assignMergeValue.js +0 -20
- package/node_modules/lodash/_assignValue.js +0 -28
- package/node_modules/lodash/_assocIndexOf.js +0 -21
- package/node_modules/lodash/_baseAggregator.js +0 -21
- package/node_modules/lodash/_baseAssign.js +0 -17
- package/node_modules/lodash/_baseAssignIn.js +0 -17
- package/node_modules/lodash/_baseAssignValue.js +0 -25
- package/node_modules/lodash/_baseAt.js +0 -23
- package/node_modules/lodash/_baseClamp.js +0 -22
- package/node_modules/lodash/_baseClone.js +0 -166
- package/node_modules/lodash/_baseConforms.js +0 -18
- package/node_modules/lodash/_baseConformsTo.js +0 -27
- package/node_modules/lodash/_baseCreate.js +0 -30
- package/node_modules/lodash/_baseDelay.js +0 -21
- package/node_modules/lodash/_baseDifference.js +0 -67
- package/node_modules/lodash/_baseEach.js +0 -14
- package/node_modules/lodash/_baseEachRight.js +0 -14
- package/node_modules/lodash/_baseEvery.js +0 -21
- package/node_modules/lodash/_baseExtremum.js +0 -32
- package/node_modules/lodash/_baseFill.js +0 -32
- package/node_modules/lodash/_baseFilter.js +0 -21
- package/node_modules/lodash/_baseFindIndex.js +0 -24
- package/node_modules/lodash/_baseFindKey.js +0 -23
- package/node_modules/lodash/_baseFlatten.js +0 -38
- package/node_modules/lodash/_baseFor.js +0 -16
- package/node_modules/lodash/_baseForOwn.js +0 -16
- package/node_modules/lodash/_baseForOwnRight.js +0 -16
- package/node_modules/lodash/_baseForRight.js +0 -15
- package/node_modules/lodash/_baseFunctions.js +0 -19
- package/node_modules/lodash/_baseGet.js +0 -24
- package/node_modules/lodash/_baseGetAllKeys.js +0 -20
- package/node_modules/lodash/_baseGetTag.js +0 -28
- package/node_modules/lodash/_baseGt.js +0 -14
- package/node_modules/lodash/_baseHas.js +0 -19
- package/node_modules/lodash/_baseHasIn.js +0 -13
- package/node_modules/lodash/_baseInRange.js +0 -18
- package/node_modules/lodash/_baseIndexOf.js +0 -20
- package/node_modules/lodash/_baseIndexOfWith.js +0 -23
- package/node_modules/lodash/_baseIntersection.js +0 -74
- package/node_modules/lodash/_baseInverter.js +0 -21
- package/node_modules/lodash/_baseInvoke.js +0 -24
- package/node_modules/lodash/_baseIsArguments.js +0 -18
- package/node_modules/lodash/_baseIsArrayBuffer.js +0 -17
- package/node_modules/lodash/_baseIsDate.js +0 -18
- package/node_modules/lodash/_baseIsEqual.js +0 -28
- package/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- package/node_modules/lodash/_baseIsMap.js +0 -18
- package/node_modules/lodash/_baseIsMatch.js +0 -62
- package/node_modules/lodash/_baseIsNaN.js +0 -12
- package/node_modules/lodash/_baseIsNative.js +0 -47
- package/node_modules/lodash/_baseIsRegExp.js +0 -18
- package/node_modules/lodash/_baseIsSet.js +0 -18
- package/node_modules/lodash/_baseIsTypedArray.js +0 -60
- package/node_modules/lodash/_baseIteratee.js +0 -31
- package/node_modules/lodash/_baseKeys.js +0 -30
- package/node_modules/lodash/_baseKeysIn.js +0 -33
- package/node_modules/lodash/_baseLodash.js +0 -10
- package/node_modules/lodash/_baseLt.js +0 -14
- package/node_modules/lodash/_baseMap.js +0 -22
- package/node_modules/lodash/_baseMatches.js +0 -22
- package/node_modules/lodash/_baseMatchesProperty.js +0 -33
- package/node_modules/lodash/_baseMean.js +0 -20
- package/node_modules/lodash/_baseMerge.js +0 -42
- package/node_modules/lodash/_baseMergeDeep.js +0 -94
- package/node_modules/lodash/_baseNth.js +0 -20
- package/node_modules/lodash/_baseOrderBy.js +0 -49
- package/node_modules/lodash/_basePick.js +0 -19
- package/node_modules/lodash/_basePickBy.js +0 -30
- package/node_modules/lodash/_baseProperty.js +0 -14
- package/node_modules/lodash/_basePropertyDeep.js +0 -16
- package/node_modules/lodash/_basePropertyOf.js +0 -14
- package/node_modules/lodash/_basePullAll.js +0 -51
- package/node_modules/lodash/_basePullAt.js +0 -37
- package/node_modules/lodash/_baseRandom.js +0 -18
- package/node_modules/lodash/_baseRange.js +0 -28
- package/node_modules/lodash/_baseReduce.js +0 -23
- package/node_modules/lodash/_baseRepeat.js +0 -35
- package/node_modules/lodash/_baseRest.js +0 -17
- package/node_modules/lodash/_baseSample.js +0 -15
- package/node_modules/lodash/_baseSampleSize.js +0 -18
- package/node_modules/lodash/_baseSet.js +0 -51
- package/node_modules/lodash/_baseSetData.js +0 -17
- package/node_modules/lodash/_baseSetToString.js +0 -22
- package/node_modules/lodash/_baseShuffle.js +0 -15
- package/node_modules/lodash/_baseSlice.js +0 -31
- package/node_modules/lodash/_baseSome.js +0 -22
- package/node_modules/lodash/_baseSortBy.js +0 -21
- package/node_modules/lodash/_baseSortedIndex.js +0 -42
- package/node_modules/lodash/_baseSortedIndexBy.js +0 -67
- package/node_modules/lodash/_baseSortedUniq.js +0 -30
- package/node_modules/lodash/_baseSum.js +0 -24
- package/node_modules/lodash/_baseTimes.js +0 -20
- package/node_modules/lodash/_baseToNumber.js +0 -24
- package/node_modules/lodash/_baseToPairs.js +0 -18
- package/node_modules/lodash/_baseToString.js +0 -37
- package/node_modules/lodash/_baseTrim.js +0 -19
- package/node_modules/lodash/_baseUnary.js +0 -14
- package/node_modules/lodash/_baseUniq.js +0 -72
- package/node_modules/lodash/_baseUnset.js +0 -52
- package/node_modules/lodash/_baseUpdate.js +0 -18
- package/node_modules/lodash/_baseValues.js +0 -19
- package/node_modules/lodash/_baseWhile.js +0 -26
- package/node_modules/lodash/_baseWrapperValue.js +0 -25
- package/node_modules/lodash/_baseXor.js +0 -36
- package/node_modules/lodash/_baseZipObject.js +0 -23
- package/node_modules/lodash/_cacheHas.js +0 -13
- package/node_modules/lodash/_castArrayLikeObject.js +0 -14
- package/node_modules/lodash/_castFunction.js +0 -14
- package/node_modules/lodash/_castPath.js +0 -21
- package/node_modules/lodash/_castRest.js +0 -14
- package/node_modules/lodash/_castSlice.js +0 -18
- package/node_modules/lodash/_charsEndIndex.js +0 -19
- package/node_modules/lodash/_charsStartIndex.js +0 -20
- package/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/node_modules/lodash/_cloneBuffer.js +0 -35
- package/node_modules/lodash/_cloneDataView.js +0 -16
- package/node_modules/lodash/_cloneRegExp.js +0 -17
- package/node_modules/lodash/_cloneSymbol.js +0 -18
- package/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/node_modules/lodash/_compareAscending.js +0 -41
- package/node_modules/lodash/_compareMultiple.js +0 -44
- package/node_modules/lodash/_composeArgs.js +0 -39
- package/node_modules/lodash/_composeArgsRight.js +0 -41
- package/node_modules/lodash/_copyArray.js +0 -20
- package/node_modules/lodash/_copyObject.js +0 -40
- package/node_modules/lodash/_copySymbols.js +0 -16
- package/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/node_modules/lodash/_coreJsData.js +0 -6
- package/node_modules/lodash/_countHolders.js +0 -21
- package/node_modules/lodash/_createAggregator.js +0 -23
- package/node_modules/lodash/_createAssigner.js +0 -37
- package/node_modules/lodash/_createBaseEach.js +0 -32
- package/node_modules/lodash/_createBaseFor.js +0 -25
- package/node_modules/lodash/_createBind.js +0 -28
- package/node_modules/lodash/_createCaseFirst.js +0 -33
- package/node_modules/lodash/_createCompounder.js +0 -24
- package/node_modules/lodash/_createCtor.js +0 -37
- package/node_modules/lodash/_createCurry.js +0 -46
- package/node_modules/lodash/_createFind.js +0 -25
- package/node_modules/lodash/_createFlow.js +0 -78
- package/node_modules/lodash/_createHybrid.js +0 -92
- package/node_modules/lodash/_createInverter.js +0 -17
- package/node_modules/lodash/_createMathOperation.js +0 -38
- package/node_modules/lodash/_createOver.js +0 -27
- package/node_modules/lodash/_createPadding.js +0 -33
- package/node_modules/lodash/_createPartial.js +0 -43
- package/node_modules/lodash/_createRange.js +0 -30
- package/node_modules/lodash/_createRecurry.js +0 -56
- package/node_modules/lodash/_createRelationalOperation.js +0 -20
- package/node_modules/lodash/_createRound.js +0 -35
- package/node_modules/lodash/_createSet.js +0 -19
- package/node_modules/lodash/_createToPairs.js +0 -30
- package/node_modules/lodash/_createWrap.js +0 -106
- package/node_modules/lodash/_customDefaultsAssignIn.js +0 -29
- package/node_modules/lodash/_customDefaultsMerge.js +0 -28
- package/node_modules/lodash/_customOmitClone.js +0 -16
- package/node_modules/lodash/_deburrLetter.js +0 -71
- package/node_modules/lodash/_defineProperty.js +0 -11
- package/node_modules/lodash/_equalArrays.js +0 -84
- package/node_modules/lodash/_equalByTag.js +0 -112
- package/node_modules/lodash/_equalObjects.js +0 -90
- package/node_modules/lodash/_escapeHtmlChar.js +0 -21
- package/node_modules/lodash/_escapeStringChar.js +0 -22
- package/node_modules/lodash/_flatRest.js +0 -16
- package/node_modules/lodash/_freeGlobal.js +0 -4
- package/node_modules/lodash/_getAllKeys.js +0 -16
- package/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/node_modules/lodash/_getData.js +0 -15
- package/node_modules/lodash/_getFuncName.js +0 -31
- package/node_modules/lodash/_getHolder.js +0 -13
- package/node_modules/lodash/_getMapData.js +0 -18
- package/node_modules/lodash/_getMatchData.js +0 -24
- package/node_modules/lodash/_getNative.js +0 -17
- package/node_modules/lodash/_getPrototype.js +0 -6
- package/node_modules/lodash/_getRawTag.js +0 -46
- package/node_modules/lodash/_getSymbols.js +0 -30
- package/node_modules/lodash/_getSymbolsIn.js +0 -25
- package/node_modules/lodash/_getTag.js +0 -58
- package/node_modules/lodash/_getValue.js +0 -13
- package/node_modules/lodash/_getView.js +0 -33
- package/node_modules/lodash/_getWrapDetails.js +0 -17
- package/node_modules/lodash/_hasPath.js +0 -39
- package/node_modules/lodash/_hasUnicode.js +0 -26
- package/node_modules/lodash/_hasUnicodeWord.js +0 -15
- package/node_modules/lodash/_hashClear.js +0 -15
- package/node_modules/lodash/_hashDelete.js +0 -17
- package/node_modules/lodash/_hashGet.js +0 -30
- package/node_modules/lodash/_hashHas.js +0 -23
- package/node_modules/lodash/_hashSet.js +0 -23
- package/node_modules/lodash/_initCloneArray.js +0 -26
- package/node_modules/lodash/_initCloneByTag.js +0 -77
- package/node_modules/lodash/_initCloneObject.js +0 -18
- package/node_modules/lodash/_insertWrapDetails.js +0 -23
- package/node_modules/lodash/_isFlattenable.js +0 -20
- package/node_modules/lodash/_isIndex.js +0 -25
- package/node_modules/lodash/_isIterateeCall.js +0 -30
- package/node_modules/lodash/_isKey.js +0 -29
- package/node_modules/lodash/_isKeyable.js +0 -15
- package/node_modules/lodash/_isLaziable.js +0 -28
- package/node_modules/lodash/_isMaskable.js +0 -14
- package/node_modules/lodash/_isMasked.js +0 -20
- package/node_modules/lodash/_isPrototype.js +0 -18
- package/node_modules/lodash/_isStrictComparable.js +0 -15
- package/node_modules/lodash/_iteratorToArray.js +0 -18
- package/node_modules/lodash/_lazyClone.js +0 -23
- package/node_modules/lodash/_lazyReverse.js +0 -23
- package/node_modules/lodash/_lazyValue.js +0 -69
- package/node_modules/lodash/_listCacheClear.js +0 -13
- package/node_modules/lodash/_listCacheDelete.js +0 -35
- package/node_modules/lodash/_listCacheGet.js +0 -19
- package/node_modules/lodash/_listCacheHas.js +0 -16
- package/node_modules/lodash/_listCacheSet.js +0 -26
- package/node_modules/lodash/_mapCacheClear.js +0 -21
- package/node_modules/lodash/_mapCacheDelete.js +0 -18
- package/node_modules/lodash/_mapCacheGet.js +0 -16
- package/node_modules/lodash/_mapCacheHas.js +0 -16
- package/node_modules/lodash/_mapCacheSet.js +0 -22
- package/node_modules/lodash/_mapToArray.js +0 -18
- package/node_modules/lodash/_matchesStrictComparable.js +0 -20
- package/node_modules/lodash/_memoizeCapped.js +0 -26
- package/node_modules/lodash/_mergeData.js +0 -90
- package/node_modules/lodash/_metaMap.js +0 -6
- package/node_modules/lodash/_nativeCreate.js +0 -6
- package/node_modules/lodash/_nativeKeys.js +0 -6
- package/node_modules/lodash/_nativeKeysIn.js +0 -20
- package/node_modules/lodash/_nodeUtil.js +0 -30
- package/node_modules/lodash/_objectToString.js +0 -22
- package/node_modules/lodash/_overArg.js +0 -15
- package/node_modules/lodash/_overRest.js +0 -36
- package/node_modules/lodash/_parent.js +0 -16
- package/node_modules/lodash/_reEscape.js +0 -4
- package/node_modules/lodash/_reEvaluate.js +0 -4
- package/node_modules/lodash/_reInterpolate.js +0 -4
- package/node_modules/lodash/_realNames.js +0 -4
- package/node_modules/lodash/_reorder.js +0 -29
- package/node_modules/lodash/_replaceHolders.js +0 -29
- package/node_modules/lodash/_root.js +0 -9
- package/node_modules/lodash/_safeGet.js +0 -21
- package/node_modules/lodash/_setCacheAdd.js +0 -19
- package/node_modules/lodash/_setCacheHas.js +0 -14
- package/node_modules/lodash/_setData.js +0 -20
- package/node_modules/lodash/_setToArray.js +0 -18
- package/node_modules/lodash/_setToPairs.js +0 -18
- package/node_modules/lodash/_setToString.js +0 -14
- package/node_modules/lodash/_setWrapToString.js +0 -21
- package/node_modules/lodash/_shortOut.js +0 -37
- package/node_modules/lodash/_shuffleSelf.js +0 -28
- package/node_modules/lodash/_stackClear.js +0 -15
- package/node_modules/lodash/_stackDelete.js +0 -18
- package/node_modules/lodash/_stackGet.js +0 -14
- package/node_modules/lodash/_stackHas.js +0 -14
- package/node_modules/lodash/_stackSet.js +0 -34
- package/node_modules/lodash/_strictIndexOf.js +0 -23
- package/node_modules/lodash/_strictLastIndexOf.js +0 -21
- package/node_modules/lodash/_stringSize.js +0 -18
- package/node_modules/lodash/_stringToArray.js +0 -18
- package/node_modules/lodash/_stringToPath.js +0 -27
- package/node_modules/lodash/_toKey.js +0 -21
- package/node_modules/lodash/_toSource.js +0 -26
- package/node_modules/lodash/_trimmedEndIndex.js +0 -19
- package/node_modules/lodash/_unescapeHtmlChar.js +0 -21
- package/node_modules/lodash/_unicodeSize.js +0 -44
- package/node_modules/lodash/_unicodeToArray.js +0 -40
- package/node_modules/lodash/_unicodeWords.js +0 -69
- package/node_modules/lodash/_updateWrapDetails.js +0 -46
- package/node_modules/lodash/_wrapperClone.js +0 -23
- package/node_modules/lodash/add.js +0 -22
- package/node_modules/lodash/after.js +0 -42
- package/node_modules/lodash/array.js +0 -67
- package/node_modules/lodash/ary.js +0 -29
- package/node_modules/lodash/assign.js +0 -58
- package/node_modules/lodash/assignIn.js +0 -40
- package/node_modules/lodash/assignInWith.js +0 -38
- package/node_modules/lodash/assignWith.js +0 -37
- package/node_modules/lodash/at.js +0 -23
- package/node_modules/lodash/attempt.js +0 -35
- package/node_modules/lodash/before.js +0 -40
- package/node_modules/lodash/bind.js +0 -57
- package/node_modules/lodash/bindAll.js +0 -41
- package/node_modules/lodash/bindKey.js +0 -68
- package/node_modules/lodash/camelCase.js +0 -29
- package/node_modules/lodash/capitalize.js +0 -23
- package/node_modules/lodash/castArray.js +0 -44
- package/node_modules/lodash/ceil.js +0 -26
- package/node_modules/lodash/chain.js +0 -38
- package/node_modules/lodash/chunk.js +0 -50
- package/node_modules/lodash/clamp.js +0 -39
- package/node_modules/lodash/clone.js +0 -36
- package/node_modules/lodash/cloneDeep.js +0 -29
- package/node_modules/lodash/cloneDeepWith.js +0 -40
- package/node_modules/lodash/cloneWith.js +0 -42
- package/node_modules/lodash/collection.js +0 -30
- package/node_modules/lodash/commit.js +0 -33
- package/node_modules/lodash/compact.js +0 -31
- package/node_modules/lodash/concat.js +0 -43
- package/node_modules/lodash/cond.js +0 -60
- package/node_modules/lodash/conforms.js +0 -35
- package/node_modules/lodash/conformsTo.js +0 -32
- package/node_modules/lodash/constant.js +0 -26
- package/node_modules/lodash/core.js +0 -3877
- package/node_modules/lodash/core.min.js +0 -30
- package/node_modules/lodash/countBy.js +0 -40
- package/node_modules/lodash/create.js +0 -43
- package/node_modules/lodash/curry.js +0 -57
- package/node_modules/lodash/curryRight.js +0 -54
- package/node_modules/lodash/date.js +0 -3
- package/node_modules/lodash/debounce.js +0 -191
- package/node_modules/lodash/deburr.js +0 -45
- package/node_modules/lodash/defaultTo.js +0 -25
- package/node_modules/lodash/defaults.js +0 -64
- package/node_modules/lodash/defaultsDeep.js +0 -30
- package/node_modules/lodash/defer.js +0 -26
- package/node_modules/lodash/delay.js +0 -28
- package/node_modules/lodash/difference.js +0 -33
- package/node_modules/lodash/differenceBy.js +0 -44
- package/node_modules/lodash/differenceWith.js +0 -40
- package/node_modules/lodash/divide.js +0 -22
- package/node_modules/lodash/drop.js +0 -38
- package/node_modules/lodash/dropRight.js +0 -39
- package/node_modules/lodash/dropRightWhile.js +0 -45
- package/node_modules/lodash/dropWhile.js +0 -45
- package/node_modules/lodash/each.js +0 -1
- package/node_modules/lodash/eachRight.js +0 -1
- package/node_modules/lodash/endsWith.js +0 -43
- package/node_modules/lodash/entries.js +0 -1
- package/node_modules/lodash/entriesIn.js +0 -1
- package/node_modules/lodash/eq.js +0 -37
- package/node_modules/lodash/escape.js +0 -43
- package/node_modules/lodash/escapeRegExp.js +0 -32
- package/node_modules/lodash/every.js +0 -56
- package/node_modules/lodash/extend.js +0 -1
- package/node_modules/lodash/extendWith.js +0 -1
- package/node_modules/lodash/fill.js +0 -45
- package/node_modules/lodash/filter.js +0 -52
- package/node_modules/lodash/find.js +0 -42
- package/node_modules/lodash/findIndex.js +0 -55
- package/node_modules/lodash/findKey.js +0 -44
- package/node_modules/lodash/findLast.js +0 -25
- package/node_modules/lodash/findLastIndex.js +0 -59
- package/node_modules/lodash/findLastKey.js +0 -44
- package/node_modules/lodash/first.js +0 -1
- package/node_modules/lodash/flatMap.js +0 -29
- package/node_modules/lodash/flatMapDeep.js +0 -31
- package/node_modules/lodash/flatMapDepth.js +0 -31
- package/node_modules/lodash/flatten.js +0 -22
- package/node_modules/lodash/flattenDeep.js +0 -25
- package/node_modules/lodash/flattenDepth.js +0 -33
- package/node_modules/lodash/flip.js +0 -28
- package/node_modules/lodash/floor.js +0 -26
- package/node_modules/lodash/flow.js +0 -27
- package/node_modules/lodash/flowRight.js +0 -26
- package/node_modules/lodash/forEach.js +0 -41
- package/node_modules/lodash/forEachRight.js +0 -31
- package/node_modules/lodash/forIn.js +0 -39
- package/node_modules/lodash/forInRight.js +0 -37
- package/node_modules/lodash/forOwn.js +0 -36
- package/node_modules/lodash/forOwnRight.js +0 -34
- package/node_modules/lodash/fp/F.js +0 -1
- package/node_modules/lodash/fp/T.js +0 -1
- package/node_modules/lodash/fp/__.js +0 -1
- package/node_modules/lodash/fp/_baseConvert.js +0 -569
- package/node_modules/lodash/fp/_convertBrowser.js +0 -18
- package/node_modules/lodash/fp/_falseOptions.js +0 -7
- package/node_modules/lodash/fp/_mapping.js +0 -358
- package/node_modules/lodash/fp/_util.js +0 -16
- package/node_modules/lodash/fp/add.js +0 -5
- package/node_modules/lodash/fp/after.js +0 -5
- package/node_modules/lodash/fp/all.js +0 -1
- package/node_modules/lodash/fp/allPass.js +0 -1
- package/node_modules/lodash/fp/always.js +0 -1
- package/node_modules/lodash/fp/any.js +0 -1
- package/node_modules/lodash/fp/anyPass.js +0 -1
- package/node_modules/lodash/fp/apply.js +0 -1
- package/node_modules/lodash/fp/array.js +0 -2
- package/node_modules/lodash/fp/ary.js +0 -5
- package/node_modules/lodash/fp/assign.js +0 -5
- package/node_modules/lodash/fp/assignAll.js +0 -5
- package/node_modules/lodash/fp/assignAllWith.js +0 -5
- package/node_modules/lodash/fp/assignIn.js +0 -5
- package/node_modules/lodash/fp/assignInAll.js +0 -5
- package/node_modules/lodash/fp/assignInAllWith.js +0 -5
- package/node_modules/lodash/fp/assignInWith.js +0 -5
- package/node_modules/lodash/fp/assignWith.js +0 -5
- package/node_modules/lodash/fp/assoc.js +0 -1
- package/node_modules/lodash/fp/assocPath.js +0 -1
- package/node_modules/lodash/fp/at.js +0 -5
- package/node_modules/lodash/fp/attempt.js +0 -5
- package/node_modules/lodash/fp/before.js +0 -5
- package/node_modules/lodash/fp/bind.js +0 -5
- package/node_modules/lodash/fp/bindAll.js +0 -5
- package/node_modules/lodash/fp/bindKey.js +0 -5
- package/node_modules/lodash/fp/camelCase.js +0 -5
- package/node_modules/lodash/fp/capitalize.js +0 -5
- package/node_modules/lodash/fp/castArray.js +0 -5
- package/node_modules/lodash/fp/ceil.js +0 -5
- package/node_modules/lodash/fp/chain.js +0 -5
- package/node_modules/lodash/fp/chunk.js +0 -5
- package/node_modules/lodash/fp/clamp.js +0 -5
- package/node_modules/lodash/fp/clone.js +0 -5
- package/node_modules/lodash/fp/cloneDeep.js +0 -5
- package/node_modules/lodash/fp/cloneDeepWith.js +0 -5
- package/node_modules/lodash/fp/cloneWith.js +0 -5
- package/node_modules/lodash/fp/collection.js +0 -2
- package/node_modules/lodash/fp/commit.js +0 -5
- package/node_modules/lodash/fp/compact.js +0 -5
- package/node_modules/lodash/fp/complement.js +0 -1
- package/node_modules/lodash/fp/compose.js +0 -1
- package/node_modules/lodash/fp/concat.js +0 -5
- package/node_modules/lodash/fp/cond.js +0 -5
- package/node_modules/lodash/fp/conforms.js +0 -1
- package/node_modules/lodash/fp/conformsTo.js +0 -5
- package/node_modules/lodash/fp/constant.js +0 -5
- package/node_modules/lodash/fp/contains.js +0 -1
- package/node_modules/lodash/fp/convert.js +0 -18
- package/node_modules/lodash/fp/countBy.js +0 -5
- package/node_modules/lodash/fp/create.js +0 -5
- package/node_modules/lodash/fp/curry.js +0 -5
- package/node_modules/lodash/fp/curryN.js +0 -5
- package/node_modules/lodash/fp/curryRight.js +0 -5
- package/node_modules/lodash/fp/curryRightN.js +0 -5
- package/node_modules/lodash/fp/date.js +0 -2
- package/node_modules/lodash/fp/debounce.js +0 -5
- package/node_modules/lodash/fp/deburr.js +0 -5
- package/node_modules/lodash/fp/defaultTo.js +0 -5
- package/node_modules/lodash/fp/defaults.js +0 -5
- package/node_modules/lodash/fp/defaultsAll.js +0 -5
- package/node_modules/lodash/fp/defaultsDeep.js +0 -5
- package/node_modules/lodash/fp/defaultsDeepAll.js +0 -5
- package/node_modules/lodash/fp/defer.js +0 -5
- package/node_modules/lodash/fp/delay.js +0 -5
- package/node_modules/lodash/fp/difference.js +0 -5
- package/node_modules/lodash/fp/differenceBy.js +0 -5
- package/node_modules/lodash/fp/differenceWith.js +0 -5
- package/node_modules/lodash/fp/dissoc.js +0 -1
- package/node_modules/lodash/fp/dissocPath.js +0 -1
- package/node_modules/lodash/fp/divide.js +0 -5
- package/node_modules/lodash/fp/drop.js +0 -5
- package/node_modules/lodash/fp/dropLast.js +0 -1
- package/node_modules/lodash/fp/dropLastWhile.js +0 -1
- package/node_modules/lodash/fp/dropRight.js +0 -5
- package/node_modules/lodash/fp/dropRightWhile.js +0 -5
- package/node_modules/lodash/fp/dropWhile.js +0 -5
- package/node_modules/lodash/fp/each.js +0 -1
- package/node_modules/lodash/fp/eachRight.js +0 -1
- package/node_modules/lodash/fp/endsWith.js +0 -5
- package/node_modules/lodash/fp/entries.js +0 -1
- package/node_modules/lodash/fp/entriesIn.js +0 -1
- package/node_modules/lodash/fp/eq.js +0 -5
- package/node_modules/lodash/fp/equals.js +0 -1
- package/node_modules/lodash/fp/escape.js +0 -5
- package/node_modules/lodash/fp/escapeRegExp.js +0 -5
- package/node_modules/lodash/fp/every.js +0 -5
- package/node_modules/lodash/fp/extend.js +0 -1
- package/node_modules/lodash/fp/extendAll.js +0 -1
- package/node_modules/lodash/fp/extendAllWith.js +0 -1
- package/node_modules/lodash/fp/extendWith.js +0 -1
- package/node_modules/lodash/fp/fill.js +0 -5
- package/node_modules/lodash/fp/filter.js +0 -5
- package/node_modules/lodash/fp/find.js +0 -5
- package/node_modules/lodash/fp/findFrom.js +0 -5
- package/node_modules/lodash/fp/findIndex.js +0 -5
- package/node_modules/lodash/fp/findIndexFrom.js +0 -5
- package/node_modules/lodash/fp/findKey.js +0 -5
- package/node_modules/lodash/fp/findLast.js +0 -5
- package/node_modules/lodash/fp/findLastFrom.js +0 -5
- package/node_modules/lodash/fp/findLastIndex.js +0 -5
- package/node_modules/lodash/fp/findLastIndexFrom.js +0 -5
- package/node_modules/lodash/fp/findLastKey.js +0 -5
- package/node_modules/lodash/fp/first.js +0 -1
- package/node_modules/lodash/fp/flatMap.js +0 -5
- package/node_modules/lodash/fp/flatMapDeep.js +0 -5
- package/node_modules/lodash/fp/flatMapDepth.js +0 -5
- package/node_modules/lodash/fp/flatten.js +0 -5
- package/node_modules/lodash/fp/flattenDeep.js +0 -5
- package/node_modules/lodash/fp/flattenDepth.js +0 -5
- package/node_modules/lodash/fp/flip.js +0 -5
- package/node_modules/lodash/fp/floor.js +0 -5
- package/node_modules/lodash/fp/flow.js +0 -5
- package/node_modules/lodash/fp/flowRight.js +0 -5
- package/node_modules/lodash/fp/forEach.js +0 -5
- package/node_modules/lodash/fp/forEachRight.js +0 -5
- package/node_modules/lodash/fp/forIn.js +0 -5
- package/node_modules/lodash/fp/forInRight.js +0 -5
- package/node_modules/lodash/fp/forOwn.js +0 -5
- package/node_modules/lodash/fp/forOwnRight.js +0 -5
- package/node_modules/lodash/fp/fromPairs.js +0 -5
- package/node_modules/lodash/fp/function.js +0 -2
- package/node_modules/lodash/fp/functions.js +0 -5
- package/node_modules/lodash/fp/functionsIn.js +0 -5
- package/node_modules/lodash/fp/get.js +0 -5
- package/node_modules/lodash/fp/getOr.js +0 -5
- package/node_modules/lodash/fp/groupBy.js +0 -5
- package/node_modules/lodash/fp/gt.js +0 -5
- package/node_modules/lodash/fp/gte.js +0 -5
- package/node_modules/lodash/fp/has.js +0 -5
- package/node_modules/lodash/fp/hasIn.js +0 -5
- package/node_modules/lodash/fp/head.js +0 -5
- package/node_modules/lodash/fp/identical.js +0 -1
- package/node_modules/lodash/fp/identity.js +0 -5
- package/node_modules/lodash/fp/inRange.js +0 -5
- package/node_modules/lodash/fp/includes.js +0 -5
- package/node_modules/lodash/fp/includesFrom.js +0 -5
- package/node_modules/lodash/fp/indexBy.js +0 -1
- package/node_modules/lodash/fp/indexOf.js +0 -5
- package/node_modules/lodash/fp/indexOfFrom.js +0 -5
- package/node_modules/lodash/fp/init.js +0 -1
- package/node_modules/lodash/fp/initial.js +0 -5
- package/node_modules/lodash/fp/intersection.js +0 -5
- package/node_modules/lodash/fp/intersectionBy.js +0 -5
- package/node_modules/lodash/fp/intersectionWith.js +0 -5
- package/node_modules/lodash/fp/invert.js +0 -5
- package/node_modules/lodash/fp/invertBy.js +0 -5
- package/node_modules/lodash/fp/invertObj.js +0 -1
- package/node_modules/lodash/fp/invoke.js +0 -5
- package/node_modules/lodash/fp/invokeArgs.js +0 -5
- package/node_modules/lodash/fp/invokeArgsMap.js +0 -5
- package/node_modules/lodash/fp/invokeMap.js +0 -5
- package/node_modules/lodash/fp/isArguments.js +0 -5
- package/node_modules/lodash/fp/isArray.js +0 -5
- package/node_modules/lodash/fp/isArrayBuffer.js +0 -5
- package/node_modules/lodash/fp/isArrayLike.js +0 -5
- package/node_modules/lodash/fp/isArrayLikeObject.js +0 -5
- package/node_modules/lodash/fp/isBoolean.js +0 -5
- package/node_modules/lodash/fp/isBuffer.js +0 -5
- package/node_modules/lodash/fp/isDate.js +0 -5
- package/node_modules/lodash/fp/isElement.js +0 -5
- package/node_modules/lodash/fp/isEmpty.js +0 -5
- package/node_modules/lodash/fp/isEqual.js +0 -5
- package/node_modules/lodash/fp/isEqualWith.js +0 -5
- package/node_modules/lodash/fp/isError.js +0 -5
- package/node_modules/lodash/fp/isFinite.js +0 -5
- package/node_modules/lodash/fp/isFunction.js +0 -5
- package/node_modules/lodash/fp/isInteger.js +0 -5
- package/node_modules/lodash/fp/isLength.js +0 -5
- package/node_modules/lodash/fp/isMap.js +0 -5
- package/node_modules/lodash/fp/isMatch.js +0 -5
- package/node_modules/lodash/fp/isMatchWith.js +0 -5
- package/node_modules/lodash/fp/isNaN.js +0 -5
- package/node_modules/lodash/fp/isNative.js +0 -5
- package/node_modules/lodash/fp/isNil.js +0 -5
- package/node_modules/lodash/fp/isNull.js +0 -5
- package/node_modules/lodash/fp/isNumber.js +0 -5
- package/node_modules/lodash/fp/isObject.js +0 -5
- package/node_modules/lodash/fp/isObjectLike.js +0 -5
- package/node_modules/lodash/fp/isPlainObject.js +0 -5
- package/node_modules/lodash/fp/isRegExp.js +0 -5
- package/node_modules/lodash/fp/isSafeInteger.js +0 -5
- package/node_modules/lodash/fp/isSet.js +0 -5
- package/node_modules/lodash/fp/isString.js +0 -5
- package/node_modules/lodash/fp/isSymbol.js +0 -5
- package/node_modules/lodash/fp/isTypedArray.js +0 -5
- package/node_modules/lodash/fp/isUndefined.js +0 -5
- package/node_modules/lodash/fp/isWeakMap.js +0 -5
- package/node_modules/lodash/fp/isWeakSet.js +0 -5
- package/node_modules/lodash/fp/iteratee.js +0 -5
- package/node_modules/lodash/fp/join.js +0 -5
- package/node_modules/lodash/fp/juxt.js +0 -1
- package/node_modules/lodash/fp/kebabCase.js +0 -5
- package/node_modules/lodash/fp/keyBy.js +0 -5
- package/node_modules/lodash/fp/keys.js +0 -5
- package/node_modules/lodash/fp/keysIn.js +0 -5
- package/node_modules/lodash/fp/lang.js +0 -2
- package/node_modules/lodash/fp/last.js +0 -5
- package/node_modules/lodash/fp/lastIndexOf.js +0 -5
- package/node_modules/lodash/fp/lastIndexOfFrom.js +0 -5
- package/node_modules/lodash/fp/lowerCase.js +0 -5
- package/node_modules/lodash/fp/lowerFirst.js +0 -5
- package/node_modules/lodash/fp/lt.js +0 -5
- package/node_modules/lodash/fp/lte.js +0 -5
- package/node_modules/lodash/fp/map.js +0 -5
- package/node_modules/lodash/fp/mapKeys.js +0 -5
- package/node_modules/lodash/fp/mapValues.js +0 -5
- package/node_modules/lodash/fp/matches.js +0 -1
- package/node_modules/lodash/fp/matchesProperty.js +0 -5
- package/node_modules/lodash/fp/math.js +0 -2
- package/node_modules/lodash/fp/max.js +0 -5
- package/node_modules/lodash/fp/maxBy.js +0 -5
- package/node_modules/lodash/fp/mean.js +0 -5
- package/node_modules/lodash/fp/meanBy.js +0 -5
- package/node_modules/lodash/fp/memoize.js +0 -5
- package/node_modules/lodash/fp/merge.js +0 -5
- package/node_modules/lodash/fp/mergeAll.js +0 -5
- package/node_modules/lodash/fp/mergeAllWith.js +0 -5
- package/node_modules/lodash/fp/mergeWith.js +0 -5
- package/node_modules/lodash/fp/method.js +0 -5
- package/node_modules/lodash/fp/methodOf.js +0 -5
- package/node_modules/lodash/fp/min.js +0 -5
- package/node_modules/lodash/fp/minBy.js +0 -5
- package/node_modules/lodash/fp/mixin.js +0 -5
- package/node_modules/lodash/fp/multiply.js +0 -5
- package/node_modules/lodash/fp/nAry.js +0 -1
- package/node_modules/lodash/fp/negate.js +0 -5
- package/node_modules/lodash/fp/next.js +0 -5
- package/node_modules/lodash/fp/noop.js +0 -5
- package/node_modules/lodash/fp/now.js +0 -5
- package/node_modules/lodash/fp/nth.js +0 -5
- package/node_modules/lodash/fp/nthArg.js +0 -5
- package/node_modules/lodash/fp/number.js +0 -2
- package/node_modules/lodash/fp/object.js +0 -2
- package/node_modules/lodash/fp/omit.js +0 -5
- package/node_modules/lodash/fp/omitAll.js +0 -1
- package/node_modules/lodash/fp/omitBy.js +0 -5
- package/node_modules/lodash/fp/once.js +0 -5
- package/node_modules/lodash/fp/orderBy.js +0 -5
- package/node_modules/lodash/fp/over.js +0 -5
- package/node_modules/lodash/fp/overArgs.js +0 -5
- package/node_modules/lodash/fp/overEvery.js +0 -5
- package/node_modules/lodash/fp/overSome.js +0 -5
- package/node_modules/lodash/fp/pad.js +0 -5
- package/node_modules/lodash/fp/padChars.js +0 -5
- package/node_modules/lodash/fp/padCharsEnd.js +0 -5
- package/node_modules/lodash/fp/padCharsStart.js +0 -5
- package/node_modules/lodash/fp/padEnd.js +0 -5
- package/node_modules/lodash/fp/padStart.js +0 -5
- package/node_modules/lodash/fp/parseInt.js +0 -5
- package/node_modules/lodash/fp/partial.js +0 -5
- package/node_modules/lodash/fp/partialRight.js +0 -5
- package/node_modules/lodash/fp/partition.js +0 -5
- package/node_modules/lodash/fp/path.js +0 -1
- package/node_modules/lodash/fp/pathEq.js +0 -1
- package/node_modules/lodash/fp/pathOr.js +0 -1
- package/node_modules/lodash/fp/paths.js +0 -1
- package/node_modules/lodash/fp/pick.js +0 -5
- package/node_modules/lodash/fp/pickAll.js +0 -1
- package/node_modules/lodash/fp/pickBy.js +0 -5
- package/node_modules/lodash/fp/pipe.js +0 -1
- package/node_modules/lodash/fp/placeholder.js +0 -6
- package/node_modules/lodash/fp/plant.js +0 -5
- package/node_modules/lodash/fp/pluck.js +0 -1
- package/node_modules/lodash/fp/prop.js +0 -1
- package/node_modules/lodash/fp/propEq.js +0 -1
- package/node_modules/lodash/fp/propOr.js +0 -1
- package/node_modules/lodash/fp/property.js +0 -1
- package/node_modules/lodash/fp/propertyOf.js +0 -5
- package/node_modules/lodash/fp/props.js +0 -1
- package/node_modules/lodash/fp/pull.js +0 -5
- package/node_modules/lodash/fp/pullAll.js +0 -5
- package/node_modules/lodash/fp/pullAllBy.js +0 -5
- package/node_modules/lodash/fp/pullAllWith.js +0 -5
- package/node_modules/lodash/fp/pullAt.js +0 -5
- package/node_modules/lodash/fp/random.js +0 -5
- package/node_modules/lodash/fp/range.js +0 -5
- package/node_modules/lodash/fp/rangeRight.js +0 -5
- package/node_modules/lodash/fp/rangeStep.js +0 -5
- package/node_modules/lodash/fp/rangeStepRight.js +0 -5
- package/node_modules/lodash/fp/rearg.js +0 -5
- package/node_modules/lodash/fp/reduce.js +0 -5
- package/node_modules/lodash/fp/reduceRight.js +0 -5
- package/node_modules/lodash/fp/reject.js +0 -5
- package/node_modules/lodash/fp/remove.js +0 -5
- package/node_modules/lodash/fp/repeat.js +0 -5
- package/node_modules/lodash/fp/replace.js +0 -5
- package/node_modules/lodash/fp/rest.js +0 -5
- package/node_modules/lodash/fp/restFrom.js +0 -5
- package/node_modules/lodash/fp/result.js +0 -5
- package/node_modules/lodash/fp/reverse.js +0 -5
- package/node_modules/lodash/fp/round.js +0 -5
- package/node_modules/lodash/fp/sample.js +0 -5
- package/node_modules/lodash/fp/sampleSize.js +0 -5
- package/node_modules/lodash/fp/seq.js +0 -2
- package/node_modules/lodash/fp/set.js +0 -5
- package/node_modules/lodash/fp/setWith.js +0 -5
- package/node_modules/lodash/fp/shuffle.js +0 -5
- package/node_modules/lodash/fp/size.js +0 -5
- package/node_modules/lodash/fp/slice.js +0 -5
- package/node_modules/lodash/fp/snakeCase.js +0 -5
- package/node_modules/lodash/fp/some.js +0 -5
- package/node_modules/lodash/fp/sortBy.js +0 -5
- package/node_modules/lodash/fp/sortedIndex.js +0 -5
- package/node_modules/lodash/fp/sortedIndexBy.js +0 -5
- package/node_modules/lodash/fp/sortedIndexOf.js +0 -5
- package/node_modules/lodash/fp/sortedLastIndex.js +0 -5
- package/node_modules/lodash/fp/sortedLastIndexBy.js +0 -5
- package/node_modules/lodash/fp/sortedLastIndexOf.js +0 -5
- package/node_modules/lodash/fp/sortedUniq.js +0 -5
- package/node_modules/lodash/fp/sortedUniqBy.js +0 -5
- package/node_modules/lodash/fp/split.js +0 -5
- package/node_modules/lodash/fp/spread.js +0 -5
- package/node_modules/lodash/fp/spreadFrom.js +0 -5
- package/node_modules/lodash/fp/startCase.js +0 -5
- package/node_modules/lodash/fp/startsWith.js +0 -5
- package/node_modules/lodash/fp/string.js +0 -2
- package/node_modules/lodash/fp/stubArray.js +0 -5
- package/node_modules/lodash/fp/stubFalse.js +0 -5
- package/node_modules/lodash/fp/stubObject.js +0 -5
- package/node_modules/lodash/fp/stubString.js +0 -5
- package/node_modules/lodash/fp/stubTrue.js +0 -5
- package/node_modules/lodash/fp/subtract.js +0 -5
- package/node_modules/lodash/fp/sum.js +0 -5
- package/node_modules/lodash/fp/sumBy.js +0 -5
- package/node_modules/lodash/fp/symmetricDifference.js +0 -1
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +0 -1
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +0 -1
- package/node_modules/lodash/fp/tail.js +0 -5
- package/node_modules/lodash/fp/take.js +0 -5
- package/node_modules/lodash/fp/takeLast.js +0 -1
- package/node_modules/lodash/fp/takeLastWhile.js +0 -1
- package/node_modules/lodash/fp/takeRight.js +0 -5
- package/node_modules/lodash/fp/takeRightWhile.js +0 -5
- package/node_modules/lodash/fp/takeWhile.js +0 -5
- package/node_modules/lodash/fp/tap.js +0 -5
- package/node_modules/lodash/fp/template.js +0 -5
- package/node_modules/lodash/fp/templateSettings.js +0 -5
- package/node_modules/lodash/fp/throttle.js +0 -5
- package/node_modules/lodash/fp/thru.js +0 -5
- package/node_modules/lodash/fp/times.js +0 -5
- package/node_modules/lodash/fp/toArray.js +0 -5
- package/node_modules/lodash/fp/toFinite.js +0 -5
- package/node_modules/lodash/fp/toInteger.js +0 -5
- package/node_modules/lodash/fp/toIterator.js +0 -5
- package/node_modules/lodash/fp/toJSON.js +0 -5
- package/node_modules/lodash/fp/toLength.js +0 -5
- package/node_modules/lodash/fp/toLower.js +0 -5
- package/node_modules/lodash/fp/toNumber.js +0 -5
- package/node_modules/lodash/fp/toPairs.js +0 -5
- package/node_modules/lodash/fp/toPairsIn.js +0 -5
- package/node_modules/lodash/fp/toPath.js +0 -5
- package/node_modules/lodash/fp/toPlainObject.js +0 -5
- package/node_modules/lodash/fp/toSafeInteger.js +0 -5
- package/node_modules/lodash/fp/toString.js +0 -5
- package/node_modules/lodash/fp/toUpper.js +0 -5
- package/node_modules/lodash/fp/transform.js +0 -5
- package/node_modules/lodash/fp/trim.js +0 -5
- package/node_modules/lodash/fp/trimChars.js +0 -5
- package/node_modules/lodash/fp/trimCharsEnd.js +0 -5
- package/node_modules/lodash/fp/trimCharsStart.js +0 -5
- package/node_modules/lodash/fp/trimEnd.js +0 -5
- package/node_modules/lodash/fp/trimStart.js +0 -5
- package/node_modules/lodash/fp/truncate.js +0 -5
- package/node_modules/lodash/fp/unapply.js +0 -1
- package/node_modules/lodash/fp/unary.js +0 -5
- package/node_modules/lodash/fp/unescape.js +0 -5
- package/node_modules/lodash/fp/union.js +0 -5
- package/node_modules/lodash/fp/unionBy.js +0 -5
- package/node_modules/lodash/fp/unionWith.js +0 -5
- package/node_modules/lodash/fp/uniq.js +0 -5
- package/node_modules/lodash/fp/uniqBy.js +0 -5
- package/node_modules/lodash/fp/uniqWith.js +0 -5
- package/node_modules/lodash/fp/uniqueId.js +0 -5
- package/node_modules/lodash/fp/unnest.js +0 -1
- package/node_modules/lodash/fp/unset.js +0 -5
- package/node_modules/lodash/fp/unzip.js +0 -5
- package/node_modules/lodash/fp/unzipWith.js +0 -5
- package/node_modules/lodash/fp/update.js +0 -5
- package/node_modules/lodash/fp/updateWith.js +0 -5
- package/node_modules/lodash/fp/upperCase.js +0 -5
- package/node_modules/lodash/fp/upperFirst.js +0 -5
- package/node_modules/lodash/fp/useWith.js +0 -1
- package/node_modules/lodash/fp/util.js +0 -2
- package/node_modules/lodash/fp/value.js +0 -5
- package/node_modules/lodash/fp/valueOf.js +0 -5
- package/node_modules/lodash/fp/values.js +0 -5
- package/node_modules/lodash/fp/valuesIn.js +0 -5
- package/node_modules/lodash/fp/where.js +0 -1
- package/node_modules/lodash/fp/whereEq.js +0 -1
- package/node_modules/lodash/fp/without.js +0 -5
- package/node_modules/lodash/fp/words.js +0 -5
- package/node_modules/lodash/fp/wrap.js +0 -5
- package/node_modules/lodash/fp/wrapperAt.js +0 -5
- package/node_modules/lodash/fp/wrapperChain.js +0 -5
- package/node_modules/lodash/fp/wrapperLodash.js +0 -5
- package/node_modules/lodash/fp/wrapperReverse.js +0 -5
- package/node_modules/lodash/fp/wrapperValue.js +0 -5
- package/node_modules/lodash/fp/xor.js +0 -5
- package/node_modules/lodash/fp/xorBy.js +0 -5
- package/node_modules/lodash/fp/xorWith.js +0 -5
- package/node_modules/lodash/fp/zip.js +0 -5
- package/node_modules/lodash/fp/zipAll.js +0 -5
- package/node_modules/lodash/fp/zipObj.js +0 -1
- package/node_modules/lodash/fp/zipObject.js +0 -5
- package/node_modules/lodash/fp/zipObjectDeep.js +0 -5
- package/node_modules/lodash/fp/zipWith.js +0 -5
- package/node_modules/lodash/fp.js +0 -2
- package/node_modules/lodash/fromPairs.js +0 -30
- package/node_modules/lodash/function.js +0 -25
- package/node_modules/lodash/functions.js +0 -31
- package/node_modules/lodash/functionsIn.js +0 -31
- package/node_modules/lodash/get.js +0 -33
- package/node_modules/lodash/groupBy.js +0 -41
- package/node_modules/lodash/gt.js +0 -29
- package/node_modules/lodash/gte.js +0 -30
- package/node_modules/lodash/has.js +0 -35
- package/node_modules/lodash/hasIn.js +0 -34
- package/node_modules/lodash/head.js +0 -23
- package/node_modules/lodash/identity.js +0 -21
- package/node_modules/lodash/inRange.js +0 -55
- package/node_modules/lodash/includes.js +0 -53
- package/node_modules/lodash/index.js +0 -1
- package/node_modules/lodash/indexOf.js +0 -42
- package/node_modules/lodash/initial.js +0 -22
- package/node_modules/lodash/intersection.js +0 -30
- package/node_modules/lodash/intersectionBy.js +0 -45
- package/node_modules/lodash/intersectionWith.js +0 -41
- package/node_modules/lodash/invert.js +0 -42
- package/node_modules/lodash/invertBy.js +0 -56
- package/node_modules/lodash/invoke.js +0 -24
- package/node_modules/lodash/invokeMap.js +0 -41
- package/node_modules/lodash/isArguments.js +0 -36
- package/node_modules/lodash/isArray.js +0 -26
- package/node_modules/lodash/isArrayBuffer.js +0 -27
- package/node_modules/lodash/isArrayLike.js +0 -33
- package/node_modules/lodash/isArrayLikeObject.js +0 -33
- package/node_modules/lodash/isBoolean.js +0 -29
- package/node_modules/lodash/isBuffer.js +0 -38
- package/node_modules/lodash/isDate.js +0 -27
- package/node_modules/lodash/isElement.js +0 -25
- package/node_modules/lodash/isEmpty.js +0 -77
- package/node_modules/lodash/isEqual.js +0 -35
- package/node_modules/lodash/isEqualWith.js +0 -41
- package/node_modules/lodash/isError.js +0 -36
- package/node_modules/lodash/isFinite.js +0 -36
- package/node_modules/lodash/isFunction.js +0 -37
- package/node_modules/lodash/isInteger.js +0 -33
- package/node_modules/lodash/isLength.js +0 -35
- package/node_modules/lodash/isMap.js +0 -27
- package/node_modules/lodash/isMatch.js +0 -36
- package/node_modules/lodash/isMatchWith.js +0 -41
- package/node_modules/lodash/isNaN.js +0 -38
- package/node_modules/lodash/isNative.js +0 -40
- package/node_modules/lodash/isNil.js +0 -25
- package/node_modules/lodash/isNull.js +0 -22
- package/node_modules/lodash/isNumber.js +0 -38
- package/node_modules/lodash/isObject.js +0 -31
- package/node_modules/lodash/isObjectLike.js +0 -29
- package/node_modules/lodash/isPlainObject.js +0 -62
- package/node_modules/lodash/isRegExp.js +0 -27
- package/node_modules/lodash/isSafeInteger.js +0 -37
- package/node_modules/lodash/isSet.js +0 -27
- package/node_modules/lodash/isString.js +0 -30
- package/node_modules/lodash/isSymbol.js +0 -29
- package/node_modules/lodash/isTypedArray.js +0 -27
- package/node_modules/lodash/isUndefined.js +0 -22
- package/node_modules/lodash/isWeakMap.js +0 -28
- package/node_modules/lodash/isWeakSet.js +0 -28
- package/node_modules/lodash/iteratee.js +0 -53
- package/node_modules/lodash/join.js +0 -26
- package/node_modules/lodash/kebabCase.js +0 -28
- package/node_modules/lodash/keyBy.js +0 -36
- package/node_modules/lodash/keys.js +0 -37
- package/node_modules/lodash/keysIn.js +0 -32
- package/node_modules/lodash/lang.js +0 -58
- package/node_modules/lodash/last.js +0 -20
- package/node_modules/lodash/lastIndexOf.js +0 -46
- package/node_modules/lodash/lodash.js +0 -17259
- package/node_modules/lodash/lodash.min.js +0 -136
- package/node_modules/lodash/lowerCase.js +0 -27
- package/node_modules/lodash/lowerFirst.js +0 -22
- package/node_modules/lodash/lt.js +0 -29
- package/node_modules/lodash/lte.js +0 -30
- package/node_modules/lodash/map.js +0 -53
- package/node_modules/lodash/mapKeys.js +0 -36
- package/node_modules/lodash/mapValues.js +0 -43
- package/node_modules/lodash/matches.js +0 -46
- package/node_modules/lodash/matchesProperty.js +0 -44
- package/node_modules/lodash/math.js +0 -17
- package/node_modules/lodash/max.js +0 -29
- package/node_modules/lodash/maxBy.js +0 -34
- package/node_modules/lodash/mean.js +0 -22
- package/node_modules/lodash/meanBy.js +0 -31
- package/node_modules/lodash/memoize.js +0 -73
- package/node_modules/lodash/merge.js +0 -39
- package/node_modules/lodash/mergeWith.js +0 -39
- package/node_modules/lodash/method.js +0 -34
- package/node_modules/lodash/methodOf.js +0 -33
- package/node_modules/lodash/min.js +0 -29
- package/node_modules/lodash/minBy.js +0 -34
- package/node_modules/lodash/mixin.js +0 -74
- package/node_modules/lodash/multiply.js +0 -22
- package/node_modules/lodash/negate.js +0 -40
- package/node_modules/lodash/next.js +0 -35
- package/node_modules/lodash/noop.js +0 -17
- package/node_modules/lodash/now.js +0 -23
- package/node_modules/lodash/nth.js +0 -29
- package/node_modules/lodash/nthArg.js +0 -32
- package/node_modules/lodash/number.js +0 -5
- package/node_modules/lodash/object.js +0 -49
- package/node_modules/lodash/omit.js +0 -57
- package/node_modules/lodash/omitBy.js +0 -29
- package/node_modules/lodash/once.js +0 -25
- package/node_modules/lodash/orderBy.js +0 -47
- package/node_modules/lodash/over.js +0 -24
- package/node_modules/lodash/overArgs.js +0 -61
- package/node_modules/lodash/overEvery.js +0 -34
- package/node_modules/lodash/overSome.js +0 -37
- package/node_modules/lodash/package.json +0 -19
- package/node_modules/lodash/pad.js +0 -49
- package/node_modules/lodash/padEnd.js +0 -39
- package/node_modules/lodash/padStart.js +0 -39
- package/node_modules/lodash/parseInt.js +0 -43
- package/node_modules/lodash/partial.js +0 -50
- package/node_modules/lodash/partialRight.js +0 -49
- package/node_modules/lodash/partition.js +0 -43
- package/node_modules/lodash/pick.js +0 -25
- package/node_modules/lodash/pickBy.js +0 -37
- package/node_modules/lodash/plant.js +0 -48
- package/node_modules/lodash/property.js +0 -32
- package/node_modules/lodash/propertyOf.js +0 -30
- package/node_modules/lodash/pull.js +0 -29
- package/node_modules/lodash/pullAll.js +0 -29
- package/node_modules/lodash/pullAllBy.js +0 -33
- package/node_modules/lodash/pullAllWith.js +0 -32
- package/node_modules/lodash/pullAt.js +0 -43
- package/node_modules/lodash/random.js +0 -91
- package/node_modules/lodash/range.js +0 -46
- package/node_modules/lodash/rangeRight.js +0 -41
- package/node_modules/lodash/rearg.js +0 -33
- package/node_modules/lodash/reduce.js +0 -51
- package/node_modules/lodash/reduceRight.js +0 -36
- package/node_modules/lodash/reject.js +0 -46
- package/node_modules/lodash/remove.js +0 -53
- package/node_modules/lodash/repeat.js +0 -37
- package/node_modules/lodash/replace.js +0 -29
- package/node_modules/lodash/rest.js +0 -40
- package/node_modules/lodash/result.js +0 -56
- package/node_modules/lodash/reverse.js +0 -34
- package/node_modules/lodash/round.js +0 -26
- package/node_modules/lodash/sample.js +0 -24
- package/node_modules/lodash/sampleSize.js +0 -37
- package/node_modules/lodash/seq.js +0 -16
- package/node_modules/lodash/set.js +0 -35
- package/node_modules/lodash/setWith.js +0 -32
- package/node_modules/lodash/shuffle.js +0 -25
- package/node_modules/lodash/size.js +0 -46
- package/node_modules/lodash/slice.js +0 -37
- package/node_modules/lodash/snakeCase.js +0 -28
- package/node_modules/lodash/some.js +0 -51
- package/node_modules/lodash/sortBy.js +0 -48
- package/node_modules/lodash/sortedIndex.js +0 -24
- package/node_modules/lodash/sortedIndexBy.js +0 -33
- package/node_modules/lodash/sortedIndexOf.js +0 -31
- package/node_modules/lodash/sortedLastIndex.js +0 -25
- package/node_modules/lodash/sortedLastIndexBy.js +0 -33
- package/node_modules/lodash/sortedLastIndexOf.js +0 -31
- package/node_modules/lodash/sortedUniq.js +0 -24
- package/node_modules/lodash/sortedUniqBy.js +0 -26
- package/node_modules/lodash/split.js +0 -52
- package/node_modules/lodash/spread.js +0 -63
- package/node_modules/lodash/startCase.js +0 -29
- package/node_modules/lodash/startsWith.js +0 -39
- package/node_modules/lodash/string.js +0 -33
- package/node_modules/lodash/stubArray.js +0 -23
- package/node_modules/lodash/stubFalse.js +0 -18
- package/node_modules/lodash/stubObject.js +0 -23
- package/node_modules/lodash/stubString.js +0 -18
- package/node_modules/lodash/stubTrue.js +0 -18
- package/node_modules/lodash/subtract.js +0 -22
- package/node_modules/lodash/sum.js +0 -24
- package/node_modules/lodash/sumBy.js +0 -33
- package/node_modules/lodash/tail.js +0 -22
- package/node_modules/lodash/take.js +0 -37
- package/node_modules/lodash/takeRight.js +0 -39
- package/node_modules/lodash/takeRightWhile.js +0 -45
- package/node_modules/lodash/takeWhile.js +0 -45
- package/node_modules/lodash/tap.js +0 -29
- package/node_modules/lodash/template.js +0 -284
- package/node_modules/lodash/templateSettings.js +0 -71
- package/node_modules/lodash/throttle.js +0 -69
- package/node_modules/lodash/thru.js +0 -28
- package/node_modules/lodash/times.js +0 -51
- package/node_modules/lodash/toArray.js +0 -58
- package/node_modules/lodash/toFinite.js +0 -42
- package/node_modules/lodash/toInteger.js +0 -36
- package/node_modules/lodash/toIterator.js +0 -23
- package/node_modules/lodash/toJSON.js +0 -1
- package/node_modules/lodash/toLength.js +0 -38
- package/node_modules/lodash/toLower.js +0 -28
- package/node_modules/lodash/toNumber.js +0 -64
- package/node_modules/lodash/toPairs.js +0 -30
- package/node_modules/lodash/toPairsIn.js +0 -30
- package/node_modules/lodash/toPath.js +0 -33
- package/node_modules/lodash/toPlainObject.js +0 -32
- package/node_modules/lodash/toSafeInteger.js +0 -37
- package/node_modules/lodash/toString.js +0 -28
- package/node_modules/lodash/toUpper.js +0 -28
- package/node_modules/lodash/transform.js +0 -65
- package/node_modules/lodash/trim.js +0 -47
- package/node_modules/lodash/trimEnd.js +0 -41
- package/node_modules/lodash/trimStart.js +0 -43
- package/node_modules/lodash/truncate.js +0 -111
- package/node_modules/lodash/unary.js +0 -22
- package/node_modules/lodash/unescape.js +0 -34
- package/node_modules/lodash/union.js +0 -26
- package/node_modules/lodash/unionBy.js +0 -39
- package/node_modules/lodash/unionWith.js +0 -34
- package/node_modules/lodash/uniq.js +0 -25
- package/node_modules/lodash/uniqBy.js +0 -31
- package/node_modules/lodash/uniqWith.js +0 -28
- package/node_modules/lodash/uniqueId.js +0 -28
- package/node_modules/lodash/unset.js +0 -34
- package/node_modules/lodash/unzip.js +0 -45
- package/node_modules/lodash/unzipWith.js +0 -39
- package/node_modules/lodash/update.js +0 -35
- package/node_modules/lodash/updateWith.js +0 -33
- package/node_modules/lodash/upperCase.js +0 -27
- package/node_modules/lodash/upperFirst.js +0 -22
- package/node_modules/lodash/util.js +0 -34
- package/node_modules/lodash/value.js +0 -1
- package/node_modules/lodash/valueOf.js +0 -1
- package/node_modules/lodash/values.js +0 -34
- package/node_modules/lodash/valuesIn.js +0 -32
- package/node_modules/lodash/without.js +0 -31
- package/node_modules/lodash/words.js +0 -35
- package/node_modules/lodash/wrap.js +0 -30
- package/node_modules/lodash/wrapperAt.js +0 -48
- package/node_modules/lodash/wrapperChain.js +0 -34
- package/node_modules/lodash/wrapperLodash.js +0 -147
- package/node_modules/lodash/wrapperReverse.js +0 -44
- package/node_modules/lodash/wrapperValue.js +0 -21
- package/node_modules/lodash/xor.js +0 -28
- package/node_modules/lodash/xorBy.js +0 -39
- package/node_modules/lodash/xorWith.js +0 -34
- package/node_modules/lodash/zip.js +0 -22
- package/node_modules/lodash/zipObject.js +0 -24
- package/node_modules/lodash/zipObjectDeep.js +0 -23
- package/node_modules/lodash/zipWith.js +0 -32
- package/node_modules/lodash.isfinite/LICENSE +0 -47
- package/node_modules/lodash.isfinite/README.md +0 -18
- package/node_modules/lodash.isfinite/index.js +0 -53
- package/node_modules/lodash.isfinite/package.json +0 -17
- package/node_modules/portscanner/.circleci/config.yml +0 -39
- package/node_modules/portscanner/CHANGELOG.md +0 -103
- package/node_modules/portscanner/LICENSE +0 -23
- package/node_modules/portscanner/README.md +0 -79
- package/node_modules/portscanner/lib/portscanner.js +0 -251
- package/node_modules/portscanner/lib/promisify.js +0 -19
- package/node_modules/portscanner/node_modules/async/CHANGELOG.md +0 -278
- package/node_modules/portscanner/node_modules/async/LICENSE +0 -19
- package/node_modules/portscanner/node_modules/async/README.md +0 -56
- package/node_modules/portscanner/node_modules/async/all.js +0 -50
- package/node_modules/portscanner/node_modules/async/allLimit.js +0 -42
- package/node_modules/portscanner/node_modules/async/allSeries.js +0 -37
- package/node_modules/portscanner/node_modules/async/any.js +0 -52
- package/node_modules/portscanner/node_modules/async/anyLimit.js +0 -43
- package/node_modules/portscanner/node_modules/async/anySeries.js +0 -38
- package/node_modules/portscanner/node_modules/async/apply.js +0 -68
- package/node_modules/portscanner/node_modules/async/applyEach.js +0 -51
- package/node_modules/portscanner/node_modules/async/applyEachSeries.js +0 -37
- package/node_modules/portscanner/node_modules/async/asyncify.js +0 -110
- package/node_modules/portscanner/node_modules/async/auto.js +0 -289
- package/node_modules/portscanner/node_modules/async/autoInject.js +0 -170
- package/node_modules/portscanner/node_modules/async/bower.json +0 -17
- package/node_modules/portscanner/node_modules/async/cargo.js +0 -94
- package/node_modules/portscanner/node_modules/async/compose.js +0 -58
- package/node_modules/portscanner/node_modules/async/concat.js +0 -43
- package/node_modules/portscanner/node_modules/async/concatLimit.js +0 -65
- package/node_modules/portscanner/node_modules/async/concatSeries.js +0 -36
- package/node_modules/portscanner/node_modules/async/constant.js +0 -66
- package/node_modules/portscanner/node_modules/async/detect.js +0 -61
- package/node_modules/portscanner/node_modules/async/detectLimit.js +0 -48
- package/node_modules/portscanner/node_modules/async/detectSeries.js +0 -38
- package/node_modules/portscanner/node_modules/async/dir.js +0 -43
- package/node_modules/portscanner/node_modules/async/dist/async.js +0 -5612
- package/node_modules/portscanner/node_modules/async/dist/async.min.js +0 -2
- package/node_modules/portscanner/node_modules/async/dist/async.min.map +0 -1
- package/node_modules/portscanner/node_modules/async/doDuring.js +0 -66
- package/node_modules/portscanner/node_modules/async/doUntil.js +0 -39
- package/node_modules/portscanner/node_modules/async/doWhilst.js +0 -59
- package/node_modules/portscanner/node_modules/async/during.js +0 -76
- package/node_modules/portscanner/node_modules/async/each.js +0 -82
- package/node_modules/portscanner/node_modules/async/eachLimit.js +0 -45
- package/node_modules/portscanner/node_modules/async/eachOf.js +0 -111
- package/node_modules/portscanner/node_modules/async/eachOfLimit.js +0 -41
- package/node_modules/portscanner/node_modules/async/eachOfSeries.js +0 -35
- package/node_modules/portscanner/node_modules/async/eachSeries.js +0 -37
- package/node_modules/portscanner/node_modules/async/ensureAsync.js +0 -73
- package/node_modules/portscanner/node_modules/async/every.js +0 -50
- package/node_modules/portscanner/node_modules/async/everyLimit.js +0 -42
- package/node_modules/portscanner/node_modules/async/everySeries.js +0 -37
- package/node_modules/portscanner/node_modules/async/filter.js +0 -45
- package/node_modules/portscanner/node_modules/async/filterLimit.js +0 -37
- package/node_modules/portscanner/node_modules/async/filterSeries.js +0 -35
- package/node_modules/portscanner/node_modules/async/find.js +0 -61
- package/node_modules/portscanner/node_modules/async/findLimit.js +0 -48
- package/node_modules/portscanner/node_modules/async/findSeries.js +0 -38
- package/node_modules/portscanner/node_modules/async/foldl.js +0 -78
- package/node_modules/portscanner/node_modules/async/foldr.js +0 -44
- package/node_modules/portscanner/node_modules/async/forEach.js +0 -82
- package/node_modules/portscanner/node_modules/async/forEachLimit.js +0 -45
- package/node_modules/portscanner/node_modules/async/forEachOf.js +0 -111
- package/node_modules/portscanner/node_modules/async/forEachOfLimit.js +0 -41
- package/node_modules/portscanner/node_modules/async/forEachOfSeries.js +0 -35
- package/node_modules/portscanner/node_modules/async/forEachSeries.js +0 -37
- package/node_modules/portscanner/node_modules/async/forever.js +0 -65
- package/node_modules/portscanner/node_modules/async/groupBy.js +0 -54
- package/node_modules/portscanner/node_modules/async/groupByLimit.js +0 -71
- package/node_modules/portscanner/node_modules/async/groupBySeries.js +0 -37
- package/node_modules/portscanner/node_modules/async/index.js +0 -582
- package/node_modules/portscanner/node_modules/async/inject.js +0 -78
- package/node_modules/portscanner/node_modules/async/internal/DoublyLinkedList.js +0 -88
- package/node_modules/portscanner/node_modules/async/internal/applyEach.js +0 -38
- package/node_modules/portscanner/node_modules/async/internal/breakLoop.js +0 -9
- package/node_modules/portscanner/node_modules/async/internal/consoleFunc.js +0 -42
- package/node_modules/portscanner/node_modules/async/internal/createTester.js +0 -44
- package/node_modules/portscanner/node_modules/async/internal/doLimit.js +0 -12
- package/node_modules/portscanner/node_modules/async/internal/doParallel.js +0 -23
- package/node_modules/portscanner/node_modules/async/internal/doParallelLimit.js +0 -23
- package/node_modules/portscanner/node_modules/async/internal/eachOfLimit.js +0 -74
- package/node_modules/portscanner/node_modules/async/internal/filter.js +0 -75
- package/node_modules/portscanner/node_modules/async/internal/findGetResult.js +0 -10
- package/node_modules/portscanner/node_modules/async/internal/getIterator.js +0 -13
- package/node_modules/portscanner/node_modules/async/internal/initialParams.js +0 -21
- package/node_modules/portscanner/node_modules/async/internal/iterator.js +0 -61
- package/node_modules/portscanner/node_modules/async/internal/map.js +0 -35
- package/node_modules/portscanner/node_modules/async/internal/notId.js +0 -10
- package/node_modules/portscanner/node_modules/async/internal/once.js +0 -15
- package/node_modules/portscanner/node_modules/async/internal/onlyOnce.js +0 -15
- package/node_modules/portscanner/node_modules/async/internal/parallel.js +0 -42
- package/node_modules/portscanner/node_modules/async/internal/queue.js +0 -204
- package/node_modules/portscanner/node_modules/async/internal/reject.js +0 -21
- package/node_modules/portscanner/node_modules/async/internal/setImmediate.js +0 -42
- package/node_modules/portscanner/node_modules/async/internal/slice.js +0 -16
- package/node_modules/portscanner/node_modules/async/internal/withoutIndex.js +0 -12
- package/node_modules/portscanner/node_modules/async/internal/wrapAsync.js +0 -25
- package/node_modules/portscanner/node_modules/async/log.js +0 -41
- package/node_modules/portscanner/node_modules/async/map.js +0 -54
- package/node_modules/portscanner/node_modules/async/mapLimit.js +0 -37
- package/node_modules/portscanner/node_modules/async/mapSeries.js +0 -36
- package/node_modules/portscanner/node_modules/async/mapValues.js +0 -63
- package/node_modules/portscanner/node_modules/async/mapValuesLimit.js +0 -61
- package/node_modules/portscanner/node_modules/async/mapValuesSeries.js +0 -37
- package/node_modules/portscanner/node_modules/async/memoize.js +0 -101
- package/node_modules/portscanner/node_modules/async/nextTick.js +0 -51
- package/node_modules/portscanner/node_modules/async/package.json +0 -80
- package/node_modules/portscanner/node_modules/async/parallel.js +0 -90
- package/node_modules/portscanner/node_modules/async/parallelLimit.js +0 -40
- package/node_modules/portscanner/node_modules/async/priorityQueue.js +0 -98
- package/node_modules/portscanner/node_modules/async/queue.js +0 -130
- package/node_modules/portscanner/node_modules/async/race.js +0 -70
- package/node_modules/portscanner/node_modules/async/reduce.js +0 -78
- package/node_modules/portscanner/node_modules/async/reduceRight.js +0 -44
- package/node_modules/portscanner/node_modules/async/reflect.js +0 -81
- package/node_modules/portscanner/node_modules/async/reflectAll.js +0 -105
- package/node_modules/portscanner/node_modules/async/reject.js +0 -45
- package/node_modules/portscanner/node_modules/async/rejectLimit.js +0 -37
- package/node_modules/portscanner/node_modules/async/rejectSeries.js +0 -35
- package/node_modules/portscanner/node_modules/async/retry.js +0 -156
- package/node_modules/portscanner/node_modules/async/retryable.js +0 -65
- package/node_modules/portscanner/node_modules/async/select.js +0 -45
- package/node_modules/portscanner/node_modules/async/selectLimit.js +0 -37
- package/node_modules/portscanner/node_modules/async/selectSeries.js +0 -35
- package/node_modules/portscanner/node_modules/async/seq.js +0 -91
- package/node_modules/portscanner/node_modules/async/series.js +0 -85
- package/node_modules/portscanner/node_modules/async/setImmediate.js +0 -45
- package/node_modules/portscanner/node_modules/async/some.js +0 -52
- package/node_modules/portscanner/node_modules/async/someLimit.js +0 -43
- package/node_modules/portscanner/node_modules/async/someSeries.js +0 -38
- package/node_modules/portscanner/node_modules/async/sortBy.js +0 -91
- package/node_modules/portscanner/node_modules/async/timeout.js +0 -89
- package/node_modules/portscanner/node_modules/async/times.js +0 -50
- package/node_modules/portscanner/node_modules/async/timesLimit.js +0 -42
- package/node_modules/portscanner/node_modules/async/timesSeries.js +0 -32
- package/node_modules/portscanner/node_modules/async/transform.js +0 -87
- package/node_modules/portscanner/node_modules/async/tryEach.js +0 -81
- package/node_modules/portscanner/node_modules/async/unmemoize.js +0 -25
- package/node_modules/portscanner/node_modules/async/until.js +0 -41
- package/node_modules/portscanner/node_modules/async/waterfall.js +0 -113
- package/node_modules/portscanner/node_modules/async/whilst.js +0 -72
- package/node_modules/portscanner/node_modules/async/wrapSync.js +0 -110
- package/node_modules/portscanner/package.json +0 -50
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/package.json +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/package.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,KAAK,EAAC,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAC,KAAK,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/** Options shared by the {@link AsyncLock} constructor and {@link AsyncLock.acquire}. */
|
|
2
|
+
export interface AsyncLockOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Max ms a task may wait in the queue before failing. `0` means never.
|
|
5
|
+
* @default 0
|
|
6
|
+
*/
|
|
7
|
+
timeout?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Max ms between calling `acquire` and the task finishing (queue wait included). `0` means never.
|
|
10
|
+
* @default 0
|
|
11
|
+
*/
|
|
12
|
+
maxOccupationTime?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Max ms the task may run once it holds the lock; the lock is then released. `0` means never.
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
maxExecutionTime?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Max number of tasks waiting per key; further ones are rejected right away. `0` rejects every
|
|
20
|
+
* task that would have to wait.
|
|
21
|
+
* @default 1000
|
|
22
|
+
*/
|
|
23
|
+
maxPending?: number;
|
|
24
|
+
}
|
|
25
|
+
/** Per-call options of {@link AsyncLock.acquire}; override the constructor ones. */
|
|
26
|
+
export interface AcquireOptions extends AsyncLockOptions {
|
|
27
|
+
/**
|
|
28
|
+
* Put the task at the front of the queue instead of the back.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
skipQueue?: boolean;
|
|
32
|
+
}
|
|
33
|
+
type Task<T> = () => T | PromiseLike<T>;
|
|
34
|
+
/**
|
|
35
|
+
* Promise-based mutex keyed by string. Tasks with the same key run one at a time, in FIFO order.
|
|
36
|
+
*
|
|
37
|
+
* Each task runs in the async context (`AsyncLocalStorage`) of the code that called
|
|
38
|
+
* {@link AsyncLock.acquire}, not in the context of the task that held the lock before it.
|
|
39
|
+
*/
|
|
40
|
+
export declare class AsyncLock {
|
|
41
|
+
private readonly queues;
|
|
42
|
+
private readonly defaults;
|
|
43
|
+
constructor(opts?: AsyncLockOptions);
|
|
44
|
+
/**
|
|
45
|
+
* Run `fn` once the lock for `key` is free and release the lock when it settles.
|
|
46
|
+
*
|
|
47
|
+
* Multiple keys are held together. They are acquired one by one in sorted order, whatever order
|
|
48
|
+
* they are given in, so that overlapping calls cannot deadlock; duplicates are ignored. Keys that
|
|
49
|
+
* are already held stay held while a later one is awaited. `timeout` and `maxOccupationTime` are
|
|
50
|
+
* budgets for the whole call, while `maxExecutionTime` counts from the moment all the keys are
|
|
51
|
+
* held and releases all of them.
|
|
52
|
+
*
|
|
53
|
+
* @param key - Resource key, or a non-empty array of keys
|
|
54
|
+
* @param fn - Task to run while holding the lock; may be sync or async
|
|
55
|
+
* @param opts - Per-call options
|
|
56
|
+
* @returns The result of `fn`
|
|
57
|
+
* @throws {TypeError} Synchronously, if an argument is invalid
|
|
58
|
+
*/
|
|
59
|
+
acquire<T>(key: string | readonly string[], fn: Task<T>, opts?: AcquireOptions): Promise<T>;
|
|
60
|
+
/**
|
|
61
|
+
* Number of tasks waiting for `key`, not counting the running one.
|
|
62
|
+
*
|
|
63
|
+
* @param key - Resource key
|
|
64
|
+
*/
|
|
65
|
+
getQueueLength(key: string): number;
|
|
66
|
+
/**
|
|
67
|
+
* Whether `key` has a running or pending task. Without a key, whether any key does.
|
|
68
|
+
*
|
|
69
|
+
* @param key - Resource key
|
|
70
|
+
*/
|
|
71
|
+
isBusy(key?: string): boolean;
|
|
72
|
+
}
|
|
73
|
+
export {};
|
|
74
|
+
//# sourceMappingURL=lock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock.d.ts","sourceRoot":"","sources":["../../../lib/lock/lock.ts"],"names":[],"mappings":"AAQA,yFAAyF;AACzF,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,oFAAoF;AACpF,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,KAAK,IAAI,CAAC,CAAC,IAAI,MAAM,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AAMxC;;;;;GAKG;AACH,qBAAa,SAAS;IACpB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAC5C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA6B;gBAE1C,IAAI,GAAE,gBAAqB;IAWvC;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,GAAE,cAAmB,GAAG,OAAO,CAAC,CAAC,CAAC;IAkB/F;;;;OAIG;IACH,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAInC;;;;OAIG;IACH,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO;CAG9B"}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { AsyncResource } from 'node:async_hooks';
|
|
2
|
+
import { LockQueueFullError, LockTimeoutError } from '../shared/errors.js';
|
|
3
|
+
const DEFAULT_MAX_PENDING = 1000;
|
|
4
|
+
// setTimeout fires after 1 ms for anything above this
|
|
5
|
+
const MAX_TIMER_MS = 2 ** 31 - 1;
|
|
6
|
+
/**
|
|
7
|
+
* Promise-based mutex keyed by string. Tasks with the same key run one at a time, in FIFO order.
|
|
8
|
+
*
|
|
9
|
+
* Each task runs in the async context (`AsyncLocalStorage`) of the code that called
|
|
10
|
+
* {@link AsyncLock.acquire}, not in the context of the task that held the lock before it.
|
|
11
|
+
*/
|
|
12
|
+
export class AsyncLock {
|
|
13
|
+
queues = new Map();
|
|
14
|
+
defaults;
|
|
15
|
+
constructor(opts = {}) {
|
|
16
|
+
validateOptions(opts);
|
|
17
|
+
this.defaults = {
|
|
18
|
+
timeout: 0,
|
|
19
|
+
maxOccupationTime: 0,
|
|
20
|
+
maxExecutionTime: 0,
|
|
21
|
+
maxPending: DEFAULT_MAX_PENDING,
|
|
22
|
+
...stripUndefined(opts),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Run `fn` once the lock for `key` is free and release the lock when it settles.
|
|
27
|
+
*
|
|
28
|
+
* Multiple keys are held together. They are acquired one by one in sorted order, whatever order
|
|
29
|
+
* they are given in, so that overlapping calls cannot deadlock; duplicates are ignored. Keys that
|
|
30
|
+
* are already held stay held while a later one is awaited. `timeout` and `maxOccupationTime` are
|
|
31
|
+
* budgets for the whole call, while `maxExecutionTime` counts from the moment all the keys are
|
|
32
|
+
* held and releases all of them.
|
|
33
|
+
*
|
|
34
|
+
* @param key - Resource key, or a non-empty array of keys
|
|
35
|
+
* @param fn - Task to run while holding the lock; may be sync or async
|
|
36
|
+
* @param opts - Per-call options
|
|
37
|
+
* @returns The result of `fn`
|
|
38
|
+
* @throws {TypeError} Synchronously, if an argument is invalid
|
|
39
|
+
*/
|
|
40
|
+
acquire(key, fn, opts = {}) {
|
|
41
|
+
if (typeof fn !== 'function') {
|
|
42
|
+
throw new TypeError('You must pass a function to execute');
|
|
43
|
+
}
|
|
44
|
+
if (typeof key !== 'string' &&
|
|
45
|
+
!(Array.isArray(key) && key.length > 0 && [...key].every((k) => typeof k === 'string'))) {
|
|
46
|
+
throw new TypeError('The key must be a string or a non-empty array of strings');
|
|
47
|
+
}
|
|
48
|
+
validateOptions(opts);
|
|
49
|
+
// A canonical order keeps overlapping multi-key calls, e.g. ['a', 'b'] and ['b', 'a'], from deadlocking
|
|
50
|
+
const keys = typeof key === 'string' ? [key] : [...new Set(key)].sort((a, b) => (a < b ? -1 : a > b ? 1 : 0));
|
|
51
|
+
const acquisition = new Acquisition(this.queues, keys, fn, { ...this.defaults, ...stripUndefined(opts) });
|
|
52
|
+
acquisition.enqueue();
|
|
53
|
+
return acquisition.promise;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Number of tasks waiting for `key`, not counting the running one.
|
|
57
|
+
*
|
|
58
|
+
* @param key - Resource key
|
|
59
|
+
*/
|
|
60
|
+
getQueueLength(key) {
|
|
61
|
+
return this.queues.get(key)?.length ?? 0;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Whether `key` has a running or pending task. Without a key, whether any key does.
|
|
65
|
+
*
|
|
66
|
+
* @param key - Resource key
|
|
67
|
+
*/
|
|
68
|
+
isBusy(key) {
|
|
69
|
+
return key === undefined ? this.queues.size > 0 : this.queues.has(key);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/** The place of one acquisition in the queue of one key; once granted, it holds the key. */
|
|
73
|
+
class KeyClaim {
|
|
74
|
+
queues;
|
|
75
|
+
key;
|
|
76
|
+
opts;
|
|
77
|
+
onGranted;
|
|
78
|
+
onDenied;
|
|
79
|
+
holding = false;
|
|
80
|
+
dropped = false;
|
|
81
|
+
queueTimer;
|
|
82
|
+
constructor(queues, key, opts, onGranted, onDenied) {
|
|
83
|
+
this.queues = queues;
|
|
84
|
+
this.key = key;
|
|
85
|
+
this.opts = opts;
|
|
86
|
+
this.onGranted = onGranted;
|
|
87
|
+
this.onDenied = onDenied;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Take the key right away if it is free, otherwise wait in its queue.
|
|
91
|
+
*
|
|
92
|
+
* @returns Whether the key is held. If not, `onGranted` is called once it is, unless the claim
|
|
93
|
+
* is denied.
|
|
94
|
+
*/
|
|
95
|
+
join() {
|
|
96
|
+
const { timeout, maxPending, skipQueue } = this.opts;
|
|
97
|
+
const queue = this.queues.get(this.key);
|
|
98
|
+
if (!queue) {
|
|
99
|
+
this.queues.set(this.key, []);
|
|
100
|
+
this.holding = true;
|
|
101
|
+
return true;
|
|
102
|
+
}
|
|
103
|
+
if (queue.length >= maxPending) {
|
|
104
|
+
this.onDenied(new LockQueueFullError(`Too many pending tasks in queue ${this.key}`));
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
if (skipQueue) {
|
|
108
|
+
queue.unshift(this.grant);
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
queue.push(this.grant);
|
|
112
|
+
}
|
|
113
|
+
if (timeout) {
|
|
114
|
+
this.queueTimer = setTimeout(() => this.onDenied(new LockTimeoutError(`async-lock timed out in queue ${this.key}`)), timeout);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Leave the queue, or release the key if it is held. Idempotent.
|
|
121
|
+
*
|
|
122
|
+
* @returns The handover of the key to its next waiter. The caller must run it only after it
|
|
123
|
+
* has released all of its keys, so that no waiter starts while a batch is partially released.
|
|
124
|
+
*/
|
|
125
|
+
drop() {
|
|
126
|
+
if (this.dropped) {
|
|
127
|
+
return undefined;
|
|
128
|
+
}
|
|
129
|
+
this.dropped = true;
|
|
130
|
+
clearTimeout(this.queueTimer);
|
|
131
|
+
if (this.holding) {
|
|
132
|
+
return this.releaseKey();
|
|
133
|
+
}
|
|
134
|
+
const queue = this.queues.get(this.key);
|
|
135
|
+
const idx = queue?.indexOf(this.grant) ?? -1;
|
|
136
|
+
if (idx >= 0) {
|
|
137
|
+
queue?.splice(idx, 1);
|
|
138
|
+
}
|
|
139
|
+
return undefined;
|
|
140
|
+
}
|
|
141
|
+
releaseKey() {
|
|
142
|
+
const next = this.queues.get(this.key)?.shift();
|
|
143
|
+
if (!next) {
|
|
144
|
+
this.queues.delete(this.key);
|
|
145
|
+
}
|
|
146
|
+
return next;
|
|
147
|
+
}
|
|
148
|
+
// An arrow function, because this exact reference sits in the queue and is removed by drop()
|
|
149
|
+
grant = () => {
|
|
150
|
+
clearTimeout(this.queueTimer);
|
|
151
|
+
this.holding = true;
|
|
152
|
+
if (this.dropped) {
|
|
153
|
+
// Dropped while the key was being handed over to it: pass the key on instead of using it
|
|
154
|
+
this.releaseKey()?.();
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
this.onGranted();
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* One `acquire` call: its promise, its timers and its claims on all of its keys. The keys are
|
|
162
|
+
* claimed one by one, the task runs once all of them are held and they are released together.
|
|
163
|
+
*/
|
|
164
|
+
class Acquisition {
|
|
165
|
+
queues;
|
|
166
|
+
keys;
|
|
167
|
+
opts;
|
|
168
|
+
promise;
|
|
169
|
+
resolve;
|
|
170
|
+
reject;
|
|
171
|
+
task;
|
|
172
|
+
claims = [];
|
|
173
|
+
running = false;
|
|
174
|
+
settled = false;
|
|
175
|
+
queueDeadline = 0;
|
|
176
|
+
occupationTimer;
|
|
177
|
+
executionTimer;
|
|
178
|
+
constructor(queues, keys, task, opts) {
|
|
179
|
+
this.queues = queues;
|
|
180
|
+
this.keys = keys;
|
|
181
|
+
this.opts = opts;
|
|
182
|
+
// Queued tasks are started from the previous task's promise chain; bind to keep our context
|
|
183
|
+
this.task = AsyncResource.bind(task);
|
|
184
|
+
this.promise = new Promise((resolve, reject) => {
|
|
185
|
+
this.resolve = resolve;
|
|
186
|
+
this.reject = reject;
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
/** Start the task right away if all the keys are free, otherwise wait for them. */
|
|
190
|
+
enqueue() {
|
|
191
|
+
const { timeout, maxOccupationTime } = this.opts;
|
|
192
|
+
if (timeout) {
|
|
193
|
+
this.queueDeadline = performance.now() + timeout;
|
|
194
|
+
}
|
|
195
|
+
if (maxOccupationTime) {
|
|
196
|
+
this.occupationTimer = setTimeout(() => this.expire(), maxOccupationTime);
|
|
197
|
+
}
|
|
198
|
+
this.claimKeys(0);
|
|
199
|
+
}
|
|
200
|
+
// Free keys are claimed in a loop, not recursively, so that a large batch cannot overflow the stack
|
|
201
|
+
claimKeys(from) {
|
|
202
|
+
const { maxPending, skipQueue } = this.opts;
|
|
203
|
+
try {
|
|
204
|
+
for (let index = from; index < this.keys.length; index++) {
|
|
205
|
+
// The queue timeout is a budget for waiting for all the keys, not for each one
|
|
206
|
+
const timeout = this.queueDeadline ? Math.max(this.queueDeadline - performance.now(), 1) : 0;
|
|
207
|
+
const claim = new KeyClaim(this.queues, this.keys[index], { timeout, maxPending, skipQueue }, () => this.claimKeys(index + 1), (error) => this.abort(error));
|
|
208
|
+
this.claims.push(claim);
|
|
209
|
+
if (!claim.join()) {
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
this.execute();
|
|
214
|
+
}
|
|
215
|
+
catch (error) {
|
|
216
|
+
this.abort(error);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
execute() {
|
|
220
|
+
const { maxExecutionTime } = this.opts;
|
|
221
|
+
this.running = true;
|
|
222
|
+
if (maxExecutionTime) {
|
|
223
|
+
this.executionTimer = setTimeout(() => this.abort(new LockTimeoutError(`Maximum execution time is exceeded ${this.keys.join(', ')}`)), maxExecutionTime);
|
|
224
|
+
}
|
|
225
|
+
void this.runTask();
|
|
226
|
+
}
|
|
227
|
+
async runTask() {
|
|
228
|
+
let outcome;
|
|
229
|
+
try {
|
|
230
|
+
outcome = { value: await this.task() };
|
|
231
|
+
}
|
|
232
|
+
catch (error) {
|
|
233
|
+
outcome = { error };
|
|
234
|
+
}
|
|
235
|
+
this.finish(outcome);
|
|
236
|
+
}
|
|
237
|
+
finish(outcome) {
|
|
238
|
+
this.settle(outcome);
|
|
239
|
+
this.release();
|
|
240
|
+
}
|
|
241
|
+
// Reject and release all the keys; a running task is left to finish on its own
|
|
242
|
+
abort(error) {
|
|
243
|
+
this.settle({ error });
|
|
244
|
+
this.release();
|
|
245
|
+
}
|
|
246
|
+
// A running task keeps its keys until it finishes, an unstarted one gives them up
|
|
247
|
+
expire() {
|
|
248
|
+
const keys = this.keys.join(', ');
|
|
249
|
+
if (this.running) {
|
|
250
|
+
this.settle({ error: new LockTimeoutError(`Maximum occupation time is exceeded while executing ${keys}`) });
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
this.abort(new LockTimeoutError(`Maximum occupation time is exceeded in queue ${keys}`));
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
settle(outcome) {
|
|
257
|
+
if (this.settled) {
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
this.settled = true;
|
|
261
|
+
clearTimeout(this.occupationTimer);
|
|
262
|
+
if ('error' in outcome) {
|
|
263
|
+
this.reject(outcome.error);
|
|
264
|
+
}
|
|
265
|
+
else {
|
|
266
|
+
this.resolve(outcome.value);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
// Idempotent, so a task that outlives its execution timeout cannot release the keys twice
|
|
270
|
+
release() {
|
|
271
|
+
clearTimeout(this.executionTimer);
|
|
272
|
+
const handovers = this.claims
|
|
273
|
+
.splice(0)
|
|
274
|
+
.reverse()
|
|
275
|
+
.map((claim) => claim.drop());
|
|
276
|
+
for (const handover of handovers) {
|
|
277
|
+
handover?.();
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
function validateOptions(opts) {
|
|
282
|
+
if (opts === null || typeof opts !== 'object') {
|
|
283
|
+
throw new TypeError('The options must be an object');
|
|
284
|
+
}
|
|
285
|
+
for (const name of ['timeout', 'maxOccupationTime', 'maxExecutionTime']) {
|
|
286
|
+
const value = opts[name];
|
|
287
|
+
if (value !== undefined && !(Number.isFinite(value) && value >= 0 && value <= MAX_TIMER_MS)) {
|
|
288
|
+
throw new TypeError(`${name} must be a number of milliseconds between 0 and ${MAX_TIMER_MS}`);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
if (opts.skipQueue !== undefined && typeof opts.skipQueue !== 'boolean') {
|
|
292
|
+
throw new TypeError('skipQueue must be a boolean');
|
|
293
|
+
}
|
|
294
|
+
const { maxPending } = opts;
|
|
295
|
+
if (maxPending !== undefined && maxPending !== Infinity && !(Number.isInteger(maxPending) && maxPending >= 0)) {
|
|
296
|
+
throw new TypeError('maxPending must be a non-negative integer or Infinity');
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
function stripUndefined(obj) {
|
|
300
|
+
return Object.fromEntries(Object.entries(obj).filter(([, v]) => v !== undefined));
|
|
301
|
+
}
|
|
302
|
+
//# sourceMappingURL=lock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lock.js","sourceRoot":"","sources":["../../../lib/lock/lock.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** Base class of the built-in typed errors of this package; match by `instanceof` or {@link AsyncboxError.code}. */
|
|
2
|
+
export declare class AsyncboxError extends Error {
|
|
3
|
+
/** Stable machine-readable identifier, e.g. `ERR_ASYNCBOX_TIMEOUT` */
|
|
4
|
+
readonly code: string;
|
|
5
|
+
constructor(message: string, code?: string);
|
|
6
|
+
}
|
|
7
|
+
/** Error thrown by {@link withTimeout} when the deadline is exceeded. */
|
|
8
|
+
export declare class TimeoutError extends AsyncboxError {
|
|
9
|
+
constructor(message?: string, code?: string);
|
|
10
|
+
}
|
|
11
|
+
/** Thrown by {@link waitForCondition} when the condition is not met in time. */
|
|
12
|
+
export declare class ConditionUnmetError extends TimeoutError {
|
|
13
|
+
constructor(message?: string);
|
|
14
|
+
}
|
|
15
|
+
/** Thrown by {@link AsyncLock} when a queue, execution or occupation time limit is exceeded. */
|
|
16
|
+
export declare class LockTimeoutError extends TimeoutError {
|
|
17
|
+
constructor(message?: string);
|
|
18
|
+
}
|
|
19
|
+
/** Thrown by {@link AsyncLock} when the queue of a key already holds `maxPending` tasks. */
|
|
20
|
+
export declare class LockQueueFullError extends AsyncboxError {
|
|
21
|
+
constructor(message?: string);
|
|
22
|
+
}
|
|
23
|
+
/** Thrown when a promise is cancelled via `cancel`. */
|
|
24
|
+
export declare class PromiseCancellationError extends AsyncboxError {
|
|
25
|
+
constructor(message?: string);
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=errors.d.ts.map
|
package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../lib/shared/errors.ts"],"names":[],"mappings":"AAAA,oHAAoH;AACpH,qBAAa,aAAc,SAAQ,KAAK;IACtC,sEAAsE;IACtE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;gBAEV,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,MAAuB;CAK3D;AAED,yEAAyE;AACzE,qBAAa,YAAa,SAAQ,aAAa;gBACjC,OAAO,CAAC,EAAE,MAAM,EAAE,IAAI,GAAE,MAA+B;CAIpE;AAED,gFAAgF;AAChF,qBAAa,mBAAoB,SAAQ,YAAY;gBACvC,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED,gGAAgG;AAChG,qBAAa,gBAAiB,SAAQ,YAAY;gBACpC,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED,4FAA4F;AAC5F,qBAAa,kBAAmB,SAAQ,aAAa;gBACvC,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED,uDAAuD;AACvD,qBAAa,wBAAyB,SAAQ,aAAa;gBAC7C,OAAO,GAAE,MAA4B;CAIlD"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** Base class of the built-in typed errors of this package; match by `instanceof` or {@link AsyncboxError.code}. */
|
|
2
|
+
export class AsyncboxError extends Error {
|
|
3
|
+
/** Stable machine-readable identifier, e.g. `ERR_ASYNCBOX_TIMEOUT` */
|
|
4
|
+
code;
|
|
5
|
+
constructor(message, code = 'ERR_ASYNCBOX') {
|
|
6
|
+
super(message);
|
|
7
|
+
this.name = 'AsyncboxError';
|
|
8
|
+
this.code = code;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
/** Error thrown by {@link withTimeout} when the deadline is exceeded. */
|
|
12
|
+
export class TimeoutError extends AsyncboxError {
|
|
13
|
+
constructor(message, code = 'ERR_ASYNCBOX_TIMEOUT') {
|
|
14
|
+
super(message ?? 'Operation timed out', code);
|
|
15
|
+
this.name = 'TimeoutError';
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/** Thrown by {@link waitForCondition} when the condition is not met in time. */
|
|
19
|
+
export class ConditionUnmetError extends TimeoutError {
|
|
20
|
+
constructor(message) {
|
|
21
|
+
super(message ?? 'Condition unmet', 'ERR_ASYNCBOX_CONDITION_UNMET');
|
|
22
|
+
this.name = 'ConditionUnmetError';
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
/** Thrown by {@link AsyncLock} when a queue, execution or occupation time limit is exceeded. */
|
|
26
|
+
export class LockTimeoutError extends TimeoutError {
|
|
27
|
+
constructor(message) {
|
|
28
|
+
super(message ?? 'Lock timed out', 'ERR_ASYNCBOX_LOCK_TIMEOUT');
|
|
29
|
+
this.name = 'LockTimeoutError';
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/** Thrown by {@link AsyncLock} when the queue of a key already holds `maxPending` tasks. */
|
|
33
|
+
export class LockQueueFullError extends AsyncboxError {
|
|
34
|
+
constructor(message) {
|
|
35
|
+
super(message ?? 'Too many pending tasks in queue', 'ERR_ASYNCBOX_LOCK_QUEUE_FULL');
|
|
36
|
+
this.name = 'LockQueueFullError';
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/** Thrown when a promise is cancelled via `cancel`. */
|
|
40
|
+
export class PromiseCancellationError extends AsyncboxError {
|
|
41
|
+
constructor(message = 'Promise cancelled') {
|
|
42
|
+
super(message, 'ERR_ASYNCBOX_CANCELLED');
|
|
43
|
+
this.name = 'PromiseCancellationError';
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../lib/shared/errors.ts"],"names":[],"mappings":"AAAA,oHAAoH;AACpH,MAAM,OAAO,aAAc,SAAQ,KAAK;IACtC,sEAAsE;IAC7D,IAAI,CAAS;IAEtB,YAAY,OAAe,EAAE,OAAe,cAAc;QACxD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AAED,yEAAyE;AACzE,MAAM,OAAO,YAAa,SAAQ,aAAa;IAC7C,YAAY,OAAgB,EAAE,OAAe,sBAAsB;QACjE,KAAK,CAAC,OAAO,IAAI,qBAAqB,EAAE,IAAI,CAAC,CAAC;QAC9C,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;IAC7B,CAAC;CACF;AAED,gFAAgF;AAChF,MAAM,OAAO,mBAAoB,SAAQ,YAAY;IACnD,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,IAAI,iBAAiB,EAAE,8BAA8B,CAAC,CAAC;QACpE,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACpC,CAAC;CACF;AAED,gGAAgG;AAChG,MAAM,OAAO,gBAAiB,SAAQ,YAAY;IAChD,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,IAAI,gBAAgB,EAAE,2BAA2B,CAAC,CAAC;QAChE,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;IACjC,CAAC;CACF;AAED,4FAA4F;AAC5F,MAAM,OAAO,kBAAmB,SAAQ,aAAa;IACnD,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,IAAI,iCAAiC,EAAE,8BAA8B,CAAC,CAAC;QACpF,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;IACnC,CAAC;CACF;AAED,uDAAuD;AACvD,MAAM,OAAO,wBAAyB,SAAQ,aAAa;IACzD,YAAY,UAAkB,mBAAmB;QAC/C,KAAK,CAAC,OAAO,EAAE,wBAAwB,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;IACzC,CAAC;CACF"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parameter provided to a progress callback
|
|
3
|
+
*/
|
|
4
|
+
export interface Progress {
|
|
5
|
+
/** Elapsed time in milliseconds since the operation started */
|
|
6
|
+
elapsedMs: number;
|
|
7
|
+
/** Remaining time in milliseconds until the operation completes */
|
|
8
|
+
timeLeft: number;
|
|
9
|
+
/** Progress as a number between 0 and 1 (0 = not started, 1 = complete) */
|
|
10
|
+
progress: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Progress callback for {@link longSleep}
|
|
14
|
+
*/
|
|
15
|
+
export type ProgressCallback = (progress: Progress) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Options for {@link longSleep}
|
|
18
|
+
*/
|
|
19
|
+
export interface LongSleepOptions {
|
|
20
|
+
/** Minimum duration in milliseconds before using long sleep behavior.
|
|
21
|
+
* @default 5000
|
|
22
|
+
*/
|
|
23
|
+
thresholdMs?: number;
|
|
24
|
+
/** Interval in milliseconds between progress callbacks.
|
|
25
|
+
* @default 1000
|
|
26
|
+
*/
|
|
27
|
+
intervalMs?: number;
|
|
28
|
+
/** Optional callback function to receive progress updates during the sleep */
|
|
29
|
+
progressCb?: ProgressCallback | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Options for {@link asyncmap} and {@link asyncfilter}
|
|
33
|
+
*/
|
|
34
|
+
export type MapFilterOptions = boolean | {
|
|
35
|
+
concurrency: number;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Object form of {@link sleep}'s argument: duration plus optional cancellation rejection override.
|
|
39
|
+
* Structural typing allows class instances; {@link sleep} accepts any non-array object with a finite `ms`.
|
|
40
|
+
*/
|
|
41
|
+
export interface SleepOptions {
|
|
42
|
+
/** Duration in milliseconds */
|
|
43
|
+
ms: number;
|
|
44
|
+
/**
|
|
45
|
+
* When {@link sleep}'s `cancel` runs: a non-empty string becomes {@link PromiseCancellationError}
|
|
46
|
+
* with that message; an `Error` rejects with that same instance; `null` resolves the promise
|
|
47
|
+
* instead of rejecting; omitted, `undefined`, or `''` use the default {@link PromiseCancellationError}.
|
|
48
|
+
*/
|
|
49
|
+
cancelError?: string | Error | null;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Argument to {@link sleep}: either milliseconds or an options object (see {@link SleepOptions}).
|
|
53
|
+
*/
|
|
54
|
+
export type SleepArg = number | SleepOptions;
|
|
55
|
+
/**
|
|
56
|
+
* A promise with a {@linkcode cancel} method (e.g. from {@link sleep}).
|
|
57
|
+
*
|
|
58
|
+
* @typeParam T - Resolved value type; {@link sleep} uses `void`.
|
|
59
|
+
*/
|
|
60
|
+
export type CancellablePromise<T = void> = Promise<T> & {
|
|
61
|
+
cancel: () => void;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Options for {@link waitForCondition}
|
|
65
|
+
*/
|
|
66
|
+
export interface WaitForConditionOptions {
|
|
67
|
+
/** Maximum time to wait in milliseconds.
|
|
68
|
+
* @default 5000
|
|
69
|
+
*/
|
|
70
|
+
waitMs?: number;
|
|
71
|
+
/** Interval in milliseconds between condition checks.
|
|
72
|
+
* @default 500
|
|
73
|
+
*/
|
|
74
|
+
intervalMs?: number;
|
|
75
|
+
/** Optional logger object with a debug method for logging wait progress */
|
|
76
|
+
logger?: {
|
|
77
|
+
debug: (...args: any[]) => void;
|
|
78
|
+
};
|
|
79
|
+
/** Custom error message (string) or Error object to throw if condition is not met.
|
|
80
|
+
* If not provided, a default error is thrown
|
|
81
|
+
*/
|
|
82
|
+
error?: string | Error;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=types.d.ts.map
|
package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/shared/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG;IAAC,WAAW,EAAE,MAAM,CAAA;CAAC,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,+BAA+B;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,YAAY,CAAC;AAE7C;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,IAAI,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG;IACtD,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;KACjC,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../lib/shared/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { LongSleepOptions } from '../shared/types.js';
|
|
2
|
+
/**
|
|
3
|
+
* Sometimes `Promise.delay` or `setTimeout` are inaccurate for large wait
|
|
4
|
+
* times. To safely wait for these long times (e.g. in the 5+ minute range), you
|
|
5
|
+
* can use `longSleep`.
|
|
6
|
+
*
|
|
7
|
+
* You can also pass a `progressCb` option which is a callback function that
|
|
8
|
+
* receives an object with the properties `elapsedMs`, `timeLeft`, and
|
|
9
|
+
* `progress`. This will be called on every wait interval so you can do your
|
|
10
|
+
* wait logging or whatever.
|
|
11
|
+
* @param ms - The number of milliseconds to wait
|
|
12
|
+
* @param options - Options for controlling the long sleep behavior
|
|
13
|
+
*/
|
|
14
|
+
export declare function longSleep(ms: number, { thresholdMs, intervalMs, progressCb }?: LongSleepOptions): Promise<void>;
|
|
15
|
+
//# sourceMappingURL=long-sleep.d.ts.map
|
package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"long-sleep.d.ts","sourceRoot":"","sources":["../../../lib/time/long-sleep.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAKzD;;;;;;;;;;;GAWG;AACH,wBAAsB,SAAS,CAC7B,EAAE,EAAE,MAAM,EACV,EAAC,WAAkC,EAAE,UAAiB,EAAE,UAAiB,EAAC,GAAE,gBAAqB,GAChG,OAAO,CAAC,IAAI,CAAC,CAiBf"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { sleep } from './sleep.js';
|
|
2
|
+
const LONG_SLEEP_THRESHOLD = 5000; // anything over 5000ms will turn into a spin
|
|
3
|
+
/**
|
|
4
|
+
* Sometimes `Promise.delay` or `setTimeout` are inaccurate for large wait
|
|
5
|
+
* times. To safely wait for these long times (e.g. in the 5+ minute range), you
|
|
6
|
+
* can use `longSleep`.
|
|
7
|
+
*
|
|
8
|
+
* You can also pass a `progressCb` option which is a callback function that
|
|
9
|
+
* receives an object with the properties `elapsedMs`, `timeLeft`, and
|
|
10
|
+
* `progress`. This will be called on every wait interval so you can do your
|
|
11
|
+
* wait logging or whatever.
|
|
12
|
+
* @param ms - The number of milliseconds to wait
|
|
13
|
+
* @param options - Options for controlling the long sleep behavior
|
|
14
|
+
*/
|
|
15
|
+
export async function longSleep(ms, { thresholdMs = LONG_SLEEP_THRESHOLD, intervalMs = 1000, progressCb = null } = {}) {
|
|
16
|
+
if (ms < thresholdMs) {
|
|
17
|
+
return await sleep(ms);
|
|
18
|
+
}
|
|
19
|
+
const endAt = performance.now() + ms;
|
|
20
|
+
let timeLeft;
|
|
21
|
+
let elapsedMs = 0;
|
|
22
|
+
do {
|
|
23
|
+
const pre = performance.now();
|
|
24
|
+
await sleep(intervalMs);
|
|
25
|
+
const post = performance.now();
|
|
26
|
+
timeLeft = endAt - post;
|
|
27
|
+
elapsedMs = elapsedMs + (post - pre);
|
|
28
|
+
if (typeof progressCb === 'function') {
|
|
29
|
+
progressCb({ elapsedMs: Math.round(elapsedMs), timeLeft: Math.round(timeLeft), progress: elapsedMs / ms });
|
|
30
|
+
}
|
|
31
|
+
} while (timeLeft > 0);
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=long-sleep.js.map
|
package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"long-sleep.js","sourceRoot":"","sources":["../../../lib/time/long-sleep.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,EAAC,MAAM,YAAY,CAAC;AAEjC,MAAM,oBAAoB,GAAG,IAAI,CAAC,CAAC,6CAA6C;AAEhF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,CAC7B,EAAU,EACV,EAAC,WAAW,GAAG,oBAAoB,EAAE,UAAU,GAAG,IAAI,EAAE,UAAU,GAAG,IAAI,KAAsB,EAAE;IAEjG,IAAI,EAAE,GAAG,WAAW,EAAE,CAAC;QACrB,OAAO,MAAM,KAAK,CAAC,EAAE,CAAC,CAAC;IACzB,CAAC;IACD,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;IACrC,IAAI,QAAgB,CAAC;IACrB,IAAI,SAAS,GAAG,CAAC,CAAC;IAClB,GAAG,CAAC;QACF,MAAM,GAAG,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QAC9B,MAAM,KAAK,CAAC,UAAU,CAAC,CAAC;QACxB,MAAM,IAAI,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QAC/B,QAAQ,GAAG,KAAK,GAAG,IAAI,CAAC;QACxB,SAAS,GAAG,SAAS,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC;QACrC,IAAI,OAAO,UAAU,KAAK,UAAU,EAAE,CAAC;YACrC,UAAU,CAAC,EAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAAC,CAAC,CAAC;QAC3G,CAAC;IACH,CAAC,QAAQ,QAAQ,GAAG,CAAC,EAAE;AACzB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An async/await way of running a method until it doesn't throw an error
|
|
3
|
+
* @param times - The maximum number of times to retry the function
|
|
4
|
+
* @param fn - The async function to retry
|
|
5
|
+
* @param args - Arguments to pass to the function
|
|
6
|
+
*/
|
|
7
|
+
export declare function retry<T = any>(times: number, fn: (...args: any[]) => Promise<T>, ...args: any[]): Promise<T | null>;
|
|
8
|
+
/**
|
|
9
|
+
* You can also use `retryInterval` to add a sleep in between retries. This can
|
|
10
|
+
* be useful if you want to throttle how fast we retry.
|
|
11
|
+
* @param times - The maximum number of times to retry the function
|
|
12
|
+
* @param sleepMs - The number of milliseconds to wait between retries
|
|
13
|
+
* @param fn - The async function to retry
|
|
14
|
+
* @param args - Arguments to pass to the function
|
|
15
|
+
*/
|
|
16
|
+
export declare function retryInterval<T = any>(times: number, sleepMs: number, fn: (...args: any[]) => Promise<T>, ...args: any[]): Promise<T | null>;
|
|
17
|
+
//# sourceMappingURL=retry.d.ts.map
|