Socket
Socket
Sign inDemoInstall

@devicefarmer/adbkit

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devicefarmer/adbkit - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

.github/dependabot.yml

10

dist/package.json
{
"name": "@devicefarmer/adbkit",
"version": "3.2.0",
"version": "3.2.1",
"description": "A Typescript client for the Android Debug Bridge.",

@@ -51,3 +51,3 @@ "keywords": [

"@devicefarmer/adbkit-logcat": "^2.1.1",
"@devicefarmer/adbkit-monkey": "~1.1.0",
"@devicefarmer/adbkit-monkey": "~1.2.0",
"bluebird": "~3.7",

@@ -65,3 +65,3 @@ "commander": "^6.2.1",

"@types/bluebird": "^3.5.33",
"@types/node-forge": "^0.9.6",
"@types/node-forge": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^4.9.1",

@@ -73,3 +73,3 @@ "@typescript-eslint/parser": "^4.9.1",

"eslint-config-prettier": "^8.0.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-progress": "0.0.1",

@@ -80,3 +80,3 @@ "mocha": "~8.3.1",

"sinon": "~9.2.1",
"sinon-chai": "~3.5.0",
"sinon-chai": "~3.7.0",
"ts-node": "^9.1.1",

@@ -83,0 +83,0 @@ "typescript": "^4.1.3"

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

const debug_1 = __importDefault(require("debug"));
const debug = debug_1.default('adb:command');
const debug = (0, debug_1.default)('adb:command');
const RE_SQUOT = /'/g;

@@ -11,0 +11,0 @@ const RE_ESCAPE = /([$`\\!"])/g;

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

const command_1 = __importDefault(require("../../command"));
const debug = debug_1.default('adb:command:framebuffer');
const debug = (0, debug_1.default)('adb:command:framebuffer');
// FIXME(intentional any): not "any" will break it all

@@ -55,3 +55,3 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any

}
const proc = child_process_1.spawn('gm', ['convert', '-size', `${meta.width}x${meta.height}`, `${meta.format}:-`, `${format}:-`]);
const proc = (0, child_process_1.spawn)('gm', ['convert', '-size', `${meta.width}x${meta.height}`, `${meta.format}:-`, `${format}:-`]);
if (raw) {

@@ -58,0 +58,0 @@ raw.pipe(proc.stdin);

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

const bluebird_1 = __importDefault(require("bluebird"));
const debug = debug_1.default('adb:connection');
const debug = (0, debug_1.default)('adb:connection');
class Connection extends events_1.EventEmitter {

@@ -94,3 +94,3 @@ constructor(options) {

write(data, callback) {
this.socket.write(dump_1.default(data), callback);
this.socket.write((0, dump_1.default)(data), callback);
return this;

@@ -97,0 +97,0 @@ }

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

const bluebird_1 = __importDefault(require("bluebird"));
const debug = debug_1.default('adb:client');
const debug = (0, debug_1.default)('adb:client');
const NoUserOptionError = (err) => err.message.indexOf('--user') !== -1;

@@ -19,0 +19,0 @@ class DeviceClient {

@@ -174,6 +174,7 @@ "use strict";

if (howMany) {
const chunk = this.stream.read(howMany);
// Try to get the exact amount we need first. If unsuccessful, take
// whatever is available, which will be less than the needed amount.
while (chunk || this.stream.read()) {
// avoid chunk is undefined.
let chunk;
while (chunk = this.stream.read(howMany) || this.stream.read()) {
howMany -= chunk.length;

@@ -180,0 +181,0 @@ targetStream.write(chunk);

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

const DATA_MAX_LENGTH = 65536;
const debug = debug_1.default('adb:sync');
const debug = (0, debug_1.default)('adb:sync');
class Sync extends events_1.EventEmitter {

@@ -43,0 +43,0 @@ constructor(connection) {

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

const protocol_1 = __importDefault(require("../protocol"));
const debug = debug_1.default('adb:tcpusb:service');
const debug = (0, debug_1.default)('adb:tcpusb:service');
class PrematurePacketError extends Error {

@@ -14,0 +14,0 @@ constructor(packet) {

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

const service_1 = __importDefault(require("./service"));
const debug = debug_1.default('adb:tcpusb:socket');
const debug = (0, debug_1.default)('adb:tcpusb:socket');
const UINT32_MAX = 0xffffffff;

@@ -38,0 +38,0 @@ const UINT16_MAX = 0xffff;

{
"name": "@devicefarmer/adbkit",
"version": "3.2.0",
"version": "3.2.1",
"description": "A Typescript client for the Android Debug Bridge.",

@@ -51,3 +51,3 @@ "keywords": [

"@devicefarmer/adbkit-logcat": "^2.1.1",
"@devicefarmer/adbkit-monkey": "~1.1.0",
"@devicefarmer/adbkit-monkey": "~1.2.0",
"bluebird": "~3.7",

@@ -65,3 +65,3 @@ "commander": "^6.2.1",

"@types/bluebird": "^3.5.33",
"@types/node-forge": "^0.9.6",
"@types/node-forge": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^4.9.1",

@@ -73,3 +73,3 @@ "@typescript-eslint/parser": "^4.9.1",

"eslint-config-prettier": "^8.0.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-progress": "0.0.1",

@@ -80,3 +80,3 @@ "mocha": "~8.3.1",

"sinon": "~9.2.1",
"sinon-chai": "~3.5.0",
"sinon-chai": "~3.7.0",
"ts-node": "^9.1.1",

@@ -83,0 +83,0 @@ "typescript": "^4.1.3"

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

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc