Socket
Socket
Sign inDemoInstall

appium-adb

Package Overview
Dependencies
234
Maintainers
8
Versions
420
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.0.1 to 11.0.2

1

build/lib/stubs.d.ts
declare module 'adbkit-apkreader';
declare module 'asyncbox';
export {};
//# sourceMappingURL=stubs.d.ts.map

@@ -0,1 +1,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=stubs.js.map

4

build/lib/tools/apk-utils.js

@@ -955,3 +955,3 @@ "use strict";

const apiLevel = await this.getApiLevel();
return await (0, asyncbox_1.retryInterval)(5, 1000, async () => {
return /** @type {boolean} */ (await (0, asyncbox_1.retryInterval)(5, 1000, async () => {
try {

@@ -998,3 +998,3 @@ if (apiLevel < 23) {

}
});
}));
};

@@ -1001,0 +1001,0 @@ /**

@@ -394,5 +394,5 @@ export default systemCallMethods;

* @this {import('../adb.js').ADB}
* @param {?string} avdName - The name of the emulator to be killed. If empty,
* @param {string?} [avdName=null] - The name of the emulator to be killed. If empty,
* the current emulator will be killed.
* @param {?number} [timeout=60000] - The amount of time to wait before throwing
* @param {number} [timeout=60000] - The amount of time to wait before throwing
* an exception about unsuccessful killing

@@ -402,3 +402,3 @@ * @return {Promise<boolean>} - True if the emulator was killed, false otherwise.

*/
function killEmulator(this: import("../adb.js").ADB, avdName?: string | null, timeout?: number | null | undefined): Promise<boolean>;
function killEmulator(this: import("../adb.js").ADB, avdName?: string | null | undefined, timeout?: number | undefined): Promise<boolean>;
/**

@@ -405,0 +405,0 @@ * @typedef {Object} AvdLaunchOptions

@@ -745,3 +745,3 @@ "use strict";

try {
return await (0, asyncbox_1.waitForCondition)(async () => {
return /** @type {Device|null} */ (await (0, asyncbox_1.waitForCondition)(async () => {
try {

@@ -757,3 +757,3 @@ return await this.getRunningAVD(avdName.replace('@', ''));

intervalMs: 1000,
});
}));
}

@@ -792,5 +792,5 @@ catch (e) {

* @this {import('../adb.js').ADB}
* @param {?string} avdName - The name of the emulator to be killed. If empty,
* @param {string?} [avdName=null] - The name of the emulator to be killed. If empty,
* the current emulator will be killed.
* @param {?number} [timeout=60000] - The amount of time to wait before throwing
* @param {number} [timeout=60000] - The amount of time to wait before throwing
* an exception about unsuccessful killing

@@ -797,0 +797,0 @@ * @return {Promise<boolean>} - True if the emulator was killed, false otherwise.

@@ -0,1 +1,13 @@

## [11.0.2](https://github.com/appium/appium-adb/compare/v11.0.1...v11.0.2) (2023-10-23)
### Bug Fixes
* Fix linter errors ([#705](https://github.com/appium/appium-adb/issues/705)) ([c3977b9](https://github.com/appium/appium-adb/commit/c3977b99ed8d2d16e02d81c816f470aed925fc00))
### Miscellaneous Chores
* Always use latest types ([618cab3](https://github.com/appium/appium-adb/commit/618cab30441123c463805fd3b1ca14c8dc9215f9))
## [11.0.1](https://github.com/appium/appium-adb/compare/v11.0.0...v11.0.1) (2023-10-18)

@@ -2,0 +14,0 @@

@@ -0,2 +1,3 @@

// @ts-nocheck
declare module 'adbkit-apkreader';
declare module 'asyncbox';

@@ -1020,3 +1020,3 @@ import {

return await retryInterval(5, 1000, async () => {
return /** @type {boolean} */ (await retryInterval(5, 1000, async () => {
try {

@@ -1061,3 +1061,3 @@ if (apiLevel < 23) {

}
});
}));
};

@@ -1064,0 +1064,0 @@

@@ -779,3 +779,3 @@ import path from 'path';

try {
return await waitForCondition(async () => {
return /** @type {Device|null} */ (await waitForCondition(async () => {
try {

@@ -790,3 +790,3 @@ return await this.getRunningAVD(avdName.replace('@', ''));

intervalMs: 1000,
});
}));
} catch (e) {

@@ -824,5 +824,5 @@ throw new Error(`Error getting AVD with retry. Original error: ${e.message}`);

* @this {import('../adb.js').ADB}
* @param {?string} avdName - The name of the emulator to be killed. If empty,
* @param {string?} [avdName=null] - The name of the emulator to be killed. If empty,
* the current emulator will be killed.
* @param {?number} [timeout=60000] - The amount of time to wait before throwing
* @param {number} [timeout=60000] - The amount of time to wait before throwing
* an exception about unsuccessful killing

@@ -829,0 +829,0 @@ * @return {Promise<boolean>} - True if the emulator was killed, false otherwise.

{
"name": "appium-adb",
"version": "11.0.1",
"version": "11.0.2",
"description": "Android Debug Bridge interface",

@@ -72,3 +72,3 @@ "main": "./build/index.js",

"@appium/test-support": "^3.0.1",
"@appium/types": "^0.13.0",
"@appium/types": "^0.x",
"@commitlint/cli": "^17.6.6",

@@ -75,0 +75,0 @@ "@commitlint/config-conventional": "^17.6.6",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc