cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From surajpindo...@apache.org
Subject [cordova-ios] 01/04: CB-12888 - cordova emulate ios doesn't work in iOS 11
Date Thu, 21 Sep 2017 23:08:21 GMT
This is an automated email from the ASF dual-hosted git repository.

surajpindoria pushed a commit to branch 4.5.x
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git

commit 877924c004f41aa6d038a913258ed745e6523fe4
Author: Shazron Abdullah <shazron@gmail.com>
AuthorDate: Sun Sep 17 21:33:04 2017 +0800

    CB-12888 - cordova emulate ios doesn't work in iOS 11
---
 node_modules/ios-sim/.npmignore                    |  7 --
 .../node_modules/bplist-parser/package.json        | 53 +++----------
 .../ios-sim/node_modules/nopt/package.json         | 53 +++----------
 node_modules/ios-sim/package.json                  | 88 ++++++----------------
 node_modules/ios-sim/src/lib.js                    | 41 ++++++++++
 node_modules/simctl/.npmignore                     |  1 -
 node_modules/simctl/lib/simctl-extensions.js       | 34 ++++++++-
 .../simctl/node_modules/shelljs/package.json       | 48 +++---------
 node_modules/simctl/package.json                   | 69 +++++------------
 node_modules/tail/package.json                     | 52 +++----------
 package.json                                       |  2 +-
 11 files changed, 153 insertions(+), 295 deletions(-)

diff --git a/node_modules/ios-sim/.npmignore b/node_modules/ios-sim/.npmignore
deleted file mode 100644
index 71ffef6..0000000
--- a/node_modules/ios-sim/.npmignore
+++ /dev/null
@@ -1,7 +0,0 @@
-node_modules
-build
-*.swp
-.DS_Store
-*.xcworkspace
-xcuserdata
-node_modules
diff --git a/node_modules/ios-sim/node_modules/bplist-parser/package.json b/node_modules/ios-sim/node_modules/bplist-parser/package.json
index e5ba054..7e22343 100644
--- a/node_modules/ios-sim/node_modules/bplist-parser/package.json
+++ b/node_modules/ios-sim/node_modules/bplist-parser/package.json
@@ -1,43 +1,25 @@
 {
-  "_args": [
-    [
-      {
-        "raw": "bplist-parser@^0.0.6",
-        "scope": null,
-        "escapedName": "bplist-parser",
-        "name": "bplist-parser",
-        "rawSpec": "^0.0.6",
-        "spec": ">=0.0.6 <0.0.7",
-        "type": "range"
-      },
-      "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/ios-sim"
-    ]
-  ],
-  "_from": "bplist-parser@>=0.0.6 <0.0.7",
+  "_from": "bplist-parser@^0.0.6",
   "_id": "bplist-parser@0.0.6",
-  "_inCache": true,
+  "_inBundle": false,
+  "_integrity": "sha1-ONo0cYF9+dRKs4kuJ3B7u9daEbk=",
   "_location": "/ios-sim/bplist-parser",
-  "_npmUser": {
-    "name": "joeferner",
-    "email": "joe@fernsroth.com"
-  },
-  "_npmVersion": "1.4.14",
   "_phantomChildren": {},
   "_requested": {
+    "type": "range",
+    "registry": true,
     "raw": "bplist-parser@^0.0.6",
-    "scope": null,
-    "escapedName": "bplist-parser",
     "name": "bplist-parser",
+    "escapedName": "bplist-parser",
     "rawSpec": "^0.0.6",
-    "spec": ">=0.0.6 <0.0.7",
-    "type": "range"
+    "saveSpec": null,
+    "fetchSpec": "^0.0.6"
   },
   "_requiredBy": [
     "/ios-sim"
   ],
   "_resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz",
   "_shasum": "38da3471817df9d44ab3892e27707bbbd75a11b9",
-  "_shrinkwrap": null,
   "_spec": "bplist-parser@^0.0.6",
   "_where": "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/ios-sim",
   "author": {
@@ -47,18 +29,13 @@
   "bugs": {
     "url": "https://github.com/nearinfinity/node-bplist-parser/issues"
   },
-  "dependencies": {},
+  "bundleDependencies": false,
+  "deprecated": false,
   "description": "Binary plist parser.",
   "devDependencies": {
     "nodeunit": "~0.7.4"
   },
-  "directories": {},
-  "dist": {
-    "shasum": "38da3471817df9d44ab3892e27707bbbd75a11b9",
-    "tarball": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz"
-  },
-  "gitHead": "a2230a5df3c7014ffbe5761bcb091ea2d061b47b",
-  "homepage": "https://github.com/nearinfinity/node-bplist-parser",
+  "homepage": "https://github.com/nearinfinity/node-bplist-parser#readme",
   "keywords": [
     "bplist",
     "plist",
@@ -66,15 +43,7 @@
   ],
   "license": "MIT",
   "main": "bplistParser.js",
-  "maintainers": [
-    {
-      "name": "joeferner",
-      "email": "joe@fernsroth.com"
-    }
-  ],
   "name": "bplist-parser",
-  "optionalDependencies": {},
-  "readme": "ERROR: No README data found!",
   "repository": {
     "type": "git",
     "url": "git+https://github.com/nearinfinity/node-bplist-parser.git"
diff --git a/node_modules/ios-sim/node_modules/nopt/package.json b/node_modules/ios-sim/node_modules/nopt/package.json
index 54dca73..8a966e1 100644
--- a/node_modules/ios-sim/node_modules/nopt/package.json
+++ b/node_modules/ios-sim/node_modules/nopt/package.json
@@ -1,46 +1,25 @@
 {
-  "_args": [
-    [
-      {
-        "raw": "nopt@1.0.9",
-        "scope": null,
-        "escapedName": "nopt",
-        "name": "nopt",
-        "rawSpec": "1.0.9",
-        "spec": "1.0.9",
-        "type": "version"
-      },
-      "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/ios-sim"
-    ]
-  ],
-  "_defaultsLoaded": true,
-  "_engineSupported": true,
   "_from": "nopt@1.0.9",
   "_id": "nopt@1.0.9",
-  "_inCache": true,
+  "_inBundle": false,
+  "_integrity": "sha1-O8DXy6e/sNWmdtvtfA6+SKT9RU4=",
   "_location": "/ios-sim/nopt",
-  "_nodeVersion": "v0.5.8-pre",
-  "_npmUser": {
-    "name": "isaacs",
-    "email": "i@izs.me"
-  },
-  "_npmVersion": "1.0.30",
   "_phantomChildren": {},
   "_requested": {
+    "type": "version",
+    "registry": true,
     "raw": "nopt@1.0.9",
-    "scope": null,
-    "escapedName": "nopt",
     "name": "nopt",
+    "escapedName": "nopt",
     "rawSpec": "1.0.9",
-    "spec": "1.0.9",
-    "type": "version"
+    "saveSpec": null,
+    "fetchSpec": "1.0.9"
   },
   "_requiredBy": [
     "/ios-sim"
   ],
   "_resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.9.tgz",
   "_shasum": "3bc0d7cba7bfb0d5a676dbed7c0ebe48a4fd454e",
-  "_shrinkwrap": null,
   "_spec": "nopt@1.0.9",
   "_where": "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/ios-sim",
   "author": {
@@ -54,16 +33,12 @@
   "bugs": {
     "url": "https://github.com/isaacs/nopt/issues"
   },
+  "bundleDependencies": false,
   "dependencies": {
     "abbrev": "1"
   },
+  "deprecated": false,
   "description": "Option parsing for Node, supporting types, shorthands, etc. Used by npm.",
-  "devDependencies": {},
-  "directories": {},
-  "dist": {
-    "shasum": "3bc0d7cba7bfb0d5a676dbed7c0ebe48a4fd454e",
-    "tarball": "https://registry.npmjs.org/nopt/-/nopt-1.0.9.tgz"
-  },
   "engines": {
     "node": "*"
   },
@@ -73,18 +48,10 @@
     "url": "https://github.com/isaacs/nopt/raw/master/LICENSE"
   },
   "main": "lib/nopt.js",
-  "maintainers": [
-    {
-      "name": "isaacs",
-      "email": "i@izs.me"
-    }
-  ],
   "name": "nopt",
-  "optionalDependencies": {},
-  "readme": "ERROR: No README data found!",
   "repository": {
     "type": "git",
-    "url": "git://github.com/isaacs/nopt.git"
+    "url": "git+ssh://git@github.com/isaacs/nopt.git"
   },
   "scripts": {
     "test": "node lib/nopt.js"
diff --git a/node_modules/ios-sim/package.json b/node_modules/ios-sim/package.json
index defd264..fd70f05 100644
--- a/node_modules/ios-sim/package.json
+++ b/node_modules/ios-sim/package.json
@@ -1,51 +1,29 @@
 {
-  "_args": [
-    [
-      {
-        "raw": "ios-sim@^6.0.0",
-        "scope": null,
-        "escapedName": "ios-sim",
-        "name": "ios-sim",
-        "rawSpec": "^6.0.0",
-        "spec": ">=6.0.0 <7.0.0",
-        "type": "range"
-      },
-      "/Users/shazron/Documents/git/apache/cordova-ios"
-    ]
-  ],
-  "_from": "ios-sim@>=6.0.0 <7.0.0",
-  "_id": "ios-sim@6.0.0",
-  "_inCache": true,
+  "_from": "ios-sim@latest",
+  "_id": "ios-sim@6.1.1",
+  "_inBundle": false,
+  "_integrity": "sha512-ahIA1XcGSfHPihpM3txYw+j9nWUr9knFi3Kl7g9VmJsvNS3raExgK8+XCcdPhdTsRZeZIYPTmP6jbL0EcO6QUQ==",
   "_location": "/ios-sim",
-  "_nodeVersion": "6.7.0",
-  "_npmOperationalInternal": {
-    "host": "s3://npm-registry-packages",
-    "tmp": "tmp/ios-sim-6.0.0.tgz_1497480385698_0.14935097587294877"
-  },
-  "_npmUser": {
-    "name": "shazron",
-    "email": "shazron@gmail.com"
-  },
-  "_npmVersion": "3.10.9",
   "_phantomChildren": {
     "abbrev": "1.1.0"
   },
   "_requested": {
-    "raw": "ios-sim@^6.0.0",
-    "scope": null,
-    "escapedName": "ios-sim",
+    "type": "tag",
+    "registry": true,
+    "raw": "ios-sim@latest",
     "name": "ios-sim",
-    "rawSpec": "^6.0.0",
-    "spec": ">=6.0.0 <7.0.0",
-    "type": "range"
+    "escapedName": "ios-sim",
+    "rawSpec": "latest",
+    "saveSpec": null,
+    "fetchSpec": "latest"
   },
   "_requiredBy": [
+    "#USER",
     "/"
   ],
-  "_resolved": "https://registry.npmjs.org/ios-sim/-/ios-sim-6.0.0.tgz",
-  "_shasum": "6a8633f23ef43c43cd5f366e4115f358eef138ad",
-  "_shrinkwrap": null,
-  "_spec": "ios-sim@^6.0.0",
+  "_resolved": "https://registry.npmjs.org/ios-sim/-/ios-sim-6.1.1.tgz",
+  "_shasum": "ec29d42241982ba638fdd3f7ac9e3b0e582a51ed",
+  "_spec": "ios-sim@latest",
   "_where": "/Users/shazron/Documents/git/apache/cordova-ios",
   "author": {
     "name": "Shazron Abdullah"
@@ -56,27 +34,23 @@
   "bugs": {
     "url": "https://github.com/phonegap/ios-sim/issues"
   },
+  "bundleDependencies": false,
   "dependencies": {
     "bplist-parser": "^0.0.6",
     "nopt": "1.0.9",
     "plist": "^1.2.0",
-    "simctl": "^1.0.0"
+    "simctl": "^1.1.1"
   },
-  "description": "launch iOS apps into the iOS Simulator from the command line (Xcode 7.0+)",
+  "deprecated": false,
+  "description": "launch iOS apps into the iOS Simulator from the command line (Xcode 8.0+)",
   "devDependencies": {
     "jasmine-node": "^1.14.5",
     "jscs": "^2.11.0",
     "jshint": "^2.9.1"
   },
-  "directories": {},
-  "dist": {
-    "shasum": "6a8633f23ef43c43cd5f366e4115f358eef138ad",
-    "tarball": "https://registry.npmjs.org/ios-sim/-/ios-sim-6.0.0.tgz"
-  },
   "engines": {
-    "node": ">=0.10.0"
+    "node": ">=4"
   },
-  "gitHead": "4bbe6b3307b594d9bf78775418fea139e71eabb1",
   "homepage": "https://github.com/phonegap/ios-sim#readme",
   "keywords": [
     "ios-sim",
@@ -84,28 +58,8 @@
   ],
   "license": "MIT",
   "main": "ios-sim.js",
-  "maintainers": [
-    {
-      "name": "macdonst",
-      "email": "simon.macdonald@gmail.com"
-    },
-    {
-      "name": "purplecabbage",
-      "email": "purplecabbage@gmail.com"
-    },
-    {
-      "name": "shazron",
-      "email": "shazron@gmail.com"
-    },
-    {
-      "name": "stevegill",
-      "email": "stevengill97@gmail.com"
-    }
-  ],
   "name": "ios-sim",
-  "optionalDependencies": {},
   "preferGlobal": "true",
-  "readme": "ERROR: No README data found!",
   "repository": {
     "type": "git",
     "url": "git+https://github.com/phonegap/ios-sim.git"
@@ -118,5 +72,5 @@
     "posttest": "npm run jshint",
     "test": "npm run jasmine"
   },
-  "version": "6.0.0"
+  "version": "6.1.1"
 }
diff --git a/node_modules/ios-sim/src/lib.js b/node_modules/ios-sim/src/lib.js
index 1063851..c62f315 100644
--- a/node_modules/ios-sim/src/lib.js
+++ b/node_modules/ios-sim/src/lib.js
@@ -141,6 +141,7 @@ function getDeviceFromDeviceTypeId(devicetypeid) {
 
     var options = { 'silent': true };
     var list = simctl.list(options).json;
+    list = fixSimCtlList(list);
 
     var arr = [];
     if (devicetypeid) {
@@ -265,6 +266,44 @@ function filterDeviceName(deviceName) {
     return deviceName;
 }
 
+function fixNameKey(array, mapping) {
+    if (!array || !mapping) {
+        return array;
+    }
+
+    return array.map(function(elem) {
+        var name = mapping[elem.name];
+        if (name) {
+            elem.name = name;
+        }
+        return elem;
+    });
+}
+
+function fixSimCtlList(list) {
+    // Xcode 9 `xcrun simctl list devicetypes` have obfuscated names for 2017 iPhones and
Apple Watches.
+    var deviceTypeNameMap = {
+        'iPhone2017-A': 'iPhone 8',
+        'iPhone2017-B': 'iPhone 8 Plus',
+        'iPhone2017-C': 'iPhone X',
+        'Watch2017 - 38mm': 'Apple Watch Series 3 - 38mm',
+        'Watch2017 - 42mm': 'Apple Watch Series 3 - 42mm'
+    };
+    list.devicetypes = fixNameKey(list.devicetypes, deviceTypeNameMap);
+
+    // `iPad Pro` in iOS 9.3 has mapped to `iPad Pro (9.7 inch)`
+    // `Apple TV 1080p` has mapped to `Apple TV`
+    var deviceNameMap = {
+        'Apple TV 1080p': 'Apple TV',
+        'iPad Pro': 'iPad Pro (9.7-inch)'
+    };
+    Object.keys(list.devices).forEach(function(key) {
+        list.devices[key] = fixNameKey(list.devices[key], deviceNameMap);
+    });
+
+    return list;
+}
+
 var lib = {
 
     init: function() {
@@ -287,6 +326,7 @@ var lib = {
     showsdks: function(args) {
         var options = { silent: true, runtimes: true };
         var list = simctl.list(options).json;
+        list = fixSimCtlList(list);
 
         console.log('Simulator SDK Roots:');
         list.runtimes.forEach(function(runtime) {
@@ -302,6 +342,7 @@ var lib = {
     getdevicetypes: function(args) {
         var options = { silent: true };
         var list = simctl.list(options).json;
+        list = fixSimCtlList(list);
 
         var druntimes = findRuntimesGroupByDeviceProperty(list, 'name', true);
         var name_id_map = {};
diff --git a/node_modules/simctl/.npmignore b/node_modules/simctl/.npmignore
deleted file mode 100644
index b512c09..0000000
--- a/node_modules/simctl/.npmignore
+++ /dev/null
@@ -1 +0,0 @@
-node_modules
\ No newline at end of file
diff --git a/node_modules/simctl/lib/simctl-extensions.js b/node_modules/simctl/lib/simctl-extensions.js
index 26eec67..f13f111 100644
--- a/node_modules/simctl/lib/simctl-extensions.js
+++ b/node_modules/simctl/lib/simctl-extensions.js
@@ -30,9 +30,37 @@ var shell = require('shelljs'),
 
 var extensions = {
     start: function(deviceid) {
-         var command = util.format('xcrun instruments -w "%s"', deviceid);
-         return shell.exec(command, { silent: true });
-     },
+        var is_at_least_xcode_9 = false;
+
+        var command = 'killall Simulator';
+        shell.exec(command, { silent: true });
+
+        command = 'xcodebuild -version';
+        var output = shell.exec(command, { silent: true }).output;
+
+        // parse output for Xcode version
+        var versionMatch = /Xcode (.*)/.exec(output);
+        if (!versionMatch) {
+            console.log('Unable to parse xcodebuild version.');
+            return;
+        } else {
+            is_at_least_xcode_9 = (parseInt(versionMatch[1]) >= 9);
+        }
+
+        if (is_at_least_xcode_9) {
+            // Xcode 9 or greater
+            command = util.format('xcrun simctl boot "%s"', deviceid);
+            shell.exec(command, { silent: true });
+            command = 'open `xcode-select -p`/Applications/Simulator.app';
+            return shell.exec(command, { silent: true });
+        } else {
+            // Xcode 8 or older
+            command = util.format('xcrun simctl shutdown booted');
+            shell.exec(command, { silent: true });
+            command = util.format('xcrun instruments -w "%s"', deviceid);
+            return shell.exec(command, { silent: true });
+        }
+    },
 
     log: function(deviceid, filepath) {
         var tail = new Tail(
diff --git a/node_modules/simctl/node_modules/shelljs/package.json b/node_modules/simctl/node_modules/shelljs/package.json
index 5f9c5a1..a4d8bfa 100644
--- a/node_modules/simctl/node_modules/shelljs/package.json
+++ b/node_modules/simctl/node_modules/shelljs/package.json
@@ -1,43 +1,25 @@
 {
-  "_args": [
-    [
-      {
-        "raw": "shelljs@^0.2.6",
-        "scope": null,
-        "escapedName": "shelljs",
-        "name": "shelljs",
-        "rawSpec": "^0.2.6",
-        "spec": ">=0.2.6 <0.3.0",
-        "type": "range"
-      },
-      "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/simctl"
-    ]
-  ],
-  "_from": "shelljs@>=0.2.6 <0.3.0",
+  "_from": "shelljs@^0.2.6",
   "_id": "shelljs@0.2.6",
-  "_inCache": true,
+  "_inBundle": false,
+  "_integrity": "sha1-kEktcv/MgVmXa6umL7D2iE8MM3g=",
   "_location": "/simctl/shelljs",
-  "_npmUser": {
-    "name": "artur",
-    "email": "arturadib@gmail.com"
-  },
-  "_npmVersion": "1.3.8",
   "_phantomChildren": {},
   "_requested": {
+    "type": "range",
+    "registry": true,
     "raw": "shelljs@^0.2.6",
-    "scope": null,
-    "escapedName": "shelljs",
     "name": "shelljs",
+    "escapedName": "shelljs",
     "rawSpec": "^0.2.6",
-    "spec": ">=0.2.6 <0.3.0",
-    "type": "range"
+    "saveSpec": null,
+    "fetchSpec": "^0.2.6"
   },
   "_requiredBy": [
     "/simctl"
   ],
   "_resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.2.6.tgz",
   "_shasum": "90492d72ffcc8159976baba62fb0f6884f0c3378",
-  "_shrinkwrap": null,
   "_spec": "shelljs@^0.2.6",
   "_where": "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/simctl",
   "author": {
@@ -50,16 +32,13 @@
   "bugs": {
     "url": "https://github.com/arturadib/shelljs/issues"
   },
+  "bundleDependencies": false,
   "dependencies": {},
+  "deprecated": false,
   "description": "Portable Unix shell commands for Node.js",
   "devDependencies": {
     "jshint": "~2.1.11"
   },
-  "directories": {},
-  "dist": {
-    "shasum": "90492d72ffcc8159976baba62fb0f6884f0c3378",
-    "tarball": "https://registry.npmjs.org/shelljs/-/shelljs-0.2.6.tgz"
-  },
   "engines": {
     "node": ">=0.8.0"
   },
@@ -73,15 +52,8 @@
     "synchronous"
   ],
   "main": "./shell.js",
-  "maintainers": [
-    {
-      "name": "artur",
-      "email": "arturadib@gmail.com"
-    }
-  ],
   "name": "shelljs",
   "optionalDependencies": {},
-  "readme": "ERROR: No README data found!",
   "repository": {
     "type": "git",
     "url": "git://github.com/arturadib/shelljs.git"
diff --git a/node_modules/simctl/package.json b/node_modules/simctl/package.json
index fea8578..584f29f 100644
--- a/node_modules/simctl/package.json
+++ b/node_modules/simctl/package.json
@@ -1,49 +1,26 @@
 {
-  "_args": [
-    [
-      {
-        "raw": "simctl@^1.0.0",
-        "scope": null,
-        "escapedName": "simctl",
-        "name": "simctl",
-        "rawSpec": "^1.0.0",
-        "spec": ">=1.0.0 <2.0.0",
-        "type": "range"
-      },
-      "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/ios-sim"
-    ]
-  ],
-  "_from": "simctl@>=1.0.0 <2.0.0",
-  "_id": "simctl@1.0.1",
-  "_inCache": true,
+  "_from": "simctl@^1.1.1",
+  "_id": "simctl@1.1.1",
+  "_inBundle": false,
+  "_integrity": "sha512-yY1WQMq/pneY5jQb2+lFp45qEtcz4yKBu1NOPo2OFDVCkwSkQhpkoaAaO1fWhq4IU0+8TQ2r1PMGSTedP0A/Og==",
   "_location": "/simctl",
-  "_nodeVersion": "6.7.0",
-  "_npmOperationalInternal": {
-    "host": "s3://npm-registry-packages",
-    "tmp": "tmp/simctl-1.0.1.tgz_1497479983508_0.9374380426015705"
-  },
-  "_npmUser": {
-    "name": "shazron",
-    "email": "shazron@gmail.com"
-  },
-  "_npmVersion": "3.10.9",
   "_phantomChildren": {},
   "_requested": {
-    "raw": "simctl@^1.0.0",
-    "scope": null,
-    "escapedName": "simctl",
+    "type": "range",
+    "registry": true,
+    "raw": "simctl@^1.1.1",
     "name": "simctl",
-    "rawSpec": "^1.0.0",
-    "spec": ">=1.0.0 <2.0.0",
-    "type": "range"
+    "escapedName": "simctl",
+    "rawSpec": "^1.1.1",
+    "saveSpec": null,
+    "fetchSpec": "^1.1.1"
   },
   "_requiredBy": [
     "/ios-sim"
   ],
-  "_resolved": "https://registry.npmjs.org/simctl/-/simctl-1.0.1.tgz",
-  "_shasum": "e73ce62891c952b2ae78499acdccbe3cf897a2e8",
-  "_shrinkwrap": null,
-  "_spec": "simctl@^1.0.0",
+  "_resolved": "https://registry.npmjs.org/simctl/-/simctl-1.1.1.tgz",
+  "_shasum": "e26cc3c04e662250b4457b5b4c48cc12484f3814",
+  "_spec": "simctl@^1.1.1",
   "_where": "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/ios-sim",
   "author": {
     "name": "Shazron Abdullah"
@@ -51,22 +28,18 @@
   "bugs": {
     "url": "https://github.com/phonegap/simctl/issues"
   },
+  "bundleDependencies": false,
   "dependencies": {
     "shelljs": "^0.2.6",
     "tail": "^0.4.0"
   },
+  "deprecated": false,
   "description": "library for Xcode 8+ simctl utility on macOS",
   "devDependencies": {
     "jasmine-node": "^1.14.5",
     "jscs": "^2.11.0",
     "jshint": "^2.9.1"
   },
-  "directories": {},
-  "dist": {
-    "shasum": "e73ce62891c952b2ae78499acdccbe3cf897a2e8",
-    "tarball": "https://registry.npmjs.org/simctl/-/simctl-1.0.1.tgz"
-  },
-  "gitHead": "27193e094e2293b06d5d3536d1f99c4785699fdc",
   "homepage": "https://github.com/phonegap/simctl#readme",
   "keywords": [
     "simctl",
@@ -74,15 +47,7 @@
   ],
   "license": "MIT",
   "main": "simctl.js",
-  "maintainers": [
-    {
-      "name": "shazron",
-      "email": "shazron@gmail.com"
-    }
-  ],
   "name": "simctl",
-  "optionalDependencies": {},
-  "readme": "ERROR: No README data found!",
   "repository": {
     "type": "git",
     "url": "git+https://github.com/phonegap/simctl.git"
@@ -95,5 +60,5 @@
     "posttest": "npm run jshint",
     "test": "npm run jasmine"
   },
-  "version": "1.0.1"
+  "version": "1.1.1"
 }
diff --git a/node_modules/tail/package.json b/node_modules/tail/package.json
index 1d42ca9..e88377b 100644
--- a/node_modules/tail/package.json
+++ b/node_modules/tail/package.json
@@ -1,43 +1,25 @@
 {
-  "_args": [
-    [
-      {
-        "raw": "tail@^0.4.0",
-        "scope": null,
-        "escapedName": "tail",
-        "name": "tail",
-        "rawSpec": "^0.4.0",
-        "spec": ">=0.4.0 <0.5.0",
-        "type": "range"
-      },
-      "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/simctl"
-    ]
-  ],
-  "_from": "tail@>=0.4.0 <0.5.0",
+  "_from": "tail@^0.4.0",
   "_id": "tail@0.4.0",
-  "_inCache": true,
+  "_inBundle": false,
+  "_integrity": "sha1-0p3nJ1DMmdseBTr/E8NZ7PtxMAI=",
   "_location": "/tail",
-  "_npmUser": {
-    "name": "lucagrulla",
-    "email": "luca.grulla@gmail.com"
-  },
-  "_npmVersion": "1.4.15",
   "_phantomChildren": {},
   "_requested": {
+    "type": "range",
+    "registry": true,
     "raw": "tail@^0.4.0",
-    "scope": null,
-    "escapedName": "tail",
     "name": "tail",
+    "escapedName": "tail",
     "rawSpec": "^0.4.0",
-    "spec": ">=0.4.0 <0.5.0",
-    "type": "range"
+    "saveSpec": null,
+    "fetchSpec": "^0.4.0"
   },
   "_requiredBy": [
     "/simctl"
   ],
   "_resolved": "https://registry.npmjs.org/tail/-/tail-0.4.0.tgz",
   "_shasum": "d29de72750cc99db1e053aff13c359ecfb713002",
-  "_shrinkwrap": null,
   "_spec": "tail@^0.4.0",
   "_where": "/Users/shazron/Documents/git/apache/cordova-ios/node_modules/simctl",
   "author": {
@@ -46,6 +28,7 @@
   "bugs": {
     "url": "https://github.com/lucagrulla/node-tail/issues"
   },
+  "bundleDependencies": false,
   "contributors": [
     {
       "name": "Luca Grulla"
@@ -58,33 +41,20 @@
     }
   ],
   "dependencies": {},
+  "deprecated": false,
   "description": "tail a file in node",
   "devDependencies": {
     "coffee-script": "1.7.1"
   },
-  "directories": {},
-  "dist": {
-    "shasum": "d29de72750cc99db1e053aff13c359ecfb713002",
-    "tarball": "https://registry.npmjs.org/tail/-/tail-0.4.0.tgz"
-  },
   "engines": {
     "node": ">= 0.4.0"
   },
-  "homepage": "https://github.com/lucagrulla/node-tail",
+  "homepage": "https://github.com/lucagrulla/node-tail#readme",
   "main": "tail",
-  "maintainers": [
-    {
-      "name": "lucagrulla",
-      "email": "luca.grulla@gmail.com"
-    }
-  ],
   "name": "tail",
-  "optionalDependencies": {},
-  "readme": "ERROR: No README data found!",
   "repository": {
     "type": "git",
     "url": "git://github.com/lucagrulla/node-tail.git"
   },
-  "scripts": {},
   "version": "0.4.0"
 }
diff --git a/package.json b/package.json
index b4a414a..982c371 100644
--- a/package.json
+++ b/package.json
@@ -52,7 +52,7 @@
   },
   "dependencies": {
     "cordova-common": "2.1.0",
-    "ios-sim": "^6.0.0",
+    "ios-sim": "^6.1.1",
     "nopt": "^3.0.6",
     "plist": "^1.2.0",
     "q": "^1.4.1",

-- 
To stop receiving notification emails like this one, please contact
"commits@cordova.apache.org" <commits@cordova.apache.org>.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message