simctl
Advanced tools
Comparing version 0.1.0 to 1.0.0
{ | ||
"name": "simctl", | ||
"version": "0.1.0", | ||
"description": "library for Xcode simctl utility on OS X", | ||
"version": "1.0.0", | ||
"description": "library for Xcode 8+ simctl utility on macOS", | ||
"repository": { | ||
@@ -26,3 +26,3 @@ "type": "git", | ||
"jasmine": "jasmine-node --captureExceptions --color spec" | ||
}, | ||
}, | ||
"keywords": [ | ||
@@ -29,0 +29,0 @@ "simctl", |
@@ -0,3 +1,10 @@ | ||
[![Build status](https://ci.appveyor.com/api/projects/status/4p87ytoudwh7g132/branch/master?svg=true)](https://ci.appveyor.com/project/shazron/simctl/branch/master) | ||
[![Build Status](https://travis-ci.org/phonegap/ios-sim.svg?branch=master)](https://travis-ci.org/phonegap/simctl) | ||
## library wrapper for Xcode's simctl utility on OS X | ||
Used by [ios-sim](https://www.npmjs.com/package/ios-sim) | ||
Used by [ios-sim](https://www.npmjs.com/package/ios-sim) | ||
## Requirements | ||
Xcode 8 or greater |
@@ -29,4 +29,3 @@ /* | ||
Tail = require('tail').Tail, | ||
SimCtlExtensions = require('./lib/simctl-extensions'), | ||
SimCtlListParser = require('./lib/simctl-list-parser'); | ||
SimCtlExtensions = require('./lib/simctl-extensions'); | ||
@@ -166,5 +165,7 @@ exports = module.exports = { | ||
sublist = 'runtimes'; | ||
} else if (options.pairs) { | ||
sublist = 'pairs'; | ||
} | ||
var command = util.format('xcrun simctl list %s', sublist); | ||
var command = util.format('xcrun simctl list %s --json', sublist); | ||
var obj = shell.exec(command, { silent: options.silent }); | ||
@@ -174,4 +175,3 @@ | ||
try { | ||
var parser = new SimCtlListParser(); | ||
obj.json = parser.parse(obj.output); | ||
obj.json = JSON.parse(obj.output); | ||
} catch (err) { | ||
@@ -178,0 +178,0 @@ console.error(err.stack); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
10
827
1
11
31730
1