Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adbkit

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adbkit - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

6

lib/adb/parser.js

@@ -179,3 +179,3 @@ (function() {

Parser.prototype.readByteFlow = function(howMany) {
Parser.prototype.readByteFlow = function(howMany, targetStream) {
var endListener, errorListener, resolver, tryRead;

@@ -191,7 +191,7 @@ resolver = Promise.defer();

if (howMany === 0) {
resolver.progress(chunk);
targetStream.write(chunk);
resolver.resolve();
break;
}
results.push(resolver.progress(chunk));
results.push(targetStream.write(chunk));
}

@@ -198,0 +198,0 @@ return results;

@@ -256,7 +256,3 @@ (function() {

length = lengthData.readUInt32LE(0);
return _this.parser.readByteFlow(length).progressed(function(chunk) {
return transfer.write(chunk);
}).then(function() {
return readNext();
});
return _this.parser.readByteFlow(length, transfer).then(readNext);
});

@@ -263,0 +259,0 @@ case Protocol.DONE:

{
"name": "adbkit",
"version": "2.2.0",
"version": "2.2.1",
"description": "A pure Node.js client for the Android Debug Bridge.",

@@ -5,0 +5,0 @@ "keywords": [

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