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.4.0 to 3.4.1

9

lib/ios-sim.js

@@ -63,7 +63,12 @@ "use strict";

let result = tryGetBootedDevices();
if (!isResolved && !result) {
if (result && result.length) {
isResolved = true;
resolve(result);
return;
}
if (!isResolved && (!result || !result.length)) {
let repeatCount = 30;
const timer = setInterval(() => {
result = tryGetBootedDevices();
if ((result || !repeatCount) && !isResolved) {
if (((result && result.length) || !repeatCount) && !isResolved) {
isResolved = true;

@@ -70,0 +75,0 @@ clearInterval(timer);

{
"name": "ios-sim-portable",
"version": "3.4.0",
"version": "3.4.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/ios-sim.js",

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