New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

androidctrl

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

androidctrl - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

example/start-stop.js

22

android.js
'use strict';
var isObject = require('lodash.isobject');
var ezspawn = require('ezspawn');

@@ -49,3 +50,12 @@ var debug = require('debug')('androidctrl:debug');

var Android = {
startOrCreate: function(hardwareOptions) {
startOrCreate: function(name, hardwareOptions) {
if (isObject(name)) {
hardwareOptions = name;
name = undefined;
}
if (!name) {
name = 'Android511';
}
verbose('startOrCreate');

@@ -55,3 +65,9 @@ var _this = this;

if (avds.length) {
return avds;
if (name) {
if (avds.indexOf(name) > -1) {
return [avds[avds.indexOf(name)]];
}
} else {
return avds;
}
}

@@ -70,3 +86,3 @@

targetId,
target.Name.replace(/[^\w]+/g, ''),
name || target.Name.replace(/[^\w]+/g, ''),
hardwareOptions

@@ -73,0 +89,0 @@ )

4

package.json
{
"name": "androidctrl",
"version": "1.1.0",
"version": "1.2.0",
"description": "Node module for managing and controlling the Android Emulator",

@@ -39,2 +39,4 @@ "main": "android.js",

"lodash.findwhere": "^3.1.0",
"lodash.isobject": "^3.0.2",
"promise-preserve": "^1.0.0",
"promise-retry": "^0.2.9",

@@ -41,0 +43,0 @@ "spawn-wait-for": "^1.0.8"

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