Repository: cordova-ios Updated Branches: refs/heads/master 5c3885b80 -> debd4c69e
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/5ee4bf75/node_modules/semver/test/major-minor-patch.js ---------------------------------------------------------------------- diff --git a/node_modules/semver/test/major-minor-patch.js b/node_modules/semver/test/major-minor-patch.js deleted file mode 100644 index e9d4039..0000000 --- a/node_modules/semver/test/major-minor-patch.js +++ /dev/null @@ -1,72 +0,0 @@ -var tap = require('tap'); -var test = tap.test; -var semver = require('../semver.js'); - -test('\nmajor tests', function(t) { - // [range, version] - // Version should be detectable despite extra characters - [ - ['1.2.3', 1], - [' 1.2.3 ', 1], - [' 2.2.3-4 ', 2], - [' 3.2.3-pre ', 3], - ['v5.2.3', 5], - [' v8.2.3 ', 8], - ['\t13.2.3', 13], - ['=21.2.3', 21, true], - ['v=34.2.3', 34, true] - ].forEach(function(tuple) { - var range = tuple[0]; - var version = tuple[1]; - var loose = tuple[2] || false; - var msg = 'major(' + range + ') = ' + version; - t.equal(semver.major(range, loose), version, msg); - }); - t.end(); -}); - -test('\nminor tests', function(t) { - // [range, version] - // Version should be detectable despite extra characters - [ - ['1.1.3', 1], - [' 1.1.3 ', 1], - [' 1.2.3-4 ', 2], - [' 1.3.3-pre ', 3], - ['v1.5.3', 5], - [' v1.8.3 ', 8], - ['\t1.13.3', 13], - ['=1.21.3', 21, true], - ['v=1.34.3', 34, true] - ].forEach(function(tuple) { - var range = tuple[0]; - var version = tuple[1]; - var loose = tuple[2] || false; - var msg = 'minor(' + range + ') = ' + version; - t.equal(semver.minor(range, loose), version, msg); - }); - t.end(); -}); - -test('\npatch tests', function(t) { - // [range, version] - // Version should be detectable despite extra characters - [ - ['1.2.1', 1], - [' 1.2.1 ', 1], - [' 1.2.2-4 ', 2], - [' 1.2.3-pre ', 3], - ['v1.2.5', 5], - [' v1.2.8 ', 8], - ['\t1.2.13', 13], - ['=1.2.21', 21, true], - ['v=1.2.34', 34, true] - ].forEach(function(tuple) { - var range = tuple[0]; - var version = tuple[1]; - var loose = tuple[2] || false; - var msg = 'patch(' + range + ') = ' + version; - t.equal(semver.patch(range, loose), version, msg); - }); - t.end(); -}); http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/5ee4bf75/node_modules/xcode/lib/pbxFile.js ---------------------------------------------------------------------- diff --git a/node_modules/xcode/lib/pbxFile.js b/node_modules/xcode/lib/pbxFile.js index 0215bc3..67cb6cf 100644 --- a/node_modules/xcode/lib/pbxFile.js +++ b/node_modules/xcode/lib/pbxFile.js @@ -166,11 +166,9 @@ function defaultGroup(fileRef) { function pbxFile(filepath, opt) { var opt = opt || {}; - self = this; - this.basename = path.basename(filepath); this.lastKnownFileType = opt.lastKnownFileType || detectType(filepath); - this.group = detectGroup(self, opt); + this.group = detectGroup(this, opt); // for custom frameworks if (opt.customFramework == true) { @@ -179,7 +177,7 @@ function pbxFile(filepath, opt) { } this.path = defaultPath(this, filepath).replace(/\\/g, '/'); - this.fileEncoding = this.defaultEncoding = opt.defaultEncoding || defaultEncoding(self); + this.fileEncoding = this.defaultEncoding = opt.defaultEncoding || defaultEncoding(this); // When referencing products / build output files if (opt.explicitFileType) { @@ -191,7 +189,7 @@ function pbxFile(filepath, opt) { delete this.defaultEncoding; } - this.sourceTree = opt.sourceTree || detectSourcetree(self); + this.sourceTree = opt.sourceTree || detectSourcetree(this); this.includeInIndex = 0; if (opt.weak && opt.weak === true) http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/5ee4bf75/node_modules/xcode/package.json ---------------------------------------------------------------------- diff --git a/node_modules/xcode/package.json b/node_modules/xcode/package.json index 58f7d76..48cde45 100644 --- a/node_modules/xcode/package.json +++ b/node_modules/xcode/package.json @@ -14,14 +14,14 @@ ] ], "_from": "xcode@>=0.8.5 <0.9.0", - "_id": "[email protected]", + "_id": "[email protected]", "_inCache": true, "_installable": true, "_location": "/xcode", "_nodeVersion": "4.2.6", "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", - "tmp": "tmp/xcode-0.8.8.tgz_1464802009993_0.8885985244996846" + "tmp": "tmp/xcode-0.8.9.tgz_1469137632459_0.21505266707390547" }, "_npmUser": { "name": "anis", @@ -41,8 +41,8 @@ "_requiredBy": [ "/" ], - "_resolved": "http://registry.npmjs.org/xcode/-/xcode-0.8.8.tgz", - "_shasum": "1330877c4200f2094009e3bf144e6932596fcca0", + "_resolved": "http://registry.npmjs.org/xcode/-/xcode-0.8.9.tgz", + "_shasum": "ec6765f70e9dccccc9f6e9a5b9b4e7e814b4cf35", "_shrinkwrap": null, "_spec": "xcode@^0.8.5", "_where": "/Users/steveng/repo/cordova/cordova-ios", @@ -90,13 +90,13 @@ }, "directories": {}, "dist": { - "shasum": "1330877c4200f2094009e3bf144e6932596fcca0", - "tarball": "https://registry.npmjs.org/xcode/-/xcode-0.8.8.tgz" + "shasum": "ec6765f70e9dccccc9f6e9a5b9b4e7e814b4cf35", + "tarball": "https://registry.npmjs.org/xcode/-/xcode-0.8.9.tgz" }, "engines": { "node": ">=0.6.7" }, - "gitHead": "35824cb8bd180decdc15b1ade895090abf941583", + "gitHead": "9f3726f6d766875500eebd85d9712925e3faa8b3", "homepage": "https://github.com/alunny/node-xcode#readme", "main": "index.js", "maintainers": [ @@ -126,5 +126,5 @@ "scripts": { "test": "nodeunit test/parser test" }, - "version": "0.8.8" + "version": "0.8.9" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/5ee4bf75/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 9e875c9..130ad8d 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "uncrustify": "^0.6.1" }, "dependencies": { - "cordova-common": "^1.3.0", + "cordova-common": "^1.4.0", "ios-sim": "^5.0.7", "nopt": "^3.0.6", "plist": "^1.2.0", --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
