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

adbkit

Package Overview
Dependencies
Maintainers
1
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 1.1.0 to 1.1.1

4

lib/adb/client.js

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

_this = this;
temp = Sync.temp(apk);
temp = Sync.temp(typeof apk === 'string' ? apk : '_stream.apk');
return this.push(serial, apk, temp, function(err, transfer) {

@@ -357,3 +357,3 @@ if (err) {

}
return _this.shell(serial, "rm -f " + temp, function(err, out) {
return _this.shell(serial, ['rm', '-f', temp], function(err, out) {
return callback(err);

@@ -360,0 +360,0 @@ });

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

});
return this._send("shell:pm install -r " + apk + " 2>/dev/null");
return this._send("shell:pm install -r '" + apk + "' 2>/dev/null");
};

@@ -44,0 +44,0 @@

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

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

@@ -283,3 +283,3 @@ # adbkit

* **serial** The serial number of the device. Corresponds to the device ID in `client.listDevices()`.
* **apk** The path to the APK file.
* **apk** When `String`, interpreted as a path to an APK file. When [`Stream`][node-stream], installs directly from the stream, which must be a valid APK.
* **callback(err)**

@@ -286,0 +286,0 @@ - **err** `null` when successful, `Error` otherwise.

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