appium-espresso-driver 9.3.13 → 10.0.1
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 +20 -0
- package/README.md +1 -1880
- package/build/lib/commands/app-install.d.ts +7 -0
- package/build/lib/commands/app-install.d.ts.map +1 -1
- package/build/lib/commands/app-install.js +1 -3
- package/build/lib/commands/app-install.js.map +1 -1
- package/build/lib/commands/app-management.d.ts +5 -0
- package/build/lib/commands/app-management.d.ts.map +1 -1
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/clipboard.d.ts +7 -0
- package/build/lib/commands/clipboard.d.ts.map +1 -1
- package/build/lib/commands/clipboard.js.map +1 -1
- package/build/lib/commands/context.d.ts +6 -0
- package/build/lib/commands/context.d.ts.map +1 -1
- package/build/lib/commands/context.js.map +1 -1
- package/build/lib/commands/element.d.ts +15 -0
- package/build/lib/commands/element.d.ts.map +1 -1
- package/build/lib/commands/element.js.map +1 -1
- package/build/lib/commands/idling-resources.d.ts +8 -0
- package/build/lib/commands/idling-resources.d.ts.map +1 -1
- package/build/lib/commands/idling-resources.js.map +1 -1
- package/build/lib/commands/misc.d.ts +13 -0
- package/build/lib/commands/misc.d.ts.map +1 -1
- package/build/lib/commands/misc.js.map +1 -1
- package/build/lib/commands/screenshot.d.ts +6 -0
- package/build/lib/commands/screenshot.d.ts.map +1 -1
- package/build/lib/commands/screenshot.js.map +1 -1
- package/build/lib/commands/server/runner.d.ts +1 -2
- package/build/lib/commands/server/runner.d.ts.map +1 -1
- package/build/lib/commands/server/runner.js.map +1 -1
- package/build/lib/commands/server/startup.d.ts +6 -0
- package/build/lib/commands/server/startup.d.ts.map +1 -1
- package/build/lib/commands/server/startup.js.map +1 -1
- package/build/lib/commands/services.d.ts +5 -0
- package/build/lib/commands/services.d.ts.map +1 -1
- package/build/lib/commands/services.js.map +1 -1
- package/build/lib/constraints.d.ts +52 -36
- package/build/lib/constraints.d.ts.map +1 -1
- package/build/lib/constraints.js +4 -1
- package/build/lib/constraints.js.map +1 -1
- package/build/lib/doctor/required-checks.d.ts +4 -4
- package/build/lib/doctor/required-checks.d.ts.map +1 -1
- package/build/lib/driver.d.ts +3 -55
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +57 -48
- package/build/lib/driver.js.map +1 -1
- package/build/lib/index.d.ts +1 -3
- package/build/lib/index.d.ts.map +1 -1
- package/build/lib/index.js +1 -3
- package/build/lib/index.js.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/composeOn/java/io/appium/espressoserver/lib/model/ComposeElement.kt +1 -1
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/http/Router.kt +10 -3
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/model/Element.kt +1 -1
- package/lib/commands/app-install.ts +9 -3
- package/lib/commands/app-management.ts +6 -0
- package/lib/commands/clipboard.ts +8 -0
- package/lib/commands/context.ts +9 -0
- package/lib/commands/element.ts +18 -0
- package/lib/commands/idling-resources.ts +15 -0
- package/lib/commands/misc.ts +16 -0
- package/lib/commands/screenshot.ts +7 -0
- package/lib/commands/server/runner.ts +1 -2
- package/lib/commands/server/startup.ts +7 -0
- package/lib/commands/services.ts +6 -0
- package/lib/constraints.ts +4 -1
- package/lib/doctor/required-checks.ts +5 -5
- package/lib/driver.ts +73 -82
- package/lib/index.ts +1 -4
- package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.d.ts +4 -5
- package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.js +143 -138
- package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/command-timeout.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/command-timeout.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/command-timeout.js +39 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/command-timeout.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.d.ts +32 -2
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.js +111 -62
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.d.ts +18 -2
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.js +28 -34
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.d.ts +13 -2
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.js +33 -30
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.d.ts +82 -2
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.js +71 -28
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.d.ts +13 -2
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.js +21 -19
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.d.ts +75 -2
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.js +170 -99
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/core.d.ts +69 -27
- package/node_modules/@appium/base-driver/build/lib/basedriver/core.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/core.js +101 -123
- package/node_modules/@appium/base-driver/build/lib/basedriver/core.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/device-settings.js +11 -15
- package/node_modules/@appium/base-driver/build/lib/basedriver/device-settings.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/driver.d.ts +95 -30
- package/node_modules/@appium/base-driver/build/lib/basedriver/driver.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/driver.js +297 -215
- package/node_modules/@appium/base-driver/build/lib/basedriver/driver.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.js +24 -39
- package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-cache.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-cache.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-cache.js +449 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-cache.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-url-rules.d.ts +2 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-url-rules.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-url-rules.js +434 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/app-url-rules.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.d.ts +28 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.js +75 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/env-proxy.d.ts +25 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/env-proxy.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/env-proxy.js +65 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/env-proxy.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/index.d.ts +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/index.js +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/index.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/timeouts.d.ts +20 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/timeouts.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/timeouts.js +35 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/timeouts.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/version.d.ts +2 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/version.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/version.js +17 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/version.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.d.ts +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.js +46 -37
- package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/validation.js +9 -13
- package/node_modules/@appium/base-driver/build/lib/basedriver/validation.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/constants.d.ts +10 -1
- package/node_modules/@appium/base-driver/build/lib/constants.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/constants.js +20 -9
- package/node_modules/@appium/base-driver/build/lib/constants.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/helpers/capabilities.js +7 -11
- package/node_modules/@appium/base-driver/build/lib/helpers/capabilities.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.d.ts +1 -1
- package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.js +3 -6
- package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/helpers/http-status-codes.d.ts +11 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/http-status-codes.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/http-status-codes.js +11 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/http-status-codes.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.js +22 -12
- package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/helpers/log-prefix.d.ts +8 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/log-prefix.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/log-prefix.js +15 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/log-prefix.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/logger.d.ts +2 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/logger.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/logger.js +3 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/logger.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/session.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/helpers/session.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/index.d.ts +14 -22
- package/node_modules/@appium/base-driver/build/lib/index.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/index.js +15 -72
- package/node_modules/@appium/base-driver/build/lib/index.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browser.d.ts +41 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browser.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browser.js +41 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browser.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browsing-context.d.ts +103 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browsing-context.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browsing-context.js +103 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/browsing-context.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/emulation.d.ts +93 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/emulation.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/emulation.js +93 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/emulation.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/index.d.ts +462 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/index.js +29 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/index.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/input.d.ts +21 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/input.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/input.js +21 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/input.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/network.d.ts +90 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/network.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/network.js +90 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/network.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/script.d.ts +42 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/script.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/script.js +42 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/script.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/session.d.ts +33 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/session.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/session.js +42 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/session.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/storage.d.ts +22 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/storage.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/storage.js +22 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/storage.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/web-extension.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/web-extension.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/web-extension.js +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands/web-extension.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/errors.d.ts +50 -83
- package/node_modules/@appium/base-driver/build/lib/protocol/errors.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/errors.js +152 -318
- package/node_modules/@appium/base-driver/build/lib/protocol/errors.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/helpers.d.ts +1 -2
- package/node_modules/@appium/base-driver/build/lib/protocol/helpers.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/helpers.js +7 -21
- package/node_modules/@appium/base-driver/build/lib/protocol/helpers.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/idempotency.d.ts +9 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/idempotency.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/idempotency.js +203 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/idempotency.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/index.d.ts +11 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/index.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/index.js +9 -26
- package/node_modules/@appium/base-driver/build/lib/protocol/index.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/json-parse-error.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/json-parse-error.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/json-parse-error.js +19 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/json-parse-error.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/params.d.ts +47 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/params.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/params.js +186 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/params.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/proxy-context.d.ts +16 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/proxy-context.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/proxy-context.js +25 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/proxy-context.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/proxy.d.ts +24 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/proxy.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/proxy.js +75 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/proxy.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/route-handler.d.ts +20 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/route-handler.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/route-handler.js +326 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/route-handler.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium-device.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium-device.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.d.ts +2 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.js +5 -6
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/chromium-cdp.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/chromium-cdp.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/custom-handlers.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/custom-handlers.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/device-posture.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/device-posture.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/fedcm.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/fedcm.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/index.js +27 -30
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/index.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/payment.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/payment.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/permissions.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/permissions.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/pressure.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/pressure.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/privacy.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/privacy.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/reporting.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/reporting.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/selenium.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/selenium.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/sensor.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/sensor.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/storage-access.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/storage-access.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/webauthn.js +1 -4
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/webauthn.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.d.ts +4 -80
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.js +28 -29
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.d.ts +0 -60
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.js +1 -44
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.d.ts +0 -14
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.js +1 -12
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.d.ts +5 -6
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.js +9 -15
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/session.d.ts +34 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/session.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/session.js +69 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/session.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/validators.d.ts +6 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/validators.d.ts.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/validators.js +12 -14
- package/node_modules/@appium/base-driver/build/lib/protocol/validators.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/utils.js +9 -16
- package/node_modules/@appium/base-driver/build/lib/utils.js.map +1 -1
- package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy-request.d.ts +12 -0
- package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy-request.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy-request.js +48 -0
- package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy-request.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy.d.ts +63 -0
- package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy.js +361 -0
- package/node_modules/@appium/base-driver/build/lib/wd-proxy/proxy.js.map +1 -0
- package/node_modules/@appium/base-driver/lib/basedriver/capabilities.ts +136 -111
- package/node_modules/@appium/base-driver/lib/basedriver/command-timeout.ts +52 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/bidi.ts +129 -68
- package/node_modules/@appium/base-driver/lib/basedriver/commands/event.ts +37 -39
- package/node_modules/@appium/base-driver/lib/basedriver/commands/execute.ts +40 -37
- package/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts +119 -50
- package/node_modules/@appium/base-driver/lib/basedriver/commands/log.ts +29 -28
- package/node_modules/@appium/base-driver/lib/basedriver/commands/timeout.ts +186 -113
- package/node_modules/@appium/base-driver/lib/basedriver/core.ts +104 -109
- package/node_modules/@appium/base-driver/lib/basedriver/device-settings.ts +2 -2
- package/node_modules/@appium/base-driver/lib/basedriver/driver.ts +330 -201
- package/node_modules/@appium/base-driver/lib/basedriver/extension-core.ts +9 -20
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/app-cache.ts +519 -0
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/app-url-rules.ts +471 -0
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/caps.ts +79 -0
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/env-proxy.ts +65 -0
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/index.ts +5 -0
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/timeouts.ts +42 -0
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/version.ts +20 -0
- package/node_modules/@appium/base-driver/lib/basedriver/ipc.ts +36 -18
- package/node_modules/@appium/base-driver/lib/basedriver/validation.ts +1 -1
- package/node_modules/@appium/base-driver/lib/constants.ts +18 -1
- package/node_modules/@appium/base-driver/lib/helpers/extension-command-name.ts +1 -1
- package/node_modules/@appium/base-driver/lib/helpers/http-status-codes.ts +10 -0
- package/node_modules/@appium/base-driver/lib/helpers/levenshtein-match.ts +18 -1
- package/node_modules/@appium/base-driver/lib/helpers/log-prefix.ts +15 -0
- package/node_modules/@appium/base-driver/lib/index.ts +49 -34
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/browser.ts +42 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/browsing-context.ts +104 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/emulation.ts +94 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/index.ts +31 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/input.ts +22 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/network.ts +91 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/script.ts +43 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/session.ts +43 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/storage.ts +23 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands/web-extension.ts +16 -0
- package/node_modules/@appium/base-driver/lib/protocol/errors.ts +45 -234
- package/node_modules/@appium/base-driver/lib/protocol/helpers.ts +3 -14
- package/node_modules/@appium/base-driver/lib/protocol/idempotency.ts +238 -0
- package/node_modules/@appium/base-driver/lib/protocol/index.ts +11 -28
- package/node_modules/@appium/base-driver/lib/protocol/json-parse-error.ts +24 -0
- package/node_modules/@appium/base-driver/lib/protocol/params.ts +237 -0
- package/node_modules/@appium/base-driver/lib/protocol/proxy-context.ts +30 -0
- package/node_modules/@appium/base-driver/lib/protocol/proxy.ts +99 -0
- package/node_modules/@appium/base-driver/lib/protocol/route-handler.ts +453 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/appium.ts +5 -2
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/index.ts +13 -13
- package/node_modules/@appium/base-driver/lib/protocol/routes/index.ts +13 -9
- package/node_modules/@appium/base-driver/lib/protocol/routes/jsonwp.ts +0 -40
- package/node_modules/@appium/base-driver/lib/protocol/routes/mjsonwp.ts +0 -8
- package/node_modules/@appium/base-driver/lib/protocol/routes/w3c.ts +9 -11
- package/node_modules/@appium/base-driver/lib/protocol/session.ts +81 -0
- package/node_modules/@appium/base-driver/lib/protocol/validators.ts +15 -10
- package/node_modules/@appium/base-driver/lib/wd-proxy/proxy-request.ts +53 -0
- package/node_modules/@appium/base-driver/lib/wd-proxy/proxy.ts +418 -0
- package/node_modules/@appium/base-driver/package.json +26 -23
- package/node_modules/@appium/base-driver/tsconfig.json +1 -1
- package/node_modules/@appium/logger/CHANGELOG.md +45 -1
- package/node_modules/@appium/logger/README.md +1 -1
- package/node_modules/@appium/logger/build/lib/index.d.ts +3 -5
- package/node_modules/@appium/logger/build/lib/index.d.ts.map +1 -1
- package/node_modules/@appium/logger/build/lib/index.js +2 -11
- package/node_modules/@appium/logger/build/lib/index.js.map +1 -1
- package/node_modules/@appium/logger/build/lib/log.d.ts +17 -22
- package/node_modules/@appium/logger/build/lib/log.d.ts.map +1 -1
- package/node_modules/@appium/logger/build/lib/log.js +65 -124
- package/node_modules/@appium/logger/build/lib/log.js.map +1 -1
- package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.d.ts +1 -1
- package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.d.ts.map +1 -1
- package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.js +9 -13
- package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.js.map +1 -1
- package/node_modules/@appium/logger/build/lib/types.d.ts +60 -6
- package/node_modules/@appium/logger/build/lib/types.d.ts.map +1 -1
- package/node_modules/@appium/logger/build/lib/types.js +1 -2
- package/node_modules/@appium/logger/build/lib/utils/ansi.js +2 -6
- package/node_modules/@appium/logger/build/lib/utils/ansi.js.map +1 -1
- package/node_modules/@appium/logger/build/lib/utils/index.d.ts +3 -3
- package/node_modules/@appium/logger/build/lib/utils/index.d.ts.map +1 -1
- package/node_modules/@appium/logger/build/lib/utils/index.js +3 -12
- package/node_modules/@appium/logger/build/lib/utils/index.js.map +1 -1
- package/node_modules/@appium/logger/build/lib/utils/node.js +3 -8
- package/node_modules/@appium/logger/build/lib/utils/node.js.map +1 -1
- package/node_modules/@appium/logger/build/lib/utils/set-blocking.js +1 -4
- package/node_modules/@appium/logger/build/lib/utils/set-blocking.js.map +1 -1
- package/node_modules/@appium/logger/lib/index.ts +3 -5
- package/node_modules/@appium/logger/lib/log.ts +66 -81
- package/node_modules/@appium/logger/lib/secure-values-preprocessor.ts +3 -3
- package/node_modules/@appium/logger/lib/types.ts +62 -9
- package/node_modules/@appium/logger/lib/utils/index.ts +3 -3
- package/node_modules/@appium/logger/package.json +12 -4
- package/node_modules/@appium/schema/build/lib/appium-config-schema.d.ts +51 -46
- package/node_modules/@appium/schema/build/lib/appium-config-schema.d.ts.map +1 -1
- package/node_modules/@appium/schema/build/lib/appium-config-schema.js +50 -50
- package/node_modules/@appium/schema/build/lib/appium-config-schema.js.map +1 -1
- package/node_modules/@appium/schema/build/lib/index.d.ts +1 -1
- package/node_modules/@appium/schema/build/lib/index.d.ts.map +1 -1
- package/node_modules/@appium/schema/build/lib/index.js +3 -19
- package/node_modules/@appium/schema/build/lib/index.js.map +1 -1
- package/node_modules/@appium/schema/lib/appium-config-schema.ts +54 -49
- package/node_modules/@appium/schema/lib/appium-config.schema.json +54 -51
- package/node_modules/@appium/schema/lib/index.ts +3 -3
- package/node_modules/@appium/schema/package.json +12 -4
- package/node_modules/@appium/support/README.md +4 -9
- package/node_modules/@appium/support/build/lib/console.d.ts +10 -7
- package/node_modules/@appium/support/build/lib/console.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/console.js +31 -79
- package/node_modules/@appium/support/build/lib/console.js.map +1 -1
- package/node_modules/@appium/support/build/lib/doctor.js +5 -13
- package/node_modules/@appium/support/build/lib/doctor.js.map +1 -1
- package/node_modules/@appium/support/build/lib/fs.d.ts +58 -79
- package/node_modules/@appium/support/build/lib/fs.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/fs.js +93 -199
- package/node_modules/@appium/support/build/lib/fs.js.map +1 -1
- package/node_modules/@appium/support/build/lib/index.d.ts +28 -50
- package/node_modules/@appium/support/build/lib/index.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/index.js +15 -82
- package/node_modules/@appium/support/build/lib/index.js.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/base64-encode-stream.js +3 -9
- package/node_modules/@appium/support/build/lib/internal/base64-encode-stream.js.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/fs-like.d.ts +23 -0
- package/node_modules/@appium/support/build/lib/internal/fs-like.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/fs-like.js +2 -0
- package/node_modules/@appium/support/build/lib/internal/fs-like.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/http-upload.d.ts +39 -0
- package/node_modules/@appium/support/build/lib/internal/http-upload.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/http-upload.js +104 -0
- package/node_modules/@appium/support/build/lib/internal/http-upload.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/index.d.ts +21 -3
- package/node_modules/@appium/support/build/lib/internal/index.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/index.js +20 -10
- package/node_modules/@appium/support/build/lib/internal/index.js.map +1 -1
- package/node_modules/@appium/support/build/lib/internal/move-operation.d.ts +26 -0
- package/node_modules/@appium/support/build/lib/internal/move-operation.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/move-operation.js +161 -0
- package/node_modules/@appium/support/build/lib/internal/move-operation.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/plain-object.d.ts +8 -0
- package/node_modules/@appium/support/build/lib/internal/plain-object.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/plain-object.js +14 -0
- package/node_modules/@appium/support/build/lib/internal/plain-object.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/platform.d.ts +5 -0
- package/node_modules/@appium/support/build/lib/internal/platform.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/platform.js +8 -0
- package/node_modules/@appium/support/build/lib/internal/platform.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/plist-buffers.d.ts +9 -0
- package/node_modules/@appium/support/build/lib/internal/plist-buffers.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/plist-buffers.js +47 -0
- package/node_modules/@appium/support/build/lib/internal/plist-buffers.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/pluralize.d.ts +15 -0
- package/node_modules/@appium/support/build/lib/internal/pluralize.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/pluralize.js +20 -0
- package/node_modules/@appium/support/build/lib/internal/pluralize.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/sizeof.d.ts +3 -0
- package/node_modules/@appium/support/build/lib/internal/sizeof.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/sizeof.js +77 -0
- package/node_modules/@appium/support/build/lib/internal/sizeof.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/sub-path.d.ts +11 -0
- package/node_modules/@appium/support/build/lib/internal/sub-path.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/sub-path.js +24 -0
- package/node_modules/@appium/support/build/lib/internal/sub-path.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/terminal.d.ts +16 -0
- package/node_modules/@appium/support/build/lib/internal/terminal.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/terminal.js +52 -0
- package/node_modules/@appium/support/build/lib/internal/terminal.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/units.d.ts +7 -0
- package/node_modules/@appium/support/build/lib/internal/units.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/units.js +7 -0
- package/node_modules/@appium/support/build/lib/internal/units.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/walker.d.ts +76 -0
- package/node_modules/@appium/support/build/lib/internal/walker.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/walker.js +88 -0
- package/node_modules/@appium/support/build/lib/internal/walker.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/write-queue.d.ts +48 -0
- package/node_modules/@appium/support/build/lib/internal/write-queue.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/write-queue.js +99 -0
- package/node_modules/@appium/support/build/lib/internal/write-queue.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.d.ts +16 -0
- package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.js +81 -0
- package/node_modules/@appium/support/build/lib/internal/yauzl-helpers.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.d.ts +90 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.js +226 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-sink.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.d.ts +155 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.js +591 -0
- package/node_modules/@appium/support/build/lib/internal/zip-entry-writer.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-extractor.d.ts +30 -0
- package/node_modules/@appium/support/build/lib/internal/zip-extractor.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-extractor.js +249 -0
- package/node_modules/@appium/support/build/lib/internal/zip-extractor.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.d.ts +36 -0
- package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.js +669 -0
- package/node_modules/@appium/support/build/lib/internal/zip-stream-parser.js.map +1 -0
- package/node_modules/@appium/support/build/lib/logger.d.ts +1 -1
- package/node_modules/@appium/support/build/lib/logger.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/logger.js +3 -5
- package/node_modules/@appium/support/build/lib/logger.js.map +1 -1
- package/node_modules/@appium/support/build/lib/logging.d.ts +0 -1
- package/node_modules/@appium/support/build/lib/logging.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/logging.js +12 -54
- package/node_modules/@appium/support/build/lib/logging.js.map +1 -1
- package/node_modules/@appium/support/build/lib/net.d.ts +38 -15
- package/node_modules/@appium/support/build/lib/net.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/net.js +92 -171
- package/node_modules/@appium/support/build/lib/net.js.map +1 -1
- package/node_modules/@appium/support/build/lib/node.d.ts +1 -11
- package/node_modules/@appium/support/build/lib/node.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/node.js +17 -148
- package/node_modules/@appium/support/build/lib/node.js.map +1 -1
- package/node_modules/@appium/support/build/lib/plist.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/plist.js +24 -48
- package/node_modules/@appium/support/build/lib/plist.js.map +1 -1
- package/node_modules/@appium/support/build/lib/system.d.ts +3 -14
- package/node_modules/@appium/support/build/lib/system.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/system.js +12 -49
- package/node_modules/@appium/support/build/lib/system.js.map +1 -1
- package/node_modules/@appium/support/build/lib/tempdir.js +16 -24
- package/node_modules/@appium/support/build/lib/tempdir.js.map +1 -1
- package/node_modules/@appium/support/build/lib/timing.js +4 -9
- package/node_modules/@appium/support/build/lib/timing.js.map +1 -1
- package/node_modules/@appium/support/build/lib/util.d.ts +6 -80
- package/node_modules/@appium/support/build/lib/util.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/util.js +62 -282
- package/node_modules/@appium/support/build/lib/util.js.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.d.ts +48 -11
- package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.js +80 -508
- package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
- package/node_modules/@appium/support/lib/console.ts +26 -73
- package/node_modules/@appium/support/lib/fs.ts +102 -190
- package/node_modules/@appium/support/lib/index.ts +32 -61
- package/node_modules/@appium/support/lib/internal/fs-like.ts +26 -0
- package/node_modules/@appium/support/lib/internal/http-upload.ts +148 -0
- package/node_modules/@appium/support/lib/internal/index.ts +56 -11
- package/node_modules/@appium/support/lib/internal/move-operation.ts +171 -0
- package/node_modules/@appium/support/lib/internal/plain-object.ts +13 -0
- package/node_modules/@appium/support/lib/internal/platform.ts +8 -0
- package/node_modules/@appium/support/lib/internal/plist-buffers.ts +47 -0
- package/node_modules/@appium/support/lib/internal/pluralize.ts +25 -0
- package/node_modules/@appium/support/lib/internal/sizeof.ts +85 -0
- package/node_modules/@appium/support/lib/internal/sub-path.ts +24 -0
- package/node_modules/@appium/support/lib/internal/terminal.ts +59 -0
- package/node_modules/@appium/support/lib/internal/units.ts +6 -0
- package/node_modules/@appium/support/lib/internal/walker.ts +181 -0
- package/node_modules/@appium/support/lib/internal/write-queue.ts +105 -0
- package/node_modules/@appium/support/lib/internal/yauzl-helpers.ts +103 -0
- package/node_modules/@appium/support/lib/internal/zip-entry-sink.ts +282 -0
- package/node_modules/@appium/support/lib/internal/zip-entry-writer.ts +696 -0
- package/node_modules/@appium/support/lib/internal/zip-extractor.ts +292 -0
- package/node_modules/@appium/support/lib/internal/zip-stream-parser.ts +793 -0
- package/node_modules/@appium/support/lib/logger.ts +1 -1
- package/node_modules/@appium/support/lib/logging.ts +1 -6
- package/node_modules/@appium/support/lib/net.ts +96 -204
- package/node_modules/@appium/support/lib/node.ts +3 -136
- package/node_modules/@appium/support/lib/plist.ts +11 -25
- package/node_modules/@appium/support/lib/system.ts +3 -31
- package/node_modules/@appium/support/lib/tempdir.ts +3 -3
- package/node_modules/@appium/support/lib/timing.ts +1 -1
- package/node_modules/@appium/support/lib/util.ts +26 -177
- package/node_modules/@appium/support/lib/zip.ts +88 -513
- package/node_modules/@appium/support/package.json +29 -33
- package/node_modules/@appium/types/build/lib/action.d.ts +1 -1
- package/node_modules/@appium/types/build/lib/action.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/action.js +2 -5
- package/node_modules/@appium/types/build/lib/action.js.map +1 -1
- package/node_modules/@appium/types/build/lib/appium-config.d.ts +31 -38
- package/node_modules/@appium/types/build/lib/appium-config.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/appium-config.js +1 -2
- package/node_modules/@appium/types/build/lib/appium-config.js.map +1 -1
- package/node_modules/@appium/types/build/lib/capabilities.d.ts +8 -8
- package/node_modules/@appium/types/build/lib/capabilities.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/capabilities.js +1 -2
- package/node_modules/@appium/types/build/lib/command-maps.d.ts +128 -15
- package/node_modules/@appium/types/build/lib/command-maps.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/command-maps.js +1 -2
- package/node_modules/@appium/types/build/lib/commands/appium.js +1 -2
- package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts +45 -100
- package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/commands/basedriver.js +1 -2
- package/node_modules/@appium/types/build/lib/commands/index.d.ts +6 -6
- package/node_modules/@appium/types/build/lib/commands/index.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/commands/index.js +6 -22
- package/node_modules/@appium/types/build/lib/commands/index.js.map +1 -1
- package/node_modules/@appium/types/build/lib/commands/jsonwp.d.ts +0 -18
- package/node_modules/@appium/types/build/lib/commands/jsonwp.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/commands/jsonwp.js +1 -2
- package/node_modules/@appium/types/build/lib/commands/mjsonwp.d.ts +0 -17
- package/node_modules/@appium/types/build/lib/commands/mjsonwp.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/commands/mjsonwp.js +1 -2
- package/node_modules/@appium/types/build/lib/commands/other-protocols.js +1 -2
- package/node_modules/@appium/types/build/lib/commands/webdriver.d.ts +2 -2
- package/node_modules/@appium/types/build/lib/commands/webdriver.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/commands/webdriver.js +1 -2
- package/node_modules/@appium/types/build/lib/config.d.ts +2 -2
- package/node_modules/@appium/types/build/lib/config.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/config.js +1 -2
- package/node_modules/@appium/types/build/lib/config.js.map +1 -1
- package/node_modules/@appium/types/build/lib/constraints.d.ts +0 -21
- package/node_modules/@appium/types/build/lib/constraints.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/constraints.js +1 -25
- package/node_modules/@appium/types/build/lib/constraints.js.map +1 -1
- package/node_modules/@appium/types/build/lib/doctor.d.ts +1 -1
- package/node_modules/@appium/types/build/lib/doctor.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/doctor.js +1 -2
- package/node_modules/@appium/types/build/lib/driver.d.ts +18 -18
- package/node_modules/@appium/types/build/lib/driver.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/driver.js +1 -2
- package/node_modules/@appium/types/build/lib/http.d.ts +1 -1
- package/node_modules/@appium/types/build/lib/http.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/http.js +1 -2
- package/node_modules/@appium/types/build/lib/index.d.ts +18 -15
- package/node_modules/@appium/types/build/lib/index.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/index.js +17 -31
- package/node_modules/@appium/types/build/lib/index.js.map +1 -1
- package/node_modules/@appium/types/build/lib/ipc.js +1 -2
- package/node_modules/@appium/types/build/lib/json.d.ts +35 -0
- package/node_modules/@appium/types/build/lib/json.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/json.js +7 -0
- package/node_modules/@appium/types/build/lib/json.js.map +1 -0
- package/node_modules/@appium/types/build/lib/logger.d.ts +0 -6
- package/node_modules/@appium/types/build/lib/logger.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/logger.js +1 -2
- package/node_modules/@appium/types/build/lib/package-json.d.ts +50 -0
- package/node_modules/@appium/types/build/lib/package-json.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/package-json.js +7 -0
- package/node_modules/@appium/types/build/lib/package-json.js.map +1 -0
- package/node_modules/@appium/types/build/lib/plugin.d.ts +6 -12
- package/node_modules/@appium/types/build/lib/plugin.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/plugin.js +1 -2
- package/node_modules/@appium/types/build/lib/server.d.ts +10 -8
- package/node_modules/@appium/types/build/lib/server.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/server.js +1 -2
- package/node_modules/@appium/types/build/lib/standard-caps.d.ts +5 -3
- package/node_modules/@appium/types/build/lib/standard-caps.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/standard-caps.js +1 -2
- package/node_modules/@appium/types/build/lib/util.d.ts +68 -3
- package/node_modules/@appium/types/build/lib/util.d.ts.map +1 -1
- package/node_modules/@appium/types/build/lib/util.js +1 -2
- package/node_modules/@appium/types/lib/action.ts +1 -1
- package/node_modules/@appium/types/lib/appium-config.ts +31 -38
- package/node_modules/@appium/types/lib/capabilities.ts +8 -8
- package/node_modules/@appium/types/lib/command-maps.ts +141 -16
- package/node_modules/@appium/types/lib/commands/basedriver.ts +45 -114
- package/node_modules/@appium/types/lib/commands/index.ts +6 -6
- package/node_modules/@appium/types/lib/commands/jsonwp.ts +0 -21
- package/node_modules/@appium/types/lib/commands/mjsonwp.ts +0 -19
- package/node_modules/@appium/types/lib/commands/webdriver.ts +2 -2
- package/node_modules/@appium/types/lib/config.ts +2 -2
- package/node_modules/@appium/types/lib/constraints.ts +0 -21
- package/node_modules/@appium/types/lib/doctor.ts +1 -1
- package/node_modules/@appium/types/lib/driver.ts +18 -22
- package/node_modules/@appium/types/lib/http.ts +1 -1
- package/node_modules/@appium/types/lib/index.ts +18 -15
- package/node_modules/@appium/types/lib/json.ts +39 -0
- package/node_modules/@appium/types/lib/logger.ts +0 -6
- package/node_modules/@appium/types/lib/package-json.ts +40 -0
- package/node_modules/@appium/types/lib/plugin.ts +6 -13
- package/node_modules/@appium/types/lib/server.ts +10 -8
- package/node_modules/@appium/types/lib/standard-caps.ts +5 -3
- package/node_modules/@appium/types/lib/util.ts +92 -5
- package/node_modules/@appium/types/package.json +24 -8
- package/node_modules/@appium/types/tsconfig.json +1 -1
- package/node_modules/@types/body-parser/LICENSE +21 -0
- package/node_modules/@types/body-parser/README.md +15 -0
- package/node_modules/@types/body-parser/index.d.ts +95 -0
- package/node_modules/@types/body-parser/package.json +64 -0
- package/node_modules/@types/connect/LICENSE +21 -0
- package/node_modules/@types/connect/README.md +15 -0
- package/node_modules/@types/connect/index.d.ts +91 -0
- package/node_modules/@types/connect/package.json +32 -0
- package/node_modules/@types/express/LICENSE +21 -0
- package/node_modules/@types/express/README.md +15 -0
- package/node_modules/@types/express/index.d.ts +122 -0
- package/node_modules/@types/express/package.json +45 -0
- package/node_modules/@types/express-serve-static-core/LICENSE +21 -0
- package/node_modules/@types/express-serve-static-core/README.md +15 -0
- package/node_modules/@types/express-serve-static-core/index.d.ts +1256 -0
- package/node_modules/@types/express-serve-static-core/package.json +51 -0
- package/node_modules/@types/http-errors/LICENSE +21 -0
- package/node_modules/@types/http-errors/README.md +15 -0
- package/node_modules/@types/http-errors/index.d.ts +77 -0
- package/node_modules/@types/http-errors/package.json +36 -0
- package/node_modules/@types/json-schema/LICENSE +21 -0
- package/node_modules/@types/json-schema/README.md +15 -0
- package/node_modules/@types/json-schema/index.d.ts +749 -0
- package/node_modules/@types/json-schema/package.json +40 -0
- package/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@types/node/README.md +15 -0
- package/node_modules/@types/node/assert/strict.d.ts +68 -0
- package/node_modules/@types/node/assert.d.ts +1077 -0
- package/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/node_modules/@types/node/buffer.d.ts +1800 -0
- package/node_modules/@types/node/child_process.d.ts +1361 -0
- package/node_modules/@types/node/cluster.d.ts +432 -0
- package/node_modules/@types/node/console.d.ts +93 -0
- package/node_modules/@types/node/constants.d.ts +14 -0
- package/node_modules/@types/node/crypto.d.ts +3964 -0
- package/node_modules/@types/node/dgram.d.ts +652 -0
- package/node_modules/@types/node/diagnostics_channel.d.ts +794 -0
- package/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/node_modules/@types/node/dns.d.ts +876 -0
- package/node_modules/@types/node/domain.d.ts +150 -0
- package/node_modules/@types/node/events.d.ts +1008 -0
- package/node_modules/@types/node/ffi.d.ts +500 -0
- package/node_modules/@types/node/fs/promises.d.ts +1477 -0
- package/node_modules/@types/node/fs.d.ts +4803 -0
- package/node_modules/@types/node/globals.d.ts +150 -0
- package/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/node_modules/@types/node/http.d.ts +2218 -0
- package/node_modules/@types/node/http2.d.ts +2498 -0
- package/node_modules/@types/node/https.d.ts +400 -0
- package/node_modules/@types/node/index.d.ts +116 -0
- package/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/node_modules/@types/node/inspector.d.ts +265 -0
- package/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/node_modules/@types/node/module.d.ts +726 -0
- package/node_modules/@types/node/net.d.ts +1074 -0
- package/node_modules/@types/node/os.d.ts +498 -0
- package/node_modules/@types/node/package.json +140 -0
- package/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@types/node/path.d.ts +178 -0
- package/node_modules/@types/node/perf_hooks.d.ts +617 -0
- package/node_modules/@types/node/process.d.ts +2269 -0
- package/node_modules/@types/node/punycode.d.ts +89 -0
- package/node_modules/@types/node/querystring.d.ts +139 -0
- package/node_modules/@types/node/quic.d.ts +2191 -0
- package/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/node_modules/@types/node/readline.d.ts +508 -0
- package/node_modules/@types/node/repl.d.ts +420 -0
- package/node_modules/@types/node/sea.d.ts +47 -0
- package/node_modules/@types/node/sqlite.d.ts +1140 -0
- package/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/node_modules/@types/node/stream/iter.d.ts +449 -0
- package/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/node_modules/@types/node/stream/web.d.ts +320 -0
- package/node_modules/@types/node/stream.d.ts +1806 -0
- package/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/node_modules/@types/node/test/reporters.d.ts +60 -0
- package/node_modules/@types/node/test.d.ts +2558 -0
- package/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/node_modules/@types/node/timers.d.ts +149 -0
- package/node_modules/@types/node/tls.d.ts +1232 -0
- package/node_modules/@types/node/trace_events.d.ts +103 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +467 -0
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +118 -0
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +118 -0
- package/node_modules/@types/node/tty.d.ts +226 -0
- package/node_modules/@types/node/url.d.ts +556 -0
- package/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@types/node/util.d.ts +1680 -0
- package/node_modules/@types/node/v8.d.ts +1059 -0
- package/node_modules/@types/node/vfs.d.ts +211 -0
- package/node_modules/@types/node/vm.d.ts +1137 -0
- package/node_modules/@types/node/wasi.d.ts +131 -0
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +83 -0
- package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +119 -0
- package/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@types/node/worker_threads.d.ts +672 -0
- package/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/node_modules/@types/node/zlib.d.ts +1364 -0
- package/node_modules/@types/qs/LICENSE +21 -0
- package/node_modules/@types/qs/README.md +15 -0
- package/node_modules/@types/qs/index.d.ts +83 -0
- package/node_modules/@types/qs/package.json +66 -0
- package/node_modules/@types/range-parser/LICENSE +21 -0
- package/node_modules/@types/range-parser/README.md +53 -0
- package/node_modules/@types/range-parser/index.d.ts +34 -0
- package/node_modules/@types/range-parser/package.json +25 -0
- package/node_modules/@types/send/LICENSE +21 -0
- package/node_modules/@types/send/README.md +15 -0
- package/node_modules/@types/send/index.d.ts +187 -0
- package/node_modules/@types/send/package.json +38 -0
- package/node_modules/@types/serve-static/LICENSE +21 -0
- package/node_modules/@types/serve-static/README.md +15 -0
- package/node_modules/@types/serve-static/index.d.ts +116 -0
- package/node_modules/@types/serve-static/package.json +44 -0
- package/node_modules/@types/ws/LICENSE +21 -0
- package/node_modules/@types/ws/README.md +15 -0
- package/node_modules/@types/ws/index.d.mts +455 -0
- package/node_modules/@types/ws/index.d.ts +449 -0
- package/node_modules/@types/ws/package.json +72 -0
- package/node_modules/appium-adb/CHANGELOG.md +25 -0
- package/node_modules/appium-adb/build/lib/index.d.ts +1 -0
- package/node_modules/appium-adb/build/lib/index.d.ts.map +1 -1
- package/node_modules/appium-adb/build/lib/index.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/apk-signing.js +2 -2
- package/node_modules/appium-adb/build/lib/tools/apk-signing.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/apk-utils.js +2 -2
- package/node_modules/appium-adb/build/lib/tools/apk-utils.js.map +1 -1
- package/node_modules/appium-adb/build/lib/tools/system-calls.js +2 -2
- package/node_modules/appium-adb/build/lib/tools/system-calls.js.map +1 -1
- package/node_modules/appium-adb/lib/index.ts +3 -0
- package/node_modules/appium-adb/lib/tools/apk-signing.ts +2 -2
- package/node_modules/appium-adb/lib/tools/apk-utils.ts +2 -2
- package/node_modules/appium-adb/lib/tools/system-calls.ts +2 -2
- package/node_modules/appium-adb/package.json +7 -7
- package/node_modules/appium-android-driver/CHANGELOG.md +135 -0
- package/node_modules/appium-android-driver/build/lib/commands/app-management.d.ts +26 -0
- package/node_modules/appium-android-driver/build/lib/commands/app-management.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/app-management.js +4 -3
- package/node_modules/appium-android-driver/build/lib/commands/app-management.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/appearance.d.ts +7 -0
- package/node_modules/appium-android-driver/build/lib/commands/appearance.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/appearance.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/bluetooth.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/bluetooth.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/bluetooth.js +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/bluetooth.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/context/exports.d.ts +25 -0
- package/node_modules/appium-android-driver/build/lib/commands/context/exports.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/context/exports.js +4 -10
- package/node_modules/appium-android-driver/build/lib/commands/context/exports.js.map +1 -1
- 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 +48 -1
- package/node_modules/appium-android-driver/build/lib/commands/context/helpers.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/common.d.ts +9 -0
- package/node_modules/appium-android-driver/build/lib/commands/device/common.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/common.js +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/common.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/emulator-actions.d.ts +22 -0
- package/node_modules/appium-android-driver/build/lib/commands/device/emulator-actions.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/emulator-actions.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/emulator-console.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/device/emulator-console.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/emulator-console.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/device/utils.js +3 -3
- package/node_modules/appium-android-driver/build/lib/commands/device/utils.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/deviceidle.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/deviceidle.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/deviceidle.js +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/deviceidle.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/element.d.ts +20 -0
- package/node_modules/appium-android-driver/build/lib/commands/element.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/element.js +0 -1
- package/node_modules/appium-android-driver/build/lib/commands/element.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/execute.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/execute.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/execute.js +2 -3
- package/node_modules/appium-android-driver/build/lib/commands/execute.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/file-actions.d.ts +9 -0
- package/node_modules/appium-android-driver/build/lib/commands/file-actions.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/file-actions.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/find.d.ts +9 -1
- package/node_modules/appium-android-driver/build/lib/commands/find.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/find.js +5 -2
- package/node_modules/appium-android-driver/build/lib/commands/find.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/geolocation.d.ts +17 -4
- package/node_modules/appium-android-driver/build/lib/commands/geolocation.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/geolocation.js +2 -2
- package/node_modules/appium-android-driver/build/lib/commands/geolocation.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/gestures.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/gestures.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/gestures.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/image-injection.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/image-injection.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/image-injection.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/ime.d.ts +11 -0
- package/node_modules/appium-android-driver/build/lib/commands/ime.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/ime.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/intent.d.ts +10 -0
- package/node_modules/appium-android-driver/build/lib/commands/intent.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/intent.js +4 -4
- package/node_modules/appium-android-driver/build/lib/commands/intent.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/keyboard.d.ts +12 -0
- package/node_modules/appium-android-driver/build/lib/commands/keyboard.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/keyboard.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/legacy.d.ts +8 -0
- package/node_modules/appium-android-driver/build/lib/commands/legacy.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/legacy.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/lock/exports.d.ts +9 -0
- package/node_modules/appium-android-driver/build/lib/commands/lock/exports.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/lock/exports.js +7 -0
- package/node_modules/appium-android-driver/build/lib/commands/lock/exports.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/lock/helpers.js +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/lock/helpers.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/log.d.ts +8 -13
- package/node_modules/appium-android-driver/build/lib/commands/log.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/log.js +2 -30
- package/node_modules/appium-android-driver/build/lib/commands/log.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-projection.d.ts +8 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-projection.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/media-projection.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/memory.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/memory.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/memory.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/misc.d.ts +12 -0
- package/node_modules/appium-android-driver/build/lib/commands/misc.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/misc.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/network.d.ts +15 -0
- package/node_modules/appium-android-driver/build/lib/commands/network.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/network.js +2 -2
- package/node_modules/appium-android-driver/build/lib/commands/network.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/nfc.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/nfc.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/nfc.js +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/nfc.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/performance.d.ts +8 -0
- package/node_modules/appium-android-driver/build/lib/commands/performance.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/performance.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/permissions.d.ts +7 -0
- package/node_modules/appium-android-driver/build/lib/commands/permissions.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/permissions.js +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/permissions.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/recordscreen.d.ts +7 -0
- package/node_modules/appium-android-driver/build/lib/commands/recordscreen.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/recordscreen.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/resources.d.ts +7 -0
- package/node_modules/appium-android-driver/build/lib/commands/resources.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/resources.js +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/resources.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/shell.d.ts +9 -0
- package/node_modules/appium-android-driver/build/lib/commands/shell.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/shell.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/streamscreen.d.ts +7 -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.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/system-bars.d.ts +7 -0
- package/node_modules/appium-android-driver/build/lib/commands/system-bars.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/system-bars.js +2 -2
- package/node_modules/appium-android-driver/build/lib/commands/system-bars.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/time.d.ts +7 -0
- package/node_modules/appium-android-driver/build/lib/commands/time.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/time.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/commands/types.d.ts +9 -0
- package/node_modules/appium-android-driver/build/lib/commands/types.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/constraints.d.ts +16 -3
- package/node_modules/appium-android-driver/build/lib/constraints.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/constraints.js +16 -3
- package/node_modules/appium-android-driver/build/lib/constraints.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/driver.d.ts +36 -201
- package/node_modules/appium-android-driver/build/lib/driver.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/driver.js +253 -168
- package/node_modules/appium-android-driver/build/lib/driver.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/utils.js +1 -1
- package/node_modules/appium-android-driver/build/lib/utils.js.map +1 -1
- package/node_modules/appium-android-driver/lib/commands/app-management.ts +33 -3
- package/node_modules/appium-android-driver/lib/commands/appearance.ts +8 -0
- package/node_modules/appium-android-driver/lib/commands/bluetooth.ts +8 -1
- package/node_modules/appium-android-driver/lib/commands/context/exports.ts +40 -10
- package/node_modules/appium-android-driver/lib/commands/context/helpers.ts +48 -1
- package/node_modules/appium-android-driver/lib/commands/device/common.ts +11 -1
- package/node_modules/appium-android-driver/lib/commands/device/emulator-actions.ts +23 -0
- package/node_modules/appium-android-driver/lib/commands/device/emulator-console.ts +9 -0
- package/node_modules/appium-android-driver/lib/commands/device/utils.ts +3 -3
- package/node_modules/appium-android-driver/lib/commands/deviceidle.ts +8 -1
- package/node_modules/appium-android-driver/lib/commands/element.ts +21 -0
- package/node_modules/appium-android-driver/lib/commands/execute.ts +9 -4
- package/node_modules/appium-android-driver/lib/commands/file-actions.ts +10 -0
- package/node_modules/appium-android-driver/lib/commands/find.ts +16 -3
- package/node_modules/appium-android-driver/lib/commands/geolocation.ts +26 -6
- package/node_modules/appium-android-driver/lib/commands/gestures.ts +7 -0
- package/node_modules/appium-android-driver/lib/commands/image-injection.ts +9 -0
- package/node_modules/appium-android-driver/lib/commands/ime.ts +12 -0
- package/node_modules/appium-android-driver/lib/commands/intent.ts +25 -4
- package/node_modules/appium-android-driver/lib/commands/keyboard.ts +15 -0
- package/node_modules/appium-android-driver/lib/commands/legacy.ts +9 -0
- package/node_modules/appium-android-driver/lib/commands/lock/exports.ts +18 -0
- package/node_modules/appium-android-driver/lib/commands/lock/helpers.ts +1 -1
- package/node_modules/appium-android-driver/lib/commands/log.ts +18 -33
- package/node_modules/appium-android-driver/lib/commands/media-projection.ts +15 -0
- package/node_modules/appium-android-driver/lib/commands/memory.ts +7 -0
- package/node_modules/appium-android-driver/lib/commands/misc.ts +15 -0
- package/node_modules/appium-android-driver/lib/commands/network.ts +18 -2
- package/node_modules/appium-android-driver/lib/commands/nfc.ts +8 -1
- package/node_modules/appium-android-driver/lib/commands/performance.ts +13 -0
- package/node_modules/appium-android-driver/lib/commands/permissions.ts +13 -1
- package/node_modules/appium-android-driver/lib/commands/recordscreen.ts +8 -0
- package/node_modules/appium-android-driver/lib/commands/resources.ts +9 -1
- package/node_modules/appium-android-driver/lib/commands/shell.ts +12 -0
- package/node_modules/appium-android-driver/lib/commands/streamscreen.ts +12 -0
- package/node_modules/appium-android-driver/lib/commands/system-bars.ts +12 -2
- package/node_modules/appium-android-driver/lib/commands/time.ts +8 -0
- package/node_modules/appium-android-driver/lib/commands/types.ts +10 -0
- package/node_modules/appium-android-driver/lib/constraints.ts +16 -3
- package/node_modules/appium-android-driver/lib/driver.ts +289 -212
- package/node_modules/appium-android-driver/lib/utils.ts +1 -1
- package/node_modules/appium-android-driver/package.json +18 -21
- package/node_modules/appium-chromedriver/CHANGELOG.md +55 -0
- package/node_modules/appium-chromedriver/build/lib/chromedriver.d.ts +3 -6
- package/node_modules/appium-chromedriver/build/lib/chromedriver.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/chromedriver.js +2 -9
- package/node_modules/appium-chromedriver/build/lib/chromedriver.js.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/commands/binary.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/commands/binary.js +2 -7
- package/node_modules/appium-chromedriver/build/lib/commands/binary.js.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/commands/session.d.ts +1 -6
- package/node_modules/appium-chromedriver/build/lib/commands/session.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/commands/session.js +32 -25
- package/node_modules/appium-chromedriver/build/lib/commands/session.js.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/commands/types.d.ts +3 -5
- package/node_modules/appium-chromedriver/build/lib/commands/types.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.d.ts +7 -7
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.js +60 -55
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.js.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/types.d.ts +17 -2
- package/node_modules/appium-chromedriver/build/lib/types.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/utils.d.ts +16 -6
- package/node_modules/appium-chromedriver/build/lib/utils.d.ts.map +1 -1
- package/node_modules/appium-chromedriver/build/lib/utils.js +30 -16
- package/node_modules/appium-chromedriver/build/lib/utils.js.map +1 -1
- package/node_modules/appium-chromedriver/config/mapping.json +3 -33
- package/node_modules/appium-chromedriver/lib/chromedriver.ts +4 -12
- package/node_modules/appium-chromedriver/lib/commands/binary.ts +2 -7
- package/node_modules/appium-chromedriver/lib/commands/session.ts +36 -32
- package/node_modules/appium-chromedriver/lib/commands/types.ts +3 -7
- package/node_modules/appium-chromedriver/lib/storage-client/storage-client.ts +75 -62
- package/node_modules/appium-chromedriver/lib/types.ts +13 -2
- package/node_modules/appium-chromedriver/lib/utils.ts +38 -20
- package/node_modules/appium-chromedriver/package.json +7 -9
- package/node_modules/asyncbox/README.md +18 -4
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js +10 -6
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.js +8 -1
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.js.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/errors.d.ts +20 -2
- package/node_modules/asyncbox/build/cjs/lib/errors.d.ts.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/errors.js +41 -6
- package/node_modules/asyncbox/build/cjs/lib/errors.js.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/index.d.ts +1 -1
- package/node_modules/asyncbox/build/cjs/lib/index.d.ts.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/index.js +5 -1
- package/node_modules/asyncbox/build/cjs/lib/index.js.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/lock.d.ts.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/lock.js +6 -5
- package/node_modules/asyncbox/build/cjs/lib/lock.js.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts +1 -1
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts.map +1 -1
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js +7 -7
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.js +10 -6
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.js.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/asyncmap.js +8 -1
- package/node_modules/asyncbox/build/esm/lib/asyncmap.js.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/errors.d.ts +20 -2
- package/node_modules/asyncbox/build/esm/lib/errors.d.ts.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/errors.js +36 -5
- package/node_modules/asyncbox/build/esm/lib/errors.js.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/index.d.ts +1 -1
- package/node_modules/asyncbox/build/esm/lib/index.d.ts.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/index.js +1 -1
- package/node_modules/asyncbox/build/esm/lib/index.js.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/lock.d.ts.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/lock.js +6 -5
- package/node_modules/asyncbox/build/esm/lib/lock.js.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts +1 -1
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts.map +1 -1
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js +7 -7
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -1
- package/node_modules/asyncbox/lib/asyncfilter.ts +10 -6
- package/node_modules/asyncbox/lib/asyncmap.ts +8 -4
- package/node_modules/asyncbox/lib/errors.ts +41 -5
- package/node_modules/asyncbox/lib/index.ts +8 -1
- package/node_modules/asyncbox/lib/lock.ts +7 -5
- package/node_modules/asyncbox/lib/wait-for-condition.ts +7 -7
- package/node_modules/asyncbox/package.json +1 -1
- package/node_modules/axios/CHANGELOG.md +68 -0
- package/node_modules/axios/README.md +37 -8
- package/node_modules/axios/dist/axios.js +34 -17
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +29 -12
- package/node_modules/axios/dist/esm/axios.js +29 -12
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +27 -12
- package/node_modules/axios/index.d.cts +12 -2
- package/node_modules/axios/index.d.ts +10 -2
- package/node_modules/axios/lib/core/dispatchRequest.js +27 -10
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/package.json +24 -24
- package/node_modules/bare-buffer/CMakeLists.txt +30 -0
- package/node_modules/bare-buffer/LICENSE +201 -0
- package/node_modules/bare-buffer/README.md +26 -0
- package/node_modules/bare-buffer/binding.c +2041 -0
- package/node_modules/bare-buffer/binding.js +1 -0
- package/node_modules/bare-buffer/global.d.ts +21 -0
- package/node_modules/bare-buffer/global.js +6 -0
- package/node_modules/bare-buffer/index.d.ts +769 -0
- package/node_modules/bare-buffer/index.js +1339 -0
- package/node_modules/bare-buffer/lib/ascii.js +36 -0
- package/node_modules/bare-buffer/lib/base64.js +25 -0
- package/node_modules/bare-buffer/lib/base64url.js +25 -0
- package/node_modules/bare-buffer/lib/checked.js +23 -0
- package/node_modules/bare-buffer/lib/constants.d.ts +7 -0
- package/node_modules/bare-buffer/lib/constants.js +3 -0
- package/node_modules/bare-buffer/lib/hex.js +20 -0
- package/node_modules/bare-buffer/lib/latin1.js +14 -0
- package/node_modules/bare-buffer/lib/utf16le.js +20 -0
- package/node_modules/bare-buffer/lib/utf8.js +18 -0
- package/node_modules/bare-buffer/package.json +59 -0
- package/node_modules/bare-buffer/prebuilds/android-arm/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/android-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/android-ia32/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/android-x64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/darwin-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/darwin-x64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/ios-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/ios-arm64-simulator/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/ios-x64-simulator/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/linux-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/linux-x64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/win32-arm64/bare-buffer.bare +0 -0
- package/node_modules/bare-buffer/prebuilds/win32-x64/bare-buffer.bare +0 -0
- package/node_modules/bare-url/lib/url-search-params.js +16 -1
- package/node_modules/bare-url/package.json +2 -1
- package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
- package/node_modules/brace-expansion/README.md +30 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +2 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/brace-expansion/dist/commonjs/index.js +222 -36
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -1
- package/node_modules/brace-expansion/dist/esm/index.d.ts +2 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -1
- package/node_modules/brace-expansion/dist/esm/index.js +222 -36
- package/node_modules/brace-expansion/dist/esm/index.js.map +1 -1
- package/node_modules/brace-expansion/package.json +1 -1
- package/node_modules/follow-redirects/index.js +2 -1
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/io.appium.settings/CHANGELOG.md +33 -0
- package/node_modules/io.appium.settings/apks/settings_apk-debug.apk +0 -0
- package/node_modules/io.appium.settings/build/lib/logger.d.ts +2 -1
- package/node_modules/io.appium.settings/build/lib/logger.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/logger.js.map +1 -1
- package/node_modules/io.appium.settings/lib/logger.ts +2 -2
- package/node_modules/io.appium.settings/package.json +11 -8
- package/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/picomatch/README.md +743 -0
- package/node_modules/picomatch/index.js +17 -0
- package/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/picomatch/lib/parse.js +1425 -0
- package/node_modules/picomatch/lib/picomatch.js +361 -0
- package/node_modules/picomatch/lib/scan.js +403 -0
- package/node_modules/picomatch/lib/utils.js +72 -0
- package/node_modules/picomatch/package.json +83 -0
- package/node_modules/picomatch/posix.js +3 -0
- package/node_modules/plist/README.md +178 -111
- package/node_modules/plist/dist/build-binary.d.ts +6 -0
- package/node_modules/plist/dist/build-binary.d.ts.map +1 -0
- package/node_modules/plist/dist/build-binary.js +284 -0
- package/node_modules/plist/dist/build-binary.js.map +1 -0
- package/node_modules/plist/dist/build.browser.d.ts +18 -0
- package/node_modules/plist/dist/build.browser.d.ts.map +1 -0
- package/node_modules/plist/dist/build.browser.js +114 -0
- package/node_modules/plist/dist/build.browser.js.map +1 -0
- package/node_modules/plist/dist/build.d.ts +18 -0
- package/node_modules/plist/dist/build.d.ts.map +1 -0
- package/node_modules/plist/dist/build.js +102 -0
- package/node_modules/plist/dist/build.js.map +1 -0
- package/node_modules/plist/dist/index.browser.d.ts +7 -0
- package/node_modules/plist/dist/index.browser.d.ts.map +1 -0
- package/node_modules/plist/dist/index.browser.js +6 -0
- package/node_modules/plist/dist/index.browser.js.map +1 -0
- package/node_modules/plist/dist/index.d.ts +7 -0
- package/node_modules/plist/dist/index.d.ts.map +1 -0
- package/node_modules/plist/dist/index.js +6 -0
- package/node_modules/plist/dist/index.js.map +1 -0
- package/node_modules/plist/dist/parse-binary.d.ts +6 -0
- package/node_modules/plist/dist/parse-binary.d.ts.map +1 -0
- package/node_modules/plist/dist/parse-binary.js +181 -0
- package/node_modules/plist/dist/parse-binary.js.map +1 -0
- package/node_modules/plist/dist/parse-openstep.d.ts +6 -0
- package/node_modules/plist/dist/parse-openstep.d.ts.map +1 -0
- package/node_modules/plist/dist/parse-openstep.js +199 -0
- package/node_modules/plist/dist/parse-openstep.js.map +1 -0
- package/node_modules/plist/dist/parse.browser.d.ts +11 -0
- package/node_modules/plist/dist/parse.browser.d.ts.map +1 -0
- package/node_modules/plist/dist/parse.browser.js +208 -0
- package/node_modules/plist/dist/parse.browser.js.map +1 -0
- package/node_modules/plist/dist/parse.d.ts +11 -0
- package/node_modules/plist/dist/parse.d.ts.map +1 -0
- package/node_modules/plist/dist/parse.js +215 -0
- package/node_modules/plist/dist/parse.js.map +1 -0
- package/node_modules/plist/dist/safe-key.d.ts +10 -0
- package/node_modules/plist/dist/safe-key.d.ts.map +1 -0
- package/node_modules/plist/dist/safe-key.js +17 -0
- package/node_modules/plist/dist/safe-key.js.map +1 -0
- package/node_modules/plist/package.json +31 -8
- package/node_modules/sanitize-filename/index.js +11 -4
- package/node_modules/sanitize-filename/package.json +1 -1
- package/node_modules/sanitize-filename/test.js +39 -0
- package/node_modules/teen_process/CHANGELOG.md +6 -0
- package/node_modules/teen_process/build/cjs/lib/subprocess.d.ts.map +1 -1
- package/node_modules/teen_process/build/cjs/lib/subprocess.js +18 -7
- package/node_modules/teen_process/build/cjs/lib/subprocess.js.map +1 -1
- package/node_modules/teen_process/build/esm/lib/subprocess.d.ts.map +1 -1
- package/node_modules/teen_process/build/esm/lib/subprocess.js +18 -7
- package/node_modules/teen_process/build/esm/lib/subprocess.js.map +1 -1
- package/node_modules/teen_process/lib/subprocess.ts +19 -7
- package/node_modules/teen_process/package.json +1 -1
- package/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +30 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/undici-types/client.d.ts +134 -0
- package/node_modules/undici-types/connector.d.ts +37 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici-types/dispatcher.d.ts +253 -0
- package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici-types/errors.d.ts +187 -0
- package/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/undici-types/fetch.d.ts +235 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/undici-types/handlers.d.ts +16 -0
- package/node_modules/undici-types/header.d.ts +165 -0
- package/node_modules/undici-types/index.d.ts +93 -0
- package/node_modules/undici-types/interceptors.d.ts +80 -0
- package/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +98 -0
- package/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/undici-types/proxy-agent.d.ts +36 -0
- package/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/undici-types/round-robin-pool.d.ts +39 -0
- package/node_modules/undici-types/snapshot-agent.d.ts +113 -0
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/undici-types/webidl.d.ts +346 -0
- package/node_modules/undici-types/websocket.d.ts +188 -0
- package/node_modules/which/package.json +4 -4
- package/package.json +9 -9
- package/scripts/lib/dependency-versions/gradle-scan.mjs +2 -5
- package/scripts/lib/diagnose/project-input.mjs +3 -5
- package/scripts/lib/find-files.mjs +21 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.d.ts +0 -12
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.js +0 -33
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.d.ts +0 -7
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.js +0 -9
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.d.ts +0 -12
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.js +0 -16
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.d.ts +0 -59
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.js +0 -556
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/logger.d.ts +0 -2
- package/node_modules/@appium/base-driver/build/lib/basedriver/logger.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/basedriver/logger.js +0 -6
- package/node_modules/@appium/base-driver/build/lib/basedriver/logger.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/express-logging.d.ts +0 -12
- package/node_modules/@appium/base-driver/build/lib/express/express-logging.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/express-logging.js +0 -71
- package/node_modules/@appium/base-driver/build/lib/express/express-logging.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/idempotency.d.ts +0 -7
- package/node_modules/@appium/base-driver/build/lib/express/idempotency.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/idempotency.js +0 -167
- package/node_modules/@appium/base-driver/build/lib/express/idempotency.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/logger.d.ts +0 -2
- package/node_modules/@appium/base-driver/build/lib/express/logger.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/logger.js +0 -6
- package/node_modules/@appium/base-driver/build/lib/express/logger.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/middleware.d.ts +0 -67
- package/node_modules/@appium/base-driver/build/lib/express/middleware.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/middleware.js +0 -164
- package/node_modules/@appium/base-driver/build/lib/express/middleware.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/server.d.ts +0 -70
- package/node_modules/@appium/base-driver/build/lib/express/server.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/server.js +0 -287
- package/node_modules/@appium/base-driver/build/lib/express/server.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/websocket.d.ts +0 -23
- package/node_modules/@appium/base-driver/build/lib/express/websocket.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/express/websocket.js +0 -64
- package/node_modules/@appium/base-driver/build/lib/express/websocket.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.d.ts +0 -53
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.js +0 -213
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.d.ts +0 -12
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.js +0 -55
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.d.ts +0 -83
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.js +0 -413
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.d.ts +0 -114
- package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.js +0 -122
- package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.d.ts +0 -31
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.js +0 -40
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/protocol.d.ts +0 -66
- package/node_modules/@appium/base-driver/build/lib/protocol/protocol.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/protocol/protocol.js +0 -513
- package/node_modules/@appium/base-driver/build/lib/protocol/protocol.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/crash.d.ts +0 -9
- package/node_modules/@appium/base-driver/build/lib/test-pages/crash.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/crash.js +0 -18
- package/node_modules/@appium/base-driver/build/lib/test-pages/crash.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/env.d.ts +0 -5
- package/node_modules/@appium/base-driver/build/lib/test-pages/env.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/env.js +0 -12
- package/node_modules/@appium/base-driver/build/lib/test-pages/env.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.d.ts +0 -10
- package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.js +0 -66
- package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/index.d.ts +0 -6
- package/node_modules/@appium/base-driver/build/lib/test-pages/index.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/index.js +0 -35
- package/node_modules/@appium/base-driver/build/lib/test-pages/index.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.d.ts +0 -8
- package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.js +0 -23
- package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.js.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/template.d.ts +0 -3
- package/node_modules/@appium/base-driver/build/lib/test-pages/template.d.ts.map +0 -1
- package/node_modules/@appium/base-driver/build/lib/test-pages/template.js +0 -19
- package/node_modules/@appium/base-driver/build/lib/test-pages/template.js.map +0 -1
- package/node_modules/@appium/base-driver/lib/basedriver/commands/bidi-subscriptions.ts +0 -36
- package/node_modules/@appium/base-driver/lib/basedriver/commands/index.ts +0 -6
- package/node_modules/@appium/base-driver/lib/basedriver/commands/mixin.ts +0 -15
- package/node_modules/@appium/base-driver/lib/basedriver/helpers.ts +0 -621
- package/node_modules/@appium/base-driver/lib/express/express-logging.ts +0 -80
- package/node_modules/@appium/base-driver/lib/express/idempotency.ts +0 -198
- package/node_modules/@appium/base-driver/lib/express/logger.ts +0 -3
- package/node_modules/@appium/base-driver/lib/express/middleware.ts +0 -207
- package/node_modules/@appium/base-driver/lib/express/server.ts +0 -443
- package/node_modules/@appium/base-driver/lib/express/websocket.ts +0 -71
- package/node_modules/@appium/base-driver/lib/jsonwp-proxy/protocol-converter.ts +0 -246
- package/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy-request.ts +0 -52
- package/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.ts +0 -478
- package/node_modules/@appium/base-driver/lib/jsonwp-status/status.ts +0 -120
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands.ts +0 -41
- package/node_modules/@appium/base-driver/lib/protocol/protocol.ts +0 -624
- package/node_modules/@appium/base-driver/lib/test-pages/crash.ts +0 -15
- package/node_modules/@appium/base-driver/lib/test-pages/env.ts +0 -9
- package/node_modules/@appium/base-driver/lib/test-pages/handlers.ts +0 -67
- package/node_modules/@appium/base-driver/lib/test-pages/index.ts +0 -36
- package/node_modules/@appium/base-driver/lib/test-pages/static-dir.ts +0 -19
- package/node_modules/@appium/base-driver/lib/test-pages/template.ts +0 -15
- package/node_modules/@appium/base-driver/node_modules/axios/CHANGELOG.md +0 -1934
- package/node_modules/@appium/base-driver/node_modules/axios/LICENSE +0 -7
- package/node_modules/@appium/base-driver/node_modules/axios/MIGRATION_GUIDE.md +0 -877
- package/node_modules/@appium/base-driver/node_modules/axios/README.md +0 -2851
- package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.js +0 -5807
- package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.min.js +0 -5
- package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.min.js.map +0 -1
- package/node_modules/@appium/base-driver/node_modules/axios/dist/browser/axios.cjs +0 -5829
- package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.js +0 -5850
- package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.min.js +0 -3
- package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.min.js.map +0 -1
- package/node_modules/@appium/base-driver/node_modules/axios/dist/node/axios.cjs +0 -6808
- package/node_modules/@appium/base-driver/node_modules/axios/index.d.cts +0 -766
- package/node_modules/@appium/base-driver/node_modules/axios/index.d.ts +0 -787
- package/node_modules/@appium/base-driver/node_modules/axios/index.js +0 -45
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/README.md +0 -36
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/adapters.js +0 -132
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/fetch.js +0 -696
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/http.js +0 -1490
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/xhr.js +0 -277
- package/node_modules/@appium/base-driver/node_modules/axios/lib/axios.js +0 -89
- package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/CancelToken.js +0 -135
- package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/CanceledError.js +0 -22
- package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/Axios.js +0 -306
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/AxiosError.js +0 -219
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/AxiosHeaders.js +0 -474
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/InterceptorManager.js +0 -171
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/README.md +0 -8
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/buildFullPath.js +0 -76
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/dispatchRequest.js +0 -95
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/mergeConfig.js +0 -174
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/methodList.js +0 -17
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/setFormDataHeaders.js +0 -27
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/settle.js +0 -27
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/transformData.js +0 -28
- package/node_modules/@appium/base-driver/node_modules/axios/lib/defaults/index.js +0 -178
- package/node_modules/@appium/base-driver/node_modules/axios/lib/defaults/transitional.js +0 -10
- package/node_modules/@appium/base-driver/node_modules/axios/lib/env/README.md +0 -3
- package/node_modules/@appium/base-driver/node_modules/axios/lib/env/classes/FormData.js +0 -2
- package/node_modules/@appium/base-driver/node_modules/axios/lib/env/data.js +0 -1
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/Http2Sessions.js +0 -121
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -88
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/bind.js +0 -14
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/buildURL.js +0 -69
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/callbackify.js +0 -18
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/combineURLs.js +0 -23
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/composeSignals.js +0 -68
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/cookies.js +0 -64
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -31
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -166
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/formDataToJSON.js +0 -125
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/fromDataURI.js +0 -69
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +0 -24
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/null.js +0 -2
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/readBlob.js +0 -15
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/resolveConfig.js +0 -107
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -505
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/speedometer.js +0 -55
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/spread.js +0 -28
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/throttle.js +0 -45
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/toFormData.js +0 -279
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/trackStream.js +0 -89
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/validator.js +0 -112
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/index.js +0 -13
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/common/utils.js +0 -52
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/index.js +0 -7
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/Buffer.js +0 -11
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/index.js +0 -37
- package/node_modules/@appium/base-driver/node_modules/axios/lib/utils.js +0 -1150
- package/node_modules/@appium/base-driver/node_modules/axios/package.json +0 -203
- package/node_modules/@appium/base-driver/test-fixtures/static/appium.png +0 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/favicon.ico +0 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/js/jquery.min.js +0 -5
- package/node_modules/@appium/base-driver/test-fixtures/static/test/frameset.html +0 -10
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig-app-banner.html +0 -84
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig-scrollable.html +0 -135
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig.html +0 -90
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig2.html +0 -11
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig3.html +0 -11
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig4.html +0 -11
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig5.html +0 -11
- package/node_modules/@appium/base-driver/test-fixtures/static/test/iframes.html +0 -14
- package/node_modules/@appium/base-driver/test-fixtures/static/test/shadow-dom.html +0 -34
- package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe1.html +0 -9
- package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe2.html +0 -8
- package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe3.html +0 -11
- package/node_modules/@appium/base-driver/test-fixtures/static/test/touch.html +0 -56
- package/node_modules/@appium/base-driver/test-fixtures/static/test/welcome.html +0 -10
- package/node_modules/@appium/support/build/lib/env.d.ts +0 -56
- package/node_modules/@appium/support/build/lib/env.d.ts.map +0 -1
- package/node_modules/@appium/support/build/lib/env.js +0 -147
- package/node_modules/@appium/support/build/lib/env.js.map +0 -1
- package/node_modules/@appium/support/build/lib/image-util.d.ts +0 -19
- package/node_modules/@appium/support/build/lib/image-util.d.ts.map +0 -1
- package/node_modules/@appium/support/build/lib/image-util.js +0 -39
- package/node_modules/@appium/support/build/lib/image-util.js.map +0 -1
- package/node_modules/@appium/support/build/lib/internal/read-package.d.ts +0 -30
- package/node_modules/@appium/support/build/lib/internal/read-package.d.ts.map +0 -1
- package/node_modules/@appium/support/build/lib/internal/read-package.js +0 -48
- package/node_modules/@appium/support/build/lib/internal/read-package.js.map +0 -1
- package/node_modules/@appium/support/build/lib/mjpeg.d.ts +0 -32
- package/node_modules/@appium/support/build/lib/mjpeg.d.ts.map +0 -1
- package/node_modules/@appium/support/build/lib/mjpeg.js +0 -168
- package/node_modules/@appium/support/build/lib/mjpeg.js.map +0 -1
- package/node_modules/@appium/support/build/lib/mkdirp.d.ts +0 -5
- package/node_modules/@appium/support/build/lib/mkdirp.d.ts.map +0 -1
- package/node_modules/@appium/support/build/lib/mkdirp.js +0 -9
- package/node_modules/@appium/support/build/lib/mkdirp.js.map +0 -1
- package/node_modules/@appium/support/build/lib/npm.d.ts +0 -115
- package/node_modules/@appium/support/build/lib/npm.d.ts.map +0 -1
- package/node_modules/@appium/support/build/lib/npm.js +0 -293
- package/node_modules/@appium/support/build/lib/npm.js.map +0 -1
- package/node_modules/@appium/support/build/lib/process.d.ts +0 -20
- package/node_modules/@appium/support/build/lib/process.d.ts.map +0 -1
- package/node_modules/@appium/support/build/lib/process.js +0 -68
- package/node_modules/@appium/support/build/lib/process.js.map +0 -1
- package/node_modules/@appium/support/lib/env.ts +0 -126
- package/node_modules/@appium/support/lib/image-util.ts +0 -40
- package/node_modules/@appium/support/lib/internal/read-package.ts +0 -79
- package/node_modules/@appium/support/lib/mjpeg.ts +0 -186
- package/node_modules/@appium/support/lib/mkdirp.ts +0 -6
- package/node_modules/@appium/support/lib/npm.ts +0 -319
- package/node_modules/@appium/support/lib/process.ts +0 -66
- package/node_modules/@appium/support/node_modules/axios/CHANGELOG.md +0 -1934
- package/node_modules/@appium/support/node_modules/axios/LICENSE +0 -7
- package/node_modules/@appium/support/node_modules/axios/MIGRATION_GUIDE.md +0 -877
- package/node_modules/@appium/support/node_modules/axios/README.md +0 -2851
- package/node_modules/@appium/support/node_modules/axios/dist/axios.js +0 -5807
- package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js +0 -5
- package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js.map +0 -1
- package/node_modules/@appium/support/node_modules/axios/dist/browser/axios.cjs +0 -5829
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.js +0 -5850
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js +0 -3
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js.map +0 -1
- package/node_modules/@appium/support/node_modules/axios/dist/node/axios.cjs +0 -6808
- package/node_modules/@appium/support/node_modules/axios/index.d.cts +0 -766
- package/node_modules/@appium/support/node_modules/axios/index.d.ts +0 -787
- package/node_modules/@appium/support/node_modules/axios/index.js +0 -45
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/README.md +0 -36
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/adapters.js +0 -132
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/fetch.js +0 -696
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/http.js +0 -1490
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/xhr.js +0 -277
- package/node_modules/@appium/support/node_modules/axios/lib/axios.js +0 -89
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/CancelToken.js +0 -135
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/CanceledError.js +0 -22
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/@appium/support/node_modules/axios/lib/core/Axios.js +0 -306
- package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosError.js +0 -219
- package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosHeaders.js +0 -474
- package/node_modules/@appium/support/node_modules/axios/lib/core/InterceptorManager.js +0 -171
- package/node_modules/@appium/support/node_modules/axios/lib/core/README.md +0 -8
- package/node_modules/@appium/support/node_modules/axios/lib/core/buildFullPath.js +0 -76
- package/node_modules/@appium/support/node_modules/axios/lib/core/dispatchRequest.js +0 -95
- package/node_modules/@appium/support/node_modules/axios/lib/core/mergeConfig.js +0 -174
- package/node_modules/@appium/support/node_modules/axios/lib/core/methodList.js +0 -17
- package/node_modules/@appium/support/node_modules/axios/lib/core/setFormDataHeaders.js +0 -27
- package/node_modules/@appium/support/node_modules/axios/lib/core/settle.js +0 -27
- package/node_modules/@appium/support/node_modules/axios/lib/core/transformData.js +0 -28
- package/node_modules/@appium/support/node_modules/axios/lib/defaults/index.js +0 -178
- package/node_modules/@appium/support/node_modules/axios/lib/defaults/transitional.js +0 -10
- package/node_modules/@appium/support/node_modules/axios/lib/env/README.md +0 -3
- package/node_modules/@appium/support/node_modules/axios/lib/env/classes/FormData.js +0 -2
- package/node_modules/@appium/support/node_modules/axios/lib/env/data.js +0 -1
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/Http2Sessions.js +0 -121
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -88
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/bind.js +0 -14
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/buildURL.js +0 -69
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/callbackify.js +0 -18
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/combineURLs.js +0 -23
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/composeSignals.js +0 -68
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/cookies.js +0 -64
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -31
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -166
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToJSON.js +0 -125
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/fromDataURI.js +0 -69
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +0 -24
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/null.js +0 -2
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/readBlob.js +0 -15
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/resolveConfig.js +0 -107
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -505
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/speedometer.js +0 -55
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/spread.js +0 -28
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/throttle.js +0 -45
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/toFormData.js +0 -279
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/trackStream.js +0 -89
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/validator.js +0 -112
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/index.js +0 -13
- package/node_modules/@appium/support/node_modules/axios/lib/platform/common/utils.js +0 -52
- package/node_modules/@appium/support/node_modules/axios/lib/platform/index.js +0 -7
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/Buffer.js +0 -11
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/index.js +0 -37
- package/node_modules/@appium/support/node_modules/axios/lib/utils.js +0 -1150
- package/node_modules/@appium/support/node_modules/axios/package.json +0 -203
- package/node_modules/@appium/support/node_modules/semver/LICENSE +0 -15
- package/node_modules/@appium/support/node_modules/semver/README.md +0 -680
- package/node_modules/@appium/support/node_modules/semver/bin/semver.js +0 -195
- package/node_modules/@appium/support/node_modules/semver/classes/comparator.js +0 -143
- package/node_modules/@appium/support/node_modules/semver/classes/index.js +0 -7
- package/node_modules/@appium/support/node_modules/semver/classes/range.js +0 -577
- package/node_modules/@appium/support/node_modules/semver/classes/semver.js +0 -350
- package/node_modules/@appium/support/node_modules/semver/functions/clean.js +0 -8
- package/node_modules/@appium/support/node_modules/semver/functions/cmp.js +0 -54
- package/node_modules/@appium/support/node_modules/semver/functions/coerce.js +0 -62
- package/node_modules/@appium/support/node_modules/semver/functions/compare-build.js +0 -9
- package/node_modules/@appium/support/node_modules/semver/functions/compare-loose.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/compare.js +0 -7
- package/node_modules/@appium/support/node_modules/semver/functions/diff.js +0 -60
- package/node_modules/@appium/support/node_modules/semver/functions/eq.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/gt.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/gte.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/inc.js +0 -21
- package/node_modules/@appium/support/node_modules/semver/functions/lt.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/lte.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/major.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/minor.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/neq.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/parse.js +0 -18
- package/node_modules/@appium/support/node_modules/semver/functions/patch.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/prerelease.js +0 -8
- package/node_modules/@appium/support/node_modules/semver/functions/rcompare.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/rsort.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/satisfies.js +0 -12
- package/node_modules/@appium/support/node_modules/semver/functions/sort.js +0 -5
- package/node_modules/@appium/support/node_modules/semver/functions/truncate.js +0 -48
- package/node_modules/@appium/support/node_modules/semver/functions/valid.js +0 -8
- package/node_modules/@appium/support/node_modules/semver/index.js +0 -93
- package/node_modules/@appium/support/node_modules/semver/internal/constants.js +0 -37
- package/node_modules/@appium/support/node_modules/semver/internal/debug.js +0 -11
- package/node_modules/@appium/support/node_modules/semver/internal/identifiers.js +0 -29
- package/node_modules/@appium/support/node_modules/semver/internal/lrucache.js +0 -42
- package/node_modules/@appium/support/node_modules/semver/internal/parse-options.js +0 -17
- package/node_modules/@appium/support/node_modules/semver/internal/re.js +0 -223
- package/node_modules/@appium/support/node_modules/semver/package.json +0 -78
- package/node_modules/@appium/support/node_modules/semver/preload.js +0 -4
- package/node_modules/@appium/support/node_modules/semver/range.bnf +0 -17
- package/node_modules/@appium/support/node_modules/semver/ranges/gtr.js +0 -6
- package/node_modules/@appium/support/node_modules/semver/ranges/intersects.js +0 -9
- package/node_modules/@appium/support/node_modules/semver/ranges/ltr.js +0 -6
- package/node_modules/@appium/support/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/node_modules/@appium/support/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/node_modules/@appium/support/node_modules/semver/ranges/min-version.js +0 -63
- package/node_modules/@appium/support/node_modules/semver/ranges/outside.js +0 -82
- package/node_modules/@appium/support/node_modules/semver/ranges/simplify.js +0 -49
- package/node_modules/@appium/support/node_modules/semver/ranges/subset.js +0 -249
- package/node_modules/@appium/support/node_modules/semver/ranges/to-comparators.js +0 -10
- package/node_modules/@appium/support/node_modules/semver/ranges/valid.js +0 -13
- package/node_modules/@img/colour/LICENSE.md +0 -82
- package/node_modules/@img/colour/README.md +0 -15
- package/node_modules/@img/colour/color.cjs +0 -1596
- package/node_modules/@img/colour/index.cjs +0 -1
- package/node_modules/@img/colour/index.d.ts +0 -929
- package/node_modules/@img/colour/package.json +0 -58
- package/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
- package/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -219
- package/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
- package/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.7 +0 -0
- package/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -43
- package/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
- package/node_modules/@img/sharp-linux-x64/LICENSE +0 -191
- package/node_modules/@img/sharp-linux-x64/README.md +0 -18
- package/node_modules/@img/sharp-linux-x64/index.cjs +0 -2
- package/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.5.node +0 -0
- package/node_modules/@img/sharp-linux-x64/package.json +0 -47
- package/node_modules/accepts/HISTORY.md +0 -250
- package/node_modules/accepts/LICENSE +0 -23
- package/node_modules/accepts/README.md +0 -140
- package/node_modules/accepts/index.js +0 -238
- package/node_modules/accepts/package.json +0 -47
- package/node_modules/async-lock/AUTHORS +0 -21
- package/node_modules/async-lock/History.md +0 -132
- package/node_modules/async-lock/LICENSE +0 -22
- package/node_modules/async-lock/README.md +0 -177
- package/node_modules/async-lock/index.js +0 -2
- package/node_modules/async-lock/lib/index.js +0 -312
- package/node_modules/async-lock/package.json +0 -48
- package/node_modules/basic-auth/HISTORY.md +0 -52
- package/node_modules/basic-auth/LICENSE +0 -24
- package/node_modules/basic-auth/README.md +0 -113
- package/node_modules/basic-auth/index.js +0 -133
- package/node_modules/basic-auth/package.json +0 -41
- package/node_modules/bluebird/LICENSE +0 -21
- package/node_modules/bluebird/README.md +0 -57
- package/node_modules/bluebird/changelog.md +0 -1
- package/node_modules/bluebird/js/browser/bluebird.core.js +0 -3914
- package/node_modules/bluebird/js/browser/bluebird.core.min.js +0 -31
- package/node_modules/bluebird/js/browser/bluebird.js +0 -5778
- package/node_modules/bluebird/js/browser/bluebird.min.js +0 -31
- package/node_modules/bluebird/js/release/any.js +0 -21
- package/node_modules/bluebird/js/release/assert.js +0 -55
- package/node_modules/bluebird/js/release/async.js +0 -120
- package/node_modules/bluebird/js/release/bind.js +0 -67
- package/node_modules/bluebird/js/release/bluebird.js +0 -11
- package/node_modules/bluebird/js/release/call_get.js +0 -123
- package/node_modules/bluebird/js/release/cancel.js +0 -129
- package/node_modules/bluebird/js/release/catch_filter.js +0 -42
- package/node_modules/bluebird/js/release/context.js +0 -69
- package/node_modules/bluebird/js/release/debuggability.js +0 -1009
- package/node_modules/bluebird/js/release/direct_resolve.js +0 -46
- package/node_modules/bluebird/js/release/each.js +0 -30
- package/node_modules/bluebird/js/release/errors.js +0 -116
- package/node_modules/bluebird/js/release/es5.js +0 -80
- package/node_modules/bluebird/js/release/filter.js +0 -12
- package/node_modules/bluebird/js/release/finally.js +0 -146
- package/node_modules/bluebird/js/release/generators.js +0 -223
- package/node_modules/bluebird/js/release/join.js +0 -165
- package/node_modules/bluebird/js/release/map.js +0 -175
- package/node_modules/bluebird/js/release/method.js +0 -55
- package/node_modules/bluebird/js/release/nodeback.js +0 -51
- package/node_modules/bluebird/js/release/nodeify.js +0 -58
- package/node_modules/bluebird/js/release/promise.js +0 -819
- package/node_modules/bluebird/js/release/promise_array.js +0 -186
- package/node_modules/bluebird/js/release/promisify.js +0 -314
- package/node_modules/bluebird/js/release/props.js +0 -118
- package/node_modules/bluebird/js/release/queue.js +0 -73
- package/node_modules/bluebird/js/release/race.js +0 -49
- package/node_modules/bluebird/js/release/reduce.js +0 -183
- package/node_modules/bluebird/js/release/schedule.js +0 -62
- package/node_modules/bluebird/js/release/settle.js +0 -47
- package/node_modules/bluebird/js/release/some.js +0 -148
- package/node_modules/bluebird/js/release/synchronous_inspection.js +0 -103
- package/node_modules/bluebird/js/release/thenables.js +0 -86
- package/node_modules/bluebird/js/release/timers.js +0 -93
- package/node_modules/bluebird/js/release/using.js +0 -226
- package/node_modules/bluebird/js/release/util.js +0 -421
- package/node_modules/bluebird/package.json +0 -78
- package/node_modules/body-parser/LICENSE +0 -23
- package/node_modules/body-parser/README.md +0 -513
- package/node_modules/body-parser/index.js +0 -55
- package/node_modules/body-parser/lib/read.js +0 -264
- package/node_modules/body-parser/lib/types/json.js +0 -186
- package/node_modules/body-parser/lib/types/raw.js +0 -42
- package/node_modules/body-parser/lib/types/text.js +0 -36
- package/node_modules/body-parser/lib/types/urlencoded.js +0 -138
- package/node_modules/body-parser/lib/utils.js +0 -85
- package/node_modules/body-parser/package.json +0 -60
- package/node_modules/bplist-creator/LICENSE +0 -18
- package/node_modules/bplist-creator/README.md +0 -84
- package/node_modules/bplist-creator/dist/index.cjs +0 -508
- package/node_modules/bplist-creator/dist/index.cjs.map +0 -7
- package/node_modules/bplist-creator/dist/index.d.cts +0 -12
- package/node_modules/bplist-creator/dist/index.d.ts +0 -12
- package/node_modules/bplist-creator/dist/index.mjs +0 -472
- package/node_modules/bplist-creator/dist/index.mjs.map +0 -7
- package/node_modules/bplist-creator/package.json +0 -62
- package/node_modules/bplist-parser/README.md +0 -82
- package/node_modules/bplist-parser/dist/index.cjs +0 -385
- package/node_modules/bplist-parser/dist/index.cjs.map +0 -7
- package/node_modules/bplist-parser/dist/index.d.cts +0 -13
- package/node_modules/bplist-parser/dist/index.d.ts +0 -13
- package/node_modules/bplist-parser/dist/index.mjs +0 -343
- package/node_modules/bplist-parser/dist/index.mjs.map +0 -7
- package/node_modules/bplist-parser/package.json +0 -62
- package/node_modules/bytes/History.md +0 -97
- package/node_modules/bytes/LICENSE +0 -23
- package/node_modules/bytes/Readme.md +0 -152
- package/node_modules/bytes/index.js +0 -170
- package/node_modules/bytes/package.json +0 -42
- package/node_modules/call-bound/.eslintrc +0 -13
- package/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/node_modules/call-bound/.nycrc +0 -9
- package/node_modules/call-bound/CHANGELOG.md +0 -42
- package/node_modules/call-bound/LICENSE +0 -21
- package/node_modules/call-bound/README.md +0 -53
- package/node_modules/call-bound/index.d.ts +0 -94
- package/node_modules/call-bound/index.js +0 -19
- package/node_modules/call-bound/package.json +0 -99
- package/node_modules/call-bound/test/index.js +0 -61
- package/node_modules/call-bound/tsconfig.json +0 -10
- package/node_modules/compare-versions/LICENSE +0 -21
- package/node_modules/compare-versions/README.md +0 -133
- package/node_modules/compare-versions/lib/esm/compare.d.ts +0 -19
- package/node_modules/compare-versions/lib/esm/compare.js +0 -44
- package/node_modules/compare-versions/lib/esm/compare.js.map +0 -1
- package/node_modules/compare-versions/lib/esm/compareVersions.d.ts +0 -8
- package/node_modules/compare-versions/lib/esm/compareVersions.js +0 -29
- package/node_modules/compare-versions/lib/esm/compareVersions.js.map +0 -1
- package/node_modules/compare-versions/lib/esm/index.d.ts +0 -5
- package/node_modules/compare-versions/lib/esm/index.js +0 -5
- package/node_modules/compare-versions/lib/esm/index.js.map +0 -1
- package/node_modules/compare-versions/lib/esm/satisfies.d.ts +0 -14
- package/node_modules/compare-versions/lib/esm/satisfies.js +0 -66
- package/node_modules/compare-versions/lib/esm/satisfies.js.map +0 -1
- package/node_modules/compare-versions/lib/esm/utils.d.ts +0 -7
- package/node_modules/compare-versions/lib/esm/utils.js +0 -37
- package/node_modules/compare-versions/lib/esm/utils.js.map +0 -1
- package/node_modules/compare-versions/lib/esm/validate.d.ts +0 -28
- package/node_modules/compare-versions/lib/esm/validate.js +0 -31
- package/node_modules/compare-versions/lib/esm/validate.js.map +0 -1
- package/node_modules/compare-versions/lib/umd/index.js +0 -216
- package/node_modules/compare-versions/lib/umd/index.js.map +0 -1
- package/node_modules/compare-versions/package.json +0 -45
- package/node_modules/compare-versions/src/compare.ts +0 -54
- package/node_modules/compare-versions/src/compareVersions.ts +0 -31
- package/node_modules/compare-versions/src/index.ts +0 -5
- package/node_modules/compare-versions/src/satisfies.ts +0 -69
- package/node_modules/compare-versions/src/utils.ts +0 -50
- package/node_modules/compare-versions/src/validate.ts +0 -36
- package/node_modules/content-disposition/LICENSE +0 -22
- package/node_modules/content-disposition/README.md +0 -141
- package/node_modules/content-disposition/index.js +0 -536
- package/node_modules/content-disposition/package.json +0 -40
- package/node_modules/content-type/LICENSE +0 -22
- package/node_modules/content-type/README.md +0 -71
- package/node_modules/content-type/dist/index.d.ts +0 -46
- package/node_modules/content-type/dist/index.js +0 -176
- package/node_modules/content-type/dist/index.js.map +0 -1
- package/node_modules/content-type/package.json +0 -52
- package/node_modules/cookie/LICENSE +0 -24
- package/node_modules/cookie/README.md +0 -317
- package/node_modules/cookie/SECURITY.md +0 -25
- package/node_modules/cookie/index.js +0 -335
- package/node_modules/cookie/package.json +0 -44
- package/node_modules/cookie-signature/History.md +0 -70
- package/node_modules/cookie-signature/LICENSE +0 -22
- package/node_modules/cookie-signature/Readme.md +0 -23
- package/node_modules/cookie-signature/index.js +0 -47
- package/node_modules/cookie-signature/package.json +0 -24
- package/node_modules/depd/History.md +0 -103
- package/node_modules/depd/LICENSE +0 -22
- package/node_modules/depd/Readme.md +0 -280
- package/node_modules/depd/index.js +0 -538
- package/node_modules/depd/lib/browser/index.js +0 -77
- package/node_modules/depd/package.json +0 -45
- package/node_modules/detect-libc/LICENSE +0 -201
- package/node_modules/detect-libc/README.md +0 -163
- package/node_modules/detect-libc/index.d.ts +0 -14
- package/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/node_modules/detect-libc/lib/elf.js +0 -39
- package/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/node_modules/detect-libc/lib/process.js +0 -24
- package/node_modules/detect-libc/package.json +0 -44
- package/node_modules/detect-node/LICENSE +0 -21
- package/node_modules/detect-node/Readme.md +0 -30
- package/node_modules/detect-node/browser.js +0 -2
- package/node_modules/detect-node/index.esm.js +0 -2
- package/node_modules/detect-node/index.js +0 -2
- package/node_modules/detect-node/package.json +0 -25
- package/node_modules/duplexer/.travis.yml +0 -6
- package/node_modules/duplexer/LICENCE +0 -19
- package/node_modules/duplexer/README.md +0 -49
- package/node_modules/duplexer/index.js +0 -87
- package/node_modules/duplexer/package.json +0 -42
- package/node_modules/duplexer/test/index.js +0 -31
- package/node_modules/ee-first/LICENSE +0 -22
- package/node_modules/ee-first/README.md +0 -80
- package/node_modules/ee-first/index.js +0 -95
- package/node_modules/ee-first/package.json +0 -29
- package/node_modules/encodeurl/LICENSE +0 -22
- package/node_modules/encodeurl/README.md +0 -123
- package/node_modules/encodeurl/index.js +0 -55
- package/node_modules/encodeurl/package.json +0 -44
- package/node_modules/escape-html/LICENSE +0 -24
- package/node_modules/escape-html/Readme.md +0 -43
- package/node_modules/escape-html/index.js +0 -78
- package/node_modules/escape-html/package.json +0 -24
- package/node_modules/etag/HISTORY.md +0 -83
- package/node_modules/etag/LICENSE +0 -22
- package/node_modules/etag/README.md +0 -159
- package/node_modules/etag/index.js +0 -131
- package/node_modules/etag/package.json +0 -47
- package/node_modules/express/LICENSE +0 -24
- package/node_modules/express/Readme.md +0 -276
- package/node_modules/express/index.js +0 -11
- package/node_modules/express/lib/application.js +0 -631
- package/node_modules/express/lib/express.js +0 -81
- package/node_modules/express/lib/request.js +0 -514
- package/node_modules/express/lib/response.js +0 -1053
- package/node_modules/express/lib/utils.js +0 -271
- package/node_modules/express/lib/view.js +0 -205
- package/node_modules/express/node_modules/content-type/HISTORY.md +0 -29
- package/node_modules/express/node_modules/content-type/LICENSE +0 -22
- package/node_modules/express/node_modules/content-type/README.md +0 -94
- package/node_modules/express/node_modules/content-type/index.js +0 -225
- package/node_modules/express/node_modules/content-type/package.json +0 -42
- package/node_modules/express/package.json +0 -99
- package/node_modules/fastest-levenshtein/.eslintrc.json +0 -30
- package/node_modules/fastest-levenshtein/.prettierrc +0 -4
- package/node_modules/fastest-levenshtein/.travis.yml +0 -21
- package/node_modules/fastest-levenshtein/LICENSE.md +0 -21
- package/node_modules/fastest-levenshtein/README.md +0 -57
- package/node_modules/fastest-levenshtein/bench.js +0 -96
- package/node_modules/fastest-levenshtein/esm/mod.d.ts +0 -4
- package/node_modules/fastest-levenshtein/esm/mod.d.ts.map +0 -1
- package/node_modules/fastest-levenshtein/esm/mod.js +0 -138
- package/node_modules/fastest-levenshtein/mod.d.ts +0 -3
- package/node_modules/fastest-levenshtein/mod.js +0 -142
- package/node_modules/fastest-levenshtein/package.json +0 -72
- package/node_modules/fastest-levenshtein/test.js +0 -55
- package/node_modules/fastest-levenshtein/test.ts +0 -67
- package/node_modules/finalhandler/HISTORY.md +0 -239
- package/node_modules/finalhandler/LICENSE +0 -22
- package/node_modules/finalhandler/README.md +0 -150
- package/node_modules/finalhandler/index.js +0 -293
- package/node_modules/finalhandler/package.json +0 -47
- package/node_modules/forwarded/HISTORY.md +0 -21
- package/node_modules/forwarded/LICENSE +0 -22
- package/node_modules/forwarded/README.md +0 -57
- package/node_modules/forwarded/index.js +0 -90
- package/node_modules/forwarded/package.json +0 -45
- package/node_modules/fresh/HISTORY.md +0 -80
- package/node_modules/fresh/LICENSE +0 -23
- package/node_modules/fresh/README.md +0 -117
- package/node_modules/fresh/index.js +0 -136
- package/node_modules/fresh/package.json +0 -46
- package/node_modules/ftp-response-parser/.README.md.un~ +0 -0
- package/node_modules/ftp-response-parser/.index.js.un~ +0 -0
- package/node_modules/ftp-response-parser/.package.json.un~ +0 -0
- package/node_modules/ftp-response-parser/.test.js.un~ +0 -0
- package/node_modules/ftp-response-parser/LICENSE +0 -20
- package/node_modules/ftp-response-parser/README.md +0 -104
- package/node_modules/ftp-response-parser/index.js +0 -82
- package/node_modules/ftp-response-parser/node_modules/isarray/README.md +0 -54
- package/node_modules/ftp-response-parser/node_modules/isarray/build/build.js +0 -209
- package/node_modules/ftp-response-parser/node_modules/isarray/component.json +0 -19
- package/node_modules/ftp-response-parser/node_modules/isarray/index.js +0 -3
- package/node_modules/ftp-response-parser/node_modules/isarray/package.json +0 -25
- package/node_modules/ftp-response-parser/node_modules/readable-stream/.npmignore +0 -5
- package/node_modules/ftp-response-parser/node_modules/readable-stream/LICENSE +0 -18
- package/node_modules/ftp-response-parser/node_modules/readable-stream/README.md +0 -15
- package/node_modules/ftp-response-parser/node_modules/readable-stream/duplex.js +0 -1
- package/node_modules/ftp-response-parser/node_modules/readable-stream/float.patch +0 -923
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_duplex.js +0 -89
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_passthrough.js +0 -46
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js +0 -951
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_transform.js +0 -209
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_writable.js +0 -477
- package/node_modules/ftp-response-parser/node_modules/readable-stream/package.json +0 -32
- package/node_modules/ftp-response-parser/node_modules/readable-stream/passthrough.js +0 -1
- package/node_modules/ftp-response-parser/node_modules/readable-stream/readable.js +0 -10
- package/node_modules/ftp-response-parser/node_modules/readable-stream/transform.js +0 -1
- package/node_modules/ftp-response-parser/node_modules/readable-stream/writable.js +0 -1
- package/node_modules/ftp-response-parser/node_modules/string_decoder/.npmignore +0 -2
- package/node_modules/ftp-response-parser/node_modules/string_decoder/LICENSE +0 -20
- package/node_modules/ftp-response-parser/node_modules/string_decoder/README.md +0 -7
- package/node_modules/ftp-response-parser/node_modules/string_decoder/index.js +0 -221
- package/node_modules/ftp-response-parser/node_modules/string_decoder/package.json +0 -25
- package/node_modules/ftp-response-parser/package.json +0 -35
- package/node_modules/ftp-response-parser/test.js +0 -149
- package/node_modules/glob/LICENSE.md +0 -63
- package/node_modules/glob/README.md +0 -1203
- package/node_modules/glob/dist/commonjs/glob.d.ts +0 -396
- package/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/glob.js +0 -248
- package/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- package/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/has-magic.js +0 -27
- package/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- package/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
- package/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/ignore.js +0 -119
- package/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- package/node_modules/glob/dist/commonjs/index.d.ts +0 -97
- package/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/index.js +0 -68
- package/node_modules/glob/dist/commonjs/index.js.map +0 -1
- package/node_modules/glob/dist/commonjs/index.min.js +0 -4
- package/node_modules/glob/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/glob/dist/commonjs/package.json +0 -3
- package/node_modules/glob/dist/commonjs/pattern.d.ts +0 -79
- package/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/pattern.js +0 -223
- package/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- package/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- package/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/processor.js +0 -301
- package/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- package/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
- package/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- package/node_modules/glob/dist/commonjs/walker.js +0 -387
- package/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- package/node_modules/glob/dist/esm/glob.d.ts +0 -396
- package/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/glob.js +0 -244
- package/node_modules/glob/dist/esm/glob.js.map +0 -1
- package/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- package/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/has-magic.js +0 -23
- package/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- package/node_modules/glob/dist/esm/ignore.d.ts +0 -24
- package/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/ignore.js +0 -115
- package/node_modules/glob/dist/esm/ignore.js.map +0 -1
- package/node_modules/glob/dist/esm/index.d.ts +0 -97
- package/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/index.js +0 -55
- package/node_modules/glob/dist/esm/index.js.map +0 -1
- package/node_modules/glob/dist/esm/index.min.js +0 -4
- package/node_modules/glob/dist/esm/index.min.js.map +0 -7
- package/node_modules/glob/dist/esm/package.json +0 -3
- package/node_modules/glob/dist/esm/pattern.d.ts +0 -79
- package/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/pattern.js +0 -219
- package/node_modules/glob/dist/esm/pattern.js.map +0 -1
- package/node_modules/glob/dist/esm/processor.d.ts +0 -59
- package/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/processor.js +0 -294
- package/node_modules/glob/dist/esm/processor.js.map +0 -1
- package/node_modules/glob/dist/esm/walker.d.ts +0 -97
- package/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- package/node_modules/glob/dist/esm/walker.js +0 -381
- package/node_modules/glob/dist/esm/walker.js.map +0 -1
- package/node_modules/glob/package.json +0 -98
- package/node_modules/handle-thing/.travis.yml +0 -15
- package/node_modules/handle-thing/README.md +0 -44
- package/node_modules/handle-thing/lib/handle.js +0 -263
- package/node_modules/handle-thing/lib/queue.js +0 -48
- package/node_modules/handle-thing/package.json +0 -38
- package/node_modules/handle-thing/test/api-test.js +0 -110
- package/node_modules/hosted-git-info/LICENSE +0 -13
- package/node_modules/hosted-git-info/README.md +0 -138
- package/node_modules/hosted-git-info/lib/from-url.js +0 -122
- package/node_modules/hosted-git-info/lib/hosts.js +0 -229
- package/node_modules/hosted-git-info/lib/index.js +0 -227
- package/node_modules/hosted-git-info/lib/parse-url.js +0 -81
- package/node_modules/hosted-git-info/package.json +0 -57
- package/node_modules/hpack.js/.npmignore +0 -2
- package/node_modules/hpack.js/.travis.yml +0 -6
- package/node_modules/hpack.js/README.md +0 -52
- package/node_modules/hpack.js/bin/benchmark +0 -34
- package/node_modules/hpack.js/lib/hpack/compressor.js +0 -127
- package/node_modules/hpack.js/lib/hpack/decoder.js +0 -169
- package/node_modules/hpack.js/lib/hpack/decompressor.js +0 -116
- package/node_modules/hpack.js/lib/hpack/encoder.js +0 -129
- package/node_modules/hpack.js/lib/hpack/huffman.js +0 -159
- package/node_modules/hpack.js/lib/hpack/static-table.js +0 -691
- package/node_modules/hpack.js/lib/hpack/table.js +0 -85
- package/node_modules/hpack.js/lib/hpack/utils.js +0 -25
- package/node_modules/hpack.js/lib/hpack.js +0 -12
- package/node_modules/hpack.js/node_modules/readable-stream/.travis.yml +0 -34
- package/node_modules/hpack.js/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/hpack.js/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/hpack.js/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/hpack.js/node_modules/readable-stream/README.md +0 -58
- package/node_modules/hpack.js/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/node_modules/hpack.js/node_modules/readable-stream/duplex-browser.js +0 -1
- package/node_modules/hpack.js/node_modules/readable-stream/duplex.js +0 -1
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_writable.js +0 -685
- package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -78
- package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -84
- package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/hpack.js/node_modules/readable-stream/package.json +0 -52
- package/node_modules/hpack.js/node_modules/readable-stream/passthrough.js +0 -1
- package/node_modules/hpack.js/node_modules/readable-stream/readable-browser.js +0 -7
- package/node_modules/hpack.js/node_modules/readable-stream/readable.js +0 -19
- package/node_modules/hpack.js/node_modules/readable-stream/transform.js +0 -1
- package/node_modules/hpack.js/node_modules/readable-stream/writable-browser.js +0 -1
- package/node_modules/hpack.js/node_modules/readable-stream/writable.js +0 -8
- package/node_modules/hpack.js/node_modules/string_decoder/.travis.yml +0 -50
- package/node_modules/hpack.js/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/hpack.js/node_modules/string_decoder/README.md +0 -47
- package/node_modules/hpack.js/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/hpack.js/node_modules/string_decoder/package.json +0 -31
- package/node_modules/hpack.js/package.json +0 -35
- package/node_modules/hpack.js/test/compressor-test.js +0 -136
- package/node_modules/hpack.js/test/decoder-test.js +0 -181
- package/node_modules/hpack.js/test/decompressor-test.js +0 -184
- package/node_modules/hpack.js/test/encoder-test.js +0 -166
- package/node_modules/hpack.js/test/fixtures.js +0 -232
- package/node_modules/hpack.js/tools/gen-huffman.js +0 -309
- package/node_modules/hpack.js/tools/gen-static-table.js +0 -103
- package/node_modules/hpack.js/tools/utils.js +0 -23
- package/node_modules/http-deceiver/.npmignore +0 -2
- package/node_modules/http-deceiver/.travis.yml +0 -5
- package/node_modules/http-deceiver/README.md +0 -31
- package/node_modules/http-deceiver/lib/deceiver.js +0 -250
- package/node_modules/http-deceiver/package.json +0 -30
- package/node_modules/http-deceiver/test/api-test.js +0 -226
- package/node_modules/http-errors/HISTORY.md +0 -186
- package/node_modules/http-errors/LICENSE +0 -23
- package/node_modules/http-errors/README.md +0 -169
- package/node_modules/http-errors/index.js +0 -290
- package/node_modules/http-errors/package.json +0 -54
- package/node_modules/http-status-codes/LICENSE +0 -19
- package/node_modules/http-status-codes/README.md +0 -140
- package/node_modules/http-status-codes/build/cjs/index.d.ts +0 -63
- package/node_modules/http-status-codes/build/cjs/index.js +0 -39
- package/node_modules/http-status-codes/build/cjs/legacy.d.ts +0 -326
- package/node_modules/http-status-codes/build/cjs/legacy.js +0 -330
- package/node_modules/http-status-codes/build/cjs/reason-phrases.d.ts +0 -356
- package/node_modules/http-status-codes/build/cjs/reason-phrases.js +0 -361
- package/node_modules/http-status-codes/build/cjs/status-codes.d.ts +0 -356
- package/node_modules/http-status-codes/build/cjs/status-codes.js +0 -361
- package/node_modules/http-status-codes/build/cjs/utils-functions.d.ts +0 -28
- package/node_modules/http-status-codes/build/cjs/utils-functions.js +0 -46
- package/node_modules/http-status-codes/build/cjs/utils.d.ts +0 -2
- package/node_modules/http-status-codes/build/cjs/utils.js +0 -124
- package/node_modules/http-status-codes/build/es/index.d.ts +0 -63
- package/node_modules/http-status-codes/build/es/index.js +0 -19
- package/node_modules/http-status-codes/build/es/legacy.d.ts +0 -326
- package/node_modules/http-status-codes/build/es/legacy.js +0 -327
- package/node_modules/http-status-codes/build/es/reason-phrases.d.ts +0 -356
- package/node_modules/http-status-codes/build/es/reason-phrases.js +0 -358
- package/node_modules/http-status-codes/build/es/status-codes.d.ts +0 -356
- package/node_modules/http-status-codes/build/es/status-codes.js +0 -358
- package/node_modules/http-status-codes/build/es/utils-functions.d.ts +0 -28
- package/node_modules/http-status-codes/build/es/utils-functions.js +0 -41
- package/node_modules/http-status-codes/build/es/utils.d.ts +0 -2
- package/node_modules/http-status-codes/build/es/utils.js +0 -121
- package/node_modules/http-status-codes/package.json +0 -51
- package/node_modules/iconv-lite/LICENSE +0 -21
- package/node_modules/iconv-lite/README.md +0 -138
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
- package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
- package/node_modules/iconv-lite/encodings/index.js +0 -23
- package/node_modules/iconv-lite/encodings/internal.js +0 -218
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -180
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/node_modules/iconv-lite/encodings/utf16.js +0 -187
- package/node_modules/iconv-lite/encodings/utf32.js +0 -314
- package/node_modules/iconv-lite/encodings/utf7.js +0 -283
- package/node_modules/iconv-lite/lib/bom-handling.js +0 -48
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
- package/node_modules/iconv-lite/lib/index.d.ts +0 -129
- package/node_modules/iconv-lite/lib/index.js +0 -182
- package/node_modules/iconv-lite/lib/streams.js +0 -105
- package/node_modules/iconv-lite/package.json +0 -70
- package/node_modules/iconv-lite/types/encodings.d.ts +0 -425
- package/node_modules/ipaddr.js/LICENSE +0 -19
- package/node_modules/ipaddr.js/README.md +0 -233
- package/node_modules/ipaddr.js/ipaddr.min.js +0 -1
- package/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
- package/node_modules/ipaddr.js/package.json +0 -35
- package/node_modules/is-promise/LICENSE +0 -19
- package/node_modules/is-promise/index.d.ts +0 -2
- package/node_modules/is-promise/index.js +0 -6
- package/node_modules/is-promise/index.mjs +0 -3
- package/node_modules/is-promise/package.json +0 -30
- package/node_modules/is-promise/readme.md +0 -33
- package/node_modules/jsftp/LICENSE +0 -22
- package/node_modules/jsftp/README.md +0 -329
- package/node_modules/jsftp/index.js +0 -1
- package/node_modules/jsftp/lib/jsftp.js +0 -772
- package/node_modules/jsftp/node_modules/debug/CHANGELOG.md +0 -395
- package/node_modules/jsftp/node_modules/debug/LICENSE +0 -19
- package/node_modules/jsftp/node_modules/debug/README.md +0 -437
- package/node_modules/jsftp/node_modules/debug/node.js +0 -1
- package/node_modules/jsftp/node_modules/debug/package.json +0 -51
- package/node_modules/jsftp/node_modules/debug/src/browser.js +0 -180
- package/node_modules/jsftp/node_modules/debug/src/common.js +0 -249
- package/node_modules/jsftp/node_modules/debug/src/index.js +0 -12
- package/node_modules/jsftp/node_modules/debug/src/node.js +0 -177
- package/node_modules/jsftp/package.json +0 -43
- package/node_modules/json-schema/LICENSE +0 -195
- package/node_modules/json-schema/README.md +0 -3
- package/node_modules/json-schema/lib/links.js +0 -65
- package/node_modules/json-schema/lib/validate.js +0 -271
- package/node_modules/json-schema/package.json +0 -24
- package/node_modules/klaw/LICENSE +0 -15
- package/node_modules/klaw/README.md +0 -261
- package/node_modules/klaw/package.json +0 -39
- package/node_modules/klaw/src/index.js +0 -76
- package/node_modules/media-typer/HISTORY.md +0 -50
- package/node_modules/media-typer/LICENSE +0 -22
- package/node_modules/media-typer/README.md +0 -94
- package/node_modules/media-typer/index.js +0 -135
- package/node_modules/media-typer/package.json +0 -37
- package/node_modules/merge-descriptors/index.d.ts +0 -11
- package/node_modules/merge-descriptors/index.js +0 -26
- package/node_modules/merge-descriptors/license +0 -11
- package/node_modules/merge-descriptors/package.json +0 -50
- package/node_modules/merge-descriptors/readme.md +0 -55
- package/node_modules/method-override/HISTORY.md +0 -163
- package/node_modules/method-override/LICENSE +0 -23
- package/node_modules/method-override/README.md +0 -180
- package/node_modules/method-override/index.js +0 -144
- package/node_modules/method-override/node_modules/debug/.coveralls.yml +0 -1
- package/node_modules/method-override/node_modules/debug/.eslintrc +0 -14
- package/node_modules/method-override/node_modules/debug/.npmignore +0 -9
- package/node_modules/method-override/node_modules/debug/.travis.yml +0 -20
- package/node_modules/method-override/node_modules/debug/CHANGELOG.md +0 -395
- package/node_modules/method-override/node_modules/debug/LICENSE +0 -19
- package/node_modules/method-override/node_modules/debug/Makefile +0 -58
- package/node_modules/method-override/node_modules/debug/README.md +0 -368
- package/node_modules/method-override/node_modules/debug/karma.conf.js +0 -70
- package/node_modules/method-override/node_modules/debug/node.js +0 -1
- package/node_modules/method-override/node_modules/debug/package.json +0 -43
- package/node_modules/method-override/node_modules/debug/src/browser.js +0 -195
- package/node_modules/method-override/node_modules/debug/src/debug.js +0 -225
- package/node_modules/method-override/node_modules/debug/src/index.js +0 -10
- package/node_modules/method-override/node_modules/debug/src/node.js +0 -186
- package/node_modules/method-override/node_modules/ms/index.js +0 -152
- package/node_modules/method-override/node_modules/ms/license.md +0 -21
- package/node_modules/method-override/node_modules/ms/package.json +0 -37
- package/node_modules/method-override/node_modules/ms/readme.md +0 -51
- package/node_modules/method-override/package.json +0 -43
- package/node_modules/methods/HISTORY.md +0 -29
- package/node_modules/methods/LICENSE +0 -24
- package/node_modules/methods/README.md +0 -51
- package/node_modules/methods/index.js +0 -69
- package/node_modules/methods/package.json +0 -36
- package/node_modules/minimalistic-assert/LICENSE +0 -13
- package/node_modules/minimalistic-assert/index.js +0 -11
- package/node_modules/minimalistic-assert/package.json +0 -19
- package/node_modules/minimalistic-assert/readme.md +0 -4
- package/node_modules/minipass/LICENSE.md +0 -55
- package/node_modules/minipass/README.md +0 -825
- package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/minipass/dist/commonjs/index.js +0 -1038
- package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
- package/node_modules/minipass/dist/commonjs/package.json +0 -3
- package/node_modules/minipass/dist/esm/index.d.ts +0 -545
- package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
- package/node_modules/minipass/dist/esm/index.js +0 -1020
- package/node_modules/minipass/dist/esm/index.js.map +0 -1
- package/node_modules/minipass/dist/esm/package.json +0 -3
- package/node_modules/minipass/package.json +0 -77
- package/node_modules/morgan/LICENSE +0 -23
- package/node_modules/morgan/README.md +0 -479
- package/node_modules/morgan/index.js +0 -596
- package/node_modules/morgan/node_modules/debug/.coveralls.yml +0 -1
- package/node_modules/morgan/node_modules/debug/.eslintrc +0 -11
- package/node_modules/morgan/node_modules/debug/.npmignore +0 -9
- package/node_modules/morgan/node_modules/debug/.travis.yml +0 -14
- package/node_modules/morgan/node_modules/debug/CHANGELOG.md +0 -362
- package/node_modules/morgan/node_modules/debug/LICENSE +0 -19
- package/node_modules/morgan/node_modules/debug/Makefile +0 -50
- package/node_modules/morgan/node_modules/debug/README.md +0 -312
- package/node_modules/morgan/node_modules/debug/component.json +0 -19
- package/node_modules/morgan/node_modules/debug/karma.conf.js +0 -70
- package/node_modules/morgan/node_modules/debug/node.js +0 -1
- package/node_modules/morgan/node_modules/debug/package.json +0 -49
- package/node_modules/morgan/node_modules/debug/src/browser.js +0 -185
- package/node_modules/morgan/node_modules/debug/src/debug.js +0 -202
- package/node_modules/morgan/node_modules/debug/src/index.js +0 -10
- package/node_modules/morgan/node_modules/debug/src/inspector-log.js +0 -15
- package/node_modules/morgan/node_modules/debug/src/node.js +0 -248
- package/node_modules/morgan/node_modules/ms/index.js +0 -152
- package/node_modules/morgan/node_modules/ms/license.md +0 -21
- package/node_modules/morgan/node_modules/ms/package.json +0 -37
- package/node_modules/morgan/node_modules/ms/readme.md +0 -51
- package/node_modules/morgan/package.json +0 -55
- package/node_modules/negotiator/LICENSE +0 -24
- package/node_modules/negotiator/README.md +0 -212
- package/node_modules/negotiator/index.js +0 -83
- package/node_modules/negotiator/lib/accept.js +0 -54
- package/node_modules/negotiator/lib/charset.js +0 -145
- package/node_modules/negotiator/lib/encoding.js +0 -184
- package/node_modules/negotiator/lib/language.js +0 -158
- package/node_modules/negotiator/lib/mediaType.js +0 -176
- package/node_modules/negotiator/package.json +0 -49
- package/node_modules/normalize-package-data/LICENSE +0 -15
- package/node_modules/normalize-package-data/README.md +0 -108
- package/node_modules/normalize-package-data/lib/extract_description.js +0 -24
- package/node_modules/normalize-package-data/lib/fixer.js +0 -472
- package/node_modules/normalize-package-data/lib/make_warning.js +0 -22
- package/node_modules/normalize-package-data/lib/normalize.js +0 -48
- package/node_modules/normalize-package-data/lib/safe_format.js +0 -11
- package/node_modules/normalize-package-data/lib/typos.json +0 -25
- package/node_modules/normalize-package-data/lib/warning_messages.json +0 -30
- package/node_modules/normalize-package-data/package.json +0 -56
- package/node_modules/object-inspect/.eslintrc +0 -53
- package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/node_modules/object-inspect/.nycrc +0 -13
- package/node_modules/object-inspect/CHANGELOG.md +0 -424
- package/node_modules/object-inspect/LICENSE +0 -21
- package/node_modules/object-inspect/example/all.js +0 -23
- package/node_modules/object-inspect/example/circular.js +0 -6
- package/node_modules/object-inspect/example/fn.js +0 -5
- package/node_modules/object-inspect/example/inspect.js +0 -10
- package/node_modules/object-inspect/index.js +0 -544
- package/node_modules/object-inspect/package-support.json +0 -20
- package/node_modules/object-inspect/package.json +0 -105
- package/node_modules/object-inspect/readme.markdown +0 -84
- package/node_modules/object-inspect/test/bigint.js +0 -58
- package/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/node_modules/object-inspect/test/circular.js +0 -16
- package/node_modules/object-inspect/test/deep.js +0 -12
- package/node_modules/object-inspect/test/element.js +0 -53
- package/node_modules/object-inspect/test/err.js +0 -48
- package/node_modules/object-inspect/test/fakes.js +0 -29
- package/node_modules/object-inspect/test/fn.js +0 -76
- package/node_modules/object-inspect/test/global.js +0 -17
- package/node_modules/object-inspect/test/has.js +0 -15
- package/node_modules/object-inspect/test/holes.js +0 -15
- package/node_modules/object-inspect/test/indent-option.js +0 -271
- package/node_modules/object-inspect/test/inspect.js +0 -139
- package/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/node_modules/object-inspect/test/number.js +0 -58
- package/node_modules/object-inspect/test/quoteStyle.js +0 -26
- package/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/node_modules/object-inspect/test/undef.js +0 -12
- package/node_modules/object-inspect/test/values.js +0 -261
- package/node_modules/object-inspect/test-core-js.js +0 -26
- package/node_modules/object-inspect/util.inspect.js +0 -1
- package/node_modules/obuf/LICENSE +0 -20
- package/node_modules/obuf/README.md +0 -12
- package/node_modules/obuf/index.js +0 -396
- package/node_modules/obuf/package.json +0 -27
- package/node_modules/obuf/test/buffer-test.js +0 -268
- package/node_modules/on-finished/LICENSE +0 -23
- package/node_modules/on-finished/README.md +0 -162
- package/node_modules/on-finished/index.js +0 -246
- package/node_modules/on-finished/package.json +0 -43
- package/node_modules/on-headers/HISTORY.md +0 -26
- package/node_modules/on-headers/LICENSE +0 -22
- package/node_modules/on-headers/README.md +0 -81
- package/node_modules/on-headers/index.js +0 -180
- package/node_modules/on-headers/package.json +0 -44
- package/node_modules/once/LICENSE +0 -15
- package/node_modules/once/README.md +0 -79
- package/node_modules/once/once.js +0 -42
- package/node_modules/once/package.json +0 -33
- package/node_modules/parse-listing/..gitignore.un~ +0 -0
- package/node_modules/parse-listing/..travis.yml.un~ +0 -0
- package/node_modules/parse-listing/.Makefile.un~ +0 -0
- package/node_modules/parse-listing/.README.md.un~ +0 -0
- package/node_modules/parse-listing/.npmignore +0 -4
- package/node_modules/parse-listing/.package.json.un~ +0 -0
- package/node_modules/parse-listing/.parser.js.un~ +0 -0
- package/node_modules/parse-listing/.parset_test.js.un~ +0 -0
- package/node_modules/parse-listing/.travis.yml +0 -7
- package/node_modules/parse-listing/Makefile +0 -30
- package/node_modules/parse-listing/README.md +0 -115
- package/node_modules/parse-listing/_site/Makefile +0 -30
- package/node_modules/parse-listing/_site/README.md +0 -115
- package/node_modules/parse-listing/_site/package.json +0 -41
- package/node_modules/parse-listing/_site/src/ftp-parser.js +0 -456
- package/node_modules/parse-listing/_site/src/parser.js +0 -338
- package/node_modules/parse-listing/_site/test/parser.test.js +0 -707
- package/node_modules/parse-listing/package.json +0 -41
- package/node_modules/parse-listing/src/.parser.js.un~ +0 -0
- package/node_modules/parse-listing/src/ftp-parser.js +0 -456
- package/node_modules/parse-listing/src/parser.js +0 -339
- package/node_modules/parse-listing/test/.parser.test.js.un~ +0 -0
- package/node_modules/parse-listing/test/.parser_test.js.un~ +0 -0
- package/node_modules/parse-listing/test/parser.test.js +0 -714
- package/node_modules/parseurl/HISTORY.md +0 -58
- package/node_modules/parseurl/LICENSE +0 -24
- package/node_modules/parseurl/README.md +0 -133
- package/node_modules/parseurl/index.js +0 -158
- package/node_modules/parseurl/package.json +0 -40
- package/node_modules/path-scurry/LICENSE.md +0 -55
- package/node_modules/path-scurry/README.md +0 -636
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1115
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/path-scurry/dist/commonjs/index.js +0 -2018
- package/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
- package/node_modules/path-scurry/dist/commonjs/package.json +0 -3
- package/node_modules/path-scurry/dist/esm/index.d.ts +0 -1115
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
- package/node_modules/path-scurry/dist/esm/index.js +0 -1983
- package/node_modules/path-scurry/dist/esm/index.js.map +0 -1
- package/node_modules/path-scurry/dist/esm/package.json +0 -3
- package/node_modules/path-scurry/package.json +0 -72
- package/node_modules/plist/index.js +0 -2
- package/node_modules/plist/lib/build.js +0 -147
- package/node_modules/plist/lib/parse.js +0 -213
- package/node_modules/proxy-addr/HISTORY.md +0 -167
- package/node_modules/proxy-addr/LICENSE +0 -22
- package/node_modules/proxy-addr/README.md +0 -139
- package/node_modules/proxy-addr/index.js +0 -359
- package/node_modules/proxy-addr/package.json +0 -51
- package/node_modules/qs/.editorconfig +0 -46
- package/node_modules/qs/.github/FUNDING.yml +0 -12
- package/node_modules/qs/.github/SECURITY.md +0 -11
- package/node_modules/qs/.github/THREAT_MODEL.md +0 -80
- package/node_modules/qs/.nycrc +0 -13
- package/node_modules/qs/CHANGELOG.md +0 -937
- package/node_modules/qs/LICENSE.md +0 -29
- package/node_modules/qs/README.md +0 -857
- package/node_modules/qs/dist/qs.js +0 -141
- package/node_modules/qs/eslint.config.mjs +0 -68
- package/node_modules/qs/lib/formats.js +0 -28
- package/node_modules/qs/lib/index.js +0 -11
- package/node_modules/qs/lib/parse.js +0 -522
- package/node_modules/qs/lib/stringify.js +0 -380
- package/node_modules/qs/lib/utils.js +0 -531
- package/node_modules/qs/package.json +0 -95
- package/node_modules/qs/test/empty-keys-cases.js +0 -267
- package/node_modules/qs/test/parse.js +0 -2629
- package/node_modules/qs/test/stringify.js +0 -2217
- package/node_modules/qs/test/utils.js +0 -880
- package/node_modules/range-parser/HISTORY.md +0 -56
- package/node_modules/range-parser/LICENSE +0 -23
- package/node_modules/range-parser/README.md +0 -85
- package/node_modules/range-parser/index.js +0 -181
- package/node_modules/range-parser/package.json +0 -48
- package/node_modules/raw-body/LICENSE +0 -22
- package/node_modules/raw-body/README.md +0 -223
- package/node_modules/raw-body/index.d.ts +0 -85
- package/node_modules/raw-body/index.js +0 -336
- package/node_modules/raw-body/package.json +0 -46
- package/node_modules/router/HISTORY.md +0 -228
- package/node_modules/router/LICENSE +0 -23
- package/node_modules/router/README.md +0 -416
- package/node_modules/router/index.js +0 -748
- package/node_modules/router/lib/layer.js +0 -247
- package/node_modules/router/lib/route.js +0 -242
- package/node_modules/router/package.json +0 -44
- package/node_modules/safer-buffer/LICENSE +0 -21
- package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/node_modules/safer-buffer/Readme.md +0 -156
- package/node_modules/safer-buffer/dangerous.js +0 -58
- package/node_modules/safer-buffer/package.json +0 -34
- package/node_modules/safer-buffer/safer.js +0 -77
- package/node_modules/safer-buffer/tests.js +0 -406
- package/node_modules/select-hose/.jscsrc +0 -46
- package/node_modules/select-hose/.jshintrc +0 -89
- package/node_modules/select-hose/.npmignore +0 -2
- package/node_modules/select-hose/.travis.yml +0 -5
- package/node_modules/select-hose/README.md +0 -31
- package/node_modules/select-hose/lib/hose.js +0 -101
- package/node_modules/select-hose/package.json +0 -31
- package/node_modules/select-hose/test/api-test.js +0 -111
- package/node_modules/select-hose/test/fixtures.js +0 -14
- package/node_modules/send/LICENSE +0 -23
- package/node_modules/send/README.md +0 -317
- package/node_modules/send/index.js +0 -997
- package/node_modules/send/package.json +0 -63
- package/node_modules/serve-favicon/HISTORY.md +0 -194
- package/node_modules/serve-favicon/LICENSE +0 -25
- package/node_modules/serve-favicon/README.md +0 -136
- package/node_modules/serve-favicon/index.js +0 -226
- package/node_modules/serve-favicon/node_modules/fresh/HISTORY.md +0 -70
- package/node_modules/serve-favicon/node_modules/fresh/LICENSE +0 -23
- package/node_modules/serve-favicon/node_modules/fresh/README.md +0 -119
- package/node_modules/serve-favicon/node_modules/fresh/index.js +0 -137
- package/node_modules/serve-favicon/node_modules/fresh/package.json +0 -46
- package/node_modules/serve-favicon/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/serve-favicon/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/serve-favicon/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/serve-favicon/node_modules/safe-buffer/index.js +0 -65
- package/node_modules/serve-favicon/node_modules/safe-buffer/package.json +0 -51
- package/node_modules/serve-favicon/package.json +0 -47
- package/node_modules/serve-static/LICENSE +0 -25
- package/node_modules/serve-static/README.md +0 -253
- package/node_modules/serve-static/index.js +0 -208
- package/node_modules/serve-static/package.json +0 -44
- package/node_modules/setprototypeof/LICENSE +0 -13
- package/node_modules/setprototypeof/README.md +0 -31
- package/node_modules/setprototypeof/index.d.ts +0 -2
- package/node_modules/setprototypeof/index.js +0 -17
- package/node_modules/setprototypeof/package.json +0 -38
- package/node_modules/setprototypeof/test/index.js +0 -24
- package/node_modules/sharp/LICENSE +0 -191
- package/node_modules/sharp/README.md +0 -112
- package/node_modules/sharp/dist/channel.cjs +0 -177
- package/node_modules/sharp/dist/channel.mjs +0 -177
- package/node_modules/sharp/dist/colour.cjs +0 -199
- package/node_modules/sharp/dist/colour.mjs +0 -199
- package/node_modules/sharp/dist/composite.cjs +0 -213
- package/node_modules/sharp/dist/composite.mjs +0 -213
- package/node_modules/sharp/dist/constructor.cjs +0 -511
- package/node_modules/sharp/dist/constructor.mjs +0 -511
- package/node_modules/sharp/dist/index.cjs +0 -25
- package/node_modules/sharp/dist/index.d.cts +0 -1999
- package/node_modules/sharp/dist/index.d.mts +0 -2046
- package/node_modules/sharp/dist/index.mjs +0 -25
- package/node_modules/sharp/dist/input.cjs +0 -819
- package/node_modules/sharp/dist/input.mjs +0 -819
- package/node_modules/sharp/dist/is.cjs +0 -149
- package/node_modules/sharp/dist/is.mjs +0 -149
- package/node_modules/sharp/dist/libvips.cjs +0 -212
- package/node_modules/sharp/dist/libvips.mjs +0 -212
- package/node_modules/sharp/dist/operation.cjs +0 -1002
- package/node_modules/sharp/dist/operation.mjs +0 -1002
- package/node_modules/sharp/dist/output.cjs +0 -1786
- package/node_modules/sharp/dist/output.mjs +0 -1786
- package/node_modules/sharp/dist/resize.cjs +0 -617
- package/node_modules/sharp/dist/resize.mjs +0 -617
- package/node_modules/sharp/dist/sharp.cjs +0 -174
- package/node_modules/sharp/dist/sharp.mjs +0 -174
- package/node_modules/sharp/dist/utility.cjs +0 -301
- package/node_modules/sharp/dist/utility.mjs +0 -301
- package/node_modules/sharp/install/build.js +0 -38
- package/node_modules/sharp/lib/index.d.ts +0 -1999
- package/node_modules/sharp/package.json +0 -227
- package/node_modules/sharp/src/binding.gyp +0 -303
- package/node_modules/sharp/src/common.cc +0 -1186
- package/node_modules/sharp/src/common.h +0 -421
- package/node_modules/sharp/src/metadata.cc +0 -404
- package/node_modules/sharp/src/metadata.h +0 -95
- package/node_modules/sharp/src/operations.cc +0 -516
- package/node_modules/sharp/src/operations.h +0 -137
- package/node_modules/sharp/src/pipeline.cc +0 -1973
- package/node_modules/sharp/src/pipeline.h +0 -422
- package/node_modules/sharp/src/sharp.cc +0 -43
- package/node_modules/sharp/src/stats.cc +0 -186
- package/node_modules/sharp/src/stats.h +0 -62
- package/node_modules/sharp/src/utilities.cc +0 -289
- package/node_modules/sharp/src/utilities.h +0 -22
- package/node_modules/side-channel/.editorconfig +0 -9
- package/node_modules/side-channel/.eslintrc +0 -12
- package/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel/.nycrc +0 -13
- package/node_modules/side-channel/CHANGELOG.md +0 -120
- package/node_modules/side-channel/LICENSE +0 -21
- package/node_modules/side-channel/README.md +0 -61
- package/node_modules/side-channel/index.d.ts +0 -14
- package/node_modules/side-channel/index.js +0 -46
- package/node_modules/side-channel/package.json +0 -85
- package/node_modules/side-channel/test/index.js +0 -120
- package/node_modules/side-channel/tsconfig.json +0 -9
- package/node_modules/side-channel-list/.editorconfig +0 -9
- package/node_modules/side-channel-list/.eslintrc +0 -11
- package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-list/.nycrc +0 -13
- package/node_modules/side-channel-list/CHANGELOG.md +0 -36
- package/node_modules/side-channel-list/LICENSE +0 -21
- package/node_modules/side-channel-list/README.md +0 -62
- package/node_modules/side-channel-list/index.d.ts +0 -13
- package/node_modules/side-channel-list/index.js +0 -111
- package/node_modules/side-channel-list/list.d.ts +0 -14
- package/node_modules/side-channel-list/package.json +0 -77
- package/node_modules/side-channel-list/test/index.js +0 -154
- package/node_modules/side-channel-list/tsconfig.json +0 -9
- package/node_modules/side-channel-map/.editorconfig +0 -9
- package/node_modules/side-channel-map/.eslintrc +0 -11
- package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-map/.nycrc +0 -13
- package/node_modules/side-channel-map/CHANGELOG.md +0 -22
- package/node_modules/side-channel-map/LICENSE +0 -21
- package/node_modules/side-channel-map/README.md +0 -62
- package/node_modules/side-channel-map/index.d.ts +0 -15
- package/node_modules/side-channel-map/index.js +0 -68
- package/node_modules/side-channel-map/package.json +0 -80
- package/node_modules/side-channel-map/test/index.js +0 -114
- package/node_modules/side-channel-map/tsconfig.json +0 -9
- package/node_modules/side-channel-weakmap/.editorconfig +0 -9
- package/node_modules/side-channel-weakmap/.eslintrc +0 -12
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-weakmap/.nycrc +0 -13
- package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
- package/node_modules/side-channel-weakmap/LICENSE +0 -21
- package/node_modules/side-channel-weakmap/README.md +0 -62
- package/node_modules/side-channel-weakmap/index.d.ts +0 -15
- package/node_modules/side-channel-weakmap/index.js +0 -84
- package/node_modules/side-channel-weakmap/package.json +0 -87
- package/node_modules/side-channel-weakmap/test/index.js +0 -114
- package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
- package/node_modules/spdx-correct/LICENSE +0 -202
- package/node_modules/spdx-correct/README.md +0 -22
- package/node_modules/spdx-correct/index.js +0 -386
- package/node_modules/spdx-correct/package.json +0 -32
- package/node_modules/spdx-exceptions/README.md +0 -36
- package/node_modules/spdx-exceptions/deprecated.json +0 -3
- package/node_modules/spdx-exceptions/index.json +0 -68
- package/node_modules/spdx-exceptions/package.json +0 -19
- package/node_modules/spdx-expression-parse/AUTHORS +0 -4
- package/node_modules/spdx-expression-parse/LICENSE +0 -22
- package/node_modules/spdx-expression-parse/README.md +0 -91
- package/node_modules/spdx-expression-parse/index.js +0 -8
- package/node_modules/spdx-expression-parse/package.json +0 -39
- package/node_modules/spdx-expression-parse/parse.js +0 -138
- package/node_modules/spdx-expression-parse/scan.js +0 -131
- package/node_modules/spdx-license-ids/README.md +0 -51
- package/node_modules/spdx-license-ids/deprecated.json +0 -28
- package/node_modules/spdx-license-ids/index.json +0 -710
- package/node_modules/spdx-license-ids/package.json +0 -29
- package/node_modules/spdy/.travis.yml +0 -13
- package/node_modules/spdy/README.md +0 -267
- package/node_modules/spdy/lib/spdy/agent.js +0 -295
- package/node_modules/spdy/lib/spdy/handle.js +0 -247
- package/node_modules/spdy/lib/spdy/request.js +0 -33
- package/node_modules/spdy/lib/spdy/response.js +0 -100
- package/node_modules/spdy/lib/spdy/server.js +0 -288
- package/node_modules/spdy/lib/spdy/socket.js +0 -39
- package/node_modules/spdy/lib/spdy.js +0 -20
- package/node_modules/spdy/package.json +0 -54
- package/node_modules/spdy/test/client-test.js +0 -242
- package/node_modules/spdy/test/fixtures.js +0 -95
- package/node_modules/spdy/test/server-test.js +0 -487
- package/node_modules/spdy-transport/.travis.yml +0 -14
- package/node_modules/spdy-transport/README.md +0 -76
- package/node_modules/spdy-transport/lib/spdy-transport/connection.js +0 -845
- package/node_modules/spdy-transport/lib/spdy-transport/priority.js +0 -188
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/constants.js +0 -4
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/framer.js +0 -58
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/index.js +0 -7
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/parser.js +0 -106
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/scheduler.js +0 -216
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/utils.js +0 -94
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/constants.js +0 -93
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/framer.js +0 -542
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/hpack-pool.js +0 -34
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/index.js +0 -8
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/parser.js +0 -578
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/constants.js +0 -146
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/dictionary.js +0 -203
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/framer.js +0 -519
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/index.js +0 -9
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/parser.js +0 -485
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/zlib-pool.js +0 -65
- package/node_modules/spdy-transport/lib/spdy-transport/stream.js +0 -710
- package/node_modules/spdy-transport/lib/spdy-transport/utils.js +0 -196
- package/node_modules/spdy-transport/lib/spdy-transport/window.js +0 -174
- package/node_modules/spdy-transport/lib/spdy-transport.js +0 -25
- package/node_modules/spdy-transport/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/spdy-transport/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/spdy-transport/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/spdy-transport/node_modules/readable-stream/README.md +0 -106
- package/node_modules/spdy-transport/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/spdy-transport/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/spdy-transport/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_transform.js +0 -190
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_writable.js +0 -641
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/spdy-transport/node_modules/readable-stream/package.json +0 -68
- package/node_modules/spdy-transport/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/spdy-transport/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/spdy-transport/package.json +0 -43
- package/node_modules/statuses/HISTORY.md +0 -87
- package/node_modules/statuses/LICENSE +0 -23
- package/node_modules/statuses/README.md +0 -139
- package/node_modules/statuses/codes.json +0 -65
- package/node_modules/statuses/index.js +0 -146
- package/node_modules/statuses/package.json +0 -49
- package/node_modules/stream-buffers/.codeclimate.yml +0 -12
- package/node_modules/stream-buffers/.eslintignore +0 -1
- package/node_modules/stream-buffers/.eslintrc +0 -25
- package/node_modules/stream-buffers/.github/workflows/codeql-analysis.yml +0 -71
- package/node_modules/stream-buffers/.github/workflows/node.js.yml +0 -31
- package/node_modules/stream-buffers/.mailmap +0 -3
- package/node_modules/stream-buffers/.nvmrc +0 -1
- package/node_modules/stream-buffers/README.md +0 -157
- package/node_modules/stream-buffers/UNLICENSE +0 -24
- package/node_modules/stream-buffers/lib/constants.js +0 -8
- package/node_modules/stream-buffers/lib/readable_streambuffer.js +0 -114
- package/node_modules/stream-buffers/lib/streambuffer.js +0 -5
- package/node_modules/stream-buffers/lib/writable_streambuffer.js +0 -72
- package/node_modules/stream-buffers/package.json +0 -30
- package/node_modules/stream-combiner/.npmignore +0 -3
- package/node_modules/stream-combiner/.travis.yml +0 -4
- package/node_modules/stream-combiner/LICENSE +0 -22
- package/node_modules/stream-combiner/README.md +0 -55
- package/node_modules/stream-combiner/index.js +0 -45
- package/node_modules/stream-combiner/package.json +0 -22
- package/node_modules/stream-combiner/test/index.js +0 -65
- package/node_modules/tagged-tag/index.d.ts +0 -3
- package/node_modules/tagged-tag/license +0 -9
- package/node_modules/tagged-tag/package.json +0 -36
- package/node_modules/tagged-tag/readme.md +0 -5
- package/node_modules/through/.travis.yml +0 -5
- package/node_modules/through/LICENSE.APACHE2 +0 -15
- package/node_modules/through/LICENSE.MIT +0 -24
- package/node_modules/through/index.js +0 -108
- package/node_modules/through/package.json +0 -36
- package/node_modules/through/readme.markdown +0 -64
- package/node_modules/through/test/async.js +0 -28
- package/node_modules/through/test/auto-destroy.js +0 -30
- package/node_modules/through/test/buffering.js +0 -71
- package/node_modules/through/test/end.js +0 -45
- package/node_modules/through/test/index.js +0 -133
- package/node_modules/toidentifier/HISTORY.md +0 -9
- package/node_modules/toidentifier/LICENSE +0 -21
- package/node_modules/toidentifier/README.md +0 -61
- package/node_modules/toidentifier/index.js +0 -32
- package/node_modules/toidentifier/package.json +0 -38
- package/node_modules/type-fest/index.d.ts +0 -227
- package/node_modules/type-fest/license-cc0 +0 -121
- package/node_modules/type-fest/license-mit +0 -9
- package/node_modules/type-fest/package.json +0 -76
- package/node_modules/type-fest/readme.md +0 -1076
- package/node_modules/type-fest/source/absolute.d.ts +0 -52
- package/node_modules/type-fest/source/all-extend.d.ts +0 -123
- package/node_modules/type-fest/source/all-union-fields.d.ts +0 -91
- package/node_modules/type-fest/source/and-all.d.ts +0 -76
- package/node_modules/type-fest/source/and.d.ts +0 -82
- package/node_modules/type-fest/source/array-element.d.ts +0 -46
- package/node_modules/type-fest/source/array-indices.d.ts +0 -25
- package/node_modules/type-fest/source/array-length.d.ts +0 -36
- package/node_modules/type-fest/source/array-reverse.d.ts +0 -86
- package/node_modules/type-fest/source/array-slice.d.ts +0 -132
- package/node_modules/type-fest/source/array-splice.d.ts +0 -104
- package/node_modules/type-fest/source/array-tail.d.ts +0 -70
- package/node_modules/type-fest/source/array-values.d.ts +0 -24
- package/node_modules/type-fest/source/arrayable.d.ts +0 -31
- package/node_modules/type-fest/source/async-return-type.d.ts +0 -28
- package/node_modules/type-fest/source/asyncify.d.ts +0 -25
- package/node_modules/type-fest/source/basic.d.ts +0 -38
- package/node_modules/type-fest/source/camel-case.d.ts +0 -125
- package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -106
- package/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -49
- package/node_modules/type-fest/source/characters.d.ts +0 -67
- package/node_modules/type-fest/source/conditional-except.d.ts +0 -47
- package/node_modules/type-fest/source/conditional-keys.d.ts +0 -63
- package/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -122
- package/node_modules/type-fest/source/conditional-pick.d.ts +0 -48
- package/node_modules/type-fest/source/conditional-simplify-deep.d.ts +0 -73
- package/node_modules/type-fest/source/conditional-simplify.d.ts +0 -50
- package/node_modules/type-fest/source/delimiter-case.d.ts +0 -79
- package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -115
- package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -52
- package/node_modules/type-fest/source/distributed-omit.d.ts +0 -96
- package/node_modules/type-fest/source/distributed-pick.d.ts +0 -92
- package/node_modules/type-fest/source/empty-object.d.ts +0 -51
- package/node_modules/type-fest/source/entries.d.ts +0 -64
- package/node_modules/type-fest/source/entry.d.ts +0 -67
- package/node_modules/type-fest/source/exact.d.ts +0 -73
- package/node_modules/type-fest/source/except.d.ts +0 -112
- package/node_modules/type-fest/source/exclude-exactly.d.ts +0 -57
- package/node_modules/type-fest/source/exclude-rest-element.d.ts +0 -40
- package/node_modules/type-fest/source/exclude-strict.d.ts +0 -51
- package/node_modules/type-fest/source/exclusify-union.d.ts +0 -147
- package/node_modules/type-fest/source/extends-strict.d.ts +0 -151
- package/node_modules/type-fest/source/extract-exactly.d.ts +0 -56
- package/node_modules/type-fest/source/extract-rest-element.d.ts +0 -30
- package/node_modules/type-fest/source/extract-strict.d.ts +0 -51
- package/node_modules/type-fest/source/find-global-type.d.ts +0 -68
- package/node_modules/type-fest/source/fixed-length-array.d.ts +0 -97
- package/node_modules/type-fest/source/get.d.ts +0 -227
- package/node_modules/type-fest/source/global-this.d.ts +0 -24
- package/node_modules/type-fest/source/globals/index.d.ts +0 -3
- package/node_modules/type-fest/source/globals/observable-like.d.ts +0 -78
- package/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -63
- package/node_modules/type-fest/source/greater-than.d.ts +0 -92
- package/node_modules/type-fest/source/has-optional-keys.d.ts +0 -23
- package/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -23
- package/node_modules/type-fest/source/has-required-keys.d.ts +0 -61
- package/node_modules/type-fest/source/has-writable-keys.d.ts +0 -23
- package/node_modules/type-fest/source/if-any.d.ts +0 -28
- package/node_modules/type-fest/source/if-empty-object.d.ts +0 -30
- package/node_modules/type-fest/source/if-never.d.ts +0 -28
- package/node_modules/type-fest/source/if-null.d.ts +0 -28
- package/node_modules/type-fest/source/if-unknown.d.ts +0 -28
- package/node_modules/type-fest/source/if.d.ts +0 -102
- package/node_modules/type-fest/source/includes.d.ts +0 -24
- package/node_modules/type-fest/source/int-closed-range.d.ts +0 -48
- package/node_modules/type-fest/source/int-range.d.ts +0 -114
- package/node_modules/type-fest/source/internal/array.d.ts +0 -145
- package/node_modules/type-fest/source/internal/characters.d.ts +0 -65
- package/node_modules/type-fest/source/internal/enforce-optional.d.ts +0 -49
- package/node_modules/type-fest/source/internal/index.d.ts +0 -11
- package/node_modules/type-fest/source/internal/keys.d.ts +0 -100
- package/node_modules/type-fest/source/internal/numeric.d.ts +0 -105
- package/node_modules/type-fest/source/internal/object.d.ts +0 -330
- package/node_modules/type-fest/source/internal/string.d.ts +0 -127
- package/node_modules/type-fest/source/internal/tuple.d.ts +0 -79
- package/node_modules/type-fest/source/internal/type.d.ts +0 -171
- package/node_modules/type-fest/source/invariant-of.d.ts +0 -85
- package/node_modules/type-fest/source/is-any.d.ts +0 -31
- package/node_modules/type-fest/source/is-boolean-literal.d.ts +0 -39
- package/node_modules/type-fest/source/is-equal.d.ts +0 -41
- package/node_modules/type-fest/source/is-float.d.ts +0 -43
- package/node_modules/type-fest/source/is-integer.d.ts +0 -60
- package/node_modules/type-fest/source/is-literal.d.ts +0 -91
- package/node_modules/type-fest/source/is-lowercase.d.ts +0 -38
- package/node_modules/type-fest/source/is-never.d.ts +0 -56
- package/node_modules/type-fest/source/is-null.d.ts +0 -22
- package/node_modules/type-fest/source/is-nullable.d.ts +0 -30
- package/node_modules/type-fest/source/is-numeric-literal.d.ts +0 -50
- package/node_modules/type-fest/source/is-optional-key-of.d.ts +0 -51
- package/node_modules/type-fest/source/is-optional.d.ts +0 -28
- package/node_modules/type-fest/source/is-readonly-key-of.d.ts +0 -55
- package/node_modules/type-fest/source/is-required-key-of.d.ts +0 -51
- package/node_modules/type-fest/source/is-string-literal.d.ts +0 -72
- package/node_modules/type-fest/source/is-symbol-literal.d.ts +0 -39
- package/node_modules/type-fest/source/is-tuple.d.ts +0 -92
- package/node_modules/type-fest/source/is-undefined.d.ts +0 -22
- package/node_modules/type-fest/source/is-union.d.ts +0 -40
- package/node_modules/type-fest/source/is-unknown.d.ts +0 -43
- package/node_modules/type-fest/source/is-uppercase.d.ts +0 -38
- package/node_modules/type-fest/source/is-writable-key-of.d.ts +0 -51
- package/node_modules/type-fest/source/iterable-element.d.ts +0 -66
- package/node_modules/type-fest/source/join.d.ts +0 -79
- package/node_modules/type-fest/source/json-value.d.ts +0 -33
- package/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
- package/node_modules/type-fest/source/jsonify.d.ts +0 -123
- package/node_modules/type-fest/source/kebab-case.d.ts +0 -47
- package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -72
- package/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -46
- package/node_modules/type-fest/source/key-as-string.d.ts +0 -27
- package/node_modules/type-fest/source/keys-of-union.d.ts +0 -44
- package/node_modules/type-fest/source/last-array-element.d.ts +0 -89
- package/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -60
- package/node_modules/type-fest/source/less-than.d.ts +0 -60
- package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -71
- package/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -38
- package/node_modules/type-fest/source/literal-union.d.ts +0 -39
- package/node_modules/type-fest/source/merge-deep.d.ts +0 -495
- package/node_modules/type-fest/source/merge-exclusive.d.ts +0 -45
- package/node_modules/type-fest/source/merge.d.ts +0 -87
- package/node_modules/type-fest/source/multidimensional-array.d.ts +0 -38
- package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -38
- package/node_modules/type-fest/source/non-empty-object.d.ts +0 -38
- package/node_modules/type-fest/source/non-empty-string.d.ts +0 -32
- package/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -24
- package/node_modules/type-fest/source/non-nullable-deep.d.ts +0 -102
- package/node_modules/type-fest/source/numeric.d.ts +0 -226
- package/node_modules/type-fest/source/object-merge.d.ts +0 -199
- package/node_modules/type-fest/source/omit-deep.d.ts +0 -153
- package/node_modules/type-fest/source/omit-index-signature.d.ts +0 -98
- package/node_modules/type-fest/source/opaque.d.ts +0 -3
- package/node_modules/type-fest/source/optional-keys-of.d.ts +0 -46
- package/node_modules/type-fest/source/optional.d.ts +0 -31
- package/node_modules/type-fest/source/or-all.d.ts +0 -73
- package/node_modules/type-fest/source/or.d.ts +0 -82
- package/node_modules/type-fest/source/override-properties.d.ts +0 -43
- package/node_modules/type-fest/source/package-json.d.ts +0 -710
- package/node_modules/type-fest/source/partial-deep.d.ts +0 -157
- package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -81
- package/node_modules/type-fest/source/pascal-case.d.ts +0 -52
- package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -79
- package/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -46
- package/node_modules/type-fest/source/paths.d.ts +0 -241
- package/node_modules/type-fest/source/pick-deep.d.ts +0 -139
- package/node_modules/type-fest/source/pick-index-signature.d.ts +0 -52
- package/node_modules/type-fest/source/primitive.d.ts +0 -15
- package/node_modules/type-fest/source/promisable.d.ts +0 -27
- package/node_modules/type-fest/source/readonly-deep.d.ts +0 -118
- package/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -38
- package/node_modules/type-fest/source/readonly-tuple.d.ts +0 -34
- package/node_modules/type-fest/source/remove-prefix.d.ts +0 -114
- package/node_modules/type-fest/source/remove-suffix.d.ts +0 -114
- package/node_modules/type-fest/source/rename-keys.d.ts +0 -163
- package/node_modules/type-fest/source/replace.d.ts +0 -87
- package/node_modules/type-fest/source/require-all-or-none.d.ts +0 -54
- package/node_modules/type-fest/source/require-at-least-one.d.ts +0 -48
- package/node_modules/type-fest/source/require-exactly-one.d.ts +0 -48
- package/node_modules/type-fest/source/require-one-or-none.d.ts +0 -49
- package/node_modules/type-fest/source/required-deep.d.ts +0 -78
- package/node_modules/type-fest/source/required-keys-of.d.ts +0 -38
- package/node_modules/type-fest/source/schema.d.ts +0 -127
- package/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -31
- package/node_modules/type-fest/source/set-field-type.d.ts +0 -67
- package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -89
- package/node_modules/type-fest/source/set-non-nullable.d.ts +0 -34
- package/node_modules/type-fest/source/set-optional.d.ts +0 -42
- package/node_modules/type-fest/source/set-parameter-type.d.ts +0 -125
- package/node_modules/type-fest/source/set-readonly.d.ts +0 -40
- package/node_modules/type-fest/source/set-required-deep.d.ts +0 -65
- package/node_modules/type-fest/source/set-required.d.ts +0 -76
- package/node_modules/type-fest/source/set-return-type.d.ts +0 -31
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -182
- package/node_modules/type-fest/source/shared-union-fields.d.ts +0 -79
- package/node_modules/type-fest/source/simplify-deep.d.ts +0 -117
- package/node_modules/type-fest/source/simplify.d.ts +0 -61
- package/node_modules/type-fest/source/single-key-object.d.ts +0 -28
- package/node_modules/type-fest/source/snake-case.d.ts +0 -48
- package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -72
- package/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -46
- package/node_modules/type-fest/source/some-extend.d.ts +0 -117
- package/node_modules/type-fest/source/split-on-rest-element.d.ts +0 -109
- package/node_modules/type-fest/source/split.d.ts +0 -101
- package/node_modules/type-fest/source/spread.d.ts +0 -78
- package/node_modules/type-fest/source/string-length.d.ts +0 -38
- package/node_modules/type-fest/source/string-repeat.d.ts +0 -76
- package/node_modules/type-fest/source/string-slice.d.ts +0 -39
- package/node_modules/type-fest/source/string-to-array.d.ts +0 -97
- package/node_modules/type-fest/source/string-to-number.d.ts +0 -67
- package/node_modules/type-fest/source/stringified.d.ts +0 -25
- package/node_modules/type-fest/source/structured-cloneable.d.ts +0 -89
- package/node_modules/type-fest/source/subtract.d.ts +0 -87
- package/node_modules/type-fest/source/sum.d.ts +0 -82
- package/node_modules/type-fest/source/tagged-union.d.ts +0 -53
- package/node_modules/type-fest/source/tagged.d.ts +0 -261
- package/node_modules/type-fest/source/trim.d.ts +0 -29
- package/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1356
- package/node_modules/type-fest/source/tuple-of.d.ts +0 -114
- package/node_modules/type-fest/source/tuple-to-object.d.ts +0 -47
- package/node_modules/type-fest/source/tuple-to-union.d.ts +0 -54
- package/node_modules/type-fest/source/typed-array.d.ts +0 -25
- package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -83
- package/node_modules/type-fest/source/union-length.d.ts +0 -27
- package/node_modules/type-fest/source/union-max.d.ts +0 -56
- package/node_modules/type-fest/source/union-member.d.ts +0 -65
- package/node_modules/type-fest/source/union-to-intersection.d.ts +0 -35
- package/node_modules/type-fest/source/union-to-tuple.d.ts +0 -49
- package/node_modules/type-fest/source/unknown-array.d.ts +0 -27
- package/node_modules/type-fest/source/unknown-map.d.ts +0 -26
- package/node_modules/type-fest/source/unknown-record.d.ts +0 -33
- package/node_modules/type-fest/source/unknown-set.d.ts +0 -26
- package/node_modules/type-fest/source/unwrap-partial.d.ts +0 -33
- package/node_modules/type-fest/source/unwrap-required.d.ts +0 -37
- package/node_modules/type-fest/source/value-of.d.ts +0 -24
- package/node_modules/type-fest/source/words.d.ts +0 -148
- package/node_modules/type-fest/source/writable-deep.d.ts +0 -84
- package/node_modules/type-fest/source/writable-keys-of.d.ts +0 -34
- package/node_modules/type-fest/source/writable.d.ts +0 -68
- package/node_modules/type-fest/source/xor.d.ts +0 -83
- package/node_modules/type-is/HISTORY.md +0 -292
- package/node_modules/type-is/LICENSE +0 -23
- package/node_modules/type-is/README.md +0 -198
- package/node_modules/type-is/index.js +0 -240
- package/node_modules/type-is/package.json +0 -51
- package/node_modules/unorm/LICENSE.md +0 -42
- package/node_modules/unorm/README.md +0 -118
- package/node_modules/unorm/lib/unorm.js +0 -452
- package/node_modules/unorm/package.json +0 -31
- package/node_modules/unpipe/HISTORY.md +0 -4
- package/node_modules/unpipe/LICENSE +0 -22
- package/node_modules/unpipe/README.md +0 -43
- package/node_modules/unpipe/index.js +0 -69
- package/node_modules/unpipe/package.json +0 -27
- package/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/uuid/README.md +0 -491
- package/node_modules/uuid/dist/index.d.ts +0 -15
- package/node_modules/uuid/dist/index.js +0 -14
- package/node_modules/uuid/dist/max.d.ts +0 -2
- package/node_modules/uuid/dist/max.js +0 -1
- package/node_modules/uuid/dist/md5.d.ts +0 -2
- package/node_modules/uuid/dist/md5.js +0 -135
- package/node_modules/uuid/dist/nil.d.ts +0 -2
- package/node_modules/uuid/dist/nil.js +0 -1
- package/node_modules/uuid/dist/parse.d.ts +0 -3
- package/node_modules/uuid/dist/parse.js +0 -9
- package/node_modules/uuid/dist/regex.d.ts +0 -2
- package/node_modules/uuid/dist/regex.js +0 -1
- package/node_modules/uuid/dist/rng.d.ts +0 -1
- package/node_modules/uuid/dist/rng.js +0 -4
- package/node_modules/uuid/dist/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/sha1.js +0 -70
- package/node_modules/uuid/dist/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/stringify.js +0 -35
- package/node_modules/uuid/dist/types.d.ts +0 -22
- package/node_modules/uuid/dist/types.js +0 -1
- package/node_modules/uuid/dist/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/uuid-bin.js +0 -70
- package/node_modules/uuid/dist/v1.d.ts +0 -11
- package/node_modules/uuid/dist/v1.js +0 -87
- package/node_modules/uuid/dist/v1ToV6.d.ts +0 -3
- package/node_modules/uuid/dist/v1ToV6.js +0 -10
- package/node_modules/uuid/dist/v3.d.ts +0 -9
- package/node_modules/uuid/dist/v3.js +0 -9
- package/node_modules/uuid/dist/v35.d.ts +0 -7
- package/node_modules/uuid/dist/v35.js +0 -39
- package/node_modules/uuid/dist/v4.d.ts +0 -4
- package/node_modules/uuid/dist/v4.js +0 -29
- package/node_modules/uuid/dist/v5.d.ts +0 -9
- package/node_modules/uuid/dist/v5.js +0 -9
- package/node_modules/uuid/dist/v6.d.ts +0 -4
- package/node_modules/uuid/dist/v6.js +0 -20
- package/node_modules/uuid/dist/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/v6ToV1.js +0 -10
- package/node_modules/uuid/dist/v7.d.ts +0 -9
- package/node_modules/uuid/dist/v7.js +0 -68
- package/node_modules/uuid/dist/validate.d.ts +0 -2
- package/node_modules/uuid/dist/validate.js +0 -5
- package/node_modules/uuid/dist/version.d.ts +0 -2
- package/node_modules/uuid/dist/version.js +0 -8
- package/node_modules/uuid/dist-node/bin/uuid +0 -2
- package/node_modules/uuid/dist-node/index.js +0 -14
- package/node_modules/uuid/dist-node/max.js +0 -1
- package/node_modules/uuid/dist-node/md5.js +0 -11
- package/node_modules/uuid/dist-node/nil.js +0 -1
- package/node_modules/uuid/dist-node/parse.js +0 -9
- package/node_modules/uuid/dist-node/regex.js +0 -1
- package/node_modules/uuid/dist-node/rng.js +0 -4
- package/node_modules/uuid/dist-node/sha1.js +0 -11
- package/node_modules/uuid/dist-node/stringify.js +0 -35
- package/node_modules/uuid/dist-node/types.js +0 -1
- package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
- package/node_modules/uuid/dist-node/v1.js +0 -87
- package/node_modules/uuid/dist-node/v1ToV6.js +0 -10
- package/node_modules/uuid/dist-node/v3.js +0 -9
- package/node_modules/uuid/dist-node/v35.js +0 -39
- package/node_modules/uuid/dist-node/v4.js +0 -29
- package/node_modules/uuid/dist-node/v5.js +0 -9
- package/node_modules/uuid/dist-node/v6.js +0 -20
- package/node_modules/uuid/dist-node/v6ToV1.js +0 -10
- package/node_modules/uuid/dist-node/v7.js +0 -68
- package/node_modules/uuid/dist-node/validate.js +0 -5
- package/node_modules/uuid/dist-node/version.js +0 -8
- package/node_modules/uuid/package.json +0 -115
- package/node_modules/validate-npm-package-license/LICENSE +0 -202
- package/node_modules/validate-npm-package-license/README.md +0 -113
- package/node_modules/validate-npm-package-license/index.js +0 -86
- package/node_modules/validate-npm-package-license/package.json +0 -28
- package/node_modules/vary/HISTORY.md +0 -39
- package/node_modules/vary/LICENSE +0 -22
- package/node_modules/vary/README.md +0 -101
- package/node_modules/vary/index.js +0 -149
- package/node_modules/vary/package.json +0 -43
- package/node_modules/wbuf/README.md +0 -26
- package/node_modules/wbuf/index.js +0 -425
- package/node_modules/wbuf/package.json +0 -29
- package/node_modules/wbuf/test/wbuf-test.js +0 -357
- package/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/wrappy/package.json +0 -29
- package/node_modules/wrappy/wrappy.js +0 -33
- /package/node_modules/@appium/base-driver/lib/{basedriver → helpers}/logger.ts +0 -0
- /package/node_modules/{readable-stream/node_modules/buffer → buffer}/AUTHORS.md +0 -0
- /package/node_modules/{readable-stream/node_modules/buffer → buffer}/LICENSE +0 -0
- /package/node_modules/{readable-stream/node_modules/buffer → buffer}/README.md +0 -0
- /package/node_modules/{readable-stream/node_modules/buffer → buffer}/index.d.ts +0 -0
- /package/node_modules/{readable-stream/node_modules/buffer → buffer}/index.js +0 -0
- /package/node_modules/{readable-stream/node_modules/buffer → buffer}/package.json +0 -0
|
@@ -1,1786 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Copyright 2013 Lovell Fuller and others.
|
|
3
|
-
SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const path = require('node:path');
|
|
7
|
-
const is = require('./is.cjs');
|
|
8
|
-
const sharp = require('./sharp.cjs');
|
|
9
|
-
|
|
10
|
-
const formats = new Map([
|
|
11
|
-
['heic', 'heif'],
|
|
12
|
-
['heif', 'heif'],
|
|
13
|
-
['avif', 'avif'],
|
|
14
|
-
['jpeg', 'jpeg'],
|
|
15
|
-
['jpg', 'jpeg'],
|
|
16
|
-
['jpe', 'jpeg'],
|
|
17
|
-
['tile', 'tile'],
|
|
18
|
-
['dz', 'tile'],
|
|
19
|
-
['png', 'png'],
|
|
20
|
-
['raw', 'raw'],
|
|
21
|
-
['tiff', 'tiff'],
|
|
22
|
-
['tif', 'tiff'],
|
|
23
|
-
['webp', 'webp'],
|
|
24
|
-
['gif', 'gif'],
|
|
25
|
-
['jp2', 'jp2'],
|
|
26
|
-
['jpx', 'jp2'],
|
|
27
|
-
['j2k', 'jp2'],
|
|
28
|
-
['j2c', 'jp2'],
|
|
29
|
-
['jxl', 'jxl']
|
|
30
|
-
]);
|
|
31
|
-
|
|
32
|
-
const jp2Regex = /\.(jp[2x]|j2[kc])$/i;
|
|
33
|
-
|
|
34
|
-
const errJp2Save = () => new Error('JP2 output requires libvips with support for OpenJPEG');
|
|
35
|
-
|
|
36
|
-
const bitdepthFromColourCount = (colours) => 1 << 32 - Math.clz32(Math.ceil(Math.log2(colours)) - 1);
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Write output image data to a file.
|
|
40
|
-
*
|
|
41
|
-
* If an explicit output format is not selected, it will be inferred from the extension,
|
|
42
|
-
* with JPEG, PNG, WebP, AVIF, TIFF, GIF, DZI, and libvips' V format supported.
|
|
43
|
-
* Note that raw pixel data is only supported for buffer output.
|
|
44
|
-
*
|
|
45
|
-
* By default all metadata will be removed, which includes EXIF-based orientation.
|
|
46
|
-
* See {@link #withmetadata withMetadata} for control over this.
|
|
47
|
-
*
|
|
48
|
-
* The caller is responsible for ensuring directory structures and permissions exist.
|
|
49
|
-
*
|
|
50
|
-
* A `Promise` is returned when `callback` is not provided.
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* sharp(input)
|
|
54
|
-
* .toFile('output.png', (err, info) => { ... });
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* sharp(input)
|
|
58
|
-
* .toFile('output.png')
|
|
59
|
-
* .then(info => { ... })
|
|
60
|
-
* .catch(err => { ... });
|
|
61
|
-
*
|
|
62
|
-
* @param {string} fileOut - the path to write the image data to.
|
|
63
|
-
* @param {Function} [callback] - called on completion with two arguments `(err, info)`.
|
|
64
|
-
* `info` contains the output image `format`, `size` (bytes), `width`, `height`,
|
|
65
|
-
* `channels` and `premultiplied` (indicating if premultiplication was used).
|
|
66
|
-
* When using a crop strategy also contains `cropOffsetLeft` and `cropOffsetTop`.
|
|
67
|
-
* When using the attention crop strategy also contains `attentionX` and `attentionY`, the focal point of the cropped region.
|
|
68
|
-
* Animated output will also contain `pageHeight` and `pages`.
|
|
69
|
-
* May also contain `textAutofitDpi` (dpi the font was rendered at) if image was created from text.
|
|
70
|
-
* @returns {Promise<Object>} - when no callback is provided
|
|
71
|
-
* @throws {Error} Invalid parameters
|
|
72
|
-
*/
|
|
73
|
-
function toFile (fileOut, callback) {
|
|
74
|
-
let err;
|
|
75
|
-
if (!is.string(fileOut)) {
|
|
76
|
-
err = new Error('Missing output file path');
|
|
77
|
-
} else if (is.string(this.options.input.file) && path.resolve(this.options.input.file) === path.resolve(fileOut)) {
|
|
78
|
-
err = new Error('Cannot use same file for input and output');
|
|
79
|
-
} else if (jp2Regex.test(path.extname(fileOut)) && !this.constructor.format.jp2.output.file) {
|
|
80
|
-
err = errJp2Save();
|
|
81
|
-
}
|
|
82
|
-
if (err) {
|
|
83
|
-
if (is.fn(callback)) {
|
|
84
|
-
callback(err);
|
|
85
|
-
} else {
|
|
86
|
-
return Promise.reject(err);
|
|
87
|
-
}
|
|
88
|
-
} else {
|
|
89
|
-
this.options.fileOut = fileOut;
|
|
90
|
-
const stack = Error();
|
|
91
|
-
return this._pipeline(callback, stack);
|
|
92
|
-
}
|
|
93
|
-
return this;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Write output to a Buffer.
|
|
98
|
-
* JPEG, PNG, WebP, AVIF, TIFF, GIF and raw pixel data output are supported.
|
|
99
|
-
*
|
|
100
|
-
* Use {@link #toformat toFormat} or one of the format-specific functions such as {@link #jpeg jpeg}, {@link #png png} etc. to set the output format.
|
|
101
|
-
*
|
|
102
|
-
* If no explicit format is set, the output format will match the input image, except SVG input which becomes PNG output.
|
|
103
|
-
*
|
|
104
|
-
* By default all metadata will be removed, which includes EXIF-based orientation.
|
|
105
|
-
* See {@link #withmetadata withMetadata} for control over this.
|
|
106
|
-
*
|
|
107
|
-
* `callback`, if present, gets three arguments `(err, data, info)` where:
|
|
108
|
-
* - `err` is an error, if any.
|
|
109
|
-
* - `data` is the output image data.
|
|
110
|
-
* - `info` contains the output image `format`, `size` (bytes), `width`, `height`,
|
|
111
|
-
* `channels` and `premultiplied` (indicating if premultiplication was used).
|
|
112
|
-
* When using a crop strategy also contains `cropOffsetLeft` and `cropOffsetTop`.
|
|
113
|
-
* Animated output will also contain `pageHeight` and `pages`.
|
|
114
|
-
* May also contain `textAutofitDpi` (dpi the font was rendered at) if image was created from text.
|
|
115
|
-
*
|
|
116
|
-
* The underlying `ArrayBuffer` may be marked as non-transferable by some JavaScript runtimes.
|
|
117
|
-
* Use {@link #touint8array toUint8Array} for a guaranteed transferable `ArrayBuffer`.
|
|
118
|
-
*
|
|
119
|
-
* A `Promise` is returned when `callback` is not provided.
|
|
120
|
-
*
|
|
121
|
-
* @example
|
|
122
|
-
* const data = await sharp(input)
|
|
123
|
-
* .png()
|
|
124
|
-
* .toBuffer();
|
|
125
|
-
*
|
|
126
|
-
* @example
|
|
127
|
-
* const { data, info } = await sharp(input)
|
|
128
|
-
* .png()
|
|
129
|
-
* .toBuffer({ resolveWithObject: true });
|
|
130
|
-
*
|
|
131
|
-
* @example
|
|
132
|
-
* const { data, info } = await sharp('my-image.jpg')
|
|
133
|
-
* // output the raw pixels
|
|
134
|
-
* .raw()
|
|
135
|
-
* .toBuffer({ resolveWithObject: true });
|
|
136
|
-
*
|
|
137
|
-
* // create a more type safe way to work with the raw pixel data
|
|
138
|
-
* // this will not copy the data, instead it will change `data`s underlying ArrayBuffer
|
|
139
|
-
* // so `data` and `pixelArray` point to the same memory location
|
|
140
|
-
* const pixelArray = new Uint8ClampedArray(data.buffer);
|
|
141
|
-
*
|
|
142
|
-
* // When you are done changing the pixelArray, sharp takes the `pixelArray` as an input
|
|
143
|
-
* const { width, height, channels } = info;
|
|
144
|
-
* await sharp(pixelArray, { raw: { width, height, channels } })
|
|
145
|
-
* .toFile('my-changed-image.jpg');
|
|
146
|
-
*
|
|
147
|
-
* @param {Object} [options]
|
|
148
|
-
* @param {boolean} [options.resolveWithObject] Resolve the Promise with an Object containing `data` and `info` properties instead of resolving only with `data`.
|
|
149
|
-
* @param {Function} [callback]
|
|
150
|
-
* @returns {Promise<Buffer>} - when no callback is provided
|
|
151
|
-
*/
|
|
152
|
-
function toBuffer (options, callback) {
|
|
153
|
-
if (is.object(options)) {
|
|
154
|
-
this._setBooleanOption('resolveWithObject', options.resolveWithObject);
|
|
155
|
-
} else if (this.options.resolveWithObject) {
|
|
156
|
-
this.options.resolveWithObject = false;
|
|
157
|
-
}
|
|
158
|
-
this.options.fileOut = '';
|
|
159
|
-
const stack = Error();
|
|
160
|
-
return this._pipeline(is.fn(options) ? options : callback, stack);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Write output to a `Uint8Array` backed by a transferable `ArrayBuffer`.
|
|
165
|
-
* JPEG, PNG, WebP, AVIF, TIFF, GIF and raw pixel data output are supported.
|
|
166
|
-
*
|
|
167
|
-
* Use {@link #toformat toFormat} or one of the format-specific functions such as {@link #jpeg jpeg}, {@link #png png} etc. to set the output format.
|
|
168
|
-
*
|
|
169
|
-
* If no explicit format is set, the output format will match the input image, except SVG input which becomes PNG output.
|
|
170
|
-
*
|
|
171
|
-
* By default all metadata will be removed, which includes EXIF-based orientation.
|
|
172
|
-
* See {@link #keepexif keepExif} and similar methods for control over this.
|
|
173
|
-
*
|
|
174
|
-
* Resolves with an `Object` containing:
|
|
175
|
-
* - `data` is the output image as a `Uint8Array` backed by a transferable `ArrayBuffer`.
|
|
176
|
-
* - `info` contains properties relating to the output image such as `width` and `height`.
|
|
177
|
-
*
|
|
178
|
-
* @since v0.35.0
|
|
179
|
-
*
|
|
180
|
-
* @example
|
|
181
|
-
* const { data, info } = await sharp(input).toUint8Array();
|
|
182
|
-
*
|
|
183
|
-
* @example
|
|
184
|
-
* const { data } = await sharp(input)
|
|
185
|
-
* .avif()
|
|
186
|
-
* .toUint8Array();
|
|
187
|
-
* const base64String = data.toBase64();
|
|
188
|
-
*
|
|
189
|
-
* @returns {Promise<{ data: Uint8Array, info: Object }>}
|
|
190
|
-
*/
|
|
191
|
-
function toUint8Array () {
|
|
192
|
-
this.options.resolveWithObject = true;
|
|
193
|
-
this.options.typedArrayOut = true;
|
|
194
|
-
const stack = Error();
|
|
195
|
-
return this._pipeline(null, stack);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Set output density (DPI) in EXIF metadata.
|
|
200
|
-
*
|
|
201
|
-
* @since 0.35.0
|
|
202
|
-
*
|
|
203
|
-
* @example
|
|
204
|
-
* const data = await sharp(input)
|
|
205
|
-
* .withDensity(96)
|
|
206
|
-
* .toBuffer();
|
|
207
|
-
*
|
|
208
|
-
* @param {number} density Number of pixels per inch (DPI).
|
|
209
|
-
* @returns {Sharp}
|
|
210
|
-
* @throws {Error} Invalid parameters
|
|
211
|
-
*/
|
|
212
|
-
function withDensity (density) {
|
|
213
|
-
if (is.number(density) && density > 0) {
|
|
214
|
-
this.options.withMetadataDensity = density;
|
|
215
|
-
} else {
|
|
216
|
-
throw is.invalidParameterError('density', 'positive number', density);
|
|
217
|
-
}
|
|
218
|
-
return this.keepExif();
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Keep all EXIF metadata from the input image in the output image.
|
|
223
|
-
*
|
|
224
|
-
* EXIF metadata is unsupported for TIFF output.
|
|
225
|
-
*
|
|
226
|
-
* @since 0.33.0
|
|
227
|
-
*
|
|
228
|
-
* @example
|
|
229
|
-
* const outputWithExif = await sharp(inputWithExif)
|
|
230
|
-
* .keepExif()
|
|
231
|
-
* .toBuffer();
|
|
232
|
-
*
|
|
233
|
-
* @returns {Sharp}
|
|
234
|
-
*/
|
|
235
|
-
function keepExif () {
|
|
236
|
-
this.options.keepMetadata |= 0b00001;
|
|
237
|
-
return this;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Set EXIF metadata in the output image, ignoring any EXIF in the input image.
|
|
242
|
-
*
|
|
243
|
-
* @since 0.33.0
|
|
244
|
-
*
|
|
245
|
-
* @example
|
|
246
|
-
* const dataWithExif = await sharp(input)
|
|
247
|
-
* .withExif({
|
|
248
|
-
* IFD0: {
|
|
249
|
-
* Copyright: 'The National Gallery'
|
|
250
|
-
* },
|
|
251
|
-
* IFD3: {
|
|
252
|
-
* GPSLatitudeRef: 'N',
|
|
253
|
-
* GPSLatitude: '51/1 30/1 3230/100',
|
|
254
|
-
* GPSLongitudeRef: 'W',
|
|
255
|
-
* GPSLongitude: '0/1 7/1 4366/100'
|
|
256
|
-
* }
|
|
257
|
-
* })
|
|
258
|
-
* .toBuffer();
|
|
259
|
-
*
|
|
260
|
-
* @param {Object<string, Object<string, string>>} exif Object keyed by IFD0, IFD1 etc. of key/value string pairs to write as EXIF data.
|
|
261
|
-
* @returns {Sharp}
|
|
262
|
-
* @throws {Error} Invalid parameters
|
|
263
|
-
*/
|
|
264
|
-
function withExif (exif) {
|
|
265
|
-
if (is.object(exif)) {
|
|
266
|
-
for (const [ifd, entries] of Object.entries(exif)) {
|
|
267
|
-
if (is.object(entries)) {
|
|
268
|
-
for (const [k, v] of Object.entries(entries)) {
|
|
269
|
-
if (is.string(v)) {
|
|
270
|
-
this.options.withExif[`exif-${ifd.toLowerCase()}-${k}`] = v;
|
|
271
|
-
} else {
|
|
272
|
-
throw is.invalidParameterError(`${ifd}.${k}`, 'string', v);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
} else {
|
|
276
|
-
throw is.invalidParameterError(ifd, 'object', entries);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
} else {
|
|
280
|
-
throw is.invalidParameterError('exif', 'object', exif);
|
|
281
|
-
}
|
|
282
|
-
this.options.withExifMerge = false;
|
|
283
|
-
return this.keepExif();
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Update EXIF metadata from the input image in the output image.
|
|
288
|
-
*
|
|
289
|
-
* @since 0.33.0
|
|
290
|
-
*
|
|
291
|
-
* @example
|
|
292
|
-
* const dataWithMergedExif = await sharp(inputWithExif)
|
|
293
|
-
* .withExifMerge({
|
|
294
|
-
* IFD0: {
|
|
295
|
-
* Copyright: 'The National Gallery'
|
|
296
|
-
* }
|
|
297
|
-
* })
|
|
298
|
-
* .toBuffer();
|
|
299
|
-
*
|
|
300
|
-
* @param {Object<string, Object<string, string>>} exif Object keyed by IFD0, IFD1 etc. of key/value string pairs to write as EXIF data.
|
|
301
|
-
* @returns {Sharp}
|
|
302
|
-
* @throws {Error} Invalid parameters
|
|
303
|
-
*/
|
|
304
|
-
function withExifMerge (exif) {
|
|
305
|
-
this.withExif(exif);
|
|
306
|
-
this.options.withExifMerge = true;
|
|
307
|
-
return this;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Keep ICC profile from the input image in the output image.
|
|
312
|
-
*
|
|
313
|
-
* When input and output colour spaces differ, use with {@link /api-colour/#tocolourspace toColourspace} and optionally {@link /api-colour/#pipelinecolourspace pipelineColourspace}.
|
|
314
|
-
*
|
|
315
|
-
* @since 0.33.0
|
|
316
|
-
*
|
|
317
|
-
* @example
|
|
318
|
-
* const outputWithIccProfile = await sharp(inputWithIccProfile)
|
|
319
|
-
* .keepIccProfile()
|
|
320
|
-
* .toBuffer();
|
|
321
|
-
*
|
|
322
|
-
* @example
|
|
323
|
-
* const cmykOutputWithIccProfile = await sharp(cmykInputWithIccProfile)
|
|
324
|
-
* .pipelineColourspace('cmyk')
|
|
325
|
-
* .toColourspace('cmyk')
|
|
326
|
-
* .keepIccProfile()
|
|
327
|
-
* .toBuffer();
|
|
328
|
-
*
|
|
329
|
-
* @returns {Sharp}
|
|
330
|
-
*/
|
|
331
|
-
function keepIccProfile () {
|
|
332
|
-
this.options.keepMetadata |= 0b01000;
|
|
333
|
-
return this;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Transform using an ICC profile and attach to the output image.
|
|
338
|
-
*
|
|
339
|
-
* This can either be an absolute filesystem path or
|
|
340
|
-
* built-in profile name (`srgb`, `p3`, `cmyk`).
|
|
341
|
-
*
|
|
342
|
-
* @since 0.33.0
|
|
343
|
-
*
|
|
344
|
-
* @example
|
|
345
|
-
* const outputWithP3 = await sharp(input)
|
|
346
|
-
* .withIccProfile('p3')
|
|
347
|
-
* .toBuffer();
|
|
348
|
-
*
|
|
349
|
-
* @param {string} icc - Absolute filesystem path to output ICC profile or built-in profile name (srgb, p3, cmyk).
|
|
350
|
-
* @param {Object} [options]
|
|
351
|
-
* @param {number} [options.attach=true] Should the ICC profile be included in the output image metadata?
|
|
352
|
-
* @returns {Sharp}
|
|
353
|
-
* @throws {Error} Invalid parameters
|
|
354
|
-
*/
|
|
355
|
-
function withIccProfile (icc, options) {
|
|
356
|
-
if (is.string(icc)) {
|
|
357
|
-
this.options.withIccProfile = icc;
|
|
358
|
-
} else {
|
|
359
|
-
throw is.invalidParameterError('icc', 'string', icc);
|
|
360
|
-
}
|
|
361
|
-
this.keepIccProfile();
|
|
362
|
-
if (is.object(options)) {
|
|
363
|
-
if (is.defined(options.attach)) {
|
|
364
|
-
if (is.bool(options.attach)) {
|
|
365
|
-
if (!options.attach) {
|
|
366
|
-
this.options.keepMetadata &= ~0b01000;
|
|
367
|
-
}
|
|
368
|
-
} else {
|
|
369
|
-
throw is.invalidParameterError('attach', 'boolean', options.attach);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
return this;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* If the input contains gain map metadata, attempt to process the image and gain map separately,
|
|
378
|
-
* recombining them into a single output image.
|
|
379
|
-
*
|
|
380
|
-
* This approach is faster and should produce better results than {@link #withgainmap withGainMap},
|
|
381
|
-
* however not all operations are supported.
|
|
382
|
-
*
|
|
383
|
-
* Only JPEG input and output are supported.
|
|
384
|
-
* JPEG output options other than `quality` are ignored.
|
|
385
|
-
*
|
|
386
|
-
* This feature is experimental and the API may change.
|
|
387
|
-
*
|
|
388
|
-
* @since 0.35.0
|
|
389
|
-
*
|
|
390
|
-
* @example
|
|
391
|
-
* const outputWithResizedGainMap = await sharp(inputWithGainMap)
|
|
392
|
-
* .keepGainMap()
|
|
393
|
-
* .resize({ width: 64 })
|
|
394
|
-
* .toBuffer();
|
|
395
|
-
*
|
|
396
|
-
* @returns {Sharp}
|
|
397
|
-
*/
|
|
398
|
-
function keepGainMap() {
|
|
399
|
-
this.options.keepGainMap = true;
|
|
400
|
-
this.options.withGainMap = false;
|
|
401
|
-
this.options.keepMetadata |= 0b100000;
|
|
402
|
-
return this;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* If the input contains gain map metadata, use it to convert the main image to HDR (High Dynamic Range) before further processing.
|
|
407
|
-
* The input gain map is discarded.
|
|
408
|
-
*
|
|
409
|
-
* If the output is JPEG, generate and attach a new ISO 21496-1 gain map.
|
|
410
|
-
* JPEG output options other than `quality` are ignored.
|
|
411
|
-
*
|
|
412
|
-
* This feature is experimental and the API may change.
|
|
413
|
-
*
|
|
414
|
-
* @since 0.35.0
|
|
415
|
-
*
|
|
416
|
-
* @example
|
|
417
|
-
* const outputWithRegeneratedGainMap = await sharp(inputWithGainMap)
|
|
418
|
-
* .withGainMap()
|
|
419
|
-
* .toBuffer();
|
|
420
|
-
*
|
|
421
|
-
* @returns {Sharp}
|
|
422
|
-
*/
|
|
423
|
-
function withGainMap() {
|
|
424
|
-
this.options.withGainMap = true;
|
|
425
|
-
this.options.keepGainMap = false;
|
|
426
|
-
this.options.colourspace = 'scrgb';
|
|
427
|
-
return this;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Keep XMP metadata from the input image in the output image.
|
|
432
|
-
*
|
|
433
|
-
* @since 0.34.3
|
|
434
|
-
*
|
|
435
|
-
* @example
|
|
436
|
-
* const outputWithXmp = await sharp(inputWithXmp)
|
|
437
|
-
* .keepXmp()
|
|
438
|
-
* .toBuffer();
|
|
439
|
-
*
|
|
440
|
-
* @returns {Sharp}
|
|
441
|
-
*/
|
|
442
|
-
function keepXmp () {
|
|
443
|
-
this.options.keepMetadata |= 0b00010;
|
|
444
|
-
return this;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* Set XMP metadata in the output image.
|
|
449
|
-
*
|
|
450
|
-
* Supported by PNG, JPEG, WebP, and TIFF output.
|
|
451
|
-
*
|
|
452
|
-
* @since 0.34.3
|
|
453
|
-
*
|
|
454
|
-
* @example
|
|
455
|
-
* const xmpString = `
|
|
456
|
-
* <?xml version="1.0"?>
|
|
457
|
-
* <x:xmpmeta xmlns:x="adobe:ns:meta/">
|
|
458
|
-
* <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
459
|
-
* <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
460
|
-
* <dc:creator><rdf:Seq><rdf:li>John Doe</rdf:li></rdf:Seq></dc:creator>
|
|
461
|
-
* </rdf:Description>
|
|
462
|
-
* </rdf:RDF>
|
|
463
|
-
* </x:xmpmeta>`;
|
|
464
|
-
*
|
|
465
|
-
* const data = await sharp(input)
|
|
466
|
-
* .withXmp(xmpString)
|
|
467
|
-
* .toBuffer();
|
|
468
|
-
*
|
|
469
|
-
* @param {string} xmp String containing XMP metadata to be embedded in the output image.
|
|
470
|
-
* @returns {Sharp}
|
|
471
|
-
* @throws {Error} Invalid parameters
|
|
472
|
-
*/
|
|
473
|
-
function withXmp (xmp) {
|
|
474
|
-
if (is.string(xmp) && xmp.length > 0) {
|
|
475
|
-
this.options.withXmp = xmp;
|
|
476
|
-
this.options.keepMetadata |= 0b00010;
|
|
477
|
-
} else {
|
|
478
|
-
throw is.invalidParameterError('xmp', 'non-empty string', xmp);
|
|
479
|
-
}
|
|
480
|
-
return this;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Keep all metadata (EXIF, ICC, XMP, IPTC) from the input image in the output image.
|
|
485
|
-
*
|
|
486
|
-
* The default behaviour, when `keepMetadata` is not used, is to convert to the device-independent
|
|
487
|
-
* sRGB colour space and strip all metadata, including the removal of any ICC profile.
|
|
488
|
-
*
|
|
489
|
-
* @since 0.33.0
|
|
490
|
-
*
|
|
491
|
-
* @example
|
|
492
|
-
* const outputWithMetadata = await sharp(inputWithMetadata)
|
|
493
|
-
* .keepMetadata()
|
|
494
|
-
* .toBuffer();
|
|
495
|
-
*
|
|
496
|
-
* @returns {Sharp}
|
|
497
|
-
*/
|
|
498
|
-
function keepMetadata () {
|
|
499
|
-
this.options.keepMetadata |= 0b11111;
|
|
500
|
-
return this;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* Keep most metadata (EXIF, XMP, IPTC) from the input image in the output image.
|
|
505
|
-
*
|
|
506
|
-
* This will also convert to and add a web-friendly sRGB ICC profile if appropriate.
|
|
507
|
-
*
|
|
508
|
-
* Allows orientation and density to be set or updated.
|
|
509
|
-
*
|
|
510
|
-
* @example
|
|
511
|
-
* const outputSrgbWithMetadata = await sharp(inputRgbWithMetadata)
|
|
512
|
-
* .withMetadata()
|
|
513
|
-
* .toBuffer();
|
|
514
|
-
*
|
|
515
|
-
* @example
|
|
516
|
-
* // Set output metadata to 96 DPI
|
|
517
|
-
* const data = await sharp(input)
|
|
518
|
-
* .withMetadata({ density: 96 })
|
|
519
|
-
* .toBuffer();
|
|
520
|
-
*
|
|
521
|
-
* @param {Object} [options]
|
|
522
|
-
* @param {number} [options.orientation] Used to update the EXIF `Orientation` tag, integer between 1 and 8.
|
|
523
|
-
* @param {number} [options.density] Number of pixels per inch (DPI).
|
|
524
|
-
* @returns {Sharp}
|
|
525
|
-
* @throws {Error} Invalid parameters
|
|
526
|
-
*/
|
|
527
|
-
function withMetadata (options) {
|
|
528
|
-
this.keepMetadata();
|
|
529
|
-
this.withIccProfile('srgb');
|
|
530
|
-
if (is.object(options)) {
|
|
531
|
-
if (is.defined(options.orientation)) {
|
|
532
|
-
if (is.integer(options.orientation) && is.inRange(options.orientation, 1, 8)) {
|
|
533
|
-
this.options.withMetadataOrientation = options.orientation;
|
|
534
|
-
} else {
|
|
535
|
-
throw is.invalidParameterError('orientation', 'integer between 1 and 8', options.orientation);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
if (is.defined(options.density)) {
|
|
539
|
-
if (is.number(options.density) && options.density > 0) {
|
|
540
|
-
this.options.withMetadataDensity = options.density;
|
|
541
|
-
} else {
|
|
542
|
-
throw is.invalidParameterError('density', 'positive number', options.density);
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
if (is.defined(options.icc)) {
|
|
546
|
-
this.withIccProfile(options.icc);
|
|
547
|
-
}
|
|
548
|
-
if (is.defined(options.exif)) {
|
|
549
|
-
this.withExifMerge(options.exif);
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
return this;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
/**
|
|
556
|
-
* Force output to a given format.
|
|
557
|
-
*
|
|
558
|
-
* @example
|
|
559
|
-
* // Convert any input to PNG output
|
|
560
|
-
* const data = await sharp(input)
|
|
561
|
-
* .toFormat('png')
|
|
562
|
-
* .toBuffer();
|
|
563
|
-
*
|
|
564
|
-
* @param {(string|Object)} format - as a string or an Object with an 'id' attribute
|
|
565
|
-
* @param {Object} options - output options
|
|
566
|
-
* @returns {Sharp}
|
|
567
|
-
* @throws {Error} unsupported format or options
|
|
568
|
-
*/
|
|
569
|
-
function toFormat (format, options) {
|
|
570
|
-
const actualFormat = formats.get((is.object(format) && is.string(format.id) ? format.id : format).toLowerCase());
|
|
571
|
-
if (!actualFormat) {
|
|
572
|
-
throw is.invalidParameterError('format', `one of: ${[...formats.keys()].join(', ')}`, format);
|
|
573
|
-
}
|
|
574
|
-
return this[actualFormat](options);
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* Use these JPEG options for output image.
|
|
579
|
-
*
|
|
580
|
-
* @example
|
|
581
|
-
* // Convert any input to very high quality JPEG output
|
|
582
|
-
* const data = await sharp(input)
|
|
583
|
-
* .jpeg({
|
|
584
|
-
* quality: 100,
|
|
585
|
-
* chromaSubsampling: '4:4:4'
|
|
586
|
-
* })
|
|
587
|
-
* .toBuffer();
|
|
588
|
-
*
|
|
589
|
-
* @example
|
|
590
|
-
* // Use mozjpeg to reduce output JPEG file size (slower)
|
|
591
|
-
* const data = await sharp(input)
|
|
592
|
-
* .jpeg({ mozjpeg: true })
|
|
593
|
-
* .toBuffer();
|
|
594
|
-
*
|
|
595
|
-
* @param {Object} [options] - output options
|
|
596
|
-
* @param {number} [options.quality=80] - quality, integer 1-100
|
|
597
|
-
* @param {boolean} [options.progressive=false] - use progressive (interlace) scan
|
|
598
|
-
* @param {string} [options.chromaSubsampling='4:2:0'] - set to '4:4:4' to prevent chroma subsampling otherwise defaults to '4:2:0' chroma subsampling
|
|
599
|
-
* @param {boolean} [options.optimiseCoding=true] - optimise Huffman coding tables
|
|
600
|
-
* @param {boolean} [options.optimizeCoding=true] - alternative spelling of optimiseCoding
|
|
601
|
-
* @param {boolean} [options.mozjpeg=false] - use mozjpeg defaults, equivalent to `{ trellisQuantisation: true, overshootDeringing: true, optimiseScans: true, quantisationTable: 3 }`
|
|
602
|
-
* @param {boolean} [options.trellisQuantisation=false] - apply trellis quantisation
|
|
603
|
-
* @param {boolean} [options.overshootDeringing=false] - apply overshoot deringing
|
|
604
|
-
* @param {boolean} [options.optimiseScans=false] - optimise progressive scans, forces progressive
|
|
605
|
-
* @param {boolean} [options.optimizeScans=false] - alternative spelling of optimiseScans
|
|
606
|
-
* @param {number} [options.quantisationTable=0] - quantization table to use, integer 0-8
|
|
607
|
-
* @param {number} [options.quantizationTable=0] - alternative spelling of quantisationTable
|
|
608
|
-
* @param {boolean} [options.force=true] - force JPEG output, otherwise attempt to use input format
|
|
609
|
-
* @returns {Sharp}
|
|
610
|
-
* @throws {Error} Invalid options
|
|
611
|
-
*/
|
|
612
|
-
function jpeg (options) {
|
|
613
|
-
if (is.object(options)) {
|
|
614
|
-
if (is.defined(options.quality)) {
|
|
615
|
-
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
616
|
-
this.options.jpegQuality = options.quality;
|
|
617
|
-
} else {
|
|
618
|
-
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
if (is.defined(options.progressive)) {
|
|
622
|
-
this._setBooleanOption('jpegProgressive', options.progressive);
|
|
623
|
-
}
|
|
624
|
-
if (is.defined(options.chromaSubsampling)) {
|
|
625
|
-
if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
|
|
626
|
-
this.options.jpegChromaSubsampling = options.chromaSubsampling;
|
|
627
|
-
} else {
|
|
628
|
-
throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
const optimiseCoding = is.bool(options.optimizeCoding) ? options.optimizeCoding : options.optimiseCoding;
|
|
632
|
-
if (is.defined(optimiseCoding)) {
|
|
633
|
-
this._setBooleanOption('jpegOptimiseCoding', optimiseCoding);
|
|
634
|
-
}
|
|
635
|
-
if (is.defined(options.mozjpeg)) {
|
|
636
|
-
if (is.bool(options.mozjpeg)) {
|
|
637
|
-
if (options.mozjpeg) {
|
|
638
|
-
this.options.jpegTrellisQuantisation = true;
|
|
639
|
-
this.options.jpegOvershootDeringing = true;
|
|
640
|
-
this.options.jpegOptimiseScans = true;
|
|
641
|
-
this.options.jpegProgressive = true;
|
|
642
|
-
this.options.jpegQuantisationTable = 3;
|
|
643
|
-
}
|
|
644
|
-
} else {
|
|
645
|
-
throw is.invalidParameterError('mozjpeg', 'boolean', options.mozjpeg);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
const trellisQuantisation = is.bool(options.trellisQuantization) ? options.trellisQuantization : options.trellisQuantisation;
|
|
649
|
-
if (is.defined(trellisQuantisation)) {
|
|
650
|
-
this._setBooleanOption('jpegTrellisQuantisation', trellisQuantisation);
|
|
651
|
-
}
|
|
652
|
-
if (is.defined(options.overshootDeringing)) {
|
|
653
|
-
this._setBooleanOption('jpegOvershootDeringing', options.overshootDeringing);
|
|
654
|
-
}
|
|
655
|
-
const optimiseScans = is.bool(options.optimizeScans) ? options.optimizeScans : options.optimiseScans;
|
|
656
|
-
if (is.defined(optimiseScans)) {
|
|
657
|
-
this._setBooleanOption('jpegOptimiseScans', optimiseScans);
|
|
658
|
-
if (optimiseScans) {
|
|
659
|
-
this.options.jpegProgressive = true;
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
const quantisationTable = is.number(options.quantizationTable) ? options.quantizationTable : options.quantisationTable;
|
|
663
|
-
if (is.defined(quantisationTable)) {
|
|
664
|
-
if (is.integer(quantisationTable) && is.inRange(quantisationTable, 0, 8)) {
|
|
665
|
-
this.options.jpegQuantisationTable = quantisationTable;
|
|
666
|
-
} else {
|
|
667
|
-
throw is.invalidParameterError('quantisationTable', 'integer between 0 and 8', quantisationTable);
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
return this._updateFormatOut('jpeg', options);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Use these PNG options for output image.
|
|
676
|
-
*
|
|
677
|
-
* By default, PNG output is full colour at 8 bits per pixel.
|
|
678
|
-
*
|
|
679
|
-
* Indexed PNG input at 1, 2 or 4 bits per pixel is converted to 8 bits per pixel.
|
|
680
|
-
* Set `palette` to `true` for slower, indexed PNG output.
|
|
681
|
-
*
|
|
682
|
-
* For 16 bits per pixel output, convert to `rgb16` via
|
|
683
|
-
* {@link /api-colour/#tocolourspace toColourspace}.
|
|
684
|
-
*
|
|
685
|
-
* @example
|
|
686
|
-
* // Convert any input to full colour PNG output
|
|
687
|
-
* const data = await sharp(input)
|
|
688
|
-
* .png()
|
|
689
|
-
* .toBuffer();
|
|
690
|
-
*
|
|
691
|
-
* @example
|
|
692
|
-
* // Convert any input to indexed PNG output (slower)
|
|
693
|
-
* const data = await sharp(input)
|
|
694
|
-
* .png({ palette: true })
|
|
695
|
-
* .toBuffer();
|
|
696
|
-
*
|
|
697
|
-
* @example
|
|
698
|
-
* // Output 16 bits per pixel RGB(A)
|
|
699
|
-
* const data = await sharp(input)
|
|
700
|
-
* .toColourspace('rgb16')
|
|
701
|
-
* .png()
|
|
702
|
-
* .toBuffer();
|
|
703
|
-
*
|
|
704
|
-
* @param {Object} [options]
|
|
705
|
-
* @param {boolean} [options.progressive=false] - use progressive (interlace) scan
|
|
706
|
-
* @param {number} [options.compressionLevel=6] - zlib compression level, 0 (fastest, largest) to 9 (slowest, smallest)
|
|
707
|
-
* @param {boolean} [options.adaptiveFiltering=false] - use adaptive row filtering
|
|
708
|
-
* @param {boolean} [options.palette=false] - quantise to a palette-based image with alpha transparency support
|
|
709
|
-
* @param {number} [options.quality=100] - use the lowest number of colours needed to achieve given quality, sets `palette` to `true`
|
|
710
|
-
* @param {number} [options.effort=7] - CPU effort, between 1 (fastest) and 10 (slowest), sets `palette` to `true`
|
|
711
|
-
* @param {number} [options.colours=256] - maximum number of palette entries, sets `palette` to `true`
|
|
712
|
-
* @param {number} [options.colors=256] - alternative spelling of `options.colours`, sets `palette` to `true`
|
|
713
|
-
* @param {number} [options.dither=1.0] - level of Floyd-Steinberg error diffusion, sets `palette` to `true`
|
|
714
|
-
* @param {boolean} [options.force=true] - force PNG output, otherwise attempt to use input format
|
|
715
|
-
* @returns {Sharp}
|
|
716
|
-
* @throws {Error} Invalid options
|
|
717
|
-
*/
|
|
718
|
-
function png (options) {
|
|
719
|
-
if (is.object(options)) {
|
|
720
|
-
if (is.defined(options.progressive)) {
|
|
721
|
-
this._setBooleanOption('pngProgressive', options.progressive);
|
|
722
|
-
}
|
|
723
|
-
if (is.defined(options.compressionLevel)) {
|
|
724
|
-
if (is.integer(options.compressionLevel) && is.inRange(options.compressionLevel, 0, 9)) {
|
|
725
|
-
this.options.pngCompressionLevel = options.compressionLevel;
|
|
726
|
-
} else {
|
|
727
|
-
throw is.invalidParameterError('compressionLevel', 'integer between 0 and 9', options.compressionLevel);
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
if (is.defined(options.adaptiveFiltering)) {
|
|
731
|
-
this._setBooleanOption('pngAdaptiveFiltering', options.adaptiveFiltering);
|
|
732
|
-
}
|
|
733
|
-
const colours = options.colours || options.colors;
|
|
734
|
-
if (is.defined(colours)) {
|
|
735
|
-
if (is.integer(colours) && is.inRange(colours, 2, 256)) {
|
|
736
|
-
this.options.pngBitdepth = bitdepthFromColourCount(colours);
|
|
737
|
-
} else {
|
|
738
|
-
throw is.invalidParameterError('colours', 'integer between 2 and 256', colours);
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
if (is.defined(options.palette)) {
|
|
742
|
-
this._setBooleanOption('pngPalette', options.palette);
|
|
743
|
-
} else if ([options.quality, options.effort, options.colours, options.colors, options.dither].some(is.defined)) {
|
|
744
|
-
this._setBooleanOption('pngPalette', true);
|
|
745
|
-
}
|
|
746
|
-
if (this.options.pngPalette) {
|
|
747
|
-
if (is.defined(options.quality)) {
|
|
748
|
-
if (is.integer(options.quality) && is.inRange(options.quality, 0, 100)) {
|
|
749
|
-
this.options.pngQuality = options.quality;
|
|
750
|
-
} else {
|
|
751
|
-
throw is.invalidParameterError('quality', 'integer between 0 and 100', options.quality);
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
if (is.defined(options.effort)) {
|
|
755
|
-
if (is.integer(options.effort) && is.inRange(options.effort, 1, 10)) {
|
|
756
|
-
this.options.pngEffort = options.effort;
|
|
757
|
-
} else {
|
|
758
|
-
throw is.invalidParameterError('effort', 'integer between 1 and 10', options.effort);
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
if (is.defined(options.dither)) {
|
|
762
|
-
if (is.number(options.dither) && is.inRange(options.dither, 0, 1)) {
|
|
763
|
-
this.options.pngDither = options.dither;
|
|
764
|
-
} else {
|
|
765
|
-
throw is.invalidParameterError('dither', 'number between 0.0 and 1.0', options.dither);
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
return this._updateFormatOut('png', options);
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* Use these WebP options for output image.
|
|
775
|
-
*
|
|
776
|
-
* @example
|
|
777
|
-
* // Convert any input to lossless WebP output
|
|
778
|
-
* const data = await sharp(input)
|
|
779
|
-
* .webp({ lossless: true })
|
|
780
|
-
* .toBuffer();
|
|
781
|
-
*
|
|
782
|
-
* @example
|
|
783
|
-
* // Optimise the file size of an animated WebP
|
|
784
|
-
* const outputWebp = await sharp(inputWebp, { animated: true })
|
|
785
|
-
* .webp({ effort: 6 })
|
|
786
|
-
* .toBuffer();
|
|
787
|
-
*
|
|
788
|
-
* @param {Object} [options] - output options
|
|
789
|
-
* @param {number} [options.quality=80] - quality, integer 1-100
|
|
790
|
-
* @param {number} [options.alphaQuality=100] - quality of alpha layer, integer 0-100
|
|
791
|
-
* @param {boolean} [options.lossless=false] - use lossless compression mode
|
|
792
|
-
* @param {boolean} [options.nearLossless=false] - use near_lossless compression mode
|
|
793
|
-
* @param {boolean} [options.smartSubsample=false] - use high quality chroma subsampling
|
|
794
|
-
* @param {boolean} [options.smartDeblock=false] - auto-adjust the deblocking filter, can improve low contrast edges (slow)
|
|
795
|
-
* @param {string} [options.preset='default'] - named preset for preprocessing/filtering, one of: default, photo, picture, drawing, icon, text
|
|
796
|
-
* @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 6 (slowest)
|
|
797
|
-
* @param {number} [options.loop=0] - number of animation iterations, use 0 for infinite animation
|
|
798
|
-
* @param {number|number[]} [options.delay] - delay(s) between animation frames (in milliseconds)
|
|
799
|
-
* @param {boolean} [options.minSize=false] - prevent use of animation key frames to minimise file size (slow)
|
|
800
|
-
* @param {boolean} [options.mixed=false] - allow mixture of lossy and lossless animation frames (slow)
|
|
801
|
-
* @param {boolean} [options.exact=false] - preserve the colour data in transparent pixels
|
|
802
|
-
* @param {boolean} [options.force=true] - force WebP output, otherwise attempt to use input format
|
|
803
|
-
* @returns {Sharp}
|
|
804
|
-
* @throws {Error} Invalid options
|
|
805
|
-
*/
|
|
806
|
-
function webp (options) {
|
|
807
|
-
if (is.object(options)) {
|
|
808
|
-
if (is.defined(options.quality)) {
|
|
809
|
-
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
810
|
-
this.options.webpQuality = options.quality;
|
|
811
|
-
} else {
|
|
812
|
-
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
if (is.defined(options.alphaQuality)) {
|
|
816
|
-
if (is.integer(options.alphaQuality) && is.inRange(options.alphaQuality, 0, 100)) {
|
|
817
|
-
this.options.webpAlphaQuality = options.alphaQuality;
|
|
818
|
-
} else {
|
|
819
|
-
throw is.invalidParameterError('alphaQuality', 'integer between 0 and 100', options.alphaQuality);
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
if (is.defined(options.lossless)) {
|
|
823
|
-
this._setBooleanOption('webpLossless', options.lossless);
|
|
824
|
-
}
|
|
825
|
-
if (is.defined(options.nearLossless)) {
|
|
826
|
-
this._setBooleanOption('webpNearLossless', options.nearLossless);
|
|
827
|
-
}
|
|
828
|
-
if (is.defined(options.smartSubsample)) {
|
|
829
|
-
this._setBooleanOption('webpSmartSubsample', options.smartSubsample);
|
|
830
|
-
}
|
|
831
|
-
if (is.defined(options.smartDeblock)) {
|
|
832
|
-
this._setBooleanOption('webpSmartDeblock', options.smartDeblock);
|
|
833
|
-
}
|
|
834
|
-
if (is.defined(options.preset)) {
|
|
835
|
-
if (is.string(options.preset) && is.inArray(options.preset, ['default', 'photo', 'picture', 'drawing', 'icon', 'text'])) {
|
|
836
|
-
this.options.webpPreset = options.preset;
|
|
837
|
-
} else {
|
|
838
|
-
throw is.invalidParameterError('preset', 'one of: default, photo, picture, drawing, icon, text', options.preset);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
if (is.defined(options.effort)) {
|
|
842
|
-
if (is.integer(options.effort) && is.inRange(options.effort, 0, 6)) {
|
|
843
|
-
this.options.webpEffort = options.effort;
|
|
844
|
-
} else {
|
|
845
|
-
throw is.invalidParameterError('effort', 'integer between 0 and 6', options.effort);
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
if (is.defined(options.minSize)) {
|
|
849
|
-
this._setBooleanOption('webpMinSize', options.minSize);
|
|
850
|
-
}
|
|
851
|
-
if (is.defined(options.mixed)) {
|
|
852
|
-
this._setBooleanOption('webpMixed', options.mixed);
|
|
853
|
-
}
|
|
854
|
-
if (is.defined(options.exact)) {
|
|
855
|
-
this._setBooleanOption('webpExact', options.exact);
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
trySetAnimationOptions(options, this.options);
|
|
859
|
-
return this._updateFormatOut('webp', options);
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
/**
|
|
863
|
-
* Use these GIF options for the output image.
|
|
864
|
-
*
|
|
865
|
-
* The first entry in the palette is reserved for transparency.
|
|
866
|
-
*
|
|
867
|
-
* The palette of the input image will be re-used if possible.
|
|
868
|
-
*
|
|
869
|
-
* @since 0.30.0
|
|
870
|
-
*
|
|
871
|
-
* @example
|
|
872
|
-
* // Convert PNG to GIF
|
|
873
|
-
* await sharp(pngBuffer)
|
|
874
|
-
* .gif()
|
|
875
|
-
* .toBuffer();
|
|
876
|
-
*
|
|
877
|
-
* @example
|
|
878
|
-
* // Convert animated WebP to animated GIF
|
|
879
|
-
* await sharp('animated.webp', { animated: true })
|
|
880
|
-
* .toFile('animated.gif');
|
|
881
|
-
*
|
|
882
|
-
* @example
|
|
883
|
-
* // Create a 128x128, cropped, non-dithered, animated thumbnail of an animated GIF
|
|
884
|
-
* const out = await sharp('in.gif', { animated: true })
|
|
885
|
-
* .resize({ width: 128, height: 128 })
|
|
886
|
-
* .gif({ dither: 0 })
|
|
887
|
-
* .toBuffer();
|
|
888
|
-
*
|
|
889
|
-
* @example
|
|
890
|
-
* // Lossy file size reduction of animated GIF
|
|
891
|
-
* await sharp('in.gif', { animated: true })
|
|
892
|
-
* .gif({ interFrameMaxError: 8 })
|
|
893
|
-
* .toFile('optim.gif');
|
|
894
|
-
*
|
|
895
|
-
* @param {Object} [options] - output options
|
|
896
|
-
* @param {boolean} [options.reuse=true] - re-use existing palette, otherwise generate new (slow)
|
|
897
|
-
* @param {boolean} [options.progressive=false] - use progressive (interlace) scan
|
|
898
|
-
* @param {number} [options.colours=256] - maximum number of palette entries, including transparency, between 2 and 256
|
|
899
|
-
* @param {number} [options.colors=256] - alternative spelling of `options.colours`
|
|
900
|
-
* @param {number} [options.effort=7] - CPU effort, between 1 (fastest) and 10 (slowest)
|
|
901
|
-
* @param {number} [options.dither=1.0] - level of Floyd-Steinberg error diffusion, between 0 (least) and 1 (most)
|
|
902
|
-
* @param {number} [options.interFrameMaxError=0] - maximum inter-frame error for transparency, between 0 (lossless) and 32
|
|
903
|
-
* @param {number} [options.interPaletteMaxError=3] - maximum inter-palette error for palette reuse, between 0 and 256
|
|
904
|
-
* @param {boolean} [options.keepDuplicateFrames=false] - keep duplicate frames in the output instead of combining them
|
|
905
|
-
* @param {number} [options.loop=0] - number of animation iterations, use 0 for infinite animation
|
|
906
|
-
* @param {number|number[]} [options.delay] - delay(s) between animation frames (in milliseconds)
|
|
907
|
-
* @param {boolean} [options.force=true] - force GIF output, otherwise attempt to use input format
|
|
908
|
-
* @returns {Sharp}
|
|
909
|
-
* @throws {Error} Invalid options
|
|
910
|
-
*/
|
|
911
|
-
function gif (options) {
|
|
912
|
-
if (is.object(options)) {
|
|
913
|
-
if (is.defined(options.reuse)) {
|
|
914
|
-
this._setBooleanOption('gifReuse', options.reuse);
|
|
915
|
-
}
|
|
916
|
-
if (is.defined(options.progressive)) {
|
|
917
|
-
this._setBooleanOption('gifProgressive', options.progressive);
|
|
918
|
-
}
|
|
919
|
-
const colours = options.colours || options.colors;
|
|
920
|
-
if (is.defined(colours)) {
|
|
921
|
-
if (is.integer(colours) && is.inRange(colours, 2, 256)) {
|
|
922
|
-
this.options.gifBitdepth = bitdepthFromColourCount(colours);
|
|
923
|
-
} else {
|
|
924
|
-
throw is.invalidParameterError('colours', 'integer between 2 and 256', colours);
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
if (is.defined(options.effort)) {
|
|
928
|
-
if (is.integer(options.effort) && is.inRange(options.effort, 1, 10)) {
|
|
929
|
-
this.options.gifEffort = options.effort;
|
|
930
|
-
} else {
|
|
931
|
-
throw is.invalidParameterError('effort', 'integer between 1 and 10', options.effort);
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
if (is.defined(options.dither)) {
|
|
935
|
-
if (is.number(options.dither) && is.inRange(options.dither, 0, 1)) {
|
|
936
|
-
this.options.gifDither = options.dither;
|
|
937
|
-
} else {
|
|
938
|
-
throw is.invalidParameterError('dither', 'number between 0.0 and 1.0', options.dither);
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
if (is.defined(options.interFrameMaxError)) {
|
|
942
|
-
if (is.number(options.interFrameMaxError) && is.inRange(options.interFrameMaxError, 0, 32)) {
|
|
943
|
-
this.options.gifInterFrameMaxError = options.interFrameMaxError;
|
|
944
|
-
} else {
|
|
945
|
-
throw is.invalidParameterError('interFrameMaxError', 'number between 0.0 and 32.0', options.interFrameMaxError);
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
if (is.defined(options.interPaletteMaxError)) {
|
|
949
|
-
if (is.number(options.interPaletteMaxError) && is.inRange(options.interPaletteMaxError, 0, 256)) {
|
|
950
|
-
this.options.gifInterPaletteMaxError = options.interPaletteMaxError;
|
|
951
|
-
} else {
|
|
952
|
-
throw is.invalidParameterError('interPaletteMaxError', 'number between 0.0 and 256.0', options.interPaletteMaxError);
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
if (is.defined(options.keepDuplicateFrames)) {
|
|
956
|
-
if (is.bool(options.keepDuplicateFrames)) {
|
|
957
|
-
this._setBooleanOption('gifKeepDuplicateFrames', options.keepDuplicateFrames);
|
|
958
|
-
} else {
|
|
959
|
-
throw is.invalidParameterError('keepDuplicateFrames', 'boolean', options.keepDuplicateFrames);
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
trySetAnimationOptions(options, this.options);
|
|
964
|
-
return this._updateFormatOut('gif', options);
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* Use these JP2 options for output image.
|
|
969
|
-
*
|
|
970
|
-
* Requires libvips compiled with support for OpenJPEG.
|
|
971
|
-
* The prebuilt binaries do not include this - see
|
|
972
|
-
* {@link /install#custom-libvips installing a custom libvips}.
|
|
973
|
-
*
|
|
974
|
-
* @example
|
|
975
|
-
* // Convert any input to lossless JP2 output
|
|
976
|
-
* const data = await sharp(input)
|
|
977
|
-
* .jp2({ lossless: true })
|
|
978
|
-
* .toBuffer();
|
|
979
|
-
*
|
|
980
|
-
* @example
|
|
981
|
-
* // Convert any input to very high quality JP2 output
|
|
982
|
-
* const data = await sharp(input)
|
|
983
|
-
* .jp2({
|
|
984
|
-
* quality: 100,
|
|
985
|
-
* chromaSubsampling: '4:4:4'
|
|
986
|
-
* })
|
|
987
|
-
* .toBuffer();
|
|
988
|
-
*
|
|
989
|
-
* @since 0.29.1
|
|
990
|
-
*
|
|
991
|
-
* @param {Object} [options] - output options
|
|
992
|
-
* @param {number} [options.quality=80] - quality, integer 1-100
|
|
993
|
-
* @param {boolean} [options.lossless=false] - use lossless compression mode
|
|
994
|
-
* @param {number} [options.tileWidth=512] - horizontal tile size
|
|
995
|
-
* @param {number} [options.tileHeight=512] - vertical tile size
|
|
996
|
-
* @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
|
|
997
|
-
* @returns {Sharp}
|
|
998
|
-
* @throws {Error} Invalid options
|
|
999
|
-
*/
|
|
1000
|
-
function jp2 (options) {
|
|
1001
|
-
/* node:coverage ignore next 41 */
|
|
1002
|
-
if (!this.constructor.format.jp2.output.buffer) {
|
|
1003
|
-
throw errJp2Save();
|
|
1004
|
-
}
|
|
1005
|
-
if (is.object(options)) {
|
|
1006
|
-
if (is.defined(options.quality)) {
|
|
1007
|
-
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
1008
|
-
this.options.jp2Quality = options.quality;
|
|
1009
|
-
} else {
|
|
1010
|
-
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
if (is.defined(options.lossless)) {
|
|
1014
|
-
if (is.bool(options.lossless)) {
|
|
1015
|
-
this.options.jp2Lossless = options.lossless;
|
|
1016
|
-
} else {
|
|
1017
|
-
throw is.invalidParameterError('lossless', 'boolean', options.lossless);
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
if (is.defined(options.tileWidth)) {
|
|
1021
|
-
if (is.integer(options.tileWidth) && is.inRange(options.tileWidth, 1, 32768)) {
|
|
1022
|
-
this.options.jp2TileWidth = options.tileWidth;
|
|
1023
|
-
} else {
|
|
1024
|
-
throw is.invalidParameterError('tileWidth', 'integer between 1 and 32768', options.tileWidth);
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
if (is.defined(options.tileHeight)) {
|
|
1028
|
-
if (is.integer(options.tileHeight) && is.inRange(options.tileHeight, 1, 32768)) {
|
|
1029
|
-
this.options.jp2TileHeight = options.tileHeight;
|
|
1030
|
-
} else {
|
|
1031
|
-
throw is.invalidParameterError('tileHeight', 'integer between 1 and 32768', options.tileHeight);
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
if (is.defined(options.chromaSubsampling)) {
|
|
1035
|
-
if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
|
|
1036
|
-
this.options.jp2ChromaSubsampling = options.chromaSubsampling;
|
|
1037
|
-
} else {
|
|
1038
|
-
throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
return this._updateFormatOut('jp2', options);
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
/**
|
|
1046
|
-
* Set animation options if available.
|
|
1047
|
-
* @private
|
|
1048
|
-
*
|
|
1049
|
-
* @param {Object} [source] - output options
|
|
1050
|
-
* @param {number} [source.loop=0] - number of animation iterations, use 0 for infinite animation
|
|
1051
|
-
* @param {number[]} [source.delay] - list of delays between animation frames (in milliseconds)
|
|
1052
|
-
* @param {Object} [target] - target object for valid options
|
|
1053
|
-
* @throws {Error} Invalid options
|
|
1054
|
-
*/
|
|
1055
|
-
function trySetAnimationOptions (source, target) {
|
|
1056
|
-
if (is.object(source) && is.defined(source.loop)) {
|
|
1057
|
-
if (is.integer(source.loop) && is.inRange(source.loop, 0, 65535)) {
|
|
1058
|
-
target.loop = source.loop;
|
|
1059
|
-
} else {
|
|
1060
|
-
throw is.invalidParameterError('loop', 'integer between 0 and 65535', source.loop);
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
if (is.object(source) && is.defined(source.delay)) {
|
|
1064
|
-
// We allow singular values as well
|
|
1065
|
-
if (is.integer(source.delay) && is.inRange(source.delay, 0, 65535)) {
|
|
1066
|
-
target.delay = [source.delay];
|
|
1067
|
-
} else if (
|
|
1068
|
-
Array.isArray(source.delay) &&
|
|
1069
|
-
is.inRange(source.delay.length, 1, 1000000) &&
|
|
1070
|
-
source.delay.every(is.integer) &&
|
|
1071
|
-
source.delay.every(v => is.inRange(v, 0, 65535))) {
|
|
1072
|
-
target.delay = source.delay;
|
|
1073
|
-
} else {
|
|
1074
|
-
throw is.invalidParameterError('delay', 'integer or an array of integers between 0 and 65535', source.delay);
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
/**
|
|
1080
|
-
* Use these TIFF options for output image.
|
|
1081
|
-
*
|
|
1082
|
-
* The `density` can be set in pixels/inch via {@link #withmetadata withMetadata}
|
|
1083
|
-
* instead of providing `xres` and `yres` in pixels/mm.
|
|
1084
|
-
*
|
|
1085
|
-
* @example
|
|
1086
|
-
* // Convert SVG input to LZW-compressed, 1 bit per pixel TIFF output
|
|
1087
|
-
* sharp('input.svg')
|
|
1088
|
-
* .tiff({
|
|
1089
|
-
* compression: 'lzw',
|
|
1090
|
-
* bitdepth: 1
|
|
1091
|
-
* })
|
|
1092
|
-
* .toFile('1-bpp-output.tiff')
|
|
1093
|
-
* .then(info => { ... });
|
|
1094
|
-
*
|
|
1095
|
-
* @param {Object} [options] - output options
|
|
1096
|
-
* @param {number} [options.quality=80] - quality, integer 1-100
|
|
1097
|
-
* @param {boolean} [options.force=true] - force TIFF output, otherwise attempt to use input format
|
|
1098
|
-
* @param {string} [options.compression='jpeg'] - compression options: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k
|
|
1099
|
-
* @param {boolean} [options.bigtiff=false] - use BigTIFF variant (has no effect when compression is none)
|
|
1100
|
-
* @param {string} [options.predictor='horizontal'] - compression predictor options: none, horizontal, float
|
|
1101
|
-
* @param {boolean} [options.pyramid=false] - write an image pyramid
|
|
1102
|
-
* @param {boolean} [options.tile=false] - write a tiled tiff
|
|
1103
|
-
* @param {number} [options.tileWidth=256] - horizontal tile size, valid values are integers in the range 1-32768
|
|
1104
|
-
* @param {number} [options.tileHeight=256] - vertical tile size, valid values are integers in the range 1-32768
|
|
1105
|
-
* @param {number} [options.xres=1.0] - horizontal resolution in pixels/mm, valid values are numbers in the range 0.001-1000000
|
|
1106
|
-
* @param {number} [options.yres=1.0] - vertical resolution in pixels/mm, valid values are numbers in the range 0.001-1000000
|
|
1107
|
-
* @param {string} [options.resolutionUnit='inch'] - resolution unit options: inch, cm
|
|
1108
|
-
* @param {number} [options.bitdepth=0] - reduce bitdepth to 1, 2 or 4 bit
|
|
1109
|
-
* @param {boolean} [options.miniswhite=false] - write 1-bit images as miniswhite
|
|
1110
|
-
* @returns {Sharp}
|
|
1111
|
-
* @throws {Error} Invalid options
|
|
1112
|
-
*/
|
|
1113
|
-
function tiff (options) {
|
|
1114
|
-
if (is.object(options)) {
|
|
1115
|
-
if (is.defined(options.quality)) {
|
|
1116
|
-
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
1117
|
-
this.options.tiffQuality = options.quality;
|
|
1118
|
-
} else {
|
|
1119
|
-
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
if (is.defined(options.bitdepth)) {
|
|
1123
|
-
if (is.integer(options.bitdepth) && is.inArray(options.bitdepth, [1, 2, 4])) {
|
|
1124
|
-
this.options.tiffBitdepth = options.bitdepth;
|
|
1125
|
-
} else {
|
|
1126
|
-
throw is.invalidParameterError('bitdepth', '1, 2 or 4', options.bitdepth);
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
// tiling
|
|
1130
|
-
if (is.defined(options.tile)) {
|
|
1131
|
-
this._setBooleanOption('tiffTile', options.tile);
|
|
1132
|
-
}
|
|
1133
|
-
if (is.defined(options.tileWidth)) {
|
|
1134
|
-
if (is.integer(options.tileWidth) && is.inRange(options.tileWidth, 1, 32768)) {
|
|
1135
|
-
this.options.tiffTileWidth = options.tileWidth;
|
|
1136
|
-
} else {
|
|
1137
|
-
throw is.invalidParameterError('tileWidth', 'integer between 1 and 32768', options.tileWidth);
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
if (is.defined(options.tileHeight)) {
|
|
1141
|
-
if (is.integer(options.tileHeight) && is.inRange(options.tileHeight, 1, 32768)) {
|
|
1142
|
-
this.options.tiffTileHeight = options.tileHeight;
|
|
1143
|
-
} else {
|
|
1144
|
-
throw is.invalidParameterError('tileHeight', 'integer between 1 and 32768', options.tileHeight);
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
// miniswhite
|
|
1148
|
-
if (is.defined(options.miniswhite)) {
|
|
1149
|
-
this._setBooleanOption('tiffMiniswhite', options.miniswhite);
|
|
1150
|
-
}
|
|
1151
|
-
// pyramid
|
|
1152
|
-
if (is.defined(options.pyramid)) {
|
|
1153
|
-
this._setBooleanOption('tiffPyramid', options.pyramid);
|
|
1154
|
-
}
|
|
1155
|
-
// resolution
|
|
1156
|
-
if (is.defined(options.xres)) {
|
|
1157
|
-
if (is.number(options.xres) && is.inRange(options.xres, 0.001, 1000000)) {
|
|
1158
|
-
this.options.tiffXres = options.xres;
|
|
1159
|
-
} else {
|
|
1160
|
-
throw is.invalidParameterError('xres', 'number between 0.001 and 1000000', options.xres);
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
if (is.defined(options.yres)) {
|
|
1164
|
-
if (is.number(options.yres) && is.inRange(options.yres, 0.001, 1000000)) {
|
|
1165
|
-
this.options.tiffYres = options.yres;
|
|
1166
|
-
} else {
|
|
1167
|
-
throw is.invalidParameterError('yres', 'number between 0.001 and 1000000', options.yres);
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
// compression
|
|
1171
|
-
if (is.defined(options.compression)) {
|
|
1172
|
-
if (is.string(options.compression) && is.inArray(options.compression, ['none', 'jpeg', 'deflate', 'packbits', 'ccittfax4', 'lzw', 'webp', 'zstd', 'jp2k'])) {
|
|
1173
|
-
this.options.tiffCompression = options.compression;
|
|
1174
|
-
} else {
|
|
1175
|
-
throw is.invalidParameterError('compression', 'one of: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k', options.compression);
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
// bigtiff
|
|
1179
|
-
if (is.defined(options.bigtiff)) {
|
|
1180
|
-
this._setBooleanOption('tiffBigtiff', options.bigtiff);
|
|
1181
|
-
}
|
|
1182
|
-
// predictor
|
|
1183
|
-
if (is.defined(options.predictor)) {
|
|
1184
|
-
if (is.string(options.predictor) && is.inArray(options.predictor, ['none', 'horizontal', 'float'])) {
|
|
1185
|
-
this.options.tiffPredictor = options.predictor;
|
|
1186
|
-
} else {
|
|
1187
|
-
throw is.invalidParameterError('predictor', 'one of: none, horizontal, float', options.predictor);
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
// resolutionUnit
|
|
1191
|
-
if (is.defined(options.resolutionUnit)) {
|
|
1192
|
-
if (is.string(options.resolutionUnit) && is.inArray(options.resolutionUnit, ['inch', 'cm'])) {
|
|
1193
|
-
this.options.tiffResolutionUnit = options.resolutionUnit;
|
|
1194
|
-
} else {
|
|
1195
|
-
throw is.invalidParameterError('resolutionUnit', 'one of: inch, cm', options.resolutionUnit);
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
return this._updateFormatOut('tiff', options);
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* Use these AVIF options for output image.
|
|
1204
|
-
*
|
|
1205
|
-
* AVIF image sequences are not supported.
|
|
1206
|
-
*
|
|
1207
|
-
* @example
|
|
1208
|
-
* const data = await sharp(input)
|
|
1209
|
-
* .avif({ effort: 2 })
|
|
1210
|
-
* .toBuffer();
|
|
1211
|
-
*
|
|
1212
|
-
* @example
|
|
1213
|
-
* const data = await sharp(input)
|
|
1214
|
-
* .avif({ lossless: true })
|
|
1215
|
-
* .toBuffer();
|
|
1216
|
-
*
|
|
1217
|
-
* @since 0.27.0
|
|
1218
|
-
*
|
|
1219
|
-
* @param {Object} [options] - output options
|
|
1220
|
-
* @param {number} [options.quality=50] - quality, integer 1-100
|
|
1221
|
-
* @param {boolean} [options.lossless=false] - use lossless compression
|
|
1222
|
-
* @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 9 (slowest)
|
|
1223
|
-
* @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
|
|
1224
|
-
* @param {number} [options.bitdepth=8] - set bitdepth to 8, 10 or 12 bit
|
|
1225
|
-
* @param {string} [options.tune='auto'] - tune output for a quality metric, one of 'auto' (default), 'iq', 'psnr' or 'ssim'
|
|
1226
|
-
* @returns {Sharp}
|
|
1227
|
-
* @throws {Error} Invalid options
|
|
1228
|
-
*/
|
|
1229
|
-
function avif (options) {
|
|
1230
|
-
return this.heif({ ...options, compression: 'av1' });
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
/**
|
|
1234
|
-
* Use these HEIF options for output image.
|
|
1235
|
-
*
|
|
1236
|
-
* Support for patent-encumbered HEIC images using `hevc` compression requires the use of a
|
|
1237
|
-
* globally-installed libvips compiled with support for libheif, libde265 and x265.
|
|
1238
|
-
*
|
|
1239
|
-
* @example
|
|
1240
|
-
* const data = await sharp(input)
|
|
1241
|
-
* .heif({ compression: 'hevc' })
|
|
1242
|
-
* .toBuffer();
|
|
1243
|
-
*
|
|
1244
|
-
* @since 0.23.0
|
|
1245
|
-
*
|
|
1246
|
-
* @param {Object} options - output options
|
|
1247
|
-
* @param {string} options.compression - compression format: av1, hevc
|
|
1248
|
-
* @param {number} [options.quality=50] - quality, integer 1-100
|
|
1249
|
-
* @param {boolean} [options.lossless=false] - use lossless compression
|
|
1250
|
-
* @param {number} [options.effort=4] - CPU effort, between 0 (fastest) and 9 (slowest)
|
|
1251
|
-
* @param {string} [options.chromaSubsampling='4:4:4'] - set to '4:2:0' to use chroma subsampling
|
|
1252
|
-
* @param {number} [options.bitdepth=8] - set bitdepth to 8, 10 or 12 bit
|
|
1253
|
-
* @param {string} [options.tune='auto'] - tune output for a quality metric, one of 'auto' (default), 'iq', 'psnr' or 'ssim'
|
|
1254
|
-
* @returns {Sharp}
|
|
1255
|
-
* @throws {Error} Invalid options
|
|
1256
|
-
*/
|
|
1257
|
-
function heif (options) {
|
|
1258
|
-
if (is.object(options)) {
|
|
1259
|
-
if (is.string(options.compression) && is.inArray(options.compression, ['av1', 'hevc'])) {
|
|
1260
|
-
this.options.heifCompression = options.compression;
|
|
1261
|
-
} else {
|
|
1262
|
-
throw is.invalidParameterError('compression', 'one of: av1, hevc', options.compression);
|
|
1263
|
-
}
|
|
1264
|
-
if (is.defined(options.quality)) {
|
|
1265
|
-
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
1266
|
-
this.options.heifQuality = options.quality;
|
|
1267
|
-
} else {
|
|
1268
|
-
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
if (is.defined(options.lossless)) {
|
|
1272
|
-
if (is.bool(options.lossless)) {
|
|
1273
|
-
this.options.heifLossless = options.lossless;
|
|
1274
|
-
} else {
|
|
1275
|
-
throw is.invalidParameterError('lossless', 'boolean', options.lossless);
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
if (is.defined(options.effort)) {
|
|
1279
|
-
if (is.integer(options.effort) && is.inRange(options.effort, 0, 9)) {
|
|
1280
|
-
this.options.heifEffort = options.effort;
|
|
1281
|
-
} else {
|
|
1282
|
-
throw is.invalidParameterError('effort', 'integer between 0 and 9', options.effort);
|
|
1283
|
-
}
|
|
1284
|
-
}
|
|
1285
|
-
if (is.defined(options.chromaSubsampling)) {
|
|
1286
|
-
if (is.string(options.chromaSubsampling) && is.inArray(options.chromaSubsampling, ['4:2:0', '4:4:4'])) {
|
|
1287
|
-
this.options.heifChromaSubsampling = options.chromaSubsampling;
|
|
1288
|
-
} else {
|
|
1289
|
-
throw is.invalidParameterError('chromaSubsampling', 'one of: 4:2:0, 4:4:4', options.chromaSubsampling);
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
|
-
if (is.defined(options.bitdepth)) {
|
|
1293
|
-
if (is.integer(options.bitdepth) && is.inArray(options.bitdepth, [8, 10, 12])) {
|
|
1294
|
-
this.options.heifBitdepth = options.bitdepth;
|
|
1295
|
-
} else {
|
|
1296
|
-
throw is.invalidParameterError('bitdepth', '8, 10 or 12', options.bitdepth);
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
if (is.defined(options.tune)) {
|
|
1300
|
-
if (is.string(options.tune) && is.inArray(options.tune, ['auto', 'iq', 'psnr', 'ssim'])) {
|
|
1301
|
-
if (this.options.heifLossless && options.tune === 'iq') {
|
|
1302
|
-
this.options.heifTune = 'ssim';
|
|
1303
|
-
} else {
|
|
1304
|
-
this.options.heifTune = options.tune;
|
|
1305
|
-
}
|
|
1306
|
-
} else {
|
|
1307
|
-
throw is.invalidParameterError('tune', 'one of: auto, iq, psnr, ssim', options.tune);
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
} else {
|
|
1311
|
-
throw is.invalidParameterError('options', 'Object', options);
|
|
1312
|
-
}
|
|
1313
|
-
return this._updateFormatOut('heif', options);
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
/**
|
|
1317
|
-
* Use these JPEG-XL (JXL) options for output image.
|
|
1318
|
-
*
|
|
1319
|
-
* This feature is experimental, please do not use in production systems.
|
|
1320
|
-
*
|
|
1321
|
-
* Requires libvips compiled with support for libjxl.
|
|
1322
|
-
* The prebuilt binaries do not include this - see
|
|
1323
|
-
* {@link /install/#custom-libvips installing a custom libvips}.
|
|
1324
|
-
*
|
|
1325
|
-
* @since 0.31.3
|
|
1326
|
-
*
|
|
1327
|
-
* @param {Object} [options] - output options
|
|
1328
|
-
* @param {number} [options.distance=1.0] - maximum encoding error, between 0 (highest quality) and 15 (lowest quality)
|
|
1329
|
-
* @param {number} [options.quality] - calculate `distance` based on JPEG-like quality, between 1 and 100, overrides distance if specified
|
|
1330
|
-
* @param {number} [options.decodingTier=0] - target decode speed tier, between 0 (highest quality) and 4 (lowest quality)
|
|
1331
|
-
* @param {boolean} [options.lossless=false] - use lossless compression
|
|
1332
|
-
* @param {number} [options.effort=7] - CPU effort, between 1 (fastest) and 9 (slowest)
|
|
1333
|
-
* @param {number} [options.loop=0] - number of animation iterations, use 0 for infinite animation
|
|
1334
|
-
* @param {number|number[]} [options.delay] - delay(s) between animation frames (in milliseconds)
|
|
1335
|
-
* @returns {Sharp}
|
|
1336
|
-
* @throws {Error} Invalid options
|
|
1337
|
-
*/
|
|
1338
|
-
function jxl (options) {
|
|
1339
|
-
if (is.object(options)) {
|
|
1340
|
-
if (is.defined(options.quality)) {
|
|
1341
|
-
if (is.integer(options.quality) && is.inRange(options.quality, 1, 100)) {
|
|
1342
|
-
// https://github.com/libjxl/libjxl/blob/0aeea7f180bafd6893c1db8072dcb67d2aa5b03d/tools/cjxl_main.cc#L640-L644
|
|
1343
|
-
this.options.jxlDistance = options.quality >= 30
|
|
1344
|
-
? 0.1 + (100 - options.quality) * 0.09
|
|
1345
|
-
: 53 / 3000 * options.quality * options.quality - 23 / 20 * options.quality + 25;
|
|
1346
|
-
} else {
|
|
1347
|
-
throw is.invalidParameterError('quality', 'integer between 1 and 100', options.quality);
|
|
1348
|
-
}
|
|
1349
|
-
} else if (is.defined(options.distance)) {
|
|
1350
|
-
if (is.number(options.distance) && is.inRange(options.distance, 0, 15)) {
|
|
1351
|
-
this.options.jxlDistance = options.distance;
|
|
1352
|
-
} else {
|
|
1353
|
-
throw is.invalidParameterError('distance', 'number between 0.0 and 15.0', options.distance);
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
if (is.defined(options.decodingTier)) {
|
|
1357
|
-
if (is.integer(options.decodingTier) && is.inRange(options.decodingTier, 0, 4)) {
|
|
1358
|
-
this.options.jxlDecodingTier = options.decodingTier;
|
|
1359
|
-
} else {
|
|
1360
|
-
throw is.invalidParameterError('decodingTier', 'integer between 0 and 4', options.decodingTier);
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
if (is.defined(options.lossless)) {
|
|
1364
|
-
if (is.bool(options.lossless)) {
|
|
1365
|
-
this.options.jxlLossless = options.lossless;
|
|
1366
|
-
} else {
|
|
1367
|
-
throw is.invalidParameterError('lossless', 'boolean', options.lossless);
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
if (is.defined(options.effort)) {
|
|
1371
|
-
if (is.integer(options.effort) && is.inRange(options.effort, 1, 9)) {
|
|
1372
|
-
this.options.jxlEffort = options.effort;
|
|
1373
|
-
} else {
|
|
1374
|
-
throw is.invalidParameterError('effort', 'integer between 1 and 9', options.effort);
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1378
|
-
trySetAnimationOptions(options, this.options);
|
|
1379
|
-
return this._updateFormatOut('jxl', options);
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
/**
|
|
1383
|
-
* Force output to be raw, uncompressed pixel data.
|
|
1384
|
-
* Pixel ordering is left-to-right, top-to-bottom, without padding.
|
|
1385
|
-
* Channel ordering will be RGB or RGBA for non-greyscale colourspaces.
|
|
1386
|
-
*
|
|
1387
|
-
* @example
|
|
1388
|
-
* // Extract raw, unsigned 8-bit RGB pixel data from JPEG input
|
|
1389
|
-
* const { data, info } = await sharp('input.jpg')
|
|
1390
|
-
* .raw()
|
|
1391
|
-
* .toBuffer({ resolveWithObject: true });
|
|
1392
|
-
*
|
|
1393
|
-
* @example
|
|
1394
|
-
* // Extract alpha channel as raw, unsigned 16-bit pixel data from PNG input
|
|
1395
|
-
* const data = await sharp('input.png')
|
|
1396
|
-
* .ensureAlpha()
|
|
1397
|
-
* .extractChannel(3)
|
|
1398
|
-
* .toColourspace('b-w')
|
|
1399
|
-
* .raw({ depth: 'ushort' })
|
|
1400
|
-
* .toBuffer();
|
|
1401
|
-
*
|
|
1402
|
-
* @param {Object} [options] - output options
|
|
1403
|
-
* @param {string} [options.depth='uchar'] - bit depth, one of: char, uchar (default), short, ushort, int, uint, float, complex, double, dpcomplex
|
|
1404
|
-
* @returns {Sharp}
|
|
1405
|
-
* @throws {Error} Invalid options
|
|
1406
|
-
*/
|
|
1407
|
-
function raw (options) {
|
|
1408
|
-
if (is.object(options)) {
|
|
1409
|
-
if (is.defined(options.depth)) {
|
|
1410
|
-
if (is.string(options.depth) && is.inArray(options.depth,
|
|
1411
|
-
['char', 'uchar', 'short', 'ushort', 'int', 'uint', 'float', 'complex', 'double', 'dpcomplex']
|
|
1412
|
-
)) {
|
|
1413
|
-
this.options.rawDepth = options.depth;
|
|
1414
|
-
} else {
|
|
1415
|
-
throw is.invalidParameterError('depth', 'one of: char, uchar, short, ushort, int, uint, float, complex, double, dpcomplex', options.depth);
|
|
1416
|
-
}
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
return this._updateFormatOut('raw');
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
/**
|
|
1423
|
-
* Use tile-based deep zoom (image pyramid) output.
|
|
1424
|
-
*
|
|
1425
|
-
* Set the format and options for tile images via the `toFormat`, `jpeg`, `png` or `webp` functions.
|
|
1426
|
-
* Use a `.zip` or `.szi` file extension with `toFile` to write to a compressed archive file format.
|
|
1427
|
-
*
|
|
1428
|
-
* The container will be set to `zip` when the output is a Buffer or Stream, otherwise it will default to `fs`.
|
|
1429
|
-
*
|
|
1430
|
-
* @example
|
|
1431
|
-
* sharp('input.tiff')
|
|
1432
|
-
* .png()
|
|
1433
|
-
* .tile({
|
|
1434
|
-
* size: 512
|
|
1435
|
-
* })
|
|
1436
|
-
* .toFile('output.dz', function(err, info) {
|
|
1437
|
-
* // output.dzi is the Deep Zoom XML definition
|
|
1438
|
-
* // output_files contains 512x512 tiles grouped by zoom level
|
|
1439
|
-
* });
|
|
1440
|
-
*
|
|
1441
|
-
* @example
|
|
1442
|
-
* const zipFileWithTiles = await sharp(input)
|
|
1443
|
-
* .tile({ basename: "tiles" })
|
|
1444
|
-
* .toBuffer();
|
|
1445
|
-
*
|
|
1446
|
-
* @example
|
|
1447
|
-
* const iiififier = sharp().tile({ layout: "iiif" });
|
|
1448
|
-
* readableStream
|
|
1449
|
-
* .pipe(iiififier)
|
|
1450
|
-
* .pipe(writeableStream);
|
|
1451
|
-
*
|
|
1452
|
-
* @param {Object} [options]
|
|
1453
|
-
* @param {number} [options.size=256] tile size in pixels, a value between 1 and 8192.
|
|
1454
|
-
* @param {number} [options.overlap=0] tile overlap in pixels, a value between 0 and 8192.
|
|
1455
|
-
* @param {number} [options.angle=0] tile angle of rotation, must be a multiple of 90.
|
|
1456
|
-
* @param {string|Object} [options.background={r: 255, g: 255, b: 255, alpha: 1}] - background colour, parsed by the [color](https://www.npmjs.org/package/color) module, defaults to white without transparency.
|
|
1457
|
-
* @param {string} [options.depth] how deep to make the pyramid, possible values are `onepixel`, `onetile` or `one`, default based on layout.
|
|
1458
|
-
* @param {number} [options.skipBlanks=-1] Threshold to skip tile generation. Range is 0-255 for 8-bit images, 0-65535 for 16-bit images. Default is 5 for `google` layout, -1 (no skip) otherwise.
|
|
1459
|
-
* @param {string} [options.container='fs'] tile container, with value `fs` (filesystem) or `zip` (compressed file).
|
|
1460
|
-
* @param {string} [options.layout='dz'] filesystem layout, possible values are `dz`, `iiif`, `iiif3`, `zoomify` or `google`.
|
|
1461
|
-
* @param {boolean} [options.centre=false] centre image in tile.
|
|
1462
|
-
* @param {boolean} [options.center=false] alternative spelling of centre.
|
|
1463
|
-
* @param {string} [options.id='https://example.com/iiif'] when `layout` is `iiif`/`iiif3`, sets the `@id`/`id` attribute of `info.json`
|
|
1464
|
-
* @param {string} [options.basename] the name of the directory within the zip file when container is `zip`.
|
|
1465
|
-
* @returns {Sharp}
|
|
1466
|
-
* @throws {Error} Invalid parameters
|
|
1467
|
-
*/
|
|
1468
|
-
function tile (options) {
|
|
1469
|
-
if (is.object(options)) {
|
|
1470
|
-
// Size of square tiles, in pixels
|
|
1471
|
-
if (is.defined(options.size)) {
|
|
1472
|
-
if (is.integer(options.size) && is.inRange(options.size, 1, 8192)) {
|
|
1473
|
-
this.options.tileSize = options.size;
|
|
1474
|
-
} else {
|
|
1475
|
-
throw is.invalidParameterError('size', 'integer between 1 and 8192', options.size);
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
// Overlap of tiles, in pixels
|
|
1479
|
-
if (is.defined(options.overlap)) {
|
|
1480
|
-
if (is.integer(options.overlap) && is.inRange(options.overlap, 0, 8192)) {
|
|
1481
|
-
if (options.overlap > this.options.tileSize) {
|
|
1482
|
-
throw is.invalidParameterError('overlap', `<= size (${this.options.tileSize})`, options.overlap);
|
|
1483
|
-
}
|
|
1484
|
-
this.options.tileOverlap = options.overlap;
|
|
1485
|
-
} else {
|
|
1486
|
-
throw is.invalidParameterError('overlap', 'integer between 0 and 8192', options.overlap);
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
// Container
|
|
1490
|
-
if (is.defined(options.container)) {
|
|
1491
|
-
if (is.string(options.container) && is.inArray(options.container, ['fs', 'zip'])) {
|
|
1492
|
-
this.options.tileContainer = options.container;
|
|
1493
|
-
} else {
|
|
1494
|
-
throw is.invalidParameterError('container', 'one of: fs, zip', options.container);
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
// Layout
|
|
1498
|
-
if (is.defined(options.layout)) {
|
|
1499
|
-
if (is.string(options.layout) && is.inArray(options.layout, ['dz', 'google', 'iiif', 'iiif3', 'zoomify'])) {
|
|
1500
|
-
this.options.tileLayout = options.layout;
|
|
1501
|
-
} else {
|
|
1502
|
-
throw is.invalidParameterError('layout', 'one of: dz, google, iiif, iiif3, zoomify', options.layout);
|
|
1503
|
-
}
|
|
1504
|
-
}
|
|
1505
|
-
// Angle of rotation,
|
|
1506
|
-
if (is.defined(options.angle)) {
|
|
1507
|
-
if (is.integer(options.angle) && !(options.angle % 90)) {
|
|
1508
|
-
this.options.tileAngle = options.angle;
|
|
1509
|
-
} else {
|
|
1510
|
-
throw is.invalidParameterError('angle', 'positive/negative multiple of 90', options.angle);
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
// Background colour
|
|
1514
|
-
this._setBackgroundColourOption('tileBackground', options.background);
|
|
1515
|
-
// Depth of tiles
|
|
1516
|
-
if (is.defined(options.depth)) {
|
|
1517
|
-
if (is.string(options.depth) && is.inArray(options.depth, ['onepixel', 'onetile', 'one'])) {
|
|
1518
|
-
this.options.tileDepth = options.depth;
|
|
1519
|
-
} else {
|
|
1520
|
-
throw is.invalidParameterError('depth', 'one of: onepixel, onetile, one', options.depth);
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
// Threshold to skip blank tiles
|
|
1524
|
-
if (is.defined(options.skipBlanks)) {
|
|
1525
|
-
if (is.integer(options.skipBlanks) && is.inRange(options.skipBlanks, -1, 65535)) {
|
|
1526
|
-
this.options.tileSkipBlanks = options.skipBlanks;
|
|
1527
|
-
} else {
|
|
1528
|
-
throw is.invalidParameterError('skipBlanks', 'integer between -1 and 255/65535', options.skipBlanks);
|
|
1529
|
-
}
|
|
1530
|
-
} else if (is.defined(options.layout) && options.layout === 'google') {
|
|
1531
|
-
this.options.tileSkipBlanks = 5;
|
|
1532
|
-
}
|
|
1533
|
-
// Center image in tile
|
|
1534
|
-
const centre = is.bool(options.center) ? options.center : options.centre;
|
|
1535
|
-
if (is.defined(centre)) {
|
|
1536
|
-
this._setBooleanOption('tileCentre', centre);
|
|
1537
|
-
}
|
|
1538
|
-
// @id attribute for IIIF layout
|
|
1539
|
-
if (is.defined(options.id)) {
|
|
1540
|
-
if (is.string(options.id)) {
|
|
1541
|
-
this.options.tileId = options.id;
|
|
1542
|
-
} else {
|
|
1543
|
-
throw is.invalidParameterError('id', 'string', options.id);
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
// Basename for zip container
|
|
1547
|
-
if (is.defined(options.basename)) {
|
|
1548
|
-
if (is.string(options.basename)) {
|
|
1549
|
-
this.options.tileBasename = options.basename;
|
|
1550
|
-
} else {
|
|
1551
|
-
throw is.invalidParameterError('basename', 'string', options.basename);
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
// Format
|
|
1556
|
-
if (is.inArray(this.options.formatOut, ['jpeg', 'png', 'webp'])) {
|
|
1557
|
-
this.options.tileFormat = this.options.formatOut;
|
|
1558
|
-
} else if (this.options.formatOut !== 'input') {
|
|
1559
|
-
throw is.invalidParameterError('format', 'one of: jpeg, png, webp', this.options.formatOut);
|
|
1560
|
-
}
|
|
1561
|
-
return this._updateFormatOut('dz');
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
/**
|
|
1565
|
-
* Set a timeout for processing, in seconds.
|
|
1566
|
-
* Use a value of zero to continue processing indefinitely, the default behaviour.
|
|
1567
|
-
*
|
|
1568
|
-
* The clock starts when libvips opens an input image for processing.
|
|
1569
|
-
* Time spent waiting for a libuv thread to become available is not included.
|
|
1570
|
-
*
|
|
1571
|
-
* @example
|
|
1572
|
-
* // Ensure processing takes no longer than 3 seconds
|
|
1573
|
-
* try {
|
|
1574
|
-
* const data = await sharp(input)
|
|
1575
|
-
* .blur(1000)
|
|
1576
|
-
* .timeout({ seconds: 3 })
|
|
1577
|
-
* .toBuffer();
|
|
1578
|
-
* } catch (err) {
|
|
1579
|
-
* if (err.message.includes('timeout')) { ... }
|
|
1580
|
-
* }
|
|
1581
|
-
*
|
|
1582
|
-
* @since 0.29.2
|
|
1583
|
-
*
|
|
1584
|
-
* @param {Object} options
|
|
1585
|
-
* @param {number} options.seconds - Number of seconds after which processing will be stopped
|
|
1586
|
-
* @returns {Sharp}
|
|
1587
|
-
*/
|
|
1588
|
-
function timeout (options) {
|
|
1589
|
-
if (!is.plainObject(options)) {
|
|
1590
|
-
throw is.invalidParameterError('options', 'object', options);
|
|
1591
|
-
}
|
|
1592
|
-
if (is.integer(options.seconds) && is.inRange(options.seconds, 0, 3600)) {
|
|
1593
|
-
this.options.timeoutSeconds = options.seconds;
|
|
1594
|
-
} else {
|
|
1595
|
-
throw is.invalidParameterError('seconds', 'integer between 0 and 3600', options.seconds);
|
|
1596
|
-
}
|
|
1597
|
-
return this;
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
|
-
/**
|
|
1601
|
-
* Update the output format unless options.force is false,
|
|
1602
|
-
* in which case revert to input format.
|
|
1603
|
-
* @private
|
|
1604
|
-
* @param {string} formatOut
|
|
1605
|
-
* @param {Object} [options]
|
|
1606
|
-
* @param {boolean} [options.force=true] - force output format, otherwise attempt to use input format
|
|
1607
|
-
* @returns {Sharp}
|
|
1608
|
-
*/
|
|
1609
|
-
function _updateFormatOut (formatOut, options) {
|
|
1610
|
-
if (!(is.object(options) && options.force === false)) {
|
|
1611
|
-
this.options.formatOut = formatOut;
|
|
1612
|
-
}
|
|
1613
|
-
return this;
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
/**
|
|
1617
|
-
* Update a boolean attribute of the this.options Object.
|
|
1618
|
-
* @private
|
|
1619
|
-
* @param {string} key
|
|
1620
|
-
* @param {boolean} val
|
|
1621
|
-
* @throws {Error} Invalid key
|
|
1622
|
-
*/
|
|
1623
|
-
function _setBooleanOption (key, val) {
|
|
1624
|
-
if (is.bool(val)) {
|
|
1625
|
-
this.options[key] = val;
|
|
1626
|
-
} else {
|
|
1627
|
-
throw is.invalidParameterError(key, 'boolean', val);
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* Called by a WriteableStream to notify us it is ready for data.
|
|
1633
|
-
* @private
|
|
1634
|
-
*/
|
|
1635
|
-
function _read () {
|
|
1636
|
-
if (!this.options.streamOut) {
|
|
1637
|
-
this.options.streamOut = true;
|
|
1638
|
-
const stack = Error();
|
|
1639
|
-
this._pipeline(undefined, stack);
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* Invoke the C++ image processing pipeline
|
|
1645
|
-
* Supports callback, stream and promise variants
|
|
1646
|
-
* @private
|
|
1647
|
-
*/
|
|
1648
|
-
function _pipeline (callback, stack) {
|
|
1649
|
-
if (typeof callback === 'function') {
|
|
1650
|
-
// output=file/buffer
|
|
1651
|
-
if (this._isStreamInput()) {
|
|
1652
|
-
// output=file/buffer, input=stream
|
|
1653
|
-
this._whenStreamInFinished(() => {
|
|
1654
|
-
this._flattenBufferIn();
|
|
1655
|
-
sharp.pipeline(this.options, (err, data, info) => {
|
|
1656
|
-
if (err) {
|
|
1657
|
-
callback(is.nativeError(err, stack));
|
|
1658
|
-
} else {
|
|
1659
|
-
callback(null, data, info);
|
|
1660
|
-
}
|
|
1661
|
-
});
|
|
1662
|
-
});
|
|
1663
|
-
} else {
|
|
1664
|
-
// output=file/buffer, input=file/buffer
|
|
1665
|
-
sharp.pipeline(this.options, (err, data, info) => {
|
|
1666
|
-
if (err) {
|
|
1667
|
-
callback(is.nativeError(err, stack));
|
|
1668
|
-
} else {
|
|
1669
|
-
callback(null, data, info);
|
|
1670
|
-
}
|
|
1671
|
-
});
|
|
1672
|
-
}
|
|
1673
|
-
return this;
|
|
1674
|
-
} else if (this.options.streamOut) {
|
|
1675
|
-
// output=stream
|
|
1676
|
-
if (this._isStreamInput()) {
|
|
1677
|
-
// output=stream, input=stream
|
|
1678
|
-
this._whenStreamInFinished(() => {
|
|
1679
|
-
this._flattenBufferIn();
|
|
1680
|
-
sharp.pipeline(this.options, (err, data, info) => {
|
|
1681
|
-
if (err) {
|
|
1682
|
-
this.emit('error', is.nativeError(err, stack));
|
|
1683
|
-
} else {
|
|
1684
|
-
this.emit('info', info);
|
|
1685
|
-
this.push(data);
|
|
1686
|
-
}
|
|
1687
|
-
this.push(null);
|
|
1688
|
-
this.on('end', () => this.emit('close'));
|
|
1689
|
-
});
|
|
1690
|
-
});
|
|
1691
|
-
} else {
|
|
1692
|
-
// output=stream, input=file/buffer
|
|
1693
|
-
sharp.pipeline(this.options, (err, data, info) => {
|
|
1694
|
-
if (err) {
|
|
1695
|
-
this.emit('error', is.nativeError(err, stack));
|
|
1696
|
-
} else {
|
|
1697
|
-
this.emit('info', info);
|
|
1698
|
-
this.push(data);
|
|
1699
|
-
}
|
|
1700
|
-
this.push(null);
|
|
1701
|
-
this.on('end', () => this.emit('close'));
|
|
1702
|
-
});
|
|
1703
|
-
}
|
|
1704
|
-
return this;
|
|
1705
|
-
} else {
|
|
1706
|
-
// output=promise
|
|
1707
|
-
if (this._isStreamInput()) {
|
|
1708
|
-
// output=promise, input=stream
|
|
1709
|
-
return new Promise((resolve, reject) => {
|
|
1710
|
-
this._whenStreamInFinished(() => {
|
|
1711
|
-
this._flattenBufferIn();
|
|
1712
|
-
sharp.pipeline(this.options, (err, data, info) => {
|
|
1713
|
-
if (err) {
|
|
1714
|
-
reject(is.nativeError(err, stack));
|
|
1715
|
-
} else {
|
|
1716
|
-
if (this.options.resolveWithObject) {
|
|
1717
|
-
resolve({ data, info });
|
|
1718
|
-
} else {
|
|
1719
|
-
resolve(data);
|
|
1720
|
-
}
|
|
1721
|
-
}
|
|
1722
|
-
});
|
|
1723
|
-
});
|
|
1724
|
-
});
|
|
1725
|
-
} else {
|
|
1726
|
-
// output=promise, input=file/buffer
|
|
1727
|
-
return new Promise((resolve, reject) => {
|
|
1728
|
-
sharp.pipeline(this.options, (err, data, info) => {
|
|
1729
|
-
if (err) {
|
|
1730
|
-
reject(is.nativeError(err, stack));
|
|
1731
|
-
} else {
|
|
1732
|
-
if (this.options.resolveWithObject) {
|
|
1733
|
-
resolve({ data, info });
|
|
1734
|
-
} else {
|
|
1735
|
-
resolve(data);
|
|
1736
|
-
}
|
|
1737
|
-
}
|
|
1738
|
-
});
|
|
1739
|
-
});
|
|
1740
|
-
}
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
/**
|
|
1745
|
-
* Decorate the Sharp prototype with output-related functions.
|
|
1746
|
-
* @module Sharp
|
|
1747
|
-
* @private
|
|
1748
|
-
*/
|
|
1749
|
-
module.exports = (Sharp) => {
|
|
1750
|
-
Object.assign(Sharp.prototype, {
|
|
1751
|
-
// Public
|
|
1752
|
-
toFile,
|
|
1753
|
-
toBuffer,
|
|
1754
|
-
toUint8Array,
|
|
1755
|
-
withDensity,
|
|
1756
|
-
keepExif,
|
|
1757
|
-
withExif,
|
|
1758
|
-
withExifMerge,
|
|
1759
|
-
keepIccProfile,
|
|
1760
|
-
withIccProfile,
|
|
1761
|
-
keepGainMap,
|
|
1762
|
-
withGainMap,
|
|
1763
|
-
keepXmp,
|
|
1764
|
-
withXmp,
|
|
1765
|
-
keepMetadata,
|
|
1766
|
-
withMetadata,
|
|
1767
|
-
toFormat,
|
|
1768
|
-
jpeg,
|
|
1769
|
-
jp2,
|
|
1770
|
-
png,
|
|
1771
|
-
webp,
|
|
1772
|
-
tiff,
|
|
1773
|
-
avif,
|
|
1774
|
-
heif,
|
|
1775
|
-
jxl,
|
|
1776
|
-
gif,
|
|
1777
|
-
raw,
|
|
1778
|
-
tile,
|
|
1779
|
-
timeout,
|
|
1780
|
-
// Private
|
|
1781
|
-
_updateFormatOut,
|
|
1782
|
-
_setBooleanOption,
|
|
1783
|
-
_read,
|
|
1784
|
-
_pipeline
|
|
1785
|
-
});
|
|
1786
|
-
};
|