appium-mac2-driver 4.5.1 → 4.6.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 +12 -0
- package/WebDriverAgentMac/WebDriverAgentRunner/WebDriverAgentRunner.m +3 -0
- package/build/lib/commands/clipboard.js +2 -2
- package/build/lib/commands/clipboard.js.map +1 -1
- package/build/lib/commands/context.d.ts +66 -0
- package/build/lib/commands/context.d.ts.map +1 -0
- package/build/lib/commands/context.js +206 -0
- package/build/lib/commands/context.js.map +1 -0
- package/build/lib/commands/execute.d.ts.map +1 -1
- package/build/lib/commands/execute.js +4 -0
- package/build/lib/commands/execute.js.map +1 -1
- package/build/lib/commands/find.d.ts.map +1 -1
- package/build/lib/commands/find.js +4 -0
- package/build/lib/commands/find.js.map +1 -1
- package/build/lib/constraints.d.ts +12 -0
- package/build/lib/constraints.d.ts.map +1 -1
- package/build/lib/constraints.js +12 -0
- package/build/lib/constraints.js.map +1 -1
- package/build/lib/driver.d.ts +26 -0
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +83 -3
- package/build/lib/driver.js.map +1 -1
- package/build/lib/execute-method-map.d.ts +6 -0
- package/build/lib/execute-method-map.d.ts.map +1 -1
- package/build/lib/execute-method-map.js +6 -0
- package/build/lib/execute-method-map.js.map +1 -1
- package/build/lib/types.d.ts +19 -0
- package/build/lib/types.d.ts.map +1 -1
- package/lib/commands/clipboard.ts +2 -2
- package/lib/commands/context.ts +228 -0
- package/lib/commands/execute.ts +4 -0
- package/lib/commands/find.ts +5 -0
- package/lib/constraints.ts +12 -0
- package/lib/driver.ts +93 -3
- package/lib/execute-method-map.ts +6 -0
- package/lib/types.ts +22 -0
- package/node_modules/@appium/base-driver/LICENSE +201 -0
- package/node_modules/@appium/base-driver/README.md +15 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.d.ts +59 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.js +315 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/capabilities.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.d.ts +12 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.js +33 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi-subscriptions.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.d.ts +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.js +72 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/bidi.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.d.ts +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.js +36 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/event.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.d.ts +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.js +33 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/execute.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.d.ts +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.js +55 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/find.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.d.ts +7 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.js +9 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/index.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.d.ts +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.js +20 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/log.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.d.ts +12 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.js +16 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/mixin.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.d.ts +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.js +110 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/commands/timeout.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/core.d.ts +154 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/core.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/core.js +364 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/core.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/device-settings.d.ts +27 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/device-settings.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/device-settings.js +56 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/device-settings.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/driver.d.ts +68 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/driver.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/driver.js +378 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/driver.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.d.ts +19 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.js +132 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/extension-core.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.d.ts +59 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.js +556 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.d.ts +36 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.js +155 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/ipc.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/logger.d.ts +2 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/logger.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/logger.js +6 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/logger.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/validation.d.ts +7 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/validation.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/validation.js +125 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/validation.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/constants.d.ts +9 -0
- package/node_modules/@appium/base-driver/build/lib/constants.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/constants.js +20 -0
- package/node_modules/@appium/base-driver/build/lib/constants.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/express-logging.d.ts +12 -0
- package/node_modules/@appium/base-driver/build/lib/express/express-logging.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/express-logging.js +71 -0
- package/node_modules/@appium/base-driver/build/lib/express/express-logging.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/idempotency.d.ts +7 -0
- package/node_modules/@appium/base-driver/build/lib/express/idempotency.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/idempotency.js +167 -0
- package/node_modules/@appium/base-driver/build/lib/express/idempotency.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/logger.d.ts +2 -0
- package/node_modules/@appium/base-driver/build/lib/express/logger.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/logger.js +6 -0
- package/node_modules/@appium/base-driver/build/lib/express/logger.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/middleware.d.ts +67 -0
- package/node_modules/@appium/base-driver/build/lib/express/middleware.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/middleware.js +164 -0
- package/node_modules/@appium/base-driver/build/lib/express/middleware.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/server.d.ts +70 -0
- package/node_modules/@appium/base-driver/build/lib/express/server.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/server.js +287 -0
- package/node_modules/@appium/base-driver/build/lib/express/server.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/websocket.d.ts +23 -0
- package/node_modules/@appium/base-driver/build/lib/express/websocket.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/express/websocket.js +64 -0
- package/node_modules/@appium/base-driver/build/lib/express/websocket.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/capabilities.d.ts +11 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/capabilities.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/capabilities.js +70 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/capabilities.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.d.ts +11 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.js +23 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/extension-command-name.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.d.ts +27 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.js +57 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/levenshtein-match.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/session.d.ts +7 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/session.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/session.js +12 -0
- package/node_modules/@appium/base-driver/build/lib/helpers/session.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/index.d.ts +24 -0
- package/node_modules/@appium/base-driver/build/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/index.js +75 -0
- package/node_modules/@appium/base-driver/build/lib/index.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.d.ts +53 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.js +213 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/protocol-converter.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.d.ts +12 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.js +55 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy-request.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.d.ts +83 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.js +413 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-proxy/proxy.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.d.ts +114 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.js +122 -0
- package/node_modules/@appium/base-driver/build/lib/jsonwp-status/status.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.d.ts +31 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.js +40 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/bidi-commands.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/errors.d.ts +346 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/errors.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/errors.js +831 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/errors.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/helpers.d.ts +18 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/helpers.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/helpers.js +43 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/helpers.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/index.d.ts +5 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/index.js +27 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/index.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/protocol.d.ts +66 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/protocol.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/protocol.js +513 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/protocol.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium-device.d.ts +128 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium-device.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium-device.js +94 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium-device.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.d.ts +70 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.js +42 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/appium.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/chromium-cdp.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/chromium-cdp.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/chromium-cdp.js +13 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/chromium-cdp.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/custom-handlers.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/custom-handlers.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/custom-handlers.js +13 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/custom-handlers.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/device-posture.d.ts +18 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/device-posture.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/device-posture.js +14 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/device-posture.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/fedcm.d.ts +56 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/fedcm.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/fedcm.js +34 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/fedcm.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/index.d.ts +228 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/index.js +37 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/index.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/payment.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/payment.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/payment.js +13 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/payment.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/permissions.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/permissions.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/permissions.js +13 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/permissions.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/pressure.d.ts +27 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/pressure.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/pressure.js +20 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/pressure.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/privacy.d.ts +18 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/privacy.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/privacy.js +14 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/privacy.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/reporting.d.ts +16 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/reporting.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/reporting.js +16 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/reporting.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/selenium.d.ts +19 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/selenium.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/selenium.js +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/selenium.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/sensor.d.ts +30 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/sensor.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/sensor.js +24 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/sensor.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/storage-access.d.ts +15 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/storage-access.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/storage-access.js +13 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/storage-access.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/webauthn.d.ts +51 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/webauthn.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/webauthn.js +48 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/extensions/webauthn.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.d.ts +898 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.js +90 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/index.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.d.ts +80 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.js +58 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/jsonwp.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.d.ts +53 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.js +29 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/mjsonwp.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.d.ts +361 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.js +246 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/routes/w3c.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/validators.d.ts +5 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/validators.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/validators.js +21 -0
- package/node_modules/@appium/base-driver/build/lib/protocol/validators.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/crash.d.ts +9 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/crash.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/crash.js +18 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/crash.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/env.d.ts +5 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/env.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/env.js +12 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/env.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.d.ts +10 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.js +66 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/handlers.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/index.d.ts +6 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/index.js +35 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/index.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.d.ts +8 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.js +23 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/static-dir.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/template.d.ts +3 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/template.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/template.js +19 -0
- package/node_modules/@appium/base-driver/build/lib/test-pages/template.js.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/utils.d.ts +14 -0
- package/node_modules/@appium/base-driver/build/lib/utils.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/build/lib/utils.js +55 -0
- package/node_modules/@appium/base-driver/build/lib/utils.js.map +1 -0
- package/node_modules/@appium/base-driver/lib/basedriver/capabilities.ts +413 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/bidi-subscriptions.ts +36 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/bidi.ts +88 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/event.ts +49 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/execute.ts +48 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts +120 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/index.ts +6 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/log.ts +35 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/mixin.ts +15 -0
- package/node_modules/@appium/base-driver/lib/basedriver/commands/timeout.ts +136 -0
- package/node_modules/@appium/base-driver/lib/basedriver/core.ts +406 -0
- package/node_modules/@appium/base-driver/lib/basedriver/device-settings.ts +64 -0
- package/node_modules/@appium/base-driver/lib/basedriver/driver.ts +451 -0
- package/node_modules/@appium/base-driver/lib/basedriver/extension-core.ts +165 -0
- package/node_modules/@appium/base-driver/lib/basedriver/helpers.ts +621 -0
- package/node_modules/@appium/base-driver/lib/basedriver/ipc.ts +193 -0
- package/node_modules/@appium/base-driver/lib/basedriver/logger.ts +3 -0
- package/node_modules/@appium/base-driver/lib/basedriver/validation.ts +142 -0
- package/node_modules/@appium/base-driver/lib/constants.ts +19 -0
- package/node_modules/@appium/base-driver/lib/express/express-logging.ts +80 -0
- package/node_modules/@appium/base-driver/lib/express/idempotency.ts +198 -0
- package/node_modules/@appium/base-driver/lib/express/logger.ts +3 -0
- package/node_modules/@appium/base-driver/lib/express/middleware.ts +207 -0
- package/node_modules/@appium/base-driver/lib/express/server.ts +443 -0
- package/node_modules/@appium/base-driver/lib/express/websocket.ts +71 -0
- package/node_modules/@appium/base-driver/lib/helpers/capabilities.ts +87 -0
- package/node_modules/@appium/base-driver/lib/helpers/extension-command-name.ts +25 -0
- package/node_modules/@appium/base-driver/lib/helpers/levenshtein-match.ts +75 -0
- package/node_modules/@appium/base-driver/lib/helpers/session.ts +8 -0
- package/node_modules/@appium/base-driver/lib/index.ts +50 -0
- package/node_modules/@appium/base-driver/lib/jsonwp-proxy/protocol-converter.ts +246 -0
- package/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy-request.ts +52 -0
- package/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.ts +478 -0
- package/node_modules/@appium/base-driver/lib/jsonwp-status/status.ts +120 -0
- package/node_modules/@appium/base-driver/lib/protocol/bidi-commands.ts +41 -0
- package/node_modules/@appium/base-driver/lib/protocol/errors.ts +1125 -0
- package/node_modules/@appium/base-driver/lib/protocol/helpers.ts +41 -0
- package/node_modules/@appium/base-driver/lib/protocol/index.ts +38 -0
- package/node_modules/@appium/base-driver/lib/protocol/protocol.ts +624 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/appium-device.ts +92 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/appium.ts +40 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/chromium-cdp.ts +11 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/custom-handlers.ts +11 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/device-posture.ts +12 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/fedcm.ts +32 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/index.ts +36 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/payment.ts +11 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/permissions.ts +11 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/pressure.ts +18 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/privacy.ts +12 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/reporting.ts +14 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/selenium.ts +13 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/sensor.ts +22 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/storage-access.ts +11 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/extensions/webauthn.ts +46 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/index.ts +94 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/jsonwp.ts +56 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/mjsonwp.ts +27 -0
- package/node_modules/@appium/base-driver/lib/protocol/routes/w3c.ts +253 -0
- package/node_modules/@appium/base-driver/lib/protocol/validators.ts +20 -0
- package/node_modules/@appium/base-driver/lib/test-pages/crash.ts +15 -0
- package/node_modules/@appium/base-driver/lib/test-pages/env.ts +9 -0
- package/node_modules/@appium/base-driver/lib/test-pages/handlers.ts +67 -0
- package/node_modules/@appium/base-driver/lib/test-pages/index.ts +36 -0
- package/node_modules/@appium/base-driver/lib/test-pages/static-dir.ts +19 -0
- package/node_modules/@appium/base-driver/lib/test-pages/template.ts +15 -0
- package/node_modules/@appium/base-driver/lib/utils.ts +62 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/README.md +258 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts +9 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/asyncfilter.js +35 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/asyncfilter.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts +9 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/asyncmap.js +23 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/asyncmap.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/errors.d.ts +9 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/errors.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/errors.js +20 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/errors.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/index.d.ts +12 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/index.js +24 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/index.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts +3 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/limit-function.js +15 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/limit-function.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/lock.d.ts +74 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/lock.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/lock.js +295 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/lock.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts +15 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/long-sleep.js +36 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/long-sleep.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/retry.d.ts +17 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/retry.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/retry.js +57 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/retry.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/sleep.d.ts +20 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/sleep.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/sleep.js +61 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/sleep.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/types.d.ts +84 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/types.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/types.js +3 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/types.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js +51 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts +16 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/with-timeout.js +45 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/lib/with-timeout.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/cjs/package.json +3 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts +9 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/asyncfilter.js +32 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/asyncfilter.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts +9 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/asyncmap.js +20 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/asyncmap.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/errors.d.ts +9 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/errors.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/errors.js +15 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/errors.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/index.d.ts +12 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/index.js +10 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/index.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/limit-function.d.ts +3 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/limit-function.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/limit-function.js +12 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/limit-function.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/lock.d.ts +74 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/lock.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/lock.js +291 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/lock.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts +15 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/long-sleep.js +33 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/long-sleep.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/retry.d.ts +17 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/retry.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/retry.js +53 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/retry.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/sleep.d.ts +20 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/sleep.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/sleep.js +58 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/sleep.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/types.d.ts +84 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/types.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/types.js +2 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/types.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/wait-for-condition.js +48 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts +16 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/with-timeout.js +42 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/lib/with-timeout.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/build/esm/package.json +3 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/asyncfilter.ts +38 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/asyncmap.ts +29 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/errors.ts +15 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/index.ts +21 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/limit-function.ts +18 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/lock.ts +360 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/long-sleep.ts +38 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/retry.ts +61 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/sleep.ts +79 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/types.ts +88 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/wait-for-condition.ts +52 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/lib/with-timeout.ts +43 -0
- package/node_modules/@appium/base-driver/node_modules/asyncbox/package.json +74 -0
- package/node_modules/@appium/base-driver/node_modules/axios/CHANGELOG.md +1934 -0
- package/node_modules/@appium/base-driver/node_modules/axios/LICENSE +7 -0
- package/node_modules/@appium/base-driver/node_modules/axios/MIGRATION_GUIDE.md +877 -0
- package/node_modules/@appium/base-driver/node_modules/axios/README.md +2851 -0
- package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.js +5807 -0
- package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.min.js +5 -0
- package/node_modules/@appium/base-driver/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/axios/dist/browser/axios.cjs +5829 -0
- package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.js +5850 -0
- package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/node_modules/@appium/base-driver/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/@appium/base-driver/node_modules/axios/dist/node/axios.cjs +6808 -0
- package/node_modules/@appium/base-driver/node_modules/axios/index.d.cts +766 -0
- package/node_modules/@appium/base-driver/node_modules/axios/index.d.ts +787 -0
- package/node_modules/@appium/base-driver/node_modules/axios/index.js +45 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/README.md +36 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/adapters.js +132 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/fetch.js +696 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/http.js +1490 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/adapters/xhr.js +277 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/axios.js +89 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/Axios.js +306 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/AxiosError.js +219 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/InterceptorManager.js +171 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/buildFullPath.js +76 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/dispatchRequest.js +95 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/mergeConfig.js +174 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/settle.js +27 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/core/transformData.js +28 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/defaults/index.js +178 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/defaults/transitional.js +10 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/env/data.js +1 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/bind.js +14 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/callbackify.js +18 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/combineURLs.js +23 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/composeSignals.js +68 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/cookies.js +64 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/spread.js +28 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/throttle.js +45 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/toFormData.js +279 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/trackStream.js +89 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/helpers/validator.js +112 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/common/utils.js +52 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/index.js +7 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/platform/node/index.js +37 -0
- package/node_modules/@appium/base-driver/node_modules/axios/lib/utils.js +1150 -0
- package/node_modules/@appium/base-driver/node_modules/axios/package.json +203 -0
- package/node_modules/@appium/base-driver/package.json +75 -0
- 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 +5 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/frameset.html +10 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig-app-banner.html +84 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig-scrollable.html +135 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig.html +90 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig2.html +11 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig3.html +11 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig4.html +11 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/guinea-pig5.html +11 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/iframes.html +14 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/shadow-dom.html +34 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe1.html +9 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe2.html +8 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/subframe3.html +11 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/touch.html +56 -0
- package/node_modules/@appium/base-driver/test-fixtures/static/test/welcome.html +10 -0
- package/node_modules/@appium/base-driver/tsconfig.json +28 -0
- package/node_modules/@appium/support/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/@appium/support/node_modules/asyncbox/README.md +258 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts +9 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncfilter.js +35 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncfilter.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts +9 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncmap.js +23 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncmap.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/errors.d.ts +9 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/errors.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/errors.js +20 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/errors.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/index.d.ts +12 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/index.js +24 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/index.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts +3 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/limit-function.js +15 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/limit-function.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/lock.d.ts +74 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/lock.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/lock.js +295 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/lock.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts +15 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/long-sleep.js +36 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/long-sleep.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/retry.d.ts +17 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/retry.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/retry.js +57 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/retry.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/sleep.d.ts +20 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/sleep.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/sleep.js +61 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/sleep.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.d.ts +84 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.js +3 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js +51 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts +16 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/with-timeout.js +45 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/with-timeout.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/package.json +3 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts +9 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncfilter.js +32 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncfilter.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts +9 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncmap.js +20 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncmap.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/errors.d.ts +9 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/errors.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/errors.js +15 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/errors.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/index.d.ts +12 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/index.js +10 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/index.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/limit-function.d.ts +3 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/limit-function.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/limit-function.js +12 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/limit-function.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/lock.d.ts +74 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/lock.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/lock.js +291 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/lock.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts +15 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/long-sleep.js +33 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/long-sleep.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/retry.d.ts +17 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/retry.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/retry.js +53 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/retry.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/sleep.d.ts +20 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/sleep.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/sleep.js +58 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/sleep.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.d.ts +84 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.js +2 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/wait-for-condition.js +48 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts +16 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/with-timeout.js +42 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/with-timeout.js.map +1 -0
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/package.json +3 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/asyncfilter.ts +38 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/asyncmap.ts +29 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/errors.ts +15 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/index.ts +21 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/limit-function.ts +18 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/lock.ts +360 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/long-sleep.ts +38 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/retry.ts +61 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/sleep.ts +79 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/types.ts +88 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/wait-for-condition.ts +52 -0
- package/node_modules/@appium/support/node_modules/asyncbox/lib/with-timeout.ts +43 -0
- package/node_modules/@appium/support/node_modules/asyncbox/package.json +74 -0
- package/node_modules/accepts/HISTORY.md +250 -0
- package/node_modules/accepts/LICENSE +23 -0
- package/node_modules/accepts/README.md +140 -0
- package/node_modules/accepts/index.js +238 -0
- package/node_modules/accepts/package.json +47 -0
- package/node_modules/appium-chromedriver/CHANGELOG.md +1932 -0
- package/node_modules/appium-chromedriver/LICENSE +201 -0
- package/node_modules/appium-chromedriver/README.md +146 -0
- package/node_modules/appium-chromedriver/build/lib/chromedriver.d.ts +121 -0
- package/node_modules/appium-chromedriver/build/lib/chromedriver.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/chromedriver.js +307 -0
- package/node_modules/appium-chromedriver/build/lib/chromedriver.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/binary.d.ts +28 -0
- package/node_modules/appium-chromedriver/build/lib/commands/binary.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/binary.js +300 -0
- package/node_modules/appium-chromedriver/build/lib/commands/binary.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/process.d.ts +18 -0
- package/node_modules/appium-chromedriver/build/lib/commands/process.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/process.js +104 -0
- package/node_modules/appium-chromedriver/build/lib/commands/process.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/session.d.ts +28 -0
- package/node_modules/appium-chromedriver/build/lib/commands/session.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/session.js +88 -0
- package/node_modules/appium-chromedriver/build/lib/commands/session.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/types.d.ts +32 -0
- package/node_modules/appium-chromedriver/build/lib/commands/types.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/types.js +2 -0
- package/node_modules/appium-chromedriver/build/lib/commands/types.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/version.d.ts +7 -0
- package/node_modules/appium-chromedriver/build/lib/commands/version.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/commands/version.js +94 -0
- package/node_modules/appium-chromedriver/build/lib/commands/version.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/constants.d.ts +30 -0
- package/node_modules/appium-chromedriver/build/lib/constants.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/constants.js +32 -0
- package/node_modules/appium-chromedriver/build/lib/constants.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/index.d.ts +6 -0
- package/node_modules/appium-chromedriver/build/lib/index.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/index.js +5 -0
- package/node_modules/appium-chromedriver/build/lib/index.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/chromelabs.d.ts +22 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/chromelabs.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/chromelabs.js +136 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/chromelabs.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/googleapis.d.ts +30 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/googleapis.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/googleapis.js +162 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/googleapis.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.d.ts +73 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.js +347 -0
- package/node_modules/appium-chromedriver/build/lib/storage-client/storage-client.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/types.d.ts +117 -0
- package/node_modules/appium-chromedriver/build/lib/types.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/types.js +2 -0
- package/node_modules/appium-chromedriver/build/lib/types.js.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/utils.d.ts +81 -0
- package/node_modules/appium-chromedriver/build/lib/utils.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/build/lib/utils.js +164 -0
- package/node_modules/appium-chromedriver/build/lib/utils.js.map +1 -0
- package/node_modules/appium-chromedriver/config/mapping.json +283 -0
- package/node_modules/appium-chromedriver/lib/chromedriver.ts +363 -0
- package/node_modules/appium-chromedriver/lib/commands/binary.ts +379 -0
- package/node_modules/appium-chromedriver/lib/commands/process.ts +110 -0
- package/node_modules/appium-chromedriver/lib/commands/session.ts +105 -0
- package/node_modules/appium-chromedriver/lib/commands/types.ts +36 -0
- package/node_modules/appium-chromedriver/lib/commands/version.ts +108 -0
- package/node_modules/appium-chromedriver/lib/constants.ts +35 -0
- package/node_modules/appium-chromedriver/lib/index.ts +5 -0
- package/node_modules/appium-chromedriver/lib/storage-client/chromelabs.ts +167 -0
- package/node_modules/appium-chromedriver/lib/storage-client/googleapis.ts +199 -0
- package/node_modules/appium-chromedriver/lib/storage-client/storage-client.ts +413 -0
- package/node_modules/appium-chromedriver/lib/types.ts +116 -0
- package/node_modules/appium-chromedriver/lib/utils.ts +196 -0
- package/node_modules/appium-chromedriver/package.json +71 -0
- package/node_modules/async-lock/AUTHORS +21 -0
- package/node_modules/async-lock/History.md +132 -0
- package/node_modules/async-lock/LICENSE +22 -0
- package/node_modules/async-lock/README.md +177 -0
- package/node_modules/async-lock/index.js +2 -0
- package/node_modules/async-lock/lib/index.js +312 -0
- package/node_modules/async-lock/package.json +48 -0
- package/node_modules/asyncbox/README.md +18 -4
- 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 +4 -3
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.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 +4 -3
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -1
- 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 +4 -3
- package/node_modules/asyncbox/package.json +1 -1
- 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/basic-auth/HISTORY.md +52 -0
- package/node_modules/basic-auth/LICENSE +24 -0
- package/node_modules/basic-auth/README.md +113 -0
- package/node_modules/basic-auth/index.js +133 -0
- package/node_modules/basic-auth/package.json +41 -0
- package/node_modules/body-parser/LICENSE +23 -0
- package/node_modules/body-parser/README.md +513 -0
- package/node_modules/body-parser/index.js +55 -0
- package/node_modules/body-parser/lib/read.js +264 -0
- package/node_modules/body-parser/lib/types/json.js +186 -0
- package/node_modules/body-parser/lib/types/raw.js +42 -0
- package/node_modules/body-parser/lib/types/text.js +36 -0
- package/node_modules/body-parser/lib/types/urlencoded.js +138 -0
- package/node_modules/body-parser/lib/utils.js +85 -0
- package/node_modules/body-parser/package.json +60 -0
- package/node_modules/bytes/History.md +97 -0
- package/node_modules/bytes/LICENSE +23 -0
- package/node_modules/bytes/Readme.md +152 -0
- package/node_modules/bytes/index.js +170 -0
- package/node_modules/bytes/package.json +42 -0
- package/node_modules/call-bound/.eslintrc +13 -0
- package/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/node_modules/call-bound/.nycrc +9 -0
- package/node_modules/call-bound/CHANGELOG.md +42 -0
- package/node_modules/call-bound/LICENSE +21 -0
- package/node_modules/call-bound/README.md +53 -0
- package/node_modules/call-bound/index.d.ts +94 -0
- package/node_modules/call-bound/index.js +19 -0
- package/node_modules/call-bound/package.json +99 -0
- package/node_modules/call-bound/test/index.js +61 -0
- package/node_modules/call-bound/tsconfig.json +10 -0
- package/node_modules/content-disposition/LICENSE +22 -0
- package/node_modules/content-disposition/README.md +141 -0
- package/node_modules/content-disposition/index.js +536 -0
- package/node_modules/content-disposition/package.json +40 -0
- package/node_modules/content-type/LICENSE +22 -0
- package/node_modules/content-type/README.md +71 -0
- package/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/content-type/package.json +52 -0
- package/node_modules/cookie/LICENSE +24 -0
- package/node_modules/cookie/README.md +317 -0
- package/node_modules/cookie/SECURITY.md +25 -0
- package/node_modules/cookie/index.js +335 -0
- package/node_modules/cookie/package.json +44 -0
- package/node_modules/cookie-signature/History.md +70 -0
- package/node_modules/cookie-signature/LICENSE +22 -0
- package/node_modules/cookie-signature/Readme.md +23 -0
- package/node_modules/cookie-signature/index.js +47 -0
- package/node_modules/cookie-signature/package.json +24 -0
- package/node_modules/depd/History.md +103 -0
- package/node_modules/depd/LICENSE +22 -0
- package/node_modules/depd/Readme.md +280 -0
- package/node_modules/depd/index.js +538 -0
- package/node_modules/depd/lib/browser/index.js +77 -0
- package/node_modules/depd/package.json +45 -0
- package/node_modules/detect-node/LICENSE +21 -0
- package/node_modules/detect-node/Readme.md +30 -0
- package/node_modules/detect-node/browser.js +2 -0
- package/node_modules/detect-node/index.esm.js +2 -0
- package/node_modules/detect-node/index.js +2 -0
- package/node_modules/detect-node/package.json +25 -0
- package/node_modules/ee-first/LICENSE +22 -0
- package/node_modules/ee-first/README.md +80 -0
- package/node_modules/ee-first/index.js +95 -0
- package/node_modules/ee-first/package.json +29 -0
- package/node_modules/encodeurl/LICENSE +22 -0
- package/node_modules/encodeurl/README.md +123 -0
- package/node_modules/encodeurl/index.js +55 -0
- package/node_modules/encodeurl/package.json +44 -0
- package/node_modules/escape-html/LICENSE +24 -0
- package/node_modules/escape-html/Readme.md +43 -0
- package/node_modules/escape-html/index.js +78 -0
- package/node_modules/escape-html/package.json +24 -0
- package/node_modules/etag/HISTORY.md +83 -0
- package/node_modules/etag/LICENSE +22 -0
- package/node_modules/etag/README.md +159 -0
- package/node_modules/etag/index.js +131 -0
- package/node_modules/etag/package.json +47 -0
- package/node_modules/express/LICENSE +24 -0
- package/node_modules/express/Readme.md +276 -0
- package/node_modules/express/index.js +11 -0
- package/node_modules/express/lib/application.js +631 -0
- package/node_modules/express/lib/express.js +81 -0
- package/node_modules/express/lib/request.js +514 -0
- package/node_modules/express/lib/response.js +1053 -0
- package/node_modules/express/lib/utils.js +271 -0
- package/node_modules/express/lib/view.js +205 -0
- package/node_modules/express/node_modules/content-type/HISTORY.md +29 -0
- package/node_modules/express/node_modules/content-type/LICENSE +22 -0
- package/node_modules/express/node_modules/content-type/README.md +94 -0
- package/node_modules/express/node_modules/content-type/index.js +225 -0
- package/node_modules/express/node_modules/content-type/package.json +42 -0
- package/node_modules/express/package.json +99 -0
- package/node_modules/fastest-levenshtein/.eslintrc.json +30 -0
- package/node_modules/fastest-levenshtein/.prettierrc +4 -0
- package/node_modules/fastest-levenshtein/.travis.yml +21 -0
- package/node_modules/fastest-levenshtein/LICENSE.md +21 -0
- package/node_modules/fastest-levenshtein/README.md +57 -0
- package/node_modules/fastest-levenshtein/bench.js +96 -0
- package/node_modules/fastest-levenshtein/esm/mod.d.ts +4 -0
- package/node_modules/fastest-levenshtein/esm/mod.d.ts.map +1 -0
- package/node_modules/fastest-levenshtein/esm/mod.js +138 -0
- package/node_modules/fastest-levenshtein/mod.d.ts +3 -0
- package/node_modules/fastest-levenshtein/mod.js +142 -0
- package/node_modules/fastest-levenshtein/package.json +72 -0
- package/node_modules/fastest-levenshtein/test.js +55 -0
- package/node_modules/fastest-levenshtein/test.ts +67 -0
- package/node_modules/finalhandler/HISTORY.md +239 -0
- package/node_modules/finalhandler/LICENSE +22 -0
- package/node_modules/finalhandler/README.md +150 -0
- package/node_modules/finalhandler/index.js +293 -0
- package/node_modules/finalhandler/package.json +47 -0
- package/node_modules/forwarded/HISTORY.md +21 -0
- package/node_modules/forwarded/LICENSE +22 -0
- package/node_modules/forwarded/README.md +57 -0
- package/node_modules/forwarded/index.js +90 -0
- package/node_modules/forwarded/package.json +45 -0
- package/node_modules/fresh/HISTORY.md +80 -0
- package/node_modules/fresh/LICENSE +23 -0
- package/node_modules/fresh/README.md +117 -0
- package/node_modules/fresh/index.js +136 -0
- package/node_modules/fresh/package.json +46 -0
- package/node_modules/handle-thing/.travis.yml +15 -0
- package/node_modules/handle-thing/README.md +44 -0
- package/node_modules/handle-thing/lib/handle.js +263 -0
- package/node_modules/handle-thing/lib/queue.js +48 -0
- package/node_modules/handle-thing/package.json +38 -0
- package/node_modules/handle-thing/test/api-test.js +110 -0
- package/node_modules/hpack.js/.npmignore +2 -0
- package/node_modules/hpack.js/.travis.yml +6 -0
- package/node_modules/hpack.js/README.md +52 -0
- package/node_modules/hpack.js/bin/benchmark +34 -0
- package/node_modules/hpack.js/lib/hpack/compressor.js +127 -0
- package/node_modules/hpack.js/lib/hpack/decoder.js +169 -0
- package/node_modules/hpack.js/lib/hpack/decompressor.js +116 -0
- package/node_modules/hpack.js/lib/hpack/encoder.js +129 -0
- package/node_modules/hpack.js/lib/hpack/huffman.js +159 -0
- package/node_modules/hpack.js/lib/hpack/static-table.js +691 -0
- package/node_modules/hpack.js/lib/hpack/table.js +85 -0
- package/node_modules/hpack.js/lib/hpack/utils.js +25 -0
- package/node_modules/hpack.js/lib/hpack.js +12 -0
- package/node_modules/hpack.js/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/hpack.js/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/hpack.js/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/hpack.js/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/hpack.js/node_modules/readable-stream/README.md +58 -0
- package/node_modules/hpack.js/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/hpack.js/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/hpack.js/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/hpack.js/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/hpack.js/node_modules/readable-stream/package.json +52 -0
- package/node_modules/hpack.js/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/hpack.js/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/hpack.js/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/hpack.js/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/hpack.js/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/hpack.js/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/hpack.js/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/hpack.js/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/hpack.js/node_modules/string_decoder/README.md +47 -0
- package/node_modules/hpack.js/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/hpack.js/node_modules/string_decoder/package.json +31 -0
- package/node_modules/hpack.js/package.json +35 -0
- package/node_modules/hpack.js/test/compressor-test.js +136 -0
- package/node_modules/hpack.js/test/decoder-test.js +181 -0
- package/node_modules/hpack.js/test/decompressor-test.js +184 -0
- package/node_modules/hpack.js/test/encoder-test.js +166 -0
- package/node_modules/hpack.js/test/fixtures.js +232 -0
- package/node_modules/hpack.js/tools/gen-huffman.js +309 -0
- package/node_modules/hpack.js/tools/gen-static-table.js +103 -0
- package/node_modules/hpack.js/tools/utils.js +23 -0
- package/node_modules/http-deceiver/.npmignore +2 -0
- package/node_modules/http-deceiver/.travis.yml +5 -0
- package/node_modules/http-deceiver/README.md +31 -0
- package/node_modules/http-deceiver/lib/deceiver.js +250 -0
- package/node_modules/http-deceiver/package.json +30 -0
- package/node_modules/http-deceiver/test/api-test.js +226 -0
- package/node_modules/http-errors/HISTORY.md +186 -0
- package/node_modules/http-errors/LICENSE +23 -0
- package/node_modules/http-errors/README.md +169 -0
- package/node_modules/http-errors/index.js +290 -0
- package/node_modules/http-errors/package.json +54 -0
- package/node_modules/http-status-codes/LICENSE +19 -0
- package/node_modules/http-status-codes/README.md +140 -0
- package/node_modules/http-status-codes/build/cjs/index.d.ts +63 -0
- package/node_modules/http-status-codes/build/cjs/index.js +39 -0
- package/node_modules/http-status-codes/build/cjs/legacy.d.ts +326 -0
- package/node_modules/http-status-codes/build/cjs/legacy.js +330 -0
- package/node_modules/http-status-codes/build/cjs/reason-phrases.d.ts +356 -0
- package/node_modules/http-status-codes/build/cjs/reason-phrases.js +361 -0
- package/node_modules/http-status-codes/build/cjs/status-codes.d.ts +356 -0
- package/node_modules/http-status-codes/build/cjs/status-codes.js +361 -0
- package/node_modules/http-status-codes/build/cjs/utils-functions.d.ts +28 -0
- package/node_modules/http-status-codes/build/cjs/utils-functions.js +46 -0
- package/node_modules/http-status-codes/build/cjs/utils.d.ts +2 -0
- package/node_modules/http-status-codes/build/cjs/utils.js +124 -0
- package/node_modules/http-status-codes/build/es/index.d.ts +63 -0
- package/node_modules/http-status-codes/build/es/index.js +19 -0
- package/node_modules/http-status-codes/build/es/legacy.d.ts +326 -0
- package/node_modules/http-status-codes/build/es/legacy.js +327 -0
- package/node_modules/http-status-codes/build/es/reason-phrases.d.ts +356 -0
- package/node_modules/http-status-codes/build/es/reason-phrases.js +358 -0
- package/node_modules/http-status-codes/build/es/status-codes.d.ts +356 -0
- package/node_modules/http-status-codes/build/es/status-codes.js +358 -0
- package/node_modules/http-status-codes/build/es/utils-functions.d.ts +28 -0
- package/node_modules/http-status-codes/build/es/utils-functions.js +41 -0
- package/node_modules/http-status-codes/build/es/utils.d.ts +2 -0
- package/node_modules/http-status-codes/build/es/utils.js +121 -0
- package/node_modules/http-status-codes/package.json +51 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/node_modules/ipaddr.js/LICENSE +19 -0
- package/node_modules/ipaddr.js/README.md +233 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/node_modules/ipaddr.js/package.json +35 -0
- package/node_modules/is-promise/LICENSE +19 -0
- package/node_modules/is-promise/index.d.ts +2 -0
- package/node_modules/is-promise/index.js +6 -0
- package/node_modules/is-promise/index.mjs +3 -0
- package/node_modules/is-promise/package.json +30 -0
- package/node_modules/is-promise/readme.md +33 -0
- package/node_modules/media-typer/HISTORY.md +50 -0
- package/node_modules/media-typer/LICENSE +22 -0
- package/node_modules/media-typer/README.md +94 -0
- package/node_modules/media-typer/index.js +135 -0
- package/node_modules/media-typer/package.json +37 -0
- package/node_modules/merge-descriptors/index.d.ts +11 -0
- package/node_modules/merge-descriptors/index.js +26 -0
- package/node_modules/merge-descriptors/license +11 -0
- package/node_modules/merge-descriptors/package.json +50 -0
- package/node_modules/merge-descriptors/readme.md +55 -0
- package/node_modules/method-override/HISTORY.md +163 -0
- package/node_modules/method-override/LICENSE +23 -0
- package/node_modules/method-override/README.md +180 -0
- package/node_modules/method-override/index.js +144 -0
- package/node_modules/method-override/node_modules/debug/.coveralls.yml +1 -0
- package/node_modules/method-override/node_modules/debug/.eslintrc +14 -0
- package/node_modules/method-override/node_modules/debug/.npmignore +9 -0
- package/node_modules/method-override/node_modules/debug/.travis.yml +20 -0
- package/node_modules/method-override/node_modules/debug/CHANGELOG.md +395 -0
- package/node_modules/method-override/node_modules/debug/LICENSE +19 -0
- package/node_modules/method-override/node_modules/debug/Makefile +58 -0
- package/node_modules/method-override/node_modules/debug/README.md +368 -0
- package/node_modules/method-override/node_modules/debug/karma.conf.js +70 -0
- package/node_modules/method-override/node_modules/debug/node.js +1 -0
- package/node_modules/method-override/node_modules/debug/package.json +43 -0
- package/node_modules/method-override/node_modules/debug/src/browser.js +195 -0
- package/node_modules/method-override/node_modules/debug/src/debug.js +225 -0
- package/node_modules/method-override/node_modules/debug/src/index.js +10 -0
- package/node_modules/method-override/node_modules/debug/src/node.js +186 -0
- package/node_modules/method-override/node_modules/ms/index.js +152 -0
- package/node_modules/method-override/node_modules/ms/license.md +21 -0
- package/node_modules/method-override/node_modules/ms/package.json +37 -0
- package/node_modules/method-override/node_modules/ms/readme.md +51 -0
- package/node_modules/method-override/package.json +43 -0
- package/node_modules/methods/HISTORY.md +29 -0
- package/node_modules/methods/LICENSE +24 -0
- package/node_modules/methods/README.md +51 -0
- package/node_modules/methods/index.js +69 -0
- package/node_modules/methods/package.json +36 -0
- package/node_modules/mime-db/HISTORY.md +541 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +109 -0
- package/node_modules/mime-db/db.json +9342 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +56 -0
- package/node_modules/mime-types/HISTORY.md +428 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +126 -0
- package/node_modules/mime-types/index.js +211 -0
- package/node_modules/mime-types/mimeScore.js +57 -0
- package/node_modules/mime-types/package.json +49 -0
- package/node_modules/minimalistic-assert/LICENSE +13 -0
- package/node_modules/minimalistic-assert/index.js +11 -0
- package/node_modules/minimalistic-assert/package.json +19 -0
- package/node_modules/minimalistic-assert/readme.md +4 -0
- package/node_modules/morgan/LICENSE +23 -0
- package/node_modules/morgan/README.md +479 -0
- package/node_modules/morgan/index.js +596 -0
- package/node_modules/morgan/node_modules/debug/.coveralls.yml +1 -0
- package/node_modules/morgan/node_modules/debug/.eslintrc +11 -0
- package/node_modules/morgan/node_modules/debug/.npmignore +9 -0
- package/node_modules/morgan/node_modules/debug/.travis.yml +14 -0
- package/node_modules/morgan/node_modules/debug/CHANGELOG.md +362 -0
- package/node_modules/morgan/node_modules/debug/LICENSE +19 -0
- package/node_modules/morgan/node_modules/debug/Makefile +50 -0
- package/node_modules/morgan/node_modules/debug/README.md +312 -0
- package/node_modules/morgan/node_modules/debug/component.json +19 -0
- package/node_modules/morgan/node_modules/debug/karma.conf.js +70 -0
- package/node_modules/morgan/node_modules/debug/node.js +1 -0
- package/node_modules/morgan/node_modules/debug/package.json +49 -0
- package/node_modules/morgan/node_modules/debug/src/browser.js +185 -0
- package/node_modules/morgan/node_modules/debug/src/debug.js +202 -0
- package/node_modules/morgan/node_modules/debug/src/index.js +10 -0
- package/node_modules/morgan/node_modules/debug/src/inspector-log.js +15 -0
- package/node_modules/morgan/node_modules/debug/src/node.js +248 -0
- package/node_modules/morgan/node_modules/ms/index.js +152 -0
- package/node_modules/morgan/node_modules/ms/license.md +21 -0
- package/node_modules/morgan/node_modules/ms/package.json +37 -0
- package/node_modules/morgan/node_modules/ms/readme.md +51 -0
- package/node_modules/morgan/package.json +55 -0
- package/node_modules/negotiator/LICENSE +24 -0
- package/node_modules/negotiator/README.md +212 -0
- package/node_modules/negotiator/index.js +83 -0
- package/node_modules/negotiator/lib/accept.js +54 -0
- package/node_modules/negotiator/lib/charset.js +145 -0
- package/node_modules/negotiator/lib/encoding.js +184 -0
- package/node_modules/negotiator/lib/language.js +158 -0
- package/node_modules/negotiator/lib/mediaType.js +176 -0
- package/node_modules/negotiator/package.json +49 -0
- package/node_modules/object-inspect/.eslintrc +53 -0
- package/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/node_modules/object-inspect/.nycrc +13 -0
- package/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/example/all.js +23 -0
- package/node_modules/object-inspect/example/circular.js +6 -0
- package/node_modules/object-inspect/example/fn.js +5 -0
- package/node_modules/object-inspect/example/inspect.js +10 -0
- package/node_modules/object-inspect/index.js +544 -0
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +105 -0
- package/node_modules/object-inspect/readme.markdown +84 -0
- package/node_modules/object-inspect/test/bigint.js +58 -0
- package/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/node_modules/object-inspect/test/circular.js +16 -0
- package/node_modules/object-inspect/test/deep.js +12 -0
- package/node_modules/object-inspect/test/element.js +53 -0
- package/node_modules/object-inspect/test/err.js +48 -0
- package/node_modules/object-inspect/test/fakes.js +29 -0
- package/node_modules/object-inspect/test/fn.js +76 -0
- package/node_modules/object-inspect/test/global.js +17 -0
- package/node_modules/object-inspect/test/has.js +15 -0
- package/node_modules/object-inspect/test/holes.js +15 -0
- package/node_modules/object-inspect/test/indent-option.js +271 -0
- package/node_modules/object-inspect/test/inspect.js +139 -0
- package/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/node_modules/object-inspect/test/number.js +58 -0
- package/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/node_modules/object-inspect/test/undef.js +12 -0
- package/node_modules/object-inspect/test/values.js +261 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/obuf/LICENSE +20 -0
- package/node_modules/obuf/README.md +12 -0
- package/node_modules/obuf/index.js +396 -0
- package/node_modules/obuf/package.json +27 -0
- package/node_modules/obuf/test/buffer-test.js +268 -0
- package/node_modules/on-finished/LICENSE +23 -0
- package/node_modules/on-finished/README.md +162 -0
- package/node_modules/on-finished/index.js +246 -0
- package/node_modules/on-finished/package.json +43 -0
- package/node_modules/on-headers/HISTORY.md +26 -0
- package/node_modules/on-headers/LICENSE +22 -0
- package/node_modules/on-headers/README.md +81 -0
- package/node_modules/on-headers/index.js +180 -0
- package/node_modules/on-headers/package.json +44 -0
- package/node_modules/parseurl/HISTORY.md +58 -0
- package/node_modules/parseurl/LICENSE +24 -0
- package/node_modules/parseurl/README.md +133 -0
- package/node_modules/parseurl/index.js +158 -0
- package/node_modules/parseurl/package.json +40 -0
- package/node_modules/path-to-regexp/LICENSE +21 -0
- package/node_modules/path-to-regexp/Readme.md +224 -0
- package/node_modules/path-to-regexp/dist/index.d.ts +147 -0
- package/node_modules/path-to-regexp/dist/index.js +431 -0
- package/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/node_modules/path-to-regexp/package.json +64 -0
- package/node_modules/proxy-addr/HISTORY.md +167 -0
- package/node_modules/proxy-addr/LICENSE +22 -0
- package/node_modules/proxy-addr/README.md +139 -0
- package/node_modules/proxy-addr/index.js +359 -0
- package/node_modules/proxy-addr/package.json +51 -0
- package/node_modules/qs/.editorconfig +46 -0
- package/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/qs/.github/SECURITY.md +11 -0
- package/node_modules/qs/.github/THREAT_MODEL.md +80 -0
- package/node_modules/qs/.nycrc +13 -0
- package/node_modules/qs/CHANGELOG.md +937 -0
- package/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/qs/README.md +857 -0
- package/node_modules/qs/dist/qs.js +141 -0
- package/node_modules/qs/eslint.config.mjs +68 -0
- package/node_modules/qs/lib/formats.js +28 -0
- package/node_modules/qs/lib/index.js +11 -0
- package/node_modules/qs/lib/parse.js +522 -0
- package/node_modules/qs/lib/stringify.js +380 -0
- package/node_modules/qs/lib/utils.js +531 -0
- package/node_modules/qs/package.json +95 -0
- package/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/node_modules/qs/test/parse.js +2629 -0
- package/node_modules/qs/test/stringify.js +2217 -0
- package/node_modules/qs/test/utils.js +880 -0
- package/node_modules/range-parser/HISTORY.md +56 -0
- package/node_modules/range-parser/LICENSE +23 -0
- package/node_modules/range-parser/README.md +85 -0
- package/node_modules/range-parser/index.js +181 -0
- package/node_modules/range-parser/package.json +48 -0
- package/node_modules/raw-body/LICENSE +22 -0
- package/node_modules/raw-body/README.md +223 -0
- package/node_modules/raw-body/index.d.ts +85 -0
- package/node_modules/raw-body/index.js +336 -0
- package/node_modules/raw-body/package.json +46 -0
- package/node_modules/router/HISTORY.md +228 -0
- package/node_modules/router/LICENSE +23 -0
- package/node_modules/router/README.md +416 -0
- package/node_modules/router/index.js +748 -0
- package/node_modules/router/lib/layer.js +247 -0
- package/node_modules/router/lib/route.js +242 -0
- package/node_modules/router/package.json +44 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/select-hose/.jscsrc +46 -0
- package/node_modules/select-hose/.jshintrc +89 -0
- package/node_modules/select-hose/.npmignore +2 -0
- package/node_modules/select-hose/.travis.yml +5 -0
- package/node_modules/select-hose/README.md +31 -0
- package/node_modules/select-hose/lib/hose.js +101 -0
- package/node_modules/select-hose/package.json +31 -0
- package/node_modules/select-hose/test/api-test.js +111 -0
- package/node_modules/select-hose/test/fixtures.js +14 -0
- package/node_modules/send/LICENSE +23 -0
- package/node_modules/send/README.md +317 -0
- package/node_modules/send/index.js +997 -0
- package/node_modules/send/package.json +63 -0
- package/node_modules/serve-favicon/HISTORY.md +194 -0
- package/node_modules/serve-favicon/LICENSE +25 -0
- package/node_modules/serve-favicon/README.md +136 -0
- package/node_modules/serve-favicon/index.js +226 -0
- package/node_modules/serve-favicon/node_modules/fresh/HISTORY.md +70 -0
- package/node_modules/serve-favicon/node_modules/fresh/LICENSE +23 -0
- package/node_modules/serve-favicon/node_modules/fresh/README.md +119 -0
- package/node_modules/serve-favicon/node_modules/fresh/index.js +137 -0
- package/node_modules/serve-favicon/node_modules/fresh/package.json +46 -0
- package/node_modules/serve-favicon/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/serve-favicon/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/serve-favicon/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/serve-favicon/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/serve-favicon/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/serve-favicon/package.json +47 -0
- package/node_modules/serve-static/LICENSE +25 -0
- package/node_modules/serve-static/README.md +253 -0
- package/node_modules/serve-static/index.js +208 -0
- package/node_modules/serve-static/package.json +44 -0
- package/node_modules/setprototypeof/LICENSE +13 -0
- package/node_modules/setprototypeof/README.md +31 -0
- package/node_modules/setprototypeof/index.d.ts +2 -0
- package/node_modules/setprototypeof/index.js +17 -0
- package/node_modules/setprototypeof/package.json +38 -0
- package/node_modules/setprototypeof/test/index.js +24 -0
- package/node_modules/side-channel/.editorconfig +9 -0
- package/node_modules/side-channel/.eslintrc +12 -0
- package/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel/.nycrc +13 -0
- package/node_modules/side-channel/CHANGELOG.md +120 -0
- package/node_modules/side-channel/LICENSE +21 -0
- package/node_modules/side-channel/README.md +61 -0
- package/node_modules/side-channel/index.d.ts +14 -0
- package/node_modules/side-channel/index.js +46 -0
- package/node_modules/side-channel/package.json +85 -0
- package/node_modules/side-channel/test/index.js +120 -0
- package/node_modules/side-channel/tsconfig.json +9 -0
- package/node_modules/side-channel-list/.editorconfig +9 -0
- package/node_modules/side-channel-list/.eslintrc +11 -0
- package/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-list/.nycrc +13 -0
- package/node_modules/side-channel-list/CHANGELOG.md +36 -0
- package/node_modules/side-channel-list/LICENSE +21 -0
- package/node_modules/side-channel-list/README.md +62 -0
- package/node_modules/side-channel-list/index.d.ts +13 -0
- package/node_modules/side-channel-list/index.js +111 -0
- package/node_modules/side-channel-list/list.d.ts +14 -0
- package/node_modules/side-channel-list/package.json +77 -0
- package/node_modules/side-channel-list/test/index.js +154 -0
- package/node_modules/side-channel-list/tsconfig.json +9 -0
- package/node_modules/side-channel-map/.editorconfig +9 -0
- package/node_modules/side-channel-map/.eslintrc +11 -0
- package/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-map/.nycrc +13 -0
- package/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/node_modules/side-channel-map/LICENSE +21 -0
- package/node_modules/side-channel-map/README.md +62 -0
- package/node_modules/side-channel-map/index.d.ts +15 -0
- package/node_modules/side-channel-map/index.js +68 -0
- package/node_modules/side-channel-map/package.json +80 -0
- package/node_modules/side-channel-map/test/index.js +114 -0
- package/node_modules/side-channel-map/tsconfig.json +9 -0
- package/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/node_modules/side-channel-weakmap/README.md +62 -0
- package/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/node_modules/side-channel-weakmap/index.js +84 -0
- package/node_modules/side-channel-weakmap/package.json +87 -0
- package/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/node_modules/spdy/.travis.yml +13 -0
- package/node_modules/spdy/README.md +267 -0
- package/node_modules/spdy/lib/spdy/agent.js +295 -0
- package/node_modules/spdy/lib/spdy/handle.js +247 -0
- package/node_modules/spdy/lib/spdy/request.js +33 -0
- package/node_modules/spdy/lib/spdy/response.js +100 -0
- package/node_modules/spdy/lib/spdy/server.js +288 -0
- package/node_modules/spdy/lib/spdy/socket.js +39 -0
- package/node_modules/spdy/lib/spdy.js +20 -0
- package/node_modules/spdy/package.json +54 -0
- package/node_modules/spdy/test/client-test.js +242 -0
- package/node_modules/spdy/test/fixtures.js +95 -0
- package/node_modules/spdy/test/server-test.js +487 -0
- package/node_modules/spdy-transport/.travis.yml +14 -0
- package/node_modules/spdy-transport/README.md +76 -0
- package/node_modules/spdy-transport/lib/spdy-transport/connection.js +845 -0
- package/node_modules/spdy-transport/lib/spdy-transport/priority.js +188 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/constants.js +4 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/framer.js +58 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/index.js +7 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/parser.js +106 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/scheduler.js +216 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/base/utils.js +94 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/constants.js +93 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/framer.js +542 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/hpack-pool.js +34 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/index.js +8 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/http2/parser.js +578 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/constants.js +146 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/dictionary.js +203 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/framer.js +519 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/index.js +9 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/parser.js +485 -0
- package/node_modules/spdy-transport/lib/spdy-transport/protocol/spdy/zlib-pool.js +65 -0
- package/node_modules/spdy-transport/lib/spdy-transport/stream.js +710 -0
- package/node_modules/spdy-transport/lib/spdy-transport/utils.js +196 -0
- package/node_modules/spdy-transport/lib/spdy-transport/window.js +174 -0
- package/node_modules/spdy-transport/lib/spdy-transport.js +25 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/README.md +106 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/package.json +68 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/spdy-transport/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/spdy-transport/package.json +43 -0
- package/node_modules/statuses/HISTORY.md +87 -0
- package/node_modules/statuses/LICENSE +23 -0
- package/node_modules/statuses/README.md +139 -0
- package/node_modules/statuses/codes.json +65 -0
- package/node_modules/statuses/index.js +146 -0
- package/node_modules/statuses/package.json +49 -0
- package/node_modules/toidentifier/HISTORY.md +9 -0
- package/node_modules/toidentifier/LICENSE +21 -0
- package/node_modules/toidentifier/README.md +61 -0
- package/node_modules/toidentifier/index.js +32 -0
- package/node_modules/toidentifier/package.json +38 -0
- package/node_modules/type-is/HISTORY.md +292 -0
- package/node_modules/type-is/LICENSE +23 -0
- package/node_modules/type-is/README.md +198 -0
- package/node_modules/type-is/index.js +240 -0
- package/node_modules/type-is/package.json +51 -0
- package/node_modules/unpipe/HISTORY.md +4 -0
- package/node_modules/unpipe/LICENSE +22 -0
- package/node_modules/unpipe/README.md +43 -0
- package/node_modules/unpipe/index.js +69 -0
- package/node_modules/unpipe/package.json +27 -0
- package/node_modules/vary/HISTORY.md +39 -0
- package/node_modules/vary/LICENSE +22 -0
- package/node_modules/vary/README.md +101 -0
- package/node_modules/vary/index.js +149 -0
- package/node_modules/vary/package.json +43 -0
- package/node_modules/wbuf/README.md +26 -0
- package/node_modules/wbuf/index.js +425 -0
- package/node_modules/wbuf/package.json +29 -0
- package/node_modules/wbuf/test/wbuf-test.js +357 -0
- package/node_modules/xpath/LICENSE +22 -0
- package/node_modules/xpath/README.md +133 -0
- package/node_modules/xpath/package.json +43 -0
- package/node_modules/xpath/xpath.d.ts +110 -0
- package/node_modules/xpath/xpath.js +5056 -0
- package/package.json +4 -2
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BaseDriver = void 0;
|
|
40
|
+
const support_1 = require("@appium/support");
|
|
41
|
+
const types_1 = require("@appium/types");
|
|
42
|
+
const capabilities_1 = require("../helpers/capabilities");
|
|
43
|
+
const extension_command_name_1 = require("../helpers/extension-command-name");
|
|
44
|
+
const levenshtein_match_1 = require("../helpers/levenshtein-match");
|
|
45
|
+
const session_1 = require("../helpers/session");
|
|
46
|
+
const protocol_1 = require("../protocol");
|
|
47
|
+
const utils_1 = require("../utils");
|
|
48
|
+
const capabilities_2 = require("./capabilities");
|
|
49
|
+
const bidi_subscriptions_1 = require("./commands/bidi-subscriptions");
|
|
50
|
+
const core_1 = require("./core");
|
|
51
|
+
const helpers = __importStar(require("./helpers"));
|
|
52
|
+
const EVENT_SESSION_INIT = 'newSessionRequested';
|
|
53
|
+
const EVENT_SESSION_START = 'newSessionStarted';
|
|
54
|
+
const EVENT_SESSION_QUIT_START = 'quitSessionRequested';
|
|
55
|
+
const EVENT_SESSION_QUIT_DONE = 'quitSessionFinished';
|
|
56
|
+
const ON_UNEXPECTED_SHUTDOWN_EVENT = 'onUnexpectedShutdown';
|
|
57
|
+
class BaseDriver extends core_1.DriverCore {
|
|
58
|
+
cliArgs;
|
|
59
|
+
caps;
|
|
60
|
+
originalCaps;
|
|
61
|
+
desiredCapConstraints;
|
|
62
|
+
server;
|
|
63
|
+
serverHost;
|
|
64
|
+
serverPort;
|
|
65
|
+
serverPath;
|
|
66
|
+
constructor(opts, shouldValidateCaps = true) {
|
|
67
|
+
super(opts, shouldValidateCaps);
|
|
68
|
+
this.caps = {};
|
|
69
|
+
this.cliArgs = {};
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Contains the base constraints plus whatever the subclass wants to add.
|
|
73
|
+
*
|
|
74
|
+
* Subclasses _shouldn't_ need to use this. If you need to use this, please create
|
|
75
|
+
* an issue:
|
|
76
|
+
* @see {@link https://github.com/appium/appium/issues/new}
|
|
77
|
+
*/
|
|
78
|
+
get _desiredCapConstraints() {
|
|
79
|
+
return Object.freeze((0, utils_1.mergePlainObjects)({}, types_1.BASE_DESIRED_CAP_CONSTRAINTS, this.desiredCapConstraints));
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* This is the main command handler for the driver. It wraps command
|
|
83
|
+
* execution with timeout logic, checking that we have a valid session,
|
|
84
|
+
* and ensuring that we execute commands one at a time. This method is called
|
|
85
|
+
* by MJSONWP's express router.
|
|
86
|
+
*/
|
|
87
|
+
async executeCommand(cmd, ...args) {
|
|
88
|
+
// get start time for this command, and log in special cases
|
|
89
|
+
const startTime = Date.now();
|
|
90
|
+
if (cmd === 'createSession') {
|
|
91
|
+
// If creating a session determine if W3C or MJSONWP protocol was requested and remember the choice
|
|
92
|
+
this.protocol = (0, protocol_1.determineProtocol)(args);
|
|
93
|
+
this.logEvent(EVENT_SESSION_INIT);
|
|
94
|
+
}
|
|
95
|
+
else if (cmd === protocol_1.DELETE_SESSION_COMMAND) {
|
|
96
|
+
this.logEvent(EVENT_SESSION_QUIT_START);
|
|
97
|
+
}
|
|
98
|
+
// if we had a command timer running, clear it now that we're starting
|
|
99
|
+
// a new command and so don't want to time out
|
|
100
|
+
await this.clearNewCommandTimeout();
|
|
101
|
+
if (this.shutdownUnexpectedly) {
|
|
102
|
+
throw new protocol_1.errors.NoSuchDriverError('The driver was unexpectedly shut down!');
|
|
103
|
+
}
|
|
104
|
+
const invoker = this;
|
|
105
|
+
const command = invoker[cmd];
|
|
106
|
+
// If we don't have this command, it must not be implemented
|
|
107
|
+
if (!command) {
|
|
108
|
+
await this.startNewCommandTimeout();
|
|
109
|
+
throw new protocol_1.errors.NotYetImplementedError();
|
|
110
|
+
}
|
|
111
|
+
const runCommandPromise = async () => {
|
|
112
|
+
let unexpectedShutdownRejecter = null;
|
|
113
|
+
let unexpectedShutdownResolver = null;
|
|
114
|
+
let wasSessionShutdownUnexpectedly = false;
|
|
115
|
+
const onUnexpectedShutdown = (e) => {
|
|
116
|
+
wasSessionShutdownUnexpectedly = true;
|
|
117
|
+
unexpectedShutdownRejecter?.(e);
|
|
118
|
+
};
|
|
119
|
+
try {
|
|
120
|
+
return await Promise.race([
|
|
121
|
+
command.call(this, ...args),
|
|
122
|
+
// This promise is needed to monitor if the session has been
|
|
123
|
+
// shut down unexpectedly while the command was running
|
|
124
|
+
new Promise((resolve, reject) => {
|
|
125
|
+
unexpectedShutdownResolver = resolve;
|
|
126
|
+
unexpectedShutdownRejecter = reject;
|
|
127
|
+
this.eventEmitter.once(ON_UNEXPECTED_SHUTDOWN_EVENT, onUnexpectedShutdown);
|
|
128
|
+
}),
|
|
129
|
+
]);
|
|
130
|
+
}
|
|
131
|
+
finally {
|
|
132
|
+
if (unexpectedShutdownRejecter && unexpectedShutdownResolver) {
|
|
133
|
+
// This is needed to prevent memory leaks
|
|
134
|
+
this.eventEmitter.removeListener(ON_UNEXPECTED_SHUTDOWN_EVENT, onUnexpectedShutdown);
|
|
135
|
+
unexpectedShutdownRejecter = null;
|
|
136
|
+
// @ts-ignore typescript cannot understand this
|
|
137
|
+
unexpectedShutdownResolver?.();
|
|
138
|
+
}
|
|
139
|
+
// if we have set a new command timeout (which is the default), start a
|
|
140
|
+
// timer once we've finished executing this command. If we don't clear
|
|
141
|
+
// the timer (which is done when a new command comes in), we will trigger
|
|
142
|
+
// automatic session deletion in this.onCommandTimeout. Of course we don't
|
|
143
|
+
// want to trigger the timer when the user is shutting down the session
|
|
144
|
+
// intentionally
|
|
145
|
+
if (!wasSessionShutdownUnexpectedly && this.isCommandsQueueEnabled && cmd !== protocol_1.DELETE_SESSION_COMMAND) {
|
|
146
|
+
// resetting existing timeout
|
|
147
|
+
await this.startNewCommandTimeout();
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
const synchronizationKey = BaseDriver.name;
|
|
152
|
+
const commandsQueueGuard = this.commandsQueueGuard;
|
|
153
|
+
const commandsQueueLen = commandsQueueGuard.queues?.[synchronizationKey]?.length ?? 0;
|
|
154
|
+
if (this.isCommandsQueueEnabled && commandsQueueLen > 0) {
|
|
155
|
+
this.log.debug(`Scheduling the '${cmd}' command to the ${this.constructor.name} commands queue. ` +
|
|
156
|
+
`${support_1.util.pluralize('queue item', commandsQueueLen, true)} ${commandsQueueLen === 1 ? 'is' : 'are'} ` +
|
|
157
|
+
`already waiting for execution.`);
|
|
158
|
+
}
|
|
159
|
+
const res = this.isCommandsQueueEnabled
|
|
160
|
+
? await this.commandsQueueGuard.acquire(synchronizationKey, runCommandPromise)
|
|
161
|
+
: await runCommandPromise();
|
|
162
|
+
// log timing information about this command
|
|
163
|
+
const endTime = Date.now();
|
|
164
|
+
if (this.clarifyCommandName) {
|
|
165
|
+
cmd = this.clarifyCommandName(cmd, args);
|
|
166
|
+
}
|
|
167
|
+
this._eventHistory.commands.push({ cmd, startTime, endTime });
|
|
168
|
+
if (cmd === 'createSession') {
|
|
169
|
+
this.logEvent(EVENT_SESSION_START);
|
|
170
|
+
}
|
|
171
|
+
else if (cmd === protocol_1.DELETE_SESSION_COMMAND) {
|
|
172
|
+
this.logEvent(EVENT_SESSION_QUIT_DONE);
|
|
173
|
+
}
|
|
174
|
+
return res;
|
|
175
|
+
}
|
|
176
|
+
clarifyCommandName(cmd, args) {
|
|
177
|
+
if (cmd === 'execute') {
|
|
178
|
+
const firstArg = args?.[0];
|
|
179
|
+
if (typeof firstArg === 'string' && firstArg.trim().length > 0) {
|
|
180
|
+
return extension_command_name_1.resolveExecuteExtensionName.call(this, firstArg);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return cmd;
|
|
184
|
+
}
|
|
185
|
+
async startUnexpectedShutdown(err = new protocol_1.errors.NoSuchDriverError('The driver was unexpectedly shut down!')) {
|
|
186
|
+
this.eventEmitter.emit(ON_UNEXPECTED_SHUTDOWN_EVENT, err); // allow others to listen for this
|
|
187
|
+
this.shutdownUnexpectedly = true;
|
|
188
|
+
try {
|
|
189
|
+
if (this.sessionId !== null) {
|
|
190
|
+
await this.deleteSession(this.sessionId);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
finally {
|
|
194
|
+
this.shutdownUnexpectedly = false;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
async startNewCommandTimeout() {
|
|
198
|
+
// make sure there are no rogue timeouts
|
|
199
|
+
await this.clearNewCommandTimeout();
|
|
200
|
+
// if command timeout is 0, it is disabled
|
|
201
|
+
if (!this.newCommandTimeoutMs)
|
|
202
|
+
return; // eslint-disable-line curly
|
|
203
|
+
this.noCommandTimer = setTimeout(async () => {
|
|
204
|
+
this.log.warn(`Shutting down because we waited ` + `${this.newCommandTimeoutMs / 1000.0} seconds for a command`);
|
|
205
|
+
const errorMessage = `New Command Timeout of ` +
|
|
206
|
+
`${this.newCommandTimeoutMs / 1000.0} seconds ` +
|
|
207
|
+
`expired. Try customizing the timeout using the ` +
|
|
208
|
+
`'newCommandTimeout' desired capability`;
|
|
209
|
+
await this.startUnexpectedShutdown(new Error(errorMessage));
|
|
210
|
+
}, this.newCommandTimeoutMs);
|
|
211
|
+
}
|
|
212
|
+
assignServer(server, host, port, path) {
|
|
213
|
+
this.server = server;
|
|
214
|
+
this.serverHost = host;
|
|
215
|
+
this.serverPort = port;
|
|
216
|
+
this.serverPath = path;
|
|
217
|
+
}
|
|
218
|
+
/*
|
|
219
|
+
* Restart the session with the original caps,
|
|
220
|
+
* preserving the timeout config.
|
|
221
|
+
*/
|
|
222
|
+
async reset() {
|
|
223
|
+
this.log.debug('Resetting app mid-session');
|
|
224
|
+
this.log.debug('Running generic full reset');
|
|
225
|
+
// preserving state
|
|
226
|
+
const currentConfig = {
|
|
227
|
+
implicitWaitMs: this.implicitWaitMs,
|
|
228
|
+
newCommandTimeoutMs: this.newCommandTimeoutMs,
|
|
229
|
+
sessionId: this.sessionId,
|
|
230
|
+
shutdownUnexpectedly: this.shutdownUnexpectedly,
|
|
231
|
+
};
|
|
232
|
+
try {
|
|
233
|
+
if (this.sessionId !== null) {
|
|
234
|
+
await this.deleteSession(this.sessionId);
|
|
235
|
+
}
|
|
236
|
+
this.log.debug('Restarting app');
|
|
237
|
+
await this.createSession(this.originalCaps);
|
|
238
|
+
}
|
|
239
|
+
finally {
|
|
240
|
+
// always restore state.
|
|
241
|
+
Object.assign(this, currentConfig);
|
|
242
|
+
}
|
|
243
|
+
await this.clearNewCommandTimeout();
|
|
244
|
+
}
|
|
245
|
+
async createSession(...legacyArgs) {
|
|
246
|
+
const [w3cCapabilities1, w3cCapabilities2, w3cCapabilities] = legacyArgs;
|
|
247
|
+
if (this.sessionId !== null) {
|
|
248
|
+
throw new protocol_1.errors.SessionNotCreatedError('Cannot create a new session while one is in progress');
|
|
249
|
+
}
|
|
250
|
+
this.log.debug();
|
|
251
|
+
const originalCaps = structuredClone([w3cCapabilities, w3cCapabilities1, w3cCapabilities2].find(capabilities_1.isW3cCaps));
|
|
252
|
+
if (!originalCaps) {
|
|
253
|
+
throw new protocol_1.errors.SessionNotCreatedError('Appium only supports W3C-style capability objects. ' +
|
|
254
|
+
'Your client is sending an older capabilities format. Please update your client library.');
|
|
255
|
+
}
|
|
256
|
+
this.setProtocolW3C();
|
|
257
|
+
this.originalCaps = originalCaps;
|
|
258
|
+
this.log.debug('Creating session with W3C capabilities: %s', support_1.logger.markSensitive(JSON.stringify(originalCaps, null, 2)));
|
|
259
|
+
let caps;
|
|
260
|
+
try {
|
|
261
|
+
caps = (0, capabilities_2.processCapabilities)(originalCaps, this._desiredCapConstraints, this.shouldValidateCaps);
|
|
262
|
+
caps = (0, capabilities_1.fixCaps)(caps, this._desiredCapConstraints, this.log);
|
|
263
|
+
}
|
|
264
|
+
catch (e) {
|
|
265
|
+
const message = e instanceof Error ? e.message : String(e);
|
|
266
|
+
throw new protocol_1.errors.SessionNotCreatedError(message);
|
|
267
|
+
}
|
|
268
|
+
this.validateDesiredCaps(caps);
|
|
269
|
+
this.sessionId = support_1.util.uuidV4();
|
|
270
|
+
this.sessionCreationTimestampMs = Date.now();
|
|
271
|
+
this.caps = caps;
|
|
272
|
+
// merge caps onto opts so we don't need to worry about what's where
|
|
273
|
+
this.opts = { ...this.initialOpts, ...this.caps };
|
|
274
|
+
// deal with resets
|
|
275
|
+
// some people like to do weird things by setting noReset and fullReset
|
|
276
|
+
// both to true, but this is misguided and strange, so error here instead
|
|
277
|
+
if (this.opts.noReset && this.opts.fullReset) {
|
|
278
|
+
throw new Error("The 'noReset' and 'fullReset' capabilities are mutually " +
|
|
279
|
+
'exclusive and should not both be set to true. You ' +
|
|
280
|
+
"probably meant to just use 'fullReset' on its own");
|
|
281
|
+
}
|
|
282
|
+
if (this.opts.noReset === true) {
|
|
283
|
+
this.opts.fullReset = false;
|
|
284
|
+
}
|
|
285
|
+
if (this.opts.fullReset === true) {
|
|
286
|
+
this.opts.noReset = false;
|
|
287
|
+
}
|
|
288
|
+
this.opts.fastReset = !this.opts.fullReset && !this.opts.noReset;
|
|
289
|
+
this.opts.skipUninstall = this.opts.fastReset || this.opts.noReset;
|
|
290
|
+
// Prevents empty string caps so we don't need to test it everywhere
|
|
291
|
+
if (typeof this.opts.app === 'string' && this.opts.app.trim() === '') {
|
|
292
|
+
delete this.opts.app;
|
|
293
|
+
}
|
|
294
|
+
if (this.caps.newCommandTimeout !== undefined) {
|
|
295
|
+
this.newCommandTimeoutMs = this.caps.newCommandTimeout * 1000;
|
|
296
|
+
}
|
|
297
|
+
this._log.prefix = helpers.generateDriverLogPrefix(this);
|
|
298
|
+
this.log.updateAsyncContext({
|
|
299
|
+
sessionId: this.sessionId,
|
|
300
|
+
sessionSignature: (0, session_1.calcSignature)(this.sessionId),
|
|
301
|
+
});
|
|
302
|
+
this.log.info(`Session created with session id: ${this.sessionId}`);
|
|
303
|
+
return [this.sessionId, caps];
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Returns capabilities for the session and event history (if applicable)
|
|
307
|
+
* @deprecated Use {@linkcode getAppiumSessionCapabilities} instead for getting the capabilities.
|
|
308
|
+
* Use {@linkcode EventCommands.getLogEvents} instead to get the event history.
|
|
309
|
+
*/
|
|
310
|
+
async getSession() {
|
|
311
|
+
return (this.caps.eventTimings ? { ...this.caps, events: this.eventHistory } : this.caps);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Returns capabilities for the session
|
|
315
|
+
*/
|
|
316
|
+
async getAppiumSessionCapabilities() {
|
|
317
|
+
return { capabilities: this.caps };
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Stop the current automation session.
|
|
321
|
+
*/
|
|
322
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
323
|
+
async deleteSession(sessionId) {
|
|
324
|
+
await this.clearNewCommandTimeout();
|
|
325
|
+
if (this.isCommandsQueueEnabled && this.commandsQueueGuard.isBusy()) {
|
|
326
|
+
// simple hack to release pending commands if they exist
|
|
327
|
+
// @ts-expect-error private API
|
|
328
|
+
const queues = this.commandsQueueGuard.queues;
|
|
329
|
+
for (const key of Object.keys(queues)) {
|
|
330
|
+
queues[key] = [];
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
this.sessionId = null;
|
|
334
|
+
(0, bidi_subscriptions_1.clearBidiSubscriptions)(this);
|
|
335
|
+
}
|
|
336
|
+
logExtraCaps(caps) {
|
|
337
|
+
const knownCaps = Object.keys(this._desiredCapConstraints);
|
|
338
|
+
const knownCapsSet = new Set(knownCaps);
|
|
339
|
+
const extraCaps = Object.keys(caps).filter((cap) => !knownCapsSet.has(cap));
|
|
340
|
+
if (extraCaps.length) {
|
|
341
|
+
this.log.warn(`The following provided capabilities were not recognized by this driver:`);
|
|
342
|
+
for (const cap of extraCaps) {
|
|
343
|
+
const suggestion = (0, levenshtein_match_1.getLevenshteinSuggestion)(cap, knownCaps);
|
|
344
|
+
this.log.warn(suggestion ? ` ${cap} (did you mean '${suggestion}'?)` : ` ${cap}`);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
validateDesiredCaps(caps) {
|
|
349
|
+
if (!this.shouldValidateCaps) {
|
|
350
|
+
return true;
|
|
351
|
+
}
|
|
352
|
+
try {
|
|
353
|
+
(0, capabilities_2.validateCaps)(caps, this._desiredCapConstraints);
|
|
354
|
+
}
|
|
355
|
+
catch (e) {
|
|
356
|
+
const capError = e instanceof Error ? e : new Error(String(e));
|
|
357
|
+
throw this.log.errorWithException(new protocol_1.errors.SessionNotCreatedError(`Session capabilities were not valid for the ` + `following reason(s): ${capError.message}`, capError));
|
|
358
|
+
}
|
|
359
|
+
this.logExtraCaps(caps);
|
|
360
|
+
return true;
|
|
361
|
+
}
|
|
362
|
+
async updateSettings(newSettings) {
|
|
363
|
+
if (!this.settings) {
|
|
364
|
+
throw this.log.errorWithException('Cannot update settings; settings object not found');
|
|
365
|
+
}
|
|
366
|
+
return await this.settings.update(newSettings);
|
|
367
|
+
}
|
|
368
|
+
async getSettings() {
|
|
369
|
+
if (!this.settings) {
|
|
370
|
+
throw this.log.errorWithException('Cannot get settings; settings object not found');
|
|
371
|
+
}
|
|
372
|
+
return this.settings.getSettings();
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
exports.BaseDriver = BaseDriver;
|
|
376
|
+
__exportStar(require("./commands"), exports);
|
|
377
|
+
exports.default = BaseDriver;
|
|
378
|
+
//# sourceMappingURL=driver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"driver.js","sourceRoot":"","sources":["../../../lib/basedriver/driver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,yCAiBuB;AAGvB,0DAA2D;AAC3D,8EAA8E;AAC9E,oEAAsE;AACtE,gDAAiD;AACjD,0CAA8E;AAC9E,oCAA2C;AAC3C,iDAAiE;AACjE,sEAAqE;AACrE,iCAAkC;AAClC,mDAAqC;AAIrC,MAAM,kBAAkB,GAAG,qBAAqB,CAAC;AACjD,MAAM,mBAAmB,GAAG,mBAAmB,CAAC;AAChD,MAAM,wBAAwB,GAAG,sBAAsB,CAAC;AACxD,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AACtD,MAAM,4BAA4B,GAAG,sBAAsB,CAAC;AAE5D,MAAa,UAQX,SAAQ,iBAAuB;IAG/B,OAAO,CAAqB;IAC5B,IAAI,CAAgB;IACpB,YAAY,CAAoB;IAChC,qBAAqB,CAAK;IAC1B,MAAM,CAAgB;IACtB,UAAU,CAAU;IACpB,UAAU,CAAU;IACpB,UAAU,CAAU;IAEpB,YAAY,IAAiB,EAAE,kBAAkB,GAAG,IAAI;QACtD,KAAK,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QA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scription, IpcData, StringRecord } from '@appium/types';
|
|
2
|
+
export declare class ExtensionCore {
|
|
3
|
+
bidiEventSubs: Record<string, string[]>;
|
|
4
|
+
bidiCommands: BidiModuleMap;
|
|
5
|
+
_logPrefix?: string;
|
|
6
|
+
readonly eventEmitter: NodeJS.EventEmitter;
|
|
7
|
+
protected _log: AppiumLogger;
|
|
8
|
+
private ipc?;
|
|
9
|
+
constructor(logPrefix?: string);
|
|
10
|
+
get log(): AppiumLogger;
|
|
11
|
+
updateLogPrefix(logPrefix: string): void;
|
|
12
|
+
updateBidiCommands(cmds: BidiModuleMap): void;
|
|
13
|
+
doesBidiCommandExist(moduleName: string, methodName: string): boolean;
|
|
14
|
+
ensureBidiCommandExists(moduleName: string, methodName: string): void;
|
|
15
|
+
executeBidiCommand(bidiCmd: string, bidiParams: StringRecord, next?: () => Promise<any>, driver?: ExtensionCore): Promise<BiDiResultData>;
|
|
16
|
+
onIpcInit(): Promise<void>;
|
|
17
|
+
ipcSubscribe<T extends IpcData>(topic: string): IIpcSubscription<T>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=extension-core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extension-core.d.ts","sourceRoot":"","sources":["../../../lib/basedriver/extension-core.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EAEd,gBAAgB,EAChB,OAAO,EACP,YAAY,EACb,MAAM,eAAe,CAAC;AAOvB,qBAAa,aAAa;IACxB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACxC,YAAY,EAAE,aAAa,CAAkC;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,YAAY,CAAC;IAC3C,SAAS,CAAC,IAAI,EAAG,YAAY,CAAC;IAC9B,OAAO,CAAC,GAAG,CAAC,CAAa;gBAEb,SAAS,CAAC,EAAE,MAAM;IAM9B,IAAI,GAAG,IAAI,YAAY,CAKtB;IAED,eAAe,CAAC,SAAS,EAAE,MAAM;IAIjC,kBAAkB,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI;IAW7C,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO;IASrE,uBAAuB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IA4B/D,kBAAkB,CACtB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,YAAY,EACxB,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,EACzB,MAAM,CAAC,EAAE,aAAa,GACrB,OAAO,CAAC,cAAc,CAAC;IAuDpB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAEhC,YAAY,CAAC,CAAC,SAAS,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC;CAUpE"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExtensionCore = void 0;
|
|
4
|
+
const node_events_1 = require("node:events");
|
|
5
|
+
const support_1 = require("@appium/support");
|
|
6
|
+
const constants_1 = require("../constants");
|
|
7
|
+
const protocol_1 = require("../protocol");
|
|
8
|
+
const bidi_commands_1 = require("../protocol/bidi-commands");
|
|
9
|
+
const helpers_1 = require("./helpers");
|
|
10
|
+
class ExtensionCore {
|
|
11
|
+
bidiEventSubs;
|
|
12
|
+
bidiCommands = bidi_commands_1.BIDI_COMMANDS;
|
|
13
|
+
_logPrefix;
|
|
14
|
+
// used to handle driver events
|
|
15
|
+
eventEmitter;
|
|
16
|
+
_log;
|
|
17
|
+
ipc;
|
|
18
|
+
constructor(logPrefix) {
|
|
19
|
+
this._logPrefix = logPrefix;
|
|
20
|
+
this.bidiEventSubs = {};
|
|
21
|
+
this.eventEmitter = new node_events_1.EventEmitter();
|
|
22
|
+
}
|
|
23
|
+
get log() {
|
|
24
|
+
if (!this._log) {
|
|
25
|
+
this.updateLogPrefix(this._logPrefix ?? (0, helpers_1.generateDriverLogPrefix)(this));
|
|
26
|
+
}
|
|
27
|
+
return this._log;
|
|
28
|
+
}
|
|
29
|
+
updateLogPrefix(logPrefix) {
|
|
30
|
+
this._log = support_1.logger.getLogger(logPrefix);
|
|
31
|
+
}
|
|
32
|
+
updateBidiCommands(cmds) {
|
|
33
|
+
const overlappingKeys = Object.keys(cmds).filter((key) => key in this.bidiCommands);
|
|
34
|
+
if (overlappingKeys.length) {
|
|
35
|
+
this.log.warn(`Overwriting existing bidi modules: ${JSON.stringify(overlappingKeys)}. This may not be intended!`);
|
|
36
|
+
}
|
|
37
|
+
this.bidiCommands = {
|
|
38
|
+
...this.bidiCommands,
|
|
39
|
+
...cmds,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
doesBidiCommandExist(moduleName, methodName) {
|
|
43
|
+
try {
|
|
44
|
+
this.ensureBidiCommandExists(moduleName, methodName);
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
ensureBidiCommandExists(moduleName, methodName) {
|
|
52
|
+
// if we don't get a valid format for bidi command name, reject
|
|
53
|
+
if (!moduleName || !methodName) {
|
|
54
|
+
throw new protocol_1.errors.UnknownCommandError(`Did not receive a valid BiDi module and method name ` +
|
|
55
|
+
`of the form moduleName.methodName. Instead received ` +
|
|
56
|
+
`'${moduleName}.${methodName}'`);
|
|
57
|
+
}
|
|
58
|
+
// if the command module or method isn't part of our spec, reject
|
|
59
|
+
if (!this.bidiCommands[moduleName]?.[methodName]) {
|
|
60
|
+
throw new protocol_1.errors.UnknownCommandError();
|
|
61
|
+
}
|
|
62
|
+
const { command } = this.bidiCommands[moduleName][methodName];
|
|
63
|
+
// if the command method isn't part of our spec, also reject
|
|
64
|
+
if (!command) {
|
|
65
|
+
throw new protocol_1.errors.UnknownCommandError();
|
|
66
|
+
}
|
|
67
|
+
// If the driver doesn't have this command, it must not be implemented
|
|
68
|
+
const handler = this[command];
|
|
69
|
+
if (typeof handler !== 'function') {
|
|
70
|
+
throw new protocol_1.errors.NotYetImplementedError();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
async executeBidiCommand(bidiCmd, bidiParams, next, driver) {
|
|
74
|
+
const handlerType = next && driver ? 'plugin' : 'driver';
|
|
75
|
+
const [moduleName, methodName] = bidiCmd.split('.');
|
|
76
|
+
this.ensureBidiCommandExists(moduleName, methodName);
|
|
77
|
+
const { command, params } = this.bidiCommands[moduleName][methodName];
|
|
78
|
+
// TODO improve param parsing and error messages along the lines of what we have in the http
|
|
79
|
+
// handlers
|
|
80
|
+
const args = [];
|
|
81
|
+
if (params?.required?.length) {
|
|
82
|
+
for (const requiredParam of params.required) {
|
|
83
|
+
if (bidiParams[requiredParam] === undefined) {
|
|
84
|
+
throw new protocol_1.errors.InvalidArgumentError(`The ${requiredParam} parameter was required but you omitted it`);
|
|
85
|
+
}
|
|
86
|
+
args.push(bidiParams[requiredParam]);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (params?.optional?.length) {
|
|
90
|
+
for (const optionalParam of params.optional) {
|
|
91
|
+
args.push(bidiParams[optionalParam]);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
const logParams = support_1.util.truncateString(JSON.stringify(bidiParams), {
|
|
95
|
+
length: constants_1.MAX_LOG_BODY_LENGTH,
|
|
96
|
+
});
|
|
97
|
+
this.log.debug(`Executing bidi command '${bidiCmd}' with params ${logParams} by passing to ${handlerType} ` +
|
|
98
|
+
`method '${command}'`);
|
|
99
|
+
// call the handler with the signature appropriate to extension type (plugin or driver)
|
|
100
|
+
const commandHandler = this[command];
|
|
101
|
+
const response = next && driver
|
|
102
|
+
? await commandHandler.call(this, next, driver, ...args)
|
|
103
|
+
: await commandHandler.call(this, ...args);
|
|
104
|
+
const finalResponse = response === undefined ? {} : response;
|
|
105
|
+
this.log.debug(`Responding to bidi command '${bidiCmd}' with ` +
|
|
106
|
+
`${support_1.util.truncateString(JSON.stringify(finalResponse), { length: constants_1.MAX_LOG_BODY_LENGTH })}`);
|
|
107
|
+
return finalResponse;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @internal Used by AppiumDriver to wire session IPC; extension authors should use {@link onIpcInit} instead.
|
|
111
|
+
*/
|
|
112
|
+
async assignIpc(ipc) {
|
|
113
|
+
this.ipc = ipc;
|
|
114
|
+
try {
|
|
115
|
+
await this.onIpcInit();
|
|
116
|
+
}
|
|
117
|
+
catch (e) {
|
|
118
|
+
this.log.error(`Error running onIpcInit: `, e);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
async onIpcInit() { }
|
|
122
|
+
ipcSubscribe(topic) {
|
|
123
|
+
if (!this.ipc) {
|
|
124
|
+
throw new Error(`Cannot subscribe to an IPC topic without an IPC object assigned. ` +
|
|
125
|
+
`This is likely a programming error. ipcSubscribe should be called in the ` +
|
|
126
|
+
`onIpcInit handler or after you are certain that createSession has completed successfully.`);
|
|
127
|
+
}
|
|
128
|
+
return this.ipc.subscribe(topic, (0, helpers_1.generateDriverLogPrefix)(this));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.ExtensionCore = ExtensionCore;
|
|
132
|
+
//# sourceMappingURL=extension-core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extension-core.js","sourceRoot":"","sources":["../../../lib/basedriver/extension-core.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAEzC,6CAA6C;AAW7C,4CAAiD;AACjD,0CAAmC;AACnC,6DAAwD;AACxD,uCAAkD;AAElD,MAAa,aAAa;IACxB,aAAa,CAA2B;IACxC,YAAY,GAAkB,6BAA8B,CAAC;IAC7D,UAAU,CAAU;IACpB,+BAA+B;IACtB,YAAY,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AAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAE,QAA2B,CAAC;QACjG,IAAI,CAAC,GAAG,CAAC,KAAK,CACZ,+BAA+B,OAAO,SAAS;YAC7C,GAAG,cAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAC,MAAM,EAAE,+BAAmB,EAAC,CAAC,EAAE,CACzF,CAAC;QACF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS,CAAC,GAAe;QAC7B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC;YACH,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACzB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;QACjD,CAAC;IACH,CAAC;IAED,KAAK,CAAC,SAAS,KAAmB,CAAC;IAEnC,YAAY,CAAoB,KAAa;QAC3C,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YACd,MAAM,IAAI,KAAK,CACb,mEAAmE;gBACjE,2EAA2E;gBAC3E,2FAA2F,CAC9F,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,CAAI,KAAK,EAAE,IAAA,iCAAuB,EAAC,IAAI,CAAC,CAAC,CAAC;IACrE,CAAC;CACF;AAlJD,sCAkJC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ConfigureAppOptions } from '@appium/types';
|
|
2
|
+
export declare const BASEDRIVER_VER: string;
|
|
3
|
+
/**
|
|
4
|
+
* Performs initial application package configuration so the app is ready for driver use.
|
|
5
|
+
* Resolves local paths, downloads remote apps (http/https) with optional caching, and
|
|
6
|
+
* runs optional post-process or custom download hooks.
|
|
7
|
+
*
|
|
8
|
+
* @param app - Path to a local app or URL of a downloadable app (http/https).
|
|
9
|
+
* @param options - Supported extensions and optional hooks. Either a single extension
|
|
10
|
+
* string, an array of extension strings, or {@link ConfigureAppOptions} (e.g.
|
|
11
|
+
* `supportedExtensions`, `onPostProcess`, `onDownload`).
|
|
12
|
+
* @returns Resolved path to the application (local path or path to downloaded/cached app).
|
|
13
|
+
* @throws {Error} If supported extensions are missing, the app path/URL is invalid, or download fails.
|
|
14
|
+
*/
|
|
15
|
+
export declare function configureApp(app: string, options?: string | string[] | ConfigureAppOptions): Promise<string>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns whether the given string looks like a package or bundle identifier
|
|
18
|
+
* (e.g. `com.example.app` or `org.company.AnotherApp`).
|
|
19
|
+
*
|
|
20
|
+
* @param app - Value to check (e.g. app path or bundle id).
|
|
21
|
+
* @returns `true` if the value matches a dot-separated identifier pattern.
|
|
22
|
+
*/
|
|
23
|
+
export declare function isPackageOrBundle(app: string): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Recursively ensures both keys exist with the same value in objects and arrays.
|
|
26
|
+
* For each object, if `firstKey` exists its value is also set at `secondKey`, and vice versa.
|
|
27
|
+
*
|
|
28
|
+
* @param input - Object, array, or primitive to process (arrays/objects traversed recursively).
|
|
29
|
+
* @param firstKey - First key name to mirror.
|
|
30
|
+
* @param secondKey - Second key name to mirror.
|
|
31
|
+
* @returns A deep copy of `input` with both keys present where objects had either key.
|
|
32
|
+
*/
|
|
33
|
+
export declare function duplicateKeys<T>(input: T, firstKey: string, secondKey: string): T;
|
|
34
|
+
/**
|
|
35
|
+
* Normalizes a capability value to a string array. If already an array, returns it;
|
|
36
|
+
* if a string, parses as JSON array when possible, otherwise returns a single-element array.
|
|
37
|
+
*
|
|
38
|
+
* @param capValue - Capability value: string (including JSON array like `"[\"a\",\"b\"]"`) or string[].
|
|
39
|
+
* @returns Array of strings.
|
|
40
|
+
* @throws {TypeError} If value is not a string/array or JSON parsing fails for array-like input.
|
|
41
|
+
*/
|
|
42
|
+
export declare function parseCapsArray(capValue: string | string[]): string[];
|
|
43
|
+
/**
|
|
44
|
+
* Builds a short log prefix for a driver instance (e.g. `UiAutomator2@a1b2`).
|
|
45
|
+
*
|
|
46
|
+
* @param obj - Driver or other object; its constructor name and a short id are used.
|
|
47
|
+
* @param _sessionId - Deprecated and unused; kept for {@link DriverHelpers} interface compatibility.
|
|
48
|
+
* @returns Prefix string like `DriverName@xxxx`, or `UnknownDriver@????` if `obj` is null.
|
|
49
|
+
*/
|
|
50
|
+
export declare function generateDriverLogPrefix(obj: object | null, _sessionId?: string | null): string;
|
|
51
|
+
declare const _default: {
|
|
52
|
+
configureApp: typeof configureApp;
|
|
53
|
+
isPackageOrBundle: typeof isPackageOrBundle;
|
|
54
|
+
duplicateKeys: typeof duplicateKeys;
|
|
55
|
+
parseCapsArray: typeof parseCapsArray;
|
|
56
|
+
generateDriverLogPrefix: typeof generateDriverLogPrefix;
|
|
57
|
+
};
|
|
58
|
+
export default _default;
|
|
59
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../lib/basedriver/helpers.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAgB,mBAAmB,EAAiD,MAAM,eAAe,CAAC;AAUtH,eAAO,MAAM,cAAc,QAA0B,CAAC;AAuEtD;;;;;;;;;;;GAWG;AACH,wBAAsB,YAAY,CAChC,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,MAAM,GAAG,MAAM,EAAE,GAAG,mBAA+C,GAC3E,OAAO,CAAC,MAAM,CAAC,CA4LjB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEtD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC,CAuBjF;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,CAqBpE;AAED;;;;;;GAMG;AAEH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAM9F;;;;;;;;AAyOD,wBAM0B"}
|