Repository: cordova-ios Updated Branches: refs/heads/4.4.0-ios-sim [created] 451c41b07
CB-12869 - Update bundled ios-sim to 5.0.13 This closes #314 Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/2d405c49 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/2d405c49 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/2d405c49 Branch: refs/heads/4.4.0-ios-sim Commit: 2d405c49e63b1ba4be05719ce51c489d097cf172 Parents: 6b25611 Author: Shazron Abdullah <shaz...@gmail.com> Authored: Tue May 30 15:27:24 2017 -0700 Committer: Shazron Abdullah <shaz...@gmail.com> Committed: Fri Jun 9 11:45:28 2017 -0700 ---------------------------------------------------------------------- node_modules/ios-sim/.github/ISSUE_TEMPLATE.md | 2 +- .../node_modules/bplist-parser/package.json | 96 +++++--------- .../ios-sim/node_modules/nopt/package.json | 101 +++++---------- node_modules/ios-sim/package.json | 129 +++++++------------ node_modules/ios-sim/src/lib.js | 13 +- package.json | 2 +- 6 files changed, 124 insertions(+), 219 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/2d405c49/node_modules/ios-sim/.github/ISSUE_TEMPLATE.md ---------------------------------------------------------------------- diff --git a/node_modules/ios-sim/.github/ISSUE_TEMPLATE.md b/node_modules/ios-sim/.github/ISSUE_TEMPLATE.md index 92a642a..55f05f4 100644 --- a/node_modules/ios-sim/.github/ISSUE_TEMPLATE.md +++ b/node_modules/ios-sim/.github/ISSUE_TEMPLATE.md @@ -21,4 +21,4 @@ Please run the commands below in your Terminal.app and include it in the issue. - [ ] 2. ios-sim --version - [ ] 3. xcodebuild -version - [ ] 4. xcode-select --print-path -- [ ] 5. gcc --version +- [ ] 5. node --version http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/2d405c49/node_modules/ios-sim/node_modules/bplist-parser/package.json ---------------------------------------------------------------------- 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..48f072c 100644 --- a/node_modules/ios-sim/node_modules/bplist-parser/package.json +++ b/node_modules/ios-sim/node_modules/bplist-parser/package.json @@ -1,86 +1,52 @@ { - "_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", - "_id": "bplist-parser@0.0.6", - "_inCache": true, - "_location": "/ios-sim/bplist-parser", - "_npmUser": { - "name": "joeferner", - "email": "j...@fernsroth.com" - }, - "_npmVersion": "1.4.14", - "_phantomChildren": {}, - "_requested": { - "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" + "name": "bplist-parser", + "version": "0.0.6", + "description": "Binary plist parser.", + "main": "bplistParser.js", + "scripts": { + "test": "./node_modules/nodeunit/bin/nodeunit test" }, - "_requiredBy": [ - "/ios-sim" + "keywords": [ + "bplist", + "plist", + "parser" ], - "_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": { "name": "Joe Ferner", "email": "joe.fer...@nearinfinity.com" }, - "bugs": { - "url": "https://github.com/nearinfinity/node-bplist-parser/issues" - }, - "dependencies": {}, - "description": "Binary plist parser.", + "license": "MIT", "devDependencies": { "nodeunit": "~0.7.4" }, - "directories": {}, - "dist": { - "shasum": "38da3471817df9d44ab3892e27707bbbd75a11b9", - "tarball": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz" + "repository": { + "type": "git", + "url": "git+https://github.com/nearinfinity/node-bplist-parser.git" }, "gitHead": "a2230a5df3c7014ffbe5761bcb091ea2d061b47b", + "bugs": { + "url": "https://github.com/nearinfinity/node-bplist-parser/issues" + }, "homepage": "https://github.com/nearinfinity/node-bplist-parser", - "keywords": [ - "bplist", - "plist", - "parser" - ], - "license": "MIT", - "main": "bplistParser.js", + "_id": "bplist-parser@0.0.6", + "_shasum": "38da3471817df9d44ab3892e27707bbbd75a11b9", + "_from": "bplist-parser@>=0.0.6 <0.0.7", + "_npmVersion": "1.4.14", + "_npmUser": { + "name": "joeferner", + "email": "j...@fernsroth.com" + }, "maintainers": [ { "name": "joeferner", "email": "j...@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" - }, - "scripts": { - "test": "./node_modules/nodeunit/bin/nodeunit test" + "dist": { + "shasum": "38da3471817df9d44ab3892e27707bbbd75a11b9", + "tarball": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz" }, - "version": "0.0.6" + "directories": {}, + "_resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz", + "readme": "ERROR: No README data found!" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/2d405c49/node_modules/ios-sim/node_modules/nopt/package.json ---------------------------------------------------------------------- diff --git a/node_modules/ios-sim/node_modules/nopt/package.json b/node_modules/ios-sim/node_modules/nopt/package.json index 54dca73..b833b32 100644 --- a/node_modules/ios-sim/node_modules/nopt/package.json +++ b/node_modules/ios-sim/node_modules/nopt/package.json @@ -1,93 +1,60 @@ { - "_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, - "_location": "/ios-sim/nopt", - "_nodeVersion": "v0.5.8-pre", - "_npmUser": { - "name": "isaacs", - "email": "i...@izs.me" - }, - "_npmVersion": "1.0.30", - "_phantomChildren": {}, - "_requested": { - "raw": "nopt@1.0.9", - "scope": null, - "escapedName": "nopt", - "name": "nopt", - "rawSpec": "1.0.9", - "spec": "1.0.9", - "type": "version" - }, - "_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", + "name": "nopt", + "version": "1.0.9", + "description": "Option parsing for Node, supporting types, shorthands, etc. Used by npm.", "author": { "name": "Isaac Z. Schlueter", "email": "i...@izs.me", "url": "http://blog.izs.me/" }, + "main": "lib/nopt.js", + "scripts": { + "test": "node lib/nopt.js" + }, + "repository": { + "type": "git", + "url": "git://github.com/isaacs/nopt.git" + }, "bin": { "nopt": "./bin/nopt.js" }, - "bugs": { - "url": "https://github.com/isaacs/nopt/issues" + "license": { + "type": "MIT", + "url": "https://github.com/isaacs/nopt/raw/master/LICENSE" }, "dependencies": { "abbrev": "1" }, - "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" + "_npmUser": { + "name": "isaacs", + "email": "i...@izs.me" }, + "_id": "nopt@1.0.9", + "devDependencies": {}, "engines": { "node": "*" }, - "homepage": "https://github.com/isaacs/nopt#readme", - "license": { - "type": "MIT", - "url": "https://github.com/isaacs/nopt/raw/master/LICENSE" + "_engineSupported": true, + "_npmVersion": "1.0.30", + "_nodeVersion": "v0.5.8-pre", + "_defaultsLoaded": true, + "dist": { + "shasum": "3bc0d7cba7bfb0d5a676dbed7c0ebe48a4fd454e", + "tarball": "https://registry.npmjs.org/nopt/-/nopt-1.0.9.tgz" }, - "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" - }, - "scripts": { - "test": "node lib/nopt.js" + "directories": {}, + "_shasum": "3bc0d7cba7bfb0d5a676dbed7c0ebe48a4fd454e", + "_resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.9.tgz", + "_from": "nopt@1.0.9", + "bugs": { + "url": "https://github.com/isaacs/nopt/issues" }, - "version": "1.0.9" + "readme": "ERROR: No README data found!", + "homepage": "https://github.com/isaacs/nopt#readme" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/2d405c49/node_modules/ios-sim/package.json ---------------------------------------------------------------------- diff --git a/node_modules/ios-sim/package.json b/node_modules/ios-sim/package.json index 1fc773e..cb86144 100644 --- a/node_modules/ios-sim/package.json +++ b/node_modules/ios-sim/package.json @@ -1,89 +1,64 @@ { - "_args": [ - [ - { - "raw": "ios-sim@^5.0.12", - "scope": null, - "escapedName": "ios-sim", - "name": "ios-sim", - "rawSpec": "^5.0.12", - "spec": ">=5.0.12 <6.0.0", - "type": "range" - }, - "/Users/shazron/Documents/git/apache/cordova-ios" - ] - ], - "_from": "ios-sim@>=5.0.12 <6.0.0", - "_id": "ios-sim@5.0.12", - "_inCache": true, - "_location": "/ios-sim", - "_nodeVersion": "6.7.0", - "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/ios-sim-5.0.12.tgz_1480357903209_0.8315212763845921" - }, - "_npmUser": { - "name": "shazron", - "email": "shaz...@gmail.com" - }, - "_npmVersion": "3.10.9", - "_phantomChildren": { - "abbrev": "1.0.9" + "name": "ios-sim", + "version": "5.0.13", + "preferGlobal": "true", + "description": "launch iOS apps into the iOS Simulator from the command line (Xcode 7.0+)", + "main": "ios-sim.js", + "repository": { + "type": "git", + "url": "git+https://github.com/phonegap/ios-sim.git" }, - "_requested": { - "raw": "ios-sim@^5.0.12", - "scope": null, - "escapedName": "ios-sim", - "name": "ios-sim", - "rawSpec": "^5.0.12", - "spec": ">=5.0.12 <6.0.0", - "type": "range" + "engines": { + "node": ">=0.10.0" }, - "_requiredBy": [ - "/" + "keywords": [ + "ios-sim", + "iOS Simulator" ], - "_resolved": "https://registry.npmjs.org/ios-sim/-/ios-sim-5.0.12.tgz", - "_shasum": "0b07436ce1bf663bda9a3fb75412f41a1dec465b", - "_shrinkwrap": null, - "_spec": "ios-sim@^5.0.12", - "_where": "/Users/shazron/Documents/git/apache/cordova-ios", - "author": { - "name": "Shazron Abdullah" - }, "bin": { "ios-sim": "./bin/ios-sim" }, "bugs": { "url": "https://github.com/phonegap/ios-sim/issues" }, + "author": { + "name": "Shazron Abdullah" + }, + "license": "MIT", "dependencies": { - "bplist-parser": "^0.0.6", - "nopt": "1.0.9", "plist": "^1.2.0", - "simctl": "^0.1.0" + "simctl": "^0.1.0", + "nopt": "1.0.9", + "bplist-parser": "^0.0.6" }, - "description": "launch iOS apps into the iOS Simulator from the command line (Xcode 7.0+)", "devDependencies": { "jasmine-node": "^1.14.5", "jscs": "^2.11.0", "jshint": "^2.9.1" }, - "directories": {}, - "dist": { - "shasum": "0b07436ce1bf663bda9a3fb75412f41a1dec465b", - "tarball": "https://registry.npmjs.org/ios-sim/-/ios-sim-5.0.12.tgz" - }, - "engines": { - "node": ">=0.10.0" + "scripts": { + "test": "npm run jasmine", + "posttest": "npm run jshint", + "jshint": "jshint src ./ios-sim.js", + "postjshint": "npm run jscs", + "jscs": "jscs src ./ios-sim.js", + "jasmine": "jasmine-node --captureExceptions --color spec" }, - "gitHead": "0e0cafacca40434702a53538b11169a345070495", + "gitHead": "31d6083642674422860227ef694ec1d2533729c9", "homepage": "https://github.com/phonegap/ios-sim#readme", - "keywords": [ - "ios-sim", - "iOS Simulator" - ], - "license": "MIT", - "main": "ios-sim.js", + "_id": "ios-sim@5.0.13", + "_shasum": "e5749cf567718f4024f6d622e88a2bf7ea9472f1", + "_from": "ios-sim@>=5.0.13 <6.0.0", + "_npmVersion": "3.10.9", + "_nodeVersion": "6.7.0", + "_npmUser": { + "name": "shazron", + "email": "shaz...@gmail.com" + }, + "dist": { + "shasum": "e5749cf567718f4024f6d622e88a2bf7ea9472f1", + "tarball": "https://registry.npmjs.org/ios-sim/-/ios-sim-5.0.13.tgz" + }, "maintainers": [ { "name": "macdonst", @@ -102,21 +77,11 @@ "email": "stevengil...@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" - }, - "scripts": { - "jasmine": "jasmine-node --captureExceptions --color spec", - "jscs": "jscs src ./ios-sim.js", - "jshint": "jshint src ./ios-sim.js", - "postjshint": "npm run jscs", - "posttest": "npm run jshint", - "test": "npm run jasmine" + "_npmOperationalInternal": { + "host": "packages-18-east.internal.npmjs.com", + "tmp": "tmp/ios-sim-5.0.13.tgz_1481315599480_0.3072573933750391" }, - "version": "5.0.12" + "directories": {}, + "_resolved": "https://registry.npmjs.org/ios-sim/-/ios-sim-5.0.13.tgz", + "readme": "ERROR: No README data found!" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/2d405c49/node_modules/ios-sim/src/lib.js ---------------------------------------------------------------------- diff --git a/node_modules/ios-sim/src/lib.js b/node_modules/ios-sim/src/lib.js index c7fcba2..8358aea 100644 --- a/node_modules/ios-sim/src/lib.js +++ b/node_modules/ios-sim/src/lib.js @@ -277,9 +277,15 @@ var lib = { }); list = []; - var remove = function(runtime) { + var remove = function(devicename, runtime) { // remove "iOS" prefix in runtime, remove prefix "com.apple.CoreSimulator.SimDeviceType." in id - list.push(util.format('%s, %s', name_id_map[ deviceName ].replace(/^com.apple.CoreSimulator.SimDeviceType./, ''), runtime.replace(/^iOS /, ''))); + list.push(util.format('%s, %s', name_id_map[ devicename ].replace(/^com.apple.CoreSimulator.SimDeviceType./, ''), runtime.replace(/^iOS /, ''))); + }; + + var cur = function(devicename) { + return function(runtime) { + remove(devicename, runtime); + }; }; for (var deviceName in druntimes) { @@ -289,7 +295,8 @@ var lib = { if (!(dname in name_id_map)) { continue; } - runtimes.forEach(remove); + + runtimes.forEach(cur(dname)); } return list; }, http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/2d405c49/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 5866580..38282cc 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "dependencies": { "cordova-common": "2.0.2", - "ios-sim": "^5.0.12", + "ios-sim": "^5.0.13", "nopt": "^3.0.6", "plist": "^1.2.0", "q": "^1.4.1", --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org