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

ios-sim-portable

Package Overview
Dependencies
Maintainers
5
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ios-sim-portable - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

3

lib/ios-sim.js

@@ -56,3 +56,4 @@ "use strict";

"startSimulator",
"getSimulatorName"].forEach(methodName => {
"getSimulatorName",
"getDevices"].forEach(methodName => {
Object.defineProperty(publicApi, methodName, {

@@ -59,0 +60,0 @@ get: () => {

@@ -128,2 +128,3 @@ "use strict";

device = device || this.getDeviceToRun();
this.verifyDevice(device);
if (!this.isDeviceBooted(device)) {

@@ -138,2 +139,8 @@ let bootedDevice = this.getBootedDevice();

}
verifyDevice(device) {
const availableDevices = this.getDevices();
if (!_.find(availableDevices, { id: device.id })) {
errors.fail(`No simulator image available for device identifier '${device.id}'.`);
}
}
killSimulator() {

@@ -140,0 +147,0 @@ childProcess.execSync("pkill -9 -f Simulator");

{
"name": "ios-sim-portable",
"version": "3.0.0",
"version": "3.1.0",
"description": "",

@@ -44,4 +44,4 @@ "main": "./lib/ios-sim.js",

"engines": {
"node": ">=4.2.1 <5.0.0 || >=5.1.0 <8.0.0"
"node": ">=4.2.1 <5.0.0 || >=5.1.0 <9.0.0"
}
}
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