From 75318832f381d04bdc69deec0649ee7c031c3667 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Jan 2026 11:05:15 +0000 Subject: [PATCH 1/2] chore(deps): bump asyncbox from 4.1.1 to 6.1.0 Bumps [asyncbox](https://github.com/appium/asyncbox) from 4.1.1 to 6.1.0. - [Release notes](https://github.com/appium/asyncbox/releases) - [Changelog](https://github.com/appium/asyncbox/blob/master/CHANGELOG.md) - [Commits](https://github.com/appium/asyncbox/compare/v4.1.1...v6.1.0) --- updated-dependencies: - dependency-name: asyncbox dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 76b4db496..069d515f1 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "appium-ios-device": "^3.0.0", "appium-ios-simulator": "^8.0.0", "async-lock": "^1.0.0", - "asyncbox": "^4.0.1", + "asyncbox": "^6.1.0", "axios": "^1.4.0", "bluebird": "^3.5.5", "lodash": "^4.17.11", From 4574f58eff88a9b6c7c0b50f6f1f79b882bcc12b Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sat, 31 Jan 2026 23:35:23 -0800 Subject: [PATCH 2/2] remove asyncify --- Scripts/build-webdriveragent.mjs | 6 ++++-- Scripts/fetch-prebuilt-wda.mjs | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Scripts/build-webdriveragent.mjs b/Scripts/build-webdriveragent.mjs index 3e1f6e2c7..7fd864385 100644 --- a/Scripts/build-webdriveragent.mjs +++ b/Scripts/build-webdriveragent.mjs @@ -1,6 +1,5 @@ import path from 'node:path'; import { fileURLToPath } from 'node:url'; -import { asyncify } from 'asyncbox'; import { logger, fs } from '@appium/support'; import { exec } from 'teen_process'; import * as xcode from 'appium-xcode'; @@ -78,7 +77,10 @@ async function buildWebDriverAgent (xcodeVersion) { } if (isMainModule) { - asyncify(buildWebDriverAgent); + buildWebDriverAgent().catch((e) => { + LOG.error(e); + process.exit(1); + }); } export default buildWebDriverAgent; diff --git a/Scripts/fetch-prebuilt-wda.mjs b/Scripts/fetch-prebuilt-wda.mjs index 850e71757..0fa1df409 100644 --- a/Scripts/fetch-prebuilt-wda.mjs +++ b/Scripts/fetch-prebuilt-wda.mjs @@ -2,7 +2,6 @@ import path from 'node:path'; import { fileURLToPath } from 'node:url'; import { readFileSync } from 'node:fs'; import axios from 'axios'; -import { asyncify } from 'asyncbox'; import { logger, fs, mkdirp, net } from '@appium/support'; import _ from 'lodash'; import B from 'bluebird'; @@ -62,7 +61,10 @@ async function fetchPrebuiltWebDriverAgentAssets () { } if (isMainModule) { - asyncify(fetchPrebuiltWebDriverAgentAssets); + fetchPrebuiltWebDriverAgentAssets().catch((e) => { + log.error(e); + process.exit(1); + }); } export default fetchPrebuiltWebDriverAgentAssets;