diff --git a/package-lock.json b/package-lock.json index b39fb3722..95d5de7c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,7 +57,7 @@ "cross-env": "7.0.3", "eslint": "9.22.0", "eslint-config-prettier": "10.1.1", - "eslint-import-resolver-typescript": "3.8.7", + "eslint-import-resolver-typescript": "3.9.1", "eslint-plugin-import": "2.31.0", "eslint-plugin-mocha": "10.5.0", "eslint-plugin-promise": "7.2.1", @@ -260,6 +260,17 @@ "kuler": "^2.0.0" } }, + "node_modules/@emnapi/core": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.3.1.tgz", + "integrity": "sha512-pVGjBIt1Y6gg3EJN8jTcfpP/+uuRksIo055oE/OBkDNcjZqVbfkWCksG1Jp4yZnj3iKWyWX8fdG/j6UDYPbFog==", + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.0.1", + "tslib": "^2.4.0" + } + }, "node_modules/@emnapi/runtime": { "version": "0.44.0", "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-0.44.0.tgz", @@ -269,6 +280,16 @@ "tslib": "^2.4.0" } }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.1.tgz", + "integrity": "sha512-iIBu7mwkq4UQGeMEM8bLwNK962nXdhodeScX4slfQnRhEMMzvYivHhutCIk8uojvmASXXPC2WNEjwxFWk72Oqw==", + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -1367,6 +1388,28 @@ "node": ">=8" } }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.7.tgz", + "integrity": "sha512-5yximcFK5FNompXfJFoWanu5l8v1hNGqNHh9du1xETp9HWk/B/PzvchX55WYOPaIeNglG8++68AAiauBAtbnzw==", + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.3.1", + "@emnapi/runtime": "^1.3.1", + "@tybys/wasm-util": "^0.9.0" + } + }, + "node_modules/@napi-rs/wasm-runtime/node_modules/@emnapi/runtime": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.3.1.tgz", + "integrity": "sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==", + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -2797,6 +2840,16 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@tybys/wasm-util": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.9.0.tgz", + "integrity": "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==", + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@types/archiver": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/@types/archiver/-/archiver-6.0.3.tgz", @@ -3428,6 +3481,152 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/@unrs/rspack-resolver-binding-darwin-arm64": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-darwin-arm64/-/rspack-resolver-binding-darwin-arm64-1.2.2.tgz", + "integrity": "sha512-i7z0B+C0P8Q63O/5PXJAzeFtA1ttY3OR2VSJgGv18S+PFNwD98xHgAgPOT1H5HIV6jlQP8Avzbp09qxJUdpPNw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-darwin-x64": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-darwin-x64/-/rspack-resolver-binding-darwin-x64-1.2.2.tgz", + "integrity": "sha512-YEdFzPjIbDUCfmehC6eS+AdJYtFWY35YYgWUnqqTM2oe/N58GhNy5yRllxYhxwJ9GcfHoNc6Ubze1yjkNv+9Qg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-freebsd-x64": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-freebsd-x64/-/rspack-resolver-binding-freebsd-x64-1.2.2.tgz", + "integrity": "sha512-TU4ntNXDgPN2giQyyzSnGWf/dVCem5lvwxg0XYvsvz35h5H19WrhTmHgbrULMuypCB3aHe1enYUC9rPLDw45mA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-linux-arm-gnueabihf": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm-gnueabihf/-/rspack-resolver-binding-linux-arm-gnueabihf-1.2.2.tgz", + "integrity": "sha512-ik3w4/rU6RujBvNWiDnKdXi1smBhqxEDhccNi/j2rHaMjm0Fk49KkJ6XKsoUnD2kZ5xaMJf9JjailW/okfUPIw==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-linux-arm64-gnu": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm64-gnu/-/rspack-resolver-binding-linux-arm64-gnu-1.2.2.tgz", + "integrity": "sha512-fp4Azi8kHz6TX8SFmKfyScZrMLfp++uRm2srpqRjsRZIIBzH74NtSkdEUHImR4G7f7XJ+sVZjCc6KDDK04YEpQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-linux-arm64-musl": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm64-musl/-/rspack-resolver-binding-linux-arm64-musl-1.2.2.tgz", + "integrity": "sha512-gMiG3DCFioJxdGBzhlL86KcFgt9HGz0iDhw0YVYPsShItpN5pqIkNrI+L/Q/0gfDiGrfcE0X3VANSYIPmqEAlQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-linux-x64-gnu": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-x64-gnu/-/rspack-resolver-binding-linux-x64-gnu-1.2.2.tgz", + "integrity": "sha512-n/4n2CxaUF9tcaJxEaZm+lqvaw2gflfWQ1R9I7WQgYkKEKbRKbpG/R3hopYdUmLSRI4xaW1Cy0Bz40eS2Yi4Sw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-linux-x64-musl": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-x64-musl/-/rspack-resolver-binding-linux-x64-musl-1.2.2.tgz", + "integrity": "sha512-cHyhAr6rlYYbon1L2Ag449YCj3p6XMfcYTP0AQX+KkQo025d1y/VFtPWvjMhuEsE2lLvtHm7GdJozj6BOMtzVg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-wasm32-wasi": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-wasm32-wasi/-/rspack-resolver-binding-wasm32-wasi-1.2.2.tgz", + "integrity": "sha512-eogDKuICghDLGc32FtP+WniG38IB1RcGOGz0G3z8406dUdjJvxfHGuGs/dSlM9YEp/v0lEqhJ4mBu6X2nL9pog==", + "cpu": [ + "wasm32" + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@napi-rs/wasm-runtime": "^0.2.7" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@unrs/rspack-resolver-binding-win32-arm64-msvc": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-win32-arm64-msvc/-/rspack-resolver-binding-win32-arm64-msvc-1.2.2.tgz", + "integrity": "sha512-7sWRJumhpXSi2lccX8aQpfFXHsSVASdWndLv8AmD8nDRA/5PBi8IplQVZNx2mYRx6+Bp91Z00kuVqpXO9NfCTg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/rspack-resolver-binding-win32-x64-msvc": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-win32-x64-msvc/-/rspack-resolver-binding-win32-x64-msvc-1.2.2.tgz", + "integrity": "sha512-hewo/UMGP1a7O6FG/ThcPzSJdm/WwrYDNkdGgWl6M18H6K6MSitklomWpT9MUtT5KGj++QJb06va/14QBC4pvw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@wdio/config": { "version": "9.11.0", "resolved": "https://registry.npmjs.org/@wdio/config/-/config-9.11.0.tgz", @@ -3893,17 +4092,6 @@ "node": ">=6.5" } }, - "node_modules/accepts": { - "version": "1.3.8", - "license": "MIT", - "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/acorn": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", @@ -4288,10 +4476,6 @@ "node": ">=0.10.0" } }, - "node_modules/array-flatten": { - "version": "1.1.1", - "license": "MIT" - }, "node_modules/array-ify": { "version": "1.0.0", "dev": true, @@ -5575,16 +5759,6 @@ "dev": true, "license": "MIT" }, - "node_modules/content-disposition": { - "version": "0.5.4", - "license": "MIT", - "dependencies": { - "safe-buffer": "5.2.1" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/content-type": { "version": "1.0.5", "license": "MIT", @@ -5862,10 +6036,6 @@ "node": ">= 0.6" } }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "license": "MIT" - }, "node_modules/core-js": { "version": "2.6.12", "dev": true, @@ -6859,6 +7029,7 @@ }, "node_modules/encodeurl": { "version": "1.0.2", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -6917,19 +7088,6 @@ "once": "^1.4.0" } }, - "node_modules/enhanced-resolve": { - "version": "5.17.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", - "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/enquirer": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", @@ -7326,17 +7484,17 @@ } }, "node_modules/eslint-import-resolver-typescript": { - "version": "3.8.7", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.8.7.tgz", - "integrity": "sha512-U7k84gOzrfl09c33qrIbD3TkWTWu3nt3dK5sDajHSekfoLlYGusIwSdPlPzVeA6TFpi0Wpj+ZdBD8hX4hxPoww==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.9.1.tgz", + "integrity": "sha512-euxa5rTGqHeqVxmOHT25hpk58PxkQ4mNoX6Yun4ooGaCHAxOCojJYNvjmyeOQxj/LyW+3fulH0+xtk+p2kPPTw==", "license": "ISC", "dependencies": { "@nolyfill/is-core-module": "1.0.39", - "debug": "^4.3.7", - "enhanced-resolve": "^5.15.0", + "debug": "^4.4.0", "get-tsconfig": "^4.10.0", - "is-bun-module": "^1.0.2", - "stable-hash": "^0.0.4", + "is-bun-module": "^1.3.0", + "rspack-resolver": "^1.1.0", + "stable-hash": "^0.0.5", "tinyglobby": "^0.2.12" }, "engines": { @@ -7809,100 +7967,6 @@ "dev": true, "license": "Apache-2.0" }, - "node_modules/express": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", - "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", - "license": "MIT", - "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.3", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.12", - "proxy-addr": "~2.0.7", - "qs": "6.13.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.19.0", - "serve-static": "1.16.2", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/express/node_modules/finalhandler": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", - "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" - }, - "node_modules/express/node_modules/path-to-regexp": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", - "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", - "license": "MIT" - }, "node_modules/external-editor": { "version": "3.1.0", "dev": true, @@ -9659,9 +9723,9 @@ } }, "node_modules/is-bun-module": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.1.0.tgz", - "integrity": "sha512-4mTAVPlrXpaN3jtF0lsnPCMGnq4+qZjVIKq0HCpfcqf8OC1SM5oATCIAPM5V5FN05qp2NNnFndphmdZS9CV3hA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.3.0.tgz", + "integrity": "sha512-DgXeu5UWI0IsMQundYb5UAOzm6G2eVnarJ0byP6Tm55iZNKceD59LNPA2L4VvsScTtHcw0yEkVwSf7PC+QoLSA==", "license": "MIT", "dependencies": { "semver": "^7.6.3" @@ -11516,15 +11580,6 @@ "node": ">=10" } }, - "node_modules/merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/merge-stream": { "version": "2.0.0", "dev": true, @@ -11884,6 +11939,7 @@ }, "node_modules/mime": { "version": "1.6.0", + "dev": true, "license": "MIT", "bin": { "mime": "cli.js" @@ -12395,6 +12451,7 @@ }, "node_modules/negotiator": { "version": "0.6.3", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -15066,6 +15123,28 @@ "node": ">= 18" } }, + "node_modules/rspack-resolver": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/rspack-resolver/-/rspack-resolver-1.2.2.tgz", + "integrity": "sha512-Fwc19jMBA3g+fxDJH2B4WxwZjE0VaaOL7OX/A4Wn5Zv7bOD/vyPZhzXfaO73Xc2GAlfi96g5fGUa378WbIGfFw==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/JounQin" + }, + "optionalDependencies": { + "@unrs/rspack-resolver-binding-darwin-arm64": "1.2.2", + "@unrs/rspack-resolver-binding-darwin-x64": "1.2.2", + "@unrs/rspack-resolver-binding-freebsd-x64": "1.2.2", + "@unrs/rspack-resolver-binding-linux-arm-gnueabihf": "1.2.2", + "@unrs/rspack-resolver-binding-linux-arm64-gnu": "1.2.2", + "@unrs/rspack-resolver-binding-linux-arm64-musl": "1.2.2", + "@unrs/rspack-resolver-binding-linux-x64-gnu": "1.2.2", + "@unrs/rspack-resolver-binding-linux-x64-musl": "1.2.2", + "@unrs/rspack-resolver-binding-wasm32-wasi": "1.2.2", + "@unrs/rspack-resolver-binding-win32-arm64-msvc": "1.2.2", + "@unrs/rspack-resolver-binding-win32-x64-msvc": "1.2.2" + } + }, "node_modules/run-async": { "version": "2.4.1", "dev": true, @@ -15212,6 +15291,7 @@ "version": "0.19.0", "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "dev": true, "license": "MIT", "dependencies": { "debug": "2.6.9", @@ -15234,6 +15314,7 @@ }, "node_modules/send/node_modules/debug": { "version": "2.6.9", + "dev": true, "license": "MIT", "dependencies": { "ms": "2.0.0" @@ -15241,10 +15322,12 @@ }, "node_modules/send/node_modules/debug/node_modules/ms": { "version": "2.0.0", + "dev": true, "license": "MIT" }, "node_modules/send/node_modules/ms": { "version": "2.1.3", + "dev": true, "license": "MIT" }, "node_modules/serialize-error": { @@ -15309,6 +15392,7 @@ "version": "1.16.2", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "dev": true, "license": "MIT", "dependencies": { "encodeurl": "~2.0.0", @@ -15324,6 +15408,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.8" @@ -15759,9 +15844,9 @@ } }, "node_modules/stable-hash": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.4.tgz", - "integrity": "sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==", + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz", + "integrity": "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==", "license": "MIT" }, "node_modules/stack-trace": { @@ -16238,13 +16323,6 @@ "node": ">=12" } }, - "node_modules/tapable": { - "version": "2.2.1", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/tar": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", @@ -18149,10 +18227,10 @@ "dependencies": { "@appium/base-driver": "^10.0.0-beta.0", "@appium/base-plugin": "^3.0.0-beta.0", - "@appium/docutils": "^1.0.33", + "@appium/docutils": "^1.0.34", "@appium/logger": "^1.6.1", "@appium/schema": "^0.8.1", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/types": "^0.25.2", "@sidvind/better-ajv-errors": "3.0.1", "ajv": "8.17.1", @@ -18251,7 +18329,7 @@ "version": "10.0.0-beta.0", "license": "Apache-2.0", "dependencies": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/types": "^0.25.2", "@colors/colors": "1.6.0", "async-lock": "1.4.1", @@ -18682,7 +18760,7 @@ "license": "Apache-2.0", "dependencies": { "@appium/base-driver": "^10.0.0-beta.0", - "@appium/support": "^6.0.7" + "@appium/support": "^6.0.8" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0", @@ -18691,14 +18769,14 @@ }, "packages/docutils": { "name": "@appium/docutils", - "version": "1.0.33", + "version": "1.0.34", "license": "Apache-2.0", "dependencies": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/tsconfig": "^0.3.5", "@sliphua/lilconfig-ts-loader": "3.2.2", "chalk": "4.1.2", - "consola": "3.4.0", + "consola": "3.4.2", "diff": "7.0.0", "json5": "2.2.3", "lilconfig": "3.1.3", @@ -18828,7 +18906,7 @@ }, "packages/driver-test-support": { "name": "@appium/driver-test-support", - "version": "0.7.7", + "version": "0.7.8", "license": "Apache-2.0", "dependencies": { "@appium/types": "^0.25.2", @@ -18903,7 +18981,7 @@ "@eslint/compat": "^1.1.0", "@eslint/js": "^9.0.0", "eslint": "^9.0.0", - "eslint-config-prettier": "^9.0.0 || ^10.0.0", + "eslint-config-prettier": "^10.0.0", "eslint-import-resolver-typescript": "^3.5.0", "eslint-plugin-import": "^2.30.0", "eslint-plugin-mocha": "^10.4.0", @@ -18913,7 +18991,7 @@ }, "packages/execute-driver-plugin": { "name": "@appium/execute-driver-plugin", - "version": "4.0.3", + "version": "4.0.4", "license": "Apache-2.0", "dependencies": { "bluebird": "3.7.2", @@ -19497,11 +19575,11 @@ }, "packages/fake-plugin": { "name": "@appium/fake-plugin", - "version": "3.2.4", + "version": "3.2.5", "license": "Apache-2.0", "dependencies": { "@appium/base-plugin": "^3.0.0-beta.0", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "bluebird": "3.7.2", "lodash": "4.17.21", "source-map-support": "0.5.21" @@ -19516,11 +19594,11 @@ }, "packages/images-plugin": { "name": "@appium/images-plugin", - "version": "3.1.0", + "version": "3.1.1", "license": "Apache-2.0", "dependencies": { "@appium/opencv": "^3.0.8", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "lodash": "4.17.21", "lru-cache": "10.4.3", "sharp": "0.33.5", @@ -19762,11 +19840,10 @@ }, "packages/storage-plugin": { "name": "@appium/storage-plugin", - "version": "0.1.0", + "version": "0.1.1", "license": "Apache-2.0", "dependencies": { - "@appium/base-plugin": "^2.3.4", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "async-lock": "1.4.1", "bluebird": "3.7.2", "lodash": "4.17.21", @@ -19783,84 +19860,12 @@ "appium": "^2.0.0 || ^3.0.0-beta.0" } }, - "packages/storage-plugin/node_modules/@appium/base-driver": { - "version": "9.16.3", - "resolved": "https://registry.npmjs.org/@appium/base-driver/-/base-driver-9.16.3.tgz", - "integrity": "sha512-+KviEBWMlHoBh/Ezs4bF1uRFw3gBHivljy8yp2dKHvFt4ZZlJo6wxmfmU5fknob0TuRkViwcD2auL64AQLsGAw==", - "license": "Apache-2.0", - "dependencies": { - "@appium/support": "^6.0.7", - "@appium/types": "^0.25.2", - "@colors/colors": "1.6.0", - "async-lock": "1.4.1", - "asyncbox": "3.0.0", - "axios": "1.8.2", - "bluebird": "3.7.2", - "body-parser": "1.20.3", - "express": "4.21.2", - "fastest-levenshtein": "1.0.16", - "http-status-codes": "2.3.0", - "lodash": "4.17.21", - "lru-cache": "10.4.3", - "method-override": "3.0.0", - "morgan": "1.10.0", - "path-to-regexp": "8.2.0", - "serve-favicon": "2.5.0", - "source-map-support": "0.5.21", - "type-fest": "4.37.0", - "validate.js": "0.13.1" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0", - "npm": ">=8" - }, - "optionalDependencies": { - "spdy": "4.0.2" - } - }, - "packages/storage-plugin/node_modules/@appium/base-plugin": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/@appium/base-plugin/-/base-plugin-2.3.4.tgz", - "integrity": "sha512-m3iJ2+68OIEXF87VJ/RYPSg85jVGo73MqAfv5onYyvFuljWgnowZGRFL13lvfnTBxmI5sU9eF1QLO3n7KcQ/eg==", - "license": "Apache-2.0", - "dependencies": { - "@appium/base-driver": "^9.16.3", - "@appium/support": "^6.0.7" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0", - "npm": ">=8" - } - }, - "packages/storage-plugin/node_modules/axios": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.2.tgz", - "integrity": "sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "packages/storage-plugin/node_modules/lru-cache": { "version": "10.4.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "license": "ISC" }, - "packages/storage-plugin/node_modules/type-fest": { - "version": "4.37.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.37.0.tgz", - "integrity": "sha512-S/5/0kFftkq27FPNye0XM1e2NsnoD/3FS+pBmbjmmtLT6I+i344KoOf7pvXreaFsDamWeaJX55nczA1m5PsBDg==", - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "packages/strongbox": { "name": "@appium/strongbox", "version": "0.3.3", @@ -19876,7 +19881,7 @@ }, "packages/support": { "name": "@appium/support", - "version": "6.0.7", + "version": "6.0.8", "license": "Apache-2.0", "dependencies": { "@appium/logger": "^1.6.1", @@ -20139,10 +20144,10 @@ }, "packages/test-support": { "name": "@appium/test-support", - "version": "3.1.7", + "version": "3.1.8", "license": "Apache-2.0", "dependencies": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@colors/colors": "1.6.0", "bluebird": "3.7.2", "lodash": "4.17.21", @@ -20200,7 +20205,7 @@ }, "packages/universal-xml-plugin": { "name": "@appium/universal-xml-plugin", - "version": "1.0.31", + "version": "1.0.32", "license": "Apache-2.0", "dependencies": { "@xmldom/xmldom": "0.9.8", @@ -20268,7 +20273,7 @@ "@appium/base-driver": { "version": "file:packages/base-driver", "requires": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/types": "^0.25.2", "@colors/colors": "1.6.0", "async-lock": "1.4.1", @@ -20571,17 +20576,17 @@ "version": "file:packages/base-plugin", "requires": { "@appium/base-driver": "^10.0.0-beta.0", - "@appium/support": "^6.0.7" + "@appium/support": "^6.0.8" } }, "@appium/docutils": { "version": "file:packages/docutils", "requires": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/tsconfig": "^0.3.5", "@sliphua/lilconfig-ts-loader": "3.2.2", "chalk": "4.1.2", - "consola": "3.4.0", + "consola": "3.4.2", "diff": "7.0.0", "json5": "2.2.3", "lilconfig": "3.1.3", @@ -21076,7 +21081,7 @@ "version": "file:packages/fake-plugin", "requires": { "@appium/base-plugin": "^3.0.0-beta.0", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "bluebird": "3.7.2", "lodash": "4.17.21", "source-map-support": "0.5.21" @@ -21086,7 +21091,7 @@ "version": "file:packages/images-plugin", "requires": { "@appium/opencv": "^3.0.8", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "lodash": "4.17.21", "lru-cache": "10.4.3", "sharp": "0.33.5", @@ -21255,8 +21260,7 @@ "@appium/storage-plugin": { "version": "file:packages/storage-plugin", "requires": { - "@appium/base-plugin": "^2.3.4", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "async-lock": "1.4.1", "bluebird": "3.7.2", "lodash": "4.17.21", @@ -21266,62 +21270,10 @@ "ws": "8.18.1" }, "dependencies": { - "@appium/base-driver": { - "version": "9.16.3", - "resolved": "https://registry.npmjs.org/@appium/base-driver/-/base-driver-9.16.3.tgz", - "integrity": "sha512-+KviEBWMlHoBh/Ezs4bF1uRFw3gBHivljy8yp2dKHvFt4ZZlJo6wxmfmU5fknob0TuRkViwcD2auL64AQLsGAw==", - "requires": { - "@appium/support": "^6.0.7", - "@appium/types": "^0.25.2", - "@colors/colors": "1.6.0", - "async-lock": "1.4.1", - "asyncbox": "3.0.0", - "axios": "1.8.2", - "bluebird": "3.7.2", - "body-parser": "1.20.3", - "express": "4.21.2", - "fastest-levenshtein": "1.0.16", - "http-status-codes": "2.3.0", - "lodash": "4.17.21", - "lru-cache": "10.4.3", - "method-override": "3.0.0", - "morgan": "1.10.0", - "path-to-regexp": "8.2.0", - "serve-favicon": "2.5.0", - "source-map-support": "0.5.21", - "spdy": "4.0.2", - "type-fest": "4.37.0", - "validate.js": "0.13.1" - } - }, - "@appium/base-plugin": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/@appium/base-plugin/-/base-plugin-2.3.4.tgz", - "integrity": "sha512-m3iJ2+68OIEXF87VJ/RYPSg85jVGo73MqAfv5onYyvFuljWgnowZGRFL13lvfnTBxmI5sU9eF1QLO3n7KcQ/eg==", - "requires": { - "@appium/base-driver": "^9.16.3", - "@appium/support": "^6.0.7" - } - }, - "axios": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.2.tgz", - "integrity": "sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==", - "requires": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "lru-cache": { "version": "10.4.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" - }, - "type-fest": { - "version": "4.37.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.37.0.tgz", - "integrity": "sha512-S/5/0kFftkq27FPNye0XM1e2NsnoD/3FS+pBmbjmmtLT6I+i344KoOf7pvXreaFsDamWeaJX55nczA1m5PsBDg==" } } }, @@ -21518,7 +21470,7 @@ "@appium/test-support": { "version": "file:packages/test-support", "requires": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@colors/colors": "1.6.0", "bluebird": "3.7.2", "lodash": "4.17.21", @@ -21619,6 +21571,16 @@ "kuler": "^2.0.0" } }, + "@emnapi/core": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.3.1.tgz", + "integrity": "sha512-pVGjBIt1Y6gg3EJN8jTcfpP/+uuRksIo055oE/OBkDNcjZqVbfkWCksG1Jp4yZnj3iKWyWX8fdG/j6UDYPbFog==", + "optional": true, + "requires": { + "@emnapi/wasi-threads": "1.0.1", + "tslib": "^2.4.0" + } + }, "@emnapi/runtime": { "version": "0.44.0", "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-0.44.0.tgz", @@ -21628,6 +21590,15 @@ "tslib": "^2.4.0" } }, + "@emnapi/wasi-threads": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.1.tgz", + "integrity": "sha512-iIBu7mwkq4UQGeMEM8bLwNK962nXdhodeScX4slfQnRhEMMzvYivHhutCIk8uojvmASXXPC2WNEjwxFWk72Oqw==", + "optional": true, + "requires": { + "tslib": "^2.4.0" + } + }, "@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -22221,6 +22192,28 @@ } } }, + "@napi-rs/wasm-runtime": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.7.tgz", + "integrity": "sha512-5yximcFK5FNompXfJFoWanu5l8v1hNGqNHh9du1xETp9HWk/B/PzvchX55WYOPaIeNglG8++68AAiauBAtbnzw==", + "optional": true, + "requires": { + "@emnapi/core": "^1.3.1", + "@emnapi/runtime": "^1.3.1", + "@tybys/wasm-util": "^0.9.0" + }, + "dependencies": { + "@emnapi/runtime": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.3.1.tgz", + "integrity": "sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==", + "optional": true, + "requires": { + "tslib": "^2.4.0" + } + } + } + }, "@nodelib/fs.scandir": { "version": "2.1.5", "requires": { @@ -23180,6 +23173,15 @@ } } }, + "@tybys/wasm-util": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.9.0.tgz", + "integrity": "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==", + "optional": true, + "requires": { + "tslib": "^2.4.0" + } + }, "@types/archiver": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/@types/archiver/-/archiver-6.0.3.tgz", @@ -23680,6 +23682,75 @@ } } }, + "@unrs/rspack-resolver-binding-darwin-arm64": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-darwin-arm64/-/rspack-resolver-binding-darwin-arm64-1.2.2.tgz", + "integrity": "sha512-i7z0B+C0P8Q63O/5PXJAzeFtA1ttY3OR2VSJgGv18S+PFNwD98xHgAgPOT1H5HIV6jlQP8Avzbp09qxJUdpPNw==", + "optional": true + }, + "@unrs/rspack-resolver-binding-darwin-x64": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-darwin-x64/-/rspack-resolver-binding-darwin-x64-1.2.2.tgz", + "integrity": "sha512-YEdFzPjIbDUCfmehC6eS+AdJYtFWY35YYgWUnqqTM2oe/N58GhNy5yRllxYhxwJ9GcfHoNc6Ubze1yjkNv+9Qg==", + "optional": true + }, + "@unrs/rspack-resolver-binding-freebsd-x64": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-freebsd-x64/-/rspack-resolver-binding-freebsd-x64-1.2.2.tgz", + "integrity": "sha512-TU4ntNXDgPN2giQyyzSnGWf/dVCem5lvwxg0XYvsvz35h5H19WrhTmHgbrULMuypCB3aHe1enYUC9rPLDw45mA==", + "optional": true + }, + "@unrs/rspack-resolver-binding-linux-arm-gnueabihf": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm-gnueabihf/-/rspack-resolver-binding-linux-arm-gnueabihf-1.2.2.tgz", + "integrity": "sha512-ik3w4/rU6RujBvNWiDnKdXi1smBhqxEDhccNi/j2rHaMjm0Fk49KkJ6XKsoUnD2kZ5xaMJf9JjailW/okfUPIw==", + "optional": true + }, + "@unrs/rspack-resolver-binding-linux-arm64-gnu": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm64-gnu/-/rspack-resolver-binding-linux-arm64-gnu-1.2.2.tgz", + "integrity": "sha512-fp4Azi8kHz6TX8SFmKfyScZrMLfp++uRm2srpqRjsRZIIBzH74NtSkdEUHImR4G7f7XJ+sVZjCc6KDDK04YEpQ==", + "optional": true + }, + "@unrs/rspack-resolver-binding-linux-arm64-musl": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-arm64-musl/-/rspack-resolver-binding-linux-arm64-musl-1.2.2.tgz", + "integrity": "sha512-gMiG3DCFioJxdGBzhlL86KcFgt9HGz0iDhw0YVYPsShItpN5pqIkNrI+L/Q/0gfDiGrfcE0X3VANSYIPmqEAlQ==", + "optional": true + }, + "@unrs/rspack-resolver-binding-linux-x64-gnu": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-x64-gnu/-/rspack-resolver-binding-linux-x64-gnu-1.2.2.tgz", + "integrity": "sha512-n/4n2CxaUF9tcaJxEaZm+lqvaw2gflfWQ1R9I7WQgYkKEKbRKbpG/R3hopYdUmLSRI4xaW1Cy0Bz40eS2Yi4Sw==", + "optional": true + }, + "@unrs/rspack-resolver-binding-linux-x64-musl": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-linux-x64-musl/-/rspack-resolver-binding-linux-x64-musl-1.2.2.tgz", + "integrity": "sha512-cHyhAr6rlYYbon1L2Ag449YCj3p6XMfcYTP0AQX+KkQo025d1y/VFtPWvjMhuEsE2lLvtHm7GdJozj6BOMtzVg==", + "optional": true + }, + "@unrs/rspack-resolver-binding-wasm32-wasi": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-wasm32-wasi/-/rspack-resolver-binding-wasm32-wasi-1.2.2.tgz", + "integrity": "sha512-eogDKuICghDLGc32FtP+WniG38IB1RcGOGz0G3z8406dUdjJvxfHGuGs/dSlM9YEp/v0lEqhJ4mBu6X2nL9pog==", + "optional": true, + "requires": { + "@napi-rs/wasm-runtime": "^0.2.7" + } + }, + "@unrs/rspack-resolver-binding-win32-arm64-msvc": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-win32-arm64-msvc/-/rspack-resolver-binding-win32-arm64-msvc-1.2.2.tgz", + "integrity": "sha512-7sWRJumhpXSi2lccX8aQpfFXHsSVASdWndLv8AmD8nDRA/5PBi8IplQVZNx2mYRx6+Bp91Z00kuVqpXO9NfCTg==", + "optional": true + }, + "@unrs/rspack-resolver-binding-win32-x64-msvc": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@unrs/rspack-resolver-binding-win32-x64-msvc/-/rspack-resolver-binding-win32-x64-msvc-1.2.2.tgz", + "integrity": "sha512-hewo/UMGP1a7O6FG/ThcPzSJdm/WwrYDNkdGgWl6M18H6K6MSitklomWpT9MUtT5KGj++QJb06va/14QBC4pvw==", + "optional": true + }, "@wdio/config": { "version": "9.11.0", "resolved": "https://registry.npmjs.org/@wdio/config/-/config-9.11.0.tgz", @@ -23993,13 +24064,6 @@ "event-target-shim": "^5.0.0" } }, - "accepts": { - "version": "1.3.8", - "requires": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - } - }, "acorn": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", @@ -24091,10 +24155,10 @@ "requires": { "@appium/base-driver": "^10.0.0-beta.0", "@appium/base-plugin": "^3.0.0-beta.0", - "@appium/docutils": "^1.0.33", + "@appium/docutils": "^1.0.34", "@appium/logger": "^1.6.1", "@appium/schema": "^0.8.1", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/types": "^0.25.2", "@sidvind/better-ajv-errors": "3.0.1", "ajv": "8.17.1", @@ -24308,9 +24372,6 @@ "array-find-index": { "version": "1.0.2" }, - "array-flatten": { - "version": "1.1.1" - }, "array-ify": { "version": "1.0.0", "dev": true @@ -25199,12 +25260,6 @@ "version": "1.0.0", "dev": true }, - "content-disposition": { - "version": "0.5.4", - "requires": { - "safe-buffer": "5.2.1" - } - }, "content-type": { "version": "1.0.5" }, @@ -25414,9 +25469,6 @@ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==" }, - "cookie-signature": { - "version": "1.0.6" - }, "core-js": { "version": "2.6.12", "dev": true @@ -26046,7 +26098,8 @@ "version": "2.0.0" }, "encodeurl": { - "version": "1.0.2" + "version": "1.0.2", + "dev": true }, "encoding": { "version": "0.1.13", @@ -26091,15 +26144,6 @@ "once": "^1.4.0" } }, - "enhanced-resolve": { - "version": "5.17.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", - "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", - "requires": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - } - }, "enquirer": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", @@ -26446,16 +26490,16 @@ } }, "eslint-import-resolver-typescript": { - "version": "3.8.7", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.8.7.tgz", - "integrity": "sha512-U7k84gOzrfl09c33qrIbD3TkWTWu3nt3dK5sDajHSekfoLlYGusIwSdPlPzVeA6TFpi0Wpj+ZdBD8hX4hxPoww==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.9.1.tgz", + "integrity": "sha512-euxa5rTGqHeqVxmOHT25hpk58PxkQ4mNoX6Yun4ooGaCHAxOCojJYNvjmyeOQxj/LyW+3fulH0+xtk+p2kPPTw==", "requires": { "@nolyfill/is-core-module": "1.0.39", - "debug": "^4.3.7", - "enhanced-resolve": "^5.15.0", + "debug": "^4.4.0", "get-tsconfig": "^4.10.0", - "is-bun-module": "^1.0.2", - "stable-hash": "^0.0.4", + "is-bun-module": "^1.3.0", + "rspack-resolver": "^1.1.0", + "stable-hash": "^0.0.5", "tinyglobby": "^0.2.12" }, "dependencies": { @@ -26663,83 +26707,6 @@ "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", "dev": true }, - "express": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", - "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", - "requires": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.3", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.12", - "proxy-addr": "~2.0.7", - "qs": "6.13.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.19.0", - "serve-static": "1.16.2", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==" - }, - "finalhandler": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", - "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", - "requires": { - "debug": "2.6.9", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, - "path-to-regexp": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", - "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==" - } - } - }, "external-editor": { "version": "3.1.0", "dev": true, @@ -27911,9 +27878,9 @@ } }, "is-bun-module": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.1.0.tgz", - "integrity": "sha512-4mTAVPlrXpaN3jtF0lsnPCMGnq4+qZjVIKq0HCpfcqf8OC1SM5oATCIAPM5V5FN05qp2NNnFndphmdZS9CV3hA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.3.0.tgz", + "integrity": "sha512-DgXeu5UWI0IsMQundYb5UAOzm6G2eVnarJ0byP6Tm55iZNKceD59LNPA2L4VvsScTtHcw0yEkVwSf7PC+QoLSA==", "requires": { "semver": "^7.6.3" } @@ -29160,11 +29127,6 @@ } } }, - "merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==" - }, "merge-stream": { "version": "2.0.0", "dev": true @@ -29420,7 +29382,8 @@ } }, "mime": { - "version": "1.6.0" + "version": "1.6.0", + "dev": true }, "mime-db": { "version": "1.52.0" @@ -29758,7 +29721,8 @@ "version": "2.0.0" }, "negotiator": { - "version": "0.6.3" + "version": "0.6.3", + "dev": true }, "neo-async": { "version": "2.6.2", @@ -31522,6 +31486,24 @@ "path-to-regexp": "^8.0.0" } }, + "rspack-resolver": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/rspack-resolver/-/rspack-resolver-1.2.2.tgz", + "integrity": "sha512-Fwc19jMBA3g+fxDJH2B4WxwZjE0VaaOL7OX/A4Wn5Zv7bOD/vyPZhzXfaO73Xc2GAlfi96g5fGUa378WbIGfFw==", + "requires": { + "@unrs/rspack-resolver-binding-darwin-arm64": "1.2.2", + "@unrs/rspack-resolver-binding-darwin-x64": "1.2.2", + "@unrs/rspack-resolver-binding-freebsd-x64": "1.2.2", + "@unrs/rspack-resolver-binding-linux-arm-gnueabihf": "1.2.2", + "@unrs/rspack-resolver-binding-linux-arm64-gnu": "1.2.2", + "@unrs/rspack-resolver-binding-linux-arm64-musl": "1.2.2", + "@unrs/rspack-resolver-binding-linux-x64-gnu": "1.2.2", + "@unrs/rspack-resolver-binding-linux-x64-musl": "1.2.2", + "@unrs/rspack-resolver-binding-wasm32-wasi": "1.2.2", + "@unrs/rspack-resolver-binding-win32-arm64-msvc": "1.2.2", + "@unrs/rspack-resolver-binding-win32-x64-msvc": "1.2.2" + } + }, "run-async": { "version": "2.4.1", "dev": true @@ -31603,6 +31585,7 @@ "version": "0.19.0", "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "dev": true, "requires": { "debug": "2.6.9", "depd": "2.0.0", @@ -31621,17 +31604,20 @@ "dependencies": { "debug": { "version": "2.6.9", + "dev": true, "requires": { "ms": "2.0.0" }, "dependencies": { "ms": { - "version": "2.0.0" + "version": "2.0.0", + "dev": true } } }, "ms": { - "version": "2.1.3" + "version": "2.1.3", + "dev": true } } }, @@ -31680,6 +31666,7 @@ "version": "1.16.2", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "dev": true, "requires": { "encodeurl": "~2.0.0", "escape-html": "~1.0.3", @@ -31690,7 +31677,8 @@ "encodeurl": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==" + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "dev": true } } }, @@ -31988,9 +31976,9 @@ } }, "stable-hash": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.4.tgz", - "integrity": "sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==" + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz", + "integrity": "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==" }, "stack-trace": { "version": "0.0.10" @@ -32323,9 +32311,6 @@ } } }, - "tapable": { - "version": "2.2.1" - }, "tar": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", diff --git a/package.json b/package.json index a4e3a83cc..32b4ed5e4 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "cross-env": "7.0.3", "eslint": "9.22.0", "eslint-config-prettier": "10.1.1", - "eslint-import-resolver-typescript": "3.8.7", + "eslint-import-resolver-typescript": "3.9.1", "eslint-plugin-import": "2.31.0", "eslint-plugin-mocha": "10.5.0", "eslint-plugin-promise": "7.2.1", diff --git a/packages/appium/CHANGELOG.md b/packages/appium/CHANGELOG.md index 56fad5976..a6258f8bd 100644 --- a/packages/appium/CHANGELOG.md +++ b/packages/appium/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.17.1](https://github.com/appium/appium/compare/appium@2.17.0...appium@2.17.1) (2025-03-17) + +**Note:** Version bump only for package appium + + + ## [2.17.0](https://github.com/appium/appium/compare/appium@2.16.2...appium@2.17.0) (2025-03-11) diff --git a/packages/appium/docs/zh/contributing/config-system.md b/packages/appium/docs/zh/contributing/config-system.md index 289b6990d..45b93d813 100644 --- a/packages/appium/docs/zh/contributing/config-system.md +++ b/packages/appium/docs/zh/contributing/config-system.md @@ -180,45 +180,31 @@ Appium会使用`appiumCliTransformer: 'csv'`。 不需要这种特殊处理的属性直接使用`ajv`进行验证。这是如何工作的一些解释,所以接下来就是这样。 -#### Validation of Individual Arguments via `ajv` +#### 通过 `ajv` 实现单个参数的验证 -When we think of a JSON schema, we tend to think, "I have this JSON file and I want to validate it -against the schema". That's valid, and in fact Appium does just that with config files! However, -Appium does not do this when validating arguments. +当我们思考 JSON 模式时,通常会认为“我有一个 JSON 文件需要根据模式进行验证”。这种理解是正确的,实际上 Appium 在处理配置文件时正是这样做的!不过,Appium 在验证参数时采用了不同的方式。 !!! 注意 - During implementation, I was tempted to mash all of the arguments together into - a config-file-like data structure and then validate it all at once. I think that would have - been _possible_, but since an object full of CLI arguments is a flat key/value structure and - the schema is not, this seemed like trouble. + 在实现过程中,我曾试图将所有参数组合成一个类似配置文件的数据结构进行统一验证。虽然这在理论上是可行的,但由于 CLI 参数对象是扁平的键/值结构,而模式本身并非扁平结构,这种做法可能会引发问题。 -Instead, Appium validates a value against a specific property _within_ the schema. To do this, it -maintains a mapping between a CLI argument definition and its corresponding property. The mapping -itself is a `Map` with a unique identifier for the argument as the key, and an `ArgSpec` -(`lib/schema/arg-spec.js`) object as the value. +Appium 实际采用的方式是:针对模式中特定的属性对参数值进行验证。为此,系统维护了 CLI 参数定义与对应模式属性之间的映射关系。这个映射关系通过一个 `Map` 实现,其中键是参数的唯一标识符,值是一个 `ArgSpec` 对象(定义于 `lib/schema/arg-spec.js`)。 -An `ArgSpec` object stores the following metadata: +`ArgSpec` 对象包含以下元数据: -| Property Name | Description | -| --------------- | ------------------------------------------------------------------------------------- | -| `name` | Canonical name of the argument, corresponding to the property name in the schema. | -| `extType?` | `driver` or `plugin`, if appropriate | -| `extName?` | Extension name, if appropriate | -| `ref` | Computed `$id` of the property in the schema | -| `arg` | Argument as accepted on CLI, without leading dashes | -| `dest` | Property name in parsed arguments object (as returned by `argparse`'s `parse_args()`) | -| `defaultValue?` | Value of the `default` keyword in schema, if appropriate | +| 属性名称 | 描述 | +| --------------- | --------------------------------------------------------------------------------------- | +| `name` | 参数的规范名称,对应模式中的属性名 | +| `extType?` | 扩展类型(`driver` 或 `plugin`),如果适用 | +| `extName?` | 扩展名称,如果适用 | +| `ref` | 模式中该属性的计算后 `$id` 引用 | +| `arg` | CLI 接受的参数名(不带前导短横线) | +| `dest` | 解析后参数对象的属性名(由 `argparse` 的 `parse_args()` 返回) | +| `defaultValue?` | 模式中 `default` 关键字对应的值(如果存在) | -When a schema is [finalized](#schema-finalization), the `Map` is populated with `ArgSpec` objects -for all known arguments. +当模式完成[最终化](#schema-finalization)时,该 `Map` 会被填充所有已知参数的 `ArgSpec` 对象。 -So when the adapter is creating the pipeline of functions for the argument's `type`, it already has -an `ArgSpec` for the argument. It creates a function which calls `validate(value, ref)` (in -`lib/schema/schema.js`) where `value` is whatever the user provided, and `ref` is the `ref` -property of the `ArgSpec`. The concept is that `ajv` can validate using _any_ `ref` it knows about; -each property in a schema can be referenced by this `ref` whether it's defined or not. To help -visualize, if a schema is: +在适配器为参数的 `type` 创建函数管道时,系统已经拥有该参数的 `ArgSpec`。它会创建一个调用 `validate(value, ref)` 的函数(位于 `lib/schema/schema.js`),其中 `value` 是用户提供的参数值,`ref` 是 `ArgSpec` 的 `ref` 属性。核心原理在于 `ajv` 可以使用任何已知的 `ref` 进行验证——无论该属性是否被显式定义,模式中的每个属性都可以通过其 `ref` 被引用。以下列模式为例: ```json { @@ -232,76 +218,50 @@ visualize, if a schema is: } ``` -The `ref` of `foo` would be `my-schema.json#/properties/foo`. Assuming our `Ajv` instance knows -about this `my-schema.json`, then we can call its `getSchema(ref)` method (which has a `schema` -property, but is a misnomer nonetheless) to get a validation function; `validate(value, ref)` in -`schema.js` calls this validation function. +其中 `foo` 的 `ref` 应为 `my-schema.json#/properties/foo`。假设我们的 `Ajv` 实例已注册该模式,即可通过 `getSchema(ref)` 方法(虽然名称有误,但其 `schema` 属性有效)获取验证函数;`schema.js` 中的 `validate(value, ref)` 方法正是调用此验证函数。 !!! 注意 - The schema spec says a schema author can supply an explicit `$id` keyword to override this; - it's unsupported by Appium at this time. If needed, extension authors must carefully use `$ref` - without custom `$id`s. It's highly unlikely an extension would have a schema so complicated as - to need this, however; Appium itself doesn't even use `$ref` to define its own properties! + 虽然模式规范允许通过显式声明 `$id` 来覆盖默认引用标识,但 Appium 目前不支持此特性。如有需要,扩展开发者必须谨慎使用不包含自定义 `$id` 的 `$ref` 引用。不过 Appium 自身的模式定义都未使用 `$ref`,可见扩展通常不需要如此复杂的模式结构。 -Next, let's take a look at how Appium loads schemas. This actually happens _before_ any argument -validation. +接下来我们将探讨 Appium 如何加载模式。值得注意的是,模式加载过程实际上发生在参数验证之前。 -## Schema Loading +## 模式加载 -Let's ignore extensions for a moment, and start with the base schema. +让我们暂时忽略扩展功能,先从基础模式开始解析。 -When something first imports the `lib/schema/schema.js` module, an instance of an `AppiumSchema` is -created. This is a singleton, and its methods are exported from the module (all of which are bound -to the instance). +当首次导入 `lib/schema/schema.js` 模块时,系统会创建一个 `AppiumSchema` 实例。该实例为单例模式,其所有方法(均已绑定到实例)都通过该模块对外暴露。 -The constructor does very little; it instantiates an `Ajv` instance and configures it with Appium's -[custom keywords](#custom-keyword-reference) and adds support for the `format` keyword via the -[ajv-formats](https://npm.im/ajv-formats) module. +构造函数仅执行基础操作:实例化一个 `Ajv` 验证器实例,并通过以下方式对其进行配置:添加 Appium 的[自定义关键字](#custom-keyword-reference); +通过 [ajv-formats](https://npm.im/ajv-formats) 模块启用 `format` 关键字支持。 -Otherwise, the `AppiumSchema` instance does not interact with the `Ajv` instance until its -`finalize()` method (exported as `finalizeSchema()`) is called. When this method is called, we're -saying "we are not going to add any more schemas; go ahead and create `ArgSpec` objects and -register schemas with `ajv`". +在调用 `finalize()` 方法(导出为 `finalizeSchema()`)之前,`AppiumSchema` 实例不会与 `Ajv` 实例产生交互。此方法的调用标志着"模式定义阶段结束,将开始创建 `ArgSpec` 对象并向 `ajv` 注册最终模式"。 -When does finalization happen? Well: +最终化触发的时机如下: -1. When the `appium` executable begins, it _checks for and configures extensions_ (hand-wave) in `APPIUM_HOME`. -2. Only then does it start to think about arguments--it instantiates an `ArgParser`, which (as you'll recall) runs the adapter to convert the schema to arguments. -3. _Finalization happens here_--when creating the parser. Appium need the schema(s) to be registered with `ajv` in order to create validation functions for arguments. -4. Thereafter, Appium parses the arguments with the `ArgParser`. -5. Finally, decides what to do with the returned object. +1. 当 `appium` 可执行文件启动时,首先在 `APPIUM_HOME` 目录中检查并配置扩展(此处简化处理) +2. 随后开始处理参数——实例化 `ArgParser`,该操作会运行适配器将模式转换为参数定义 +3. 最终化在此处发生:创建解析器时,Appium 需要向 `ajv` 注册模式以生成参数验证函数 +4. 通过 `ArgParser`完成参数解析 +5. 最终根据解析结果决定后续操作流程 -Without extensions, `finalize()` still knows about the Appium base schema -(`appium-config-schema.js`), and just registers that. However, step 1. above is doing a _lot of -work_, so let's look at how extensions come into play. +即使没有扩展功能,`finalize()` 仍会识别 Appium 的基础模式(`appium-config-schema.js`)并进行注册。不过上述步骤 1 实际涉及复杂的扩展处理机制,接下来我们将深入探讨扩展功能的影响。 -## Extension Support +## 扩展支持 -One of the design goals of this system is the following: +本系统的设计目标之一是: -_An extension should be able to register custom CLI arguments with the Appium, and a user should be -able to use them like any other argument_. +扩展应该能够向Appium注册自定义CLI参数,用户应该能够像使用其他参数一样使用它们。 -Previously, Appium 2 accepted arguments in this manner (via `--driverArgs`), but validation was -hand-rolled and required extension implementors to use a custom API. It also required the user to -awkwardly pass a JSON string as the configuration on the command-line. Further, no contextual help -(via `--help`) existed for these arguments. +此前,Appium 2通过`--driverArgs`方式接受参数,但验证过程需要手动实现,并要求扩展开发者使用自定义API。这种方式还要求用户在命令行中笨拙地传递JSON字符串作为配置。此外,这些参数没有上下文帮助信息(通过`--help`)。 -Now, by providing a schema for its options, a driver or plugin can register CLI arguments and -config file schemas with Appium. +现在,通过为选项提供模式(schema),驱动或插件可以向Appium注册CLI参数和配置文件模式。 -To register a schema, an extension must provide the `appium.schema` property in its `package.json`. -The value may be a schema or a path to a schema. If the latter, the schema should be JSON or -a CommonJS module (ESM not supported at this time, nor is YAML). +要注册模式,扩展必须在其`package.json`中提供`appium.schema`属性。该值可以是模式本身或模式文件的路径。如果是路径,模式文件应为JSON或CommonJS模块(目前不支持ESM和YAML)。 -For any property in this schema, the property will appear as a CLI argument of the form -`----`. For example, if the `fake` driver provides -a property `foo`, the argument will be `--driver-fake-foo`, and will show in `appium server --help` -like any other CLI argument. +对于该模式中的任何属性,都将以`--<扩展类型>-<扩展名称>-<属性名称>`的形式作为CLI参数出现。例如,如果`fake`驱动提供了`foo`属性,对应的参数将是`--driver-fake-foo`,并会像其他CLI参数一样显示在`appium server --help`中。 -The corresponding property in a config file would be -`server...`, e.g.: +配置文件中对应的属性路径为`server.<扩展类型>.<扩展名称>.<属性名称>`,例如: ```json { @@ -315,47 +275,35 @@ The corresponding property in a config file would be } ``` -The naming convention described above avoids problems of one extension type having a name conflict -with a different extension type. +上述命名约定避免了不同扩展类型之间的名称冲突问题。 !!! 注意 - While an extension can provide aliases via `appiumCliAliases`, "short" flags are disallowed, - since all arguments from extensions are prefixed with `----`. - The extension name and argument name will be kebab-cased for the CLI, according to [Lodash's - rules](https://lodash.com/docs/4.17.15#kebabCase) around kebab-casing. + 虽然扩展可以通过`appiumCliAliases`提供别名,但禁止使用"短"标志(short flags),因为所有扩展参数都带有`--<扩展类型>-<扩展名称>-`前缀。根据[Lodash的kebab-case规则](https://lodash.com/docs/4.17.15#kebabCase),扩展名称和参数名称在CLI中将被转换为kebab-case格式。 -The schema object will look much like Appium's base schema, but it will only have top-level -properties (nested properties are currently unsupported). Example: +模式对象的结构与Appium基础模式相似,但仅支持顶层属性(目前不支持嵌套属性)。示例: ```json { - "title": "my rad schema for the cowabunga driver", + "title": "为cowabunga驱动设计的超棒模式", "type": "object", "properties": { "fizz": { "type": "string", "default": "buzz", - "$comment": "corresponds to CLI --driver-cowabunga-fizz" + "$comment": "对应CLI参数--driver-cowabunga-fizz" } } } ``` -As written in a user's config file, this would be the `server.driver.cowabunga.fizz` property. +在用户的配置文件中,该属性将表示为`server.driver.cowabunga.fizz`。 -When extensions are loaded, the `schema` property is verified and the schema is registered with the -`AppiumSchema` (it is _not_ registered with `Ajv` until `finalize()` is called). +当扩展被加载时,`schema`属性会被验证,并且模式会被注册到`AppiumSchema`中(在调用`finalize()`之前不会注册到`Ajv`)。 -During finalization, each registered schema is added to the `Ajv` instance. The schema is assigned -an `$id` based on the extension type and name (which overrides whatever the extension provides, if -anything). Schemas are also forced to disallowed unknown arguments via the `additionalProperties: -false` keyword. +在最终化阶段,每个注册的模式都会被添加到`Ajv`实例中。模式会根据扩展类型和名称分配一个`$id`(这会覆盖扩展可能提供的任何现有ID)。模式还会通过`additionalProperties: false`强制禁止未知参数。 -Behind the scenes, the base schema has `driver` and `plugin` properties which are objects. When -finalized, a property is added to each--corresponding to an extension name--and the value of this -property is a reference to the `$id` of a property in the extension schema. For example, the -`server.driver` property will look like this: +在底层实现中,基础模式包含`driver`和`plugin`属性(都是对象类型)。最终化时,会为每个属性添加对应扩展名称的子属性,其值是对扩展模式中`$id`的引用。例如,`server.driver`属性将如下所示: ```json { @@ -367,45 +315,30 @@ property is a reference to the `$id` of a property in the extension schema. For } ``` -This is why we call it the "base" schema--it is _mutated_ when extensions provide schemas. The -extension schemas are kept separately, but the _references_ are added to the schema before it's -ultimately added to `ajv`. This works because an `Ajv` instance understands references _from_ any -schema it knows about _to_ any schema it knows about. +这就是为什么我们称之为“基础”模式——当扩展提供模式时,它会发生变化。扩展模式是分开保存的,但在最终将其添加到`ajv`之前,会将引用添加到模式中。这是有效的,因为`Ajv`实例能够理解已注册模式之间的相互引用。 !!! 注意 - This makes it impossible to provide a complete static schema for Appium _and_ the installed - extensions (as of Nov 5 2021). A static `.json` schema _is_ generated from the base (via a Gulp - task), but it does not contain any extension schemas. The static schema also has uses beyond - Appium; e.g., IDEs can provide contextual error-checking of config files this way. Let's solve - this? + 这使得为Appium及其安装的扩展提供完整的静态模式变得不可能(截至2021年11月5日)。基础模式会通过Gulp任务生成静态`.json`模式文件,但不包含任何扩展模式。这种静态模式还有其他用途,例如IDE可以通过这种方式提供配置文件的上下文错误检查。这个问题需要后续解决? -Just like how we look up the reference ID of a particular argument in the base schema, validation -of arguments from extensions happens the exact same way. If the `cowabunga` driver has the schema -ID `driver-cowabunga.json`, then the `fizz` property can be referenced from any schema registered -with `ajv` via `driver-cowabunga.json#/properties/fizz`. "Base" schema arguments begin with -`appium.json#properties/` instead. +与在基础模式中查找参数的引用ID方式相同,扩展参数的验证过程完全一致。如果`cowabunga`驱动的模式ID是`driver-cowabunga.json`,那么`fizz`属性可以通过`driver-cowabunga.json#/properties/fizz`路径在任意已注册模式中被引用。“基础”模式参数的引用路径则以`appium.json#properties/`开头。 -## Development Environment Support +## 开发环境支持 -During the flow of development, a couple extra tasks have been automated to maintain the base -schema: +在开发流程中,我们自动化了以下几个任务来维护基础模式: -- As a post-transpilation step, a `lib/appium-config.schema.json` gets generated from -- `lib/schema/appium-config-schema.js` (in addition to its CJS counterpart generated by Babel). -- This file is under version control. It ends up being _copied_ to -- `build/lib/appium-config.schema.json` in this step. A pre-commit hook (see -- `scripts/generate-schema-declarations.js` in the root monorepo) generates -- a `types/appium-config-schema.d.ts` from the above JSON file. The types in `types/types.d.ts` -- depend upon this file. This file is under version control. +- 作为后置转译步骤,会从 `lib/schema/appium-config-schema.js` 生成 `lib/appium-config.schema.json`(除了 Babel 生成的 CJS 对应文件外) +- 该文件受版本控制管理。在此步骤中会被复制到 `build/lib/appium-config.schema.json` +- 通过预提交钩子(参见 monorepo 根目录的 `scripts/generate-schema-declarations.js`)会从上述 JSON 文件生成 `types/appium-config-schema.d.ts` +- `types/types.d.ts` 中的类型定义依赖此文件,该文件受版本控制管理 -## Custom Keyword Reference +## 自定义关键字参考 -Keywords are defined in `lib/schema/keywords.js`. +关键字定义于 `lib/schema/keywords.js` -- `appiumCliAliases`: allows a schema to express aliases (e.g., a CLI argument can be `--verbose` or `-v`). This is an array of strings. Strings shorter than three (3) characters will begin with a single dash (`-`) instead of a double-dash (`--`). Note that any argument provided by an extension will begin with a double-dash, because these are required to have the `----` prefix. -- `appiumCliDest`: allows a schema to specify a custom property name in the post-`argprase` arguments objects. If not set, this becomes a camelCased string. -- `appiumCliDescription`: allows a schema to override the description of the argument when displayed on the command-line. This is useful paired with `appiumCliTransformer` (or `array`/`object`-typed properties), since there's a substantial difference between what a CLI-using user can provide vs. what a config-file-using user can provide. -- `appiumCliTransformer`: currently a choice between `csv` and `json`. These are custom functions which post-process a value. They are not used when loading & validating config files, but the idea should be that they result in the same object you'd get if you used whatever the config file wanted (e.g., an array of strings). `csv` is for comma-delimited strings and CSV files; `json` is for raw JSON strings and `.json` files. -- `appiumCliIgnore`: If `true`, do not support this property on the CLI. -- `appiumDeprecated`: If `true`, the property is considered "deprecated", and will be displayed as such to the user (e.g., in the `--help` output). Note the JSON Schema draft-2019-09 introduces a new keyword `deprecated` which we should use instead if upgrading to this metaschema. When doing so, `appiumDeprecated` should itself be marked as `deprecated`. +- `appiumCliAliases`: 允许模式声明参数别名(例如 CLI 参数可以是 `--verbose` 或 `-v`)。值为字符串数组。短于三(3)个字符的字符串将使用单短横线(`-`)而非双短横线(`--`)开头。注意任何由扩展提供的参数都必须以双短横线开头,因为这些参数需要带有 `----` 前缀 +- `appiumCliDest`: 允许模式指定 `argparse` 解析后参数对象中的自定义属性名。若未设置,将转换为驼峰式命名 +- `appiumCliDescription`: 允许模式覆盖命令行显示的参数描述。与 `appiumCliTransformer`(或 `array`/`object` 类型属性)配合使用时非常有用,因为 CLI 用户可提供的内容与配置文件用户可提供的内容存在显著差异 +- `appiumCliTransformer`: 目前支持 `csv` 和 `json` 两种选项。这些是用于后处理值的自定义函数。在加载和验证配置文件时不使用这些转换器,但核心思想是它们应该产生与使用配置文件相同的对象(例如字符串数组)。`csv` 用于逗号分隔字符串和 CSV 文件;`json` 用于原始 JSON 字符串和 `.json` 文件 +- `appiumCliIgnore`: 若为 `true`,则不在 CLI 中支持该属性 +- `appiumDeprecated`: 若为 `true`,该属性将被视为"已弃用",并会向用户显示为弃用状态(例如在 `--help` 输出中)。注意 JSON Schema draft-2019-09 引入了新的 `deprecated` 关键字,如果我们升级到该元模式应该改用此关键字。迁移时,`appiumDeprecated` 本身应被标记为 `deprecated` \ No newline at end of file diff --git a/packages/appium/package.json b/packages/appium/package.json index 80afa1523..bbec6077b 100644 --- a/packages/appium/package.json +++ b/packages/appium/package.json @@ -62,10 +62,10 @@ "dependencies": { "@appium/base-driver": "^10.0.0-beta.0", "@appium/base-plugin": "^3.0.0-beta.0", - "@appium/docutils": "^1.0.33", + "@appium/docutils": "^1.0.34", "@appium/logger": "^1.6.1", "@appium/schema": "^0.8.1", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/types": "^0.25.2", "@sidvind/better-ajv-errors": "3.0.1", "ajv": "8.17.1", diff --git a/packages/base-driver/CHANGELOG.md b/packages/base-driver/CHANGELOG.md index 52f56fff1..1d37d1b0f 100644 --- a/packages/base-driver/CHANGELOG.md +++ b/packages/base-driver/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.16.4](https://github.com/appium/appium/compare/@appium/base-driver@9.16.3...@appium/base-driver@9.16.4) (2025-03-17) + + +### Bug Fixes + +* **base-driver:** Exclude proxied headers from the server response ([#21120](https://github.com/appium/appium/issues/21120)) ([f800c9d](https://github.com/appium/appium/commit/f800c9d760ab3271532c42a507fbaf2bf190fc4b)) + + + ## [9.16.3](https://github.com/appium/appium/compare/@appium/base-driver@9.16.2...@appium/base-driver@9.16.3) (2025-03-11) diff --git a/packages/base-driver/lib/jsonwp-proxy/proxy.js b/packages/base-driver/lib/jsonwp-proxy/proxy.js index 292f86345..9d45bf9a4 100644 --- a/packages/base-driver/lib/jsonwp-proxy/proxy.js +++ b/packages/base-driver/lib/jsonwp-proxy/proxy.js @@ -428,18 +428,13 @@ export class JWProxy { /** @type {import('@appium/types').HTTPMethod} */ (req.method), req.body ); - for (const [name, value] of _.toPairs(response.headers)) { - if (!_.isNil(value)) { - res.setHeader(name, _.isBoolean(value) ? String(value) : value); - } - } statusCode = response.statusCode; } catch (err) { [statusCode, resBodyObj] = getResponseForW3CError( isErrorType(err, errors.ProxyRequestError) ? err.getActualError() : err ); } - res.set('content-type', 'application/json; charset=utf-8'); + res.setHeader('content-type', 'application/json; charset=utf-8'); if (!_.isPlainObject(resBodyObj)) { const error = new errors.UnknownError( `The downstream server response with the status code ${statusCode} is not a valid JSON object: ` + diff --git a/packages/base-driver/package.json b/packages/base-driver/package.json index 0dc2a8918..8e716206e 100644 --- a/packages/base-driver/package.json +++ b/packages/base-driver/package.json @@ -44,7 +44,7 @@ "test:types": "tsd" }, "dependencies": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/types": "^0.25.2", "@colors/colors": "1.6.0", "async-lock": "1.4.1", @@ -69,8 +69,8 @@ "spdy": "4.0.2" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0", - "npm": ">=8" + "node": "^20.9.0 || >=22.11.0", + "npm": ">=10" }, "publishConfig": { "access": "public", diff --git a/packages/base-driver/test/unit/jsonwp-proxy/proxy.spec.js b/packages/base-driver/test/unit/jsonwp-proxy/proxy.spec.js index a4a123660..268291c16 100644 --- a/packages/base-driver/test/unit/jsonwp-proxy/proxy.spec.js +++ b/packages/base-driver/test/unit/jsonwp-proxy/proxy.spec.js @@ -7,9 +7,6 @@ function buildReqRes(url, method, body) { let req = {originalUrl: url, method, body}; let res = {}; res.headers = {}; - res.set = (k, v) => { - res[k] = v; - }; res.setHeader = (k, v) => { res.headers[k] = v; }; diff --git a/packages/base-plugin/CHANGELOG.md b/packages/base-plugin/CHANGELOG.md index a9b1a288d..67818757d 100644 --- a/packages/base-plugin/CHANGELOG.md +++ b/packages/base-plugin/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.3.5](https://github.com/appium/appium/compare/@appium/base-plugin@2.3.4...@appium/base-plugin@2.3.5) (2025-03-17) + +**Note:** Version bump only for package @appium/base-plugin + + + + + ## [2.3.4](https://github.com/appium/appium/compare/@appium/base-plugin@2.3.3...@appium/base-plugin@2.3.4) (2025-03-11) **Note:** Version bump only for package @appium/base-plugin diff --git a/packages/base-plugin/package.json b/packages/base-plugin/package.json index 11b0efffb..1cb3bd10f 100644 --- a/packages/base-plugin/package.json +++ b/packages/base-plugin/package.json @@ -41,11 +41,11 @@ }, "dependencies": { "@appium/base-driver": "^10.0.0-beta.0", - "@appium/support": "^6.0.7" + "@appium/support": "^6.0.8" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0", - "npm": ">=8" + "node": "^20.9.0 || >=22.11.0", + "npm": ">=10" }, "publishConfig": { "access": "public", diff --git a/packages/docutils/CHANGELOG.md b/packages/docutils/CHANGELOG.md index b72e51247..f1bd0c9ac 100644 --- a/packages/docutils/CHANGELOG.md +++ b/packages/docutils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.34](https://github.com/appium/appium/compare/@appium/docutils@1.0.33...@appium/docutils@1.0.34) (2025-03-17) + +**Note:** Version bump only for package @appium/docutils + + + + + ## [1.0.33](https://github.com/appium/appium/compare/@appium/docutils@1.0.32...@appium/docutils@1.0.33) (2025-03-11) **Note:** Version bump only for package @appium/docutils diff --git a/packages/docutils/package.json b/packages/docutils/package.json index 6b009fe59..6805f8710 100644 --- a/packages/docutils/package.json +++ b/packages/docutils/package.json @@ -1,6 +1,6 @@ { "name": "@appium/docutils", - "version": "1.0.33", + "version": "1.0.34", "description": "Documentation generation utilities for Appium and related projects", "keywords": [ "automation", @@ -48,11 +48,11 @@ "start": "node ./build/lib/cli/index.js" }, "dependencies": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@appium/tsconfig": "^0.3.5", "@sliphua/lilconfig-ts-loader": "3.2.2", "chalk": "4.1.2", - "consola": "3.4.0", + "consola": "3.4.2", "diff": "7.0.0", "json5": "2.2.3", "lilconfig": "3.1.3", diff --git a/packages/docutils/requirements.txt b/packages/docutils/requirements.txt index 5562ea98e..dde6f819a 100644 --- a/packages/docutils/requirements.txt +++ b/packages/docutils/requirements.txt @@ -1,5 +1,5 @@ mkdocs==1.6.1 -mkdocs-git-revision-date-localized-plugin==1.4.4 -mkdocs-material==9.6.8 +mkdocs-git-revision-date-localized-plugin==1.4.5 +mkdocs-material==9.6.9 mkdocs-redirects==1.2.2 mike==2.1.3 diff --git a/packages/driver-test-support/CHANGELOG.md b/packages/driver-test-support/CHANGELOG.md index 88b6ea319..03e62df4b 100644 --- a/packages/driver-test-support/CHANGELOG.md +++ b/packages/driver-test-support/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.8](https://github.com/appium/appium/compare/@appium/driver-test-support@0.7.7...@appium/driver-test-support@0.7.8) (2025-03-17) + +**Note:** Version bump only for package @appium/driver-test-support + + + + + ## [0.7.7](https://github.com/appium/appium/compare/@appium/driver-test-support@0.7.6...@appium/driver-test-support@0.7.7) (2025-03-11) **Note:** Version bump only for package @appium/driver-test-support diff --git a/packages/driver-test-support/package.json b/packages/driver-test-support/package.json index 3fddd0eee..535b4f6a6 100644 --- a/packages/driver-test-support/package.json +++ b/packages/driver-test-support/package.json @@ -1,6 +1,6 @@ { "name": "@appium/driver-test-support", - "version": "0.7.7", + "version": "0.7.8", "description": "Test utilities for Appium drivers", "keywords": [ "automation", diff --git a/packages/eslint-config-appium-ts/package.json b/packages/eslint-config-appium-ts/package.json index c82d0190f..5115d0b19 100644 --- a/packages/eslint-config-appium-ts/package.json +++ b/packages/eslint-config-appium-ts/package.json @@ -32,7 +32,7 @@ "@eslint/compat": "^1.1.0", "@eslint/js": "^9.0.0", "eslint": "^9.0.0", - "eslint-config-prettier": "^9.0.0 || ^10.0.0", + "eslint-config-prettier": "^10.0.0", "eslint-import-resolver-typescript": "^3.5.0", "eslint-plugin-import": "^2.30.0", "eslint-plugin-mocha": "^10.4.0", diff --git a/packages/execute-driver-plugin/CHANGELOG.md b/packages/execute-driver-plugin/CHANGELOG.md index ceecd9de4..b01986d26 100644 --- a/packages/execute-driver-plugin/CHANGELOG.md +++ b/packages/execute-driver-plugin/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.4](https://github.com/appium/appium/compare/@appium/execute-driver-plugin@4.0.3...@appium/execute-driver-plugin@4.0.4) (2025-03-17) + +**Note:** Version bump only for package @appium/execute-driver-plugin + + + + + ## [4.0.3](https://github.com/appium/appium/compare/@appium/execute-driver-plugin@4.0.2...@appium/execute-driver-plugin@4.0.3) (2025-03-11) **Note:** Version bump only for package @appium/execute-driver-plugin diff --git a/packages/execute-driver-plugin/package.json b/packages/execute-driver-plugin/package.json index 19cf5471f..a06dbf4ea 100644 --- a/packages/execute-driver-plugin/package.json +++ b/packages/execute-driver-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@appium/execute-driver-plugin", - "version": "4.0.3", + "version": "4.0.4", "description": "Plugin for batching and executing driver commands with Appiums", "keywords": [ "automation", diff --git a/packages/fake-plugin/CHANGELOG.md b/packages/fake-plugin/CHANGELOG.md index dba8c28ce..fdef94468 100644 --- a/packages/fake-plugin/CHANGELOG.md +++ b/packages/fake-plugin/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.2.5](https://github.com/appium/appium/compare/@appium/fake-plugin@3.2.4...@appium/fake-plugin@3.2.5) (2025-03-17) + +**Note:** Version bump only for package @appium/fake-plugin + + + + + ## [3.2.4](https://github.com/appium/appium/compare/@appium/fake-plugin@3.2.3...@appium/fake-plugin@3.2.4) (2025-03-11) **Note:** Version bump only for package @appium/fake-plugin diff --git a/packages/fake-plugin/package.json b/packages/fake-plugin/package.json index e35ba24e0..f4e8481f1 100644 --- a/packages/fake-plugin/package.json +++ b/packages/fake-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@appium/fake-plugin", - "version": "3.2.4", + "version": "3.2.5", "description": "A fake Appium 2.0 plugin", "keywords": [ "automation", @@ -40,7 +40,7 @@ }, "dependencies": { "@appium/base-plugin": "^3.0.0-beta.0", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "bluebird": "3.7.2", "lodash": "4.17.21", "source-map-support": "0.5.21" diff --git a/packages/images-plugin/CHANGELOG.md b/packages/images-plugin/CHANGELOG.md index 5ab049d6b..9bc641527 100644 --- a/packages/images-plugin/CHANGELOG.md +++ b/packages/images-plugin/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.1](https://github.com/appium/appium/compare/@appium/images-plugin@3.1.0...@appium/images-plugin@3.1.1) (2025-03-17) + +**Note:** Version bump only for package @appium/images-plugin + + + + + ## [3.1.0](https://github.com/appium/appium/compare/@appium/images-plugin@3.0.30...@appium/images-plugin@3.1.0) (2025-03-11) diff --git a/packages/images-plugin/package.json b/packages/images-plugin/package.json index b8281dfef..37fec36ec 100644 --- a/packages/images-plugin/package.json +++ b/packages/images-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@appium/images-plugin", - "version": "3.1.0", + "version": "3.1.1", "description": "Plugin for working with images and image elements in Appium", "keywords": [ "automation", @@ -40,7 +40,7 @@ }, "dependencies": { "@appium/opencv": "^3.0.8", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "lodash": "4.17.21", "lru-cache": "10.4.3", "sharp": "0.33.5", diff --git a/packages/schema/package.json b/packages/schema/package.json index 5d60bf4d3..90120bdfc 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -42,8 +42,8 @@ "source-map-support": "0.5.21" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0", - "npm": ">=8" + "node": "^20.9.0 || >=22.11.0", + "npm": ">=10" }, "publishConfig": { "access": "public" diff --git a/packages/storage-plugin/CHANGELOG.md b/packages/storage-plugin/CHANGELOG.md index 18c3755c9..07f06d533 100644 --- a/packages/storage-plugin/CHANGELOG.md +++ b/packages/storage-plugin/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.1](https://github.com/appium/appium/compare/@appium/storage-plugin@0.1.0...@appium/storage-plugin@0.1.1) (2025-03-17) + +**Note:** Version bump only for package @appium/storage-plugin + + + + + ## 0.1.0 (2025-03-11) diff --git a/packages/storage-plugin/package.json b/packages/storage-plugin/package.json index e1db2e499..35dd53643 100644 --- a/packages/storage-plugin/package.json +++ b/packages/storage-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@appium/storage-plugin", - "version": "0.1.0", + "version": "0.1.1", "description": "Server-side storage plugin", "keywords": [ "automation", @@ -41,8 +41,7 @@ "test:e2e": "mocha --timeout 20s --slow 10s \"./test/e2e/**/*.spec.*js\"" }, "dependencies": { - "@appium/base-plugin": "^2.3.4", - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "async-lock": "1.4.1", "bluebird": "3.7.2", "lodash": "4.17.21", diff --git a/packages/support/CHANGELOG.md b/packages/support/CHANGELOG.md index b72c00d89..2371c1ac0 100644 --- a/packages/support/CHANGELOG.md +++ b/packages/support/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.8](https://github.com/appium/appium/compare/@appium/support@6.0.7...@appium/support@6.0.8) (2025-03-17) + +**Note:** Version bump only for package @appium/support + + + + + ## [6.0.7](https://github.com/appium/appium/compare/@appium/support@6.0.6...@appium/support@6.0.7) (2025-03-11) **Note:** Version bump only for package @appium/support diff --git a/packages/support/package.json b/packages/support/package.json index 9999da0bd..62b3e4c47 100644 --- a/packages/support/package.json +++ b/packages/support/package.json @@ -1,6 +1,6 @@ { "name": "@appium/support", - "version": "6.0.7", + "version": "6.0.8", "description": "Support libs used across appium packages", "keywords": [ "automation", diff --git a/packages/test-support/CHANGELOG.md b/packages/test-support/CHANGELOG.md index 989844ffd..de51ebe8a 100644 --- a/packages/test-support/CHANGELOG.md +++ b/packages/test-support/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.8](https://github.com/appium/appium/compare/@appium/test-support@3.1.7...@appium/test-support@3.1.8) (2025-03-17) + +**Note:** Version bump only for package @appium/test-support + + + + + ## [3.1.7](https://github.com/appium/appium/compare/@appium/test-support@3.1.6...@appium/test-support@3.1.7) (2025-03-11) **Note:** Version bump only for package @appium/test-support diff --git a/packages/test-support/package.json b/packages/test-support/package.json index 90ad43372..1d77ae778 100644 --- a/packages/test-support/package.json +++ b/packages/test-support/package.json @@ -1,6 +1,6 @@ { "name": "@appium/test-support", - "version": "3.1.7", + "version": "3.1.8", "description": "A collection of test utilities used across Appium packages", "keywords": [ "automation", @@ -45,7 +45,7 @@ "test:unit": "mocha \"./test/unit/**/*.spec.js\"" }, "dependencies": { - "@appium/support": "^6.0.7", + "@appium/support": "^6.0.8", "@colors/colors": "1.6.0", "bluebird": "3.7.2", "lodash": "4.17.21", diff --git a/packages/universal-xml-plugin/CHANGELOG.md b/packages/universal-xml-plugin/CHANGELOG.md index b3dd3c73d..2291a8054 100644 --- a/packages/universal-xml-plugin/CHANGELOG.md +++ b/packages/universal-xml-plugin/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.32](https://github.com/appium/appium/compare/@appium/universal-xml-plugin@1.0.31...@appium/universal-xml-plugin@1.0.32) (2025-03-17) + +**Note:** Version bump only for package @appium/universal-xml-plugin + + + + + ## [1.0.31](https://github.com/appium/appium/compare/@appium/universal-xml-plugin@1.0.30...@appium/universal-xml-plugin@1.0.31) (2025-03-11) **Note:** Version bump only for package @appium/universal-xml-plugin diff --git a/packages/universal-xml-plugin/package.json b/packages/universal-xml-plugin/package.json index 3f405c945..dc71dce5b 100644 --- a/packages/universal-xml-plugin/package.json +++ b/packages/universal-xml-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@appium/universal-xml-plugin", - "version": "1.0.31", + "version": "1.0.32", "description": "Appium plugin for making XML source and XPath queries the same across iOS and Android", "keywords": [ "automation",