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 1.0.22 to 1.0.23

17

lib/iphone-simulator-common.js

@@ -9,2 +9,3 @@ ///<reference path="./.d.ts"/>

var bplistParser = require("bplist-parser");
var plist = require("plist");
var osenv = require("osenv");

@@ -27,6 +28,5 @@ var isDeviceLogOperationStarted = false;

var plistFilePath = path.join(fullApplicationPath, applicationName, "Info.plist");
var applicationData = parseFile(plistFilePath).wait();
result.push({
guid: applicationGuid,
appIdentifier: applicationData[0].CFBundleIdentifier,
appIdentifier: getBundleIdentifier(plistFilePath).wait(),
path: path.join(fullApplicationPath, applicationName)

@@ -98,2 +98,15 @@ });

}
function getBundleIdentifier(plistFilePath) {
return (function () {
var plistData;
try {
plistData = parseFile(plistFilePath).wait()[0];
}
catch (err) {
var content = fs.readFileSync(plistFilePath).toString();
plistData = plist.parse(content);
}
return plistData && plistData.CFBundleIdentifier;
}).future()();
}
//# sourceMappingURL=iphone-simulator-common.js.map

3

package.json
{
"name": "ios-sim-portable",
"version": "1.0.22",
"version": "1.0.23",
"description": "",

@@ -35,2 +35,3 @@ "main": "./lib/ios-sim.js",

"osenv": "0.1.3",
"plist": "1.1.0",
"yargs": "3.15.0"

@@ -37,0 +38,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