Repository: cordova-ios Updated Branches: refs/heads/master e17ddc12c -> aa87d308a
CB-12003 updated node_modules Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/aa87d308 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/aa87d308 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/aa87d308 Branch: refs/heads/master Commit: aa87d308a1384da1e05dad33e9dbae2f0ce5c065 Parents: e17ddc1 Author: Steve Gill <stevengil...@gmail.com> Authored: Mon Oct 17 11:13:26 2016 -0700 Committer: Steve Gill <stevengil...@gmail.com> Committed: Mon Oct 17 11:13:26 2016 -0700 ---------------------------------------------------------------------- node_modules/big-integer/package.json | 6 ++-- node_modules/cordova-common/RELEASENOTES.md | 4 +++ node_modules/cordova-common/package.json | 18 +++++----- .../src/ConfigParser/ConfigParser.js | 9 +++++ node_modules/inflight/inflight.js | 34 ++++++++++++------- node_modules/inflight/package.json | 30 ++++++++--------- node_modules/inherits/inherits.js | 8 ++++- node_modules/inherits/package.json | 28 +++++++++++----- node_modules/inherits/test.js | 25 -------------- node_modules/once/README.md | 28 ++++++++++++++++ node_modules/once/once.js | 21 ++++++++++++ node_modules/once/package.json | 24 ++++++++------ node_modules/os-homedir/package.json | 35 +++++++++++--------- node_modules/os-homedir/readme.md | 10 +++--- node_modules/os-tmpdir/index.js | 2 +- node_modules/os-tmpdir/package.json | 29 +++++++++------- node_modules/os-tmpdir/readme.md | 14 +++----- node_modules/path-is-absolute/index.js | 10 +++--- node_modules/path-is-absolute/package.json | 30 ++++++++++------- node_modules/path-is-absolute/readme.md | 30 +++++++++++------ 20 files changed, 241 insertions(+), 154 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/big-integer/package.json ---------------------------------------------------------------------- diff --git a/node_modules/big-integer/package.json b/node_modules/big-integer/package.json index 68946e9..1c3ebfa 100644 --- a/node_modules/big-integer/package.json +++ b/node_modules/big-integer/package.json @@ -10,7 +10,7 @@ "spec": ">=1.6.7 <2.0.0", "type": "range" }, - "/Users/shaz/Documents/Git/Apache/cordova-ios/node_modules/bplist-parser" + "/Users/steveng/repo/cordova/cordova-ios/node_modules/bplist-parser" ] ], "_from": "big-integer@>=1.6.7 <2.0.0", @@ -41,11 +41,11 @@ "_requiredBy": [ "/bplist-parser" ], - "_resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.16.tgz", + "_resolved": "http://registry.npmjs.org/big-integer/-/big-integer-1.6.16.tgz", "_shasum": "0ca30b58013db46b10084a09242ca1d8954724cc", "_shrinkwrap": null, "_spec": "big-integer@^1.6.7", - "_where": "/Users/shaz/Documents/Git/Apache/cordova-ios/node_modules/bplist-parser", + "_where": "/Users/steveng/repo/cordova/cordova-ios/node_modules/bplist-parser", "author": { "name": "Peter Olson", "email": "peter.e.c.olson+...@gmail.com" http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/cordova-common/RELEASENOTES.md ---------------------------------------------------------------------- diff --git a/node_modules/cordova-common/RELEASENOTES.md b/node_modules/cordova-common/RELEASENOTES.md index f237f69..02dbcee 100644 --- a/node_modules/cordova-common/RELEASENOTES.md +++ b/node_modules/cordova-common/RELEASENOTES.md @@ -20,6 +20,10 @@ --> # Cordova-common Release Notes +### 1.5.1 (Oct 12, 2016) +* [CB-12002](https://issues.apache.org/jira/browse/CB-12002) Add `getAllowIntents()` to `ConfigParser` +* [CB-11998](https://issues.apache.org/jira/browse/CB-11998) `cordova platform add` error with `cordova-common@1.5.0` + ### 1.5.0 (Oct 06, 2016) * [CB-11776](https://issues.apache.org/jira/browse/CB-11776) Add test case for different `edit-config` targets * [CB-11908](https://issues.apache.org/jira/browse/CB-11908) Add `edit-config` to `config.xml` http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/cordova-common/package.json ---------------------------------------------------------------------- diff --git a/node_modules/cordova-common/package.json b/node_modules/cordova-common/package.json index aebbe1e..3c211d4 100644 --- a/node_modules/cordova-common/package.json +++ b/node_modules/cordova-common/package.json @@ -10,18 +10,18 @@ "spec": ">=1.5.0 <2.0.0", "type": "range" }, - "/Users/shaz/Documents/Git/Apache/cordova-ios" + "/Users/steveng/repo/cordova/cordova-ios" ] ], "_from": "cordova-common@>=1.5.0 <2.0.0", - "_id": "cordova-common@1.5.0", + "_id": "cordova-common@1.5.1", "_inCache": true, "_installable": true, "_location": "/cordova-common", "_nodeVersion": "6.6.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/cordova-common-1.5.0.tgz_1476141345423_0.976897309301421" + "tmp": "tmp/cordova-common-1.5.1.tgz_1476725179180_0.39604957425035536" }, "_npmUser": { "name": "stevegill", @@ -41,11 +41,11 @@ "_requiredBy": [ "/" ], - "_resolved": "https://registry.npmjs.org/cordova-common/-/cordova-common-1.5.0.tgz", - "_shasum": "84fc37ff98385b6dafd7c0bbba97ccbf3a85e3ef", + "_resolved": "file:cordova-dist/tools/cordova-common-1.5.1.tgz", + "_shasum": "6770de0d6200ad6f94a1abe8939b5bd9ece139e3", "_shrinkwrap": null, "_spec": "cordova-common@^1.5.0", - "_where": "/Users/shaz/Documents/Git/Apache/cordova-ios", + "_where": "/Users/steveng/repo/cordova/cordova-ios", "author": { "name": "Apache Software Foundation" }, @@ -79,8 +79,8 @@ }, "directories": {}, "dist": { - "shasum": "84fc37ff98385b6dafd7c0bbba97ccbf3a85e3ef", - "tarball": "https://registry.npmjs.org/cordova-common/-/cordova-common-1.5.0.tgz" + "shasum": "6770de0d6200ad6f94a1abe8939b5bd9ece139e3", + "tarball": "https://registry.npmjs.org/cordova-common/-/cordova-common-1.5.1.tgz" }, "engineStrict": true, "engines": { @@ -127,5 +127,5 @@ "jshint": "node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint spec", "test": "npm run jshint && npm run jasmine" }, - "version": "1.5.0" + "version": "1.5.1" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/cordova-common/src/ConfigParser/ConfigParser.js ---------------------------------------------------------------------- diff --git a/node_modules/cordova-common/src/ConfigParser/ConfigParser.js b/node_modules/cordova-common/src/ConfigParser/ConfigParser.js index f23df4d..6e74ce3 100644 --- a/node_modules/cordova-common/src/ConfigParser/ConfigParser.js +++ b/node_modules/cordova-common/src/ConfigParser/ConfigParser.js @@ -480,6 +480,15 @@ ConfigParser.prototype = { }; }); }, + /* Get all the allow-intent tags */ + getAllowIntents: function() { + var allow_intents = this.doc.findall('./allow-intent'); + return allow_intents.map(function(allow_intent){ + return { + 'href': allow_intent.attrib.href + }; + }); + }, /* Get all edit-config tags */ getEditConfigs: function(platform) { var platform_tag = this.doc.find('./platform[@name="' + platform + '"]'); http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/inflight/inflight.js ---------------------------------------------------------------------- diff --git a/node_modules/inflight/inflight.js b/node_modules/inflight/inflight.js index 8bc96cb..48202b3 100644 --- a/node_modules/inflight/inflight.js +++ b/node_modules/inflight/inflight.js @@ -19,18 +19,28 @@ function makeres (key) { var cbs = reqs[key] var len = cbs.length var args = slice(arguments) - for (var i = 0; i < len; i++) { - cbs[i].apply(null, args) - } - if (cbs.length > len) { - // added more in the interim. - // de-zalgo, just in case, but don't call again. - cbs.splice(0, len) - process.nextTick(function () { - RES.apply(null, args) - }) - } else { - delete reqs[key] + + // XXX It's somewhat ambiguous whether a new callback added in this + // pass should be queued for later execution if something in the + // list of callbacks throws, or if it should just be discarded. + // However, it's such an edge case that it hardly matters, and either + // choice is likely as surprising as the other. + // As it happens, we do go ahead and schedule it for later execution. + try { + for (var i = 0; i < len; i++) { + cbs[i].apply(null, args) + } + } finally { + if (cbs.length > len) { + // added more in the interim. + // de-zalgo, just in case, but don't call again. + cbs.splice(0, len) + process.nextTick(function () { + RES.apply(null, args) + }) + } else { + delete reqs[key] + } } }) } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/inflight/package.json ---------------------------------------------------------------------- diff --git a/node_modules/inflight/package.json b/node_modules/inflight/package.json index bc1493b..4ad2df9 100644 --- a/node_modules/inflight/package.json +++ b/node_modules/inflight/package.json @@ -14,20 +14,20 @@ ] ], "_from": "inflight@>=1.0.4 <2.0.0", - "_id": "inflight@1.0.5", + "_id": "inflight@1.0.6", "_inCache": true, "_installable": true, "_location": "/inflight", - "_nodeVersion": "5.10.1", + "_nodeVersion": "6.5.0", "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/inflight-1.0.5.tgz_1463529611443_0.00041943578980863094" + "host": "packages-16-east.internal.npmjs.com", + "tmp": "tmp/inflight-1.0.6.tgz_1476330807696_0.10388551792129874" }, "_npmUser": { - "name": "zkat", - "email": "k...@sykosomatic.org" + "name": "isaacs", + "email": "i...@izs.me" }, - "_npmVersion": "3.9.1", + "_npmVersion": "3.10.7", "_phantomChildren": {}, "_requested": { "raw": "inflight@^1.0.4", @@ -41,8 +41,8 @@ "_requiredBy": [ "/glob" ], - "_resolved": "http://registry.npmjs.org/inflight/-/inflight-1.0.5.tgz", - "_shasum": "db3204cd5a9de2e6cd890b85c6e2f66bcf4f620a", + "_resolved": "http://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "_shasum": "49bd6331d7d02d0c09bc910a1075ba8165b56df9", "_shrinkwrap": null, "_spec": "inflight@^1.0.4", "_where": "/Users/steveng/repo/cordova/cordova-ios/node_modules/glob", @@ -60,17 +60,17 @@ }, "description": "Add callbacks to requests in flight to avoid async duplication", "devDependencies": { - "tap": "^1.2.0" + "tap": "^7.1.2" }, "directories": {}, "dist": { - "shasum": "db3204cd5a9de2e6cd890b85c6e2f66bcf4f620a", - "tarball": "https://registry.npmjs.org/inflight/-/inflight-1.0.5.tgz" + "shasum": "49bd6331d7d02d0c09bc910a1075ba8165b56df9", + "tarball": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" }, "files": [ "inflight.js" ], - "gitHead": "559e37b4f6327fca797fe8d7fe8ed6d9cae08821", + "gitHead": "a547881738c8f57b27795e584071d67cf6ac1a57", "homepage": "https://github.com/isaacs/inflight", "license": "ISC", "main": "inflight.js", @@ -100,7 +100,7 @@ "url": "git+https://github.com/npm/inflight.git" }, "scripts": { - "test": "tap test.js" + "test": "tap test.js --100" }, - "version": "1.0.5" + "version": "1.0.6" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/inherits/inherits.js ---------------------------------------------------------------------- diff --git a/node_modules/inherits/inherits.js b/node_modules/inherits/inherits.js index 29f5e24..3b94763 100644 --- a/node_modules/inherits/inherits.js +++ b/node_modules/inherits/inherits.js @@ -1 +1,7 @@ -module.exports = require('util').inherits +try { + var util = require('util'); + if (typeof util.inherits !== 'function') throw ''; + module.exports = util.inherits; +} catch (e) { + module.exports = require('./inherits_browser.js'); +} http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/inherits/package.json ---------------------------------------------------------------------- diff --git a/node_modules/inherits/package.json b/node_modules/inherits/package.json index 50663f5..ac6af04 100644 --- a/node_modules/inherits/package.json +++ b/node_modules/inherits/package.json @@ -14,15 +14,20 @@ ] ], "_from": "inherits@>=2.0.0 <3.0.0", - "_id": "inherits@2.0.1", + "_id": "inherits@2.0.3", "_inCache": true, "_installable": true, "_location": "/inherits", + "_nodeVersion": "6.5.0", + "_npmOperationalInternal": { + "host": "packages-16-east.internal.npmjs.com", + "tmp": "tmp/inherits-2.0.3.tgz_1473295776489_0.08142363070510328" + }, "_npmUser": { "name": "isaacs", "email": "i...@izs.me" }, - "_npmVersion": "1.3.8", + "_npmVersion": "3.10.7", "_phantomChildren": {}, "_requested": { "raw": "inherits@2", @@ -36,8 +41,8 @@ "_requiredBy": [ "/glob" ], - "_resolved": "http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "_shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1", + "_resolved": "http://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "_shasum": "633c2c83e3da42a502f52466022480f4208261de", "_shrinkwrap": null, "_spec": "inherits@2", "_where": "/Users/steveng/repo/cordova/cordova-ios/node_modules/glob", @@ -47,12 +52,19 @@ }, "dependencies": {}, "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", - "devDependencies": {}, + "devDependencies": { + "tap": "^7.1.0" + }, "directories": {}, "dist": { - "shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1", - "tarball": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" + "shasum": "633c2c83e3da42a502f52466022480f4208261de", + "tarball": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" }, + "files": [ + "inherits.js", + "inherits_browser.js" + ], + "gitHead": "e05d0fb27c61a3ec687214f0476386b765364d5f", "homepage": "https://github.com/isaacs/inherits#readme", "keywords": [ "inheritance", @@ -82,5 +94,5 @@ "scripts": { "test": "node test" }, - "version": "2.0.1" + "version": "2.0.3" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/inherits/test.js ---------------------------------------------------------------------- diff --git a/node_modules/inherits/test.js b/node_modules/inherits/test.js deleted file mode 100644 index fc53012..0000000 --- a/node_modules/inherits/test.js +++ /dev/null @@ -1,25 +0,0 @@ -var inherits = require('./inherits.js') -var assert = require('assert') - -function test(c) { - assert(c.constructor === Child) - assert(c.constructor.super_ === Parent) - assert(Object.getPrototypeOf(c) === Child.prototype) - assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) - assert(c instanceof Child) - assert(c instanceof Parent) -} - -function Child() { - Parent.call(this) - test(this) -} - -function Parent() {} - -inherits(Child, Parent) - -var c = new Child -test(c) - -console.log('ok') http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/once/README.md ---------------------------------------------------------------------- diff --git a/node_modules/once/README.md b/node_modules/once/README.md index a2981ea..1f1ffca 100644 --- a/node_modules/once/README.md +++ b/node_modules/once/README.md @@ -49,3 +49,31 @@ function load (cb) { }) } ``` + +## `once.strict(func)` + +Throw an error if the function is called twice. + +Some functions are expected to be called only once. Using `once` for them would +potentially hide logical errors. + +In the example below, the `greet` function has to call the callback only once: + +```javascript +function greet (name, cb) { + // return is missing from the if statement + // when no name is passed, the callback is called twice + if (!name) cb('Hello anonymous') + cb('Hello ' + name) +} + +function log (msg) { + console.log(msg) +} + +// this will print 'Hello anonymous' but the logical error will be missed +greet(null, once(msg)) + +// once.strict will print 'Hello anonymous' and throw an error when the callback will be called the second time +greet(null, once.strict(msg)) +``` http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/once/once.js ---------------------------------------------------------------------- diff --git a/node_modules/once/once.js b/node_modules/once/once.js index 2e1e721..2354067 100644 --- a/node_modules/once/once.js +++ b/node_modules/once/once.js @@ -1,5 +1,6 @@ var wrappy = require('wrappy') module.exports = wrappy(once) +module.exports.strict = wrappy(onceStrict) once.proto = once(function () { Object.defineProperty(Function.prototype, 'once', { @@ -8,6 +9,13 @@ once.proto = once(function () { }, configurable: true }) + + Object.defineProperty(Function.prototype, 'onceStrict', { + value: function () { + return onceStrict(this) + }, + configurable: true + }) }) function once (fn) { @@ -19,3 +27,16 @@ function once (fn) { f.called = false return f } + +function onceStrict (fn) { + var f = function () { + if (f.called) + throw new Error(f.onceError) + f.called = true + return f.value = fn.apply(this, arguments) + } + var name = fn.name || 'Function wrapped with `once`' + f.onceError = name + " shouldn't be called more than once" + f.called = false + return f +} http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/once/package.json ---------------------------------------------------------------------- diff --git a/node_modules/once/package.json b/node_modules/once/package.json index 5a89d37..41bdac4 100644 --- a/node_modules/once/package.json +++ b/node_modules/once/package.json @@ -14,16 +14,20 @@ ] ], "_from": "once@>=1.3.0 <2.0.0", - "_id": "once@1.3.3", + "_id": "once@1.4.0", "_inCache": true, "_installable": true, "_location": "/once", - "_nodeVersion": "4.0.0", + "_nodeVersion": "6.5.0", + "_npmOperationalInternal": { + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/once-1.4.0.tgz_1473196269128_0.537820661207661" + }, "_npmUser": { "name": "isaacs", "email": "i...@izs.me" }, - "_npmVersion": "3.3.2", + "_npmVersion": "3.10.7", "_phantomChildren": {}, "_requested": { "raw": "once@^1.3.0", @@ -38,8 +42,8 @@ "/glob", "/inflight" ], - "_resolved": "http://registry.npmjs.org/once/-/once-1.3.3.tgz", - "_shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20", + "_resolved": "http://registry.npmjs.org/once/-/once-1.4.0.tgz", + "_shasum": "583b1aa775961d4b113ac17d9c50baef9dd76bd1", "_shrinkwrap": null, "_spec": "once@^1.3.0", "_where": "/Users/steveng/repo/cordova/cordova-ios/node_modules/glob", @@ -56,19 +60,19 @@ }, "description": "Run a function exactly one time", "devDependencies": { - "tap": "^1.2.0" + "tap": "^7.0.1" }, "directories": { "test": "test" }, "dist": { - "shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20", - "tarball": "https://registry.npmjs.org/once/-/once-1.3.3.tgz" + "shasum": "583b1aa775961d4b113ac17d9c50baef9dd76bd1", + "tarball": "https://registry.npmjs.org/once/-/once-1.4.0.tgz" }, "files": [ "once.js" ], - "gitHead": "2ad558657e17fafd24803217ba854762842e4178", + "gitHead": "0e614d9f5a7e6f0305c625f6b581f6d80b33b8a6", "homepage": "https://github.com/isaacs/once#readme", "keywords": [ "once", @@ -94,5 +98,5 @@ "scripts": { "test": "tap test/*.js" }, - "version": "1.3.3" + "version": "1.4.0" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/os-homedir/package.json ---------------------------------------------------------------------- diff --git a/node_modules/os-homedir/package.json b/node_modules/os-homedir/package.json index 9352714..382c70f 100644 --- a/node_modules/os-homedir/package.json +++ b/node_modules/os-homedir/package.json @@ -14,16 +14,20 @@ ] ], "_from": "os-homedir@>=1.0.0 <2.0.0", - "_id": "os-homedir@1.0.1", + "_id": "os-homedir@1.0.2", "_inCache": true, "_installable": true, "_location": "/os-homedir", - "_nodeVersion": "0.12.5", + "_nodeVersion": "6.6.0", + "_npmOperationalInternal": { + "host": "packages-16-east.internal.npmjs.com", + "tmp": "tmp/os-homedir-1.0.2.tgz_1475211519628_0.7873868853785098" + }, "_npmUser": { "name": "sindresorhus", "email": "sindresor...@gmail.com" }, - "_npmVersion": "2.11.2", + "_npmVersion": "3.10.3", "_phantomChildren": {}, "_requested": { "raw": "os-homedir@^1.0.0", @@ -37,8 +41,8 @@ "_requiredBy": [ "/osenv" ], - "_resolved": "http://registry.npmjs.org/os-homedir/-/os-homedir-1.0.1.tgz", - "_shasum": "0d62bdf44b916fd3bbdcf2cab191948fb094f007", + "_resolved": "http://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "_shasum": "ffbc4988336e0e833de0c168c7ef152121aa7fb3", "_shrinkwrap": null, "_spec": "os-homedir@^1.0.0", "_where": "/Users/steveng/repo/cordova/cordova-ios/node_modules/osenv", @@ -51,15 +55,16 @@ "url": "https://github.com/sindresorhus/os-homedir/issues" }, "dependencies": {}, - "description": "io.js 2.3.0 os.homedir() ponyfill", + "description": "Node.js 4 `os.homedir()` ponyfill", "devDependencies": { - "ava": "0.0.4", - "path-exists": "^1.0.0" + "ava": "*", + "path-exists": "^2.0.0", + "xo": "^0.16.0" }, "directories": {}, "dist": { - "shasum": "0d62bdf44b916fd3bbdcf2cab191948fb094f007", - "tarball": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.1.tgz" + "shasum": "ffbc4988336e0e833de0c168c7ef152121aa7fb3", + "tarball": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz" }, "engines": { "node": ">=0.10.0" @@ -67,10 +72,10 @@ "files": [ "index.js" ], - "gitHead": "13ff83fbd13ebe286a6092286b2c634ab4534c5f", - "homepage": "https://github.com/sindresorhus/os-homedir", + "gitHead": "b1b0ae70a5965fef7005ff6509a5dd1a78c95e36", + "homepage": "https://github.com/sindresorhus/os-homedir#readme", "keywords": [ - "built-in", + "builtin", "core", "ponyfill", "polyfill", @@ -99,7 +104,7 @@ "url": "git+https://github.com/sindresorhus/os-homedir.git" }, "scripts": { - "test": "node test.js" + "test": "xo && ava" }, - "version": "1.0.1" + "version": "1.0.2" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/os-homedir/readme.md ---------------------------------------------------------------------- diff --git a/node_modules/os-homedir/readme.md b/node_modules/os-homedir/readme.md index 4851f10..856ae61 100644 --- a/node_modules/os-homedir/readme.md +++ b/node_modules/os-homedir/readme.md @@ -1,8 +1,6 @@ # os-homedir [![Build Status](https://travis-ci.org/sindresorhus/os-homedir.svg?branch=master)](https://travis-ci.org/sindresorhus/os-homedir) -> io.js 2.3.0 [`os.homedir()`](https://iojs.org/api/os.html#os_os_homedir) ponyfill - -> Ponyfill: A polyfill that doesn't overwrite the native method +> Node.js 4 [`os.homedir()`](https://nodejs.org/api/os.html#os_os_homedir) [ponyfill](https://ponyfill.com) ## Install @@ -15,10 +13,10 @@ $ npm install --save os-homedir ## Usage ```js -var osHomedir = require('os-homedir'); +const osHomedir = require('os-homedir'); console.log(osHomedir()); -//=> /Users/sindresorhus +//=> '/Users/sindresorhus' ``` @@ -30,4 +28,4 @@ console.log(osHomedir()); ## License -MIT © [Sindre Sorhus](http://sindresorhus.com) +MIT © [Sindre Sorhus](https://sindresorhus.com) http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/os-tmpdir/index.js ---------------------------------------------------------------------- diff --git a/node_modules/os-tmpdir/index.js b/node_modules/os-tmpdir/index.js index 52d90bf..2077b1c 100644 --- a/node_modules/os-tmpdir/index.js +++ b/node_modules/os-tmpdir/index.js @@ -2,7 +2,7 @@ var isWindows = process.platform === 'win32'; var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/; -// https://github.com/nodejs/io.js/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43 +// https://github.com/nodejs/node/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43 module.exports = function () { var path; http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/os-tmpdir/package.json ---------------------------------------------------------------------- diff --git a/node_modules/os-tmpdir/package.json b/node_modules/os-tmpdir/package.json index a7c34c5..40831c2 100644 --- a/node_modules/os-tmpdir/package.json +++ b/node_modules/os-tmpdir/package.json @@ -14,16 +14,20 @@ ] ], "_from": "os-tmpdir@>=1.0.0 <2.0.0", - "_id": "os-tmpdir@1.0.1", + "_id": "os-tmpdir@1.0.2", "_inCache": true, "_installable": true, "_location": "/os-tmpdir", - "_nodeVersion": "0.12.3", + "_nodeVersion": "6.6.0", + "_npmOperationalInternal": { + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/os-tmpdir-1.0.2.tgz_1475211274587_0.14931037812493742" + }, "_npmUser": { "name": "sindresorhus", "email": "sindresor...@gmail.com" }, - "_npmVersion": "2.9.1", + "_npmVersion": "3.10.3", "_phantomChildren": {}, "_requested": { "raw": "os-tmpdir@^1.0.0", @@ -37,8 +41,8 @@ "_requiredBy": [ "/osenv" ], - "_resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.1.tgz", - "_shasum": "e9b423a1edaf479882562e92ed71d7743a071b6e", + "_resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "_shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274", "_shrinkwrap": null, "_spec": "os-tmpdir@^1.0.0", "_where": "/Users/steveng/repo/cordova/cordova-ios/node_modules/osenv", @@ -53,12 +57,13 @@ "dependencies": {}, "description": "Node.js os.tmpdir() ponyfill", "devDependencies": { - "ava": "0.0.4" + "ava": "*", + "xo": "^0.16.0" }, "directories": {}, "dist": { - "shasum": "e9b423a1edaf479882562e92ed71d7743a071b6e", - "tarball": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.1.tgz" + "shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274", + "tarball": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" }, "engines": { "node": ">=0.10.0" @@ -66,8 +71,8 @@ "files": [ "index.js" ], - "gitHead": "5c5d355f81378980db629d60128ad03e02b1c1e5", - "homepage": "https://github.com/sindresorhus/os-tmpdir", + "gitHead": "1abf9cf5611b4be7377060ea67054b45cbf6813c", + "homepage": "https://github.com/sindresorhus/os-tmpdir#readme", "keywords": [ "built-in", "core", @@ -99,7 +104,7 @@ "url": "git+https://github.com/sindresorhus/os-tmpdir.git" }, "scripts": { - "test": "node test.js" + "test": "xo && ava" }, - "version": "1.0.1" + "version": "1.0.2" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/os-tmpdir/readme.md ---------------------------------------------------------------------- diff --git a/node_modules/os-tmpdir/readme.md b/node_modules/os-tmpdir/readme.md index 54d4c6e..c09f7ed 100644 --- a/node_modules/os-tmpdir/readme.md +++ b/node_modules/os-tmpdir/readme.md @@ -1,12 +1,8 @@ # os-tmpdir [![Build Status](https://travis-ci.org/sindresorhus/os-tmpdir.svg?branch=master)](https://travis-ci.org/sindresorhus/os-tmpdir) -> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) ponyfill +> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.com) -> Ponyfill: A polyfill that doesn't overwrite the native method - -Use this instead of `require('os').tmpdir()` to get a consistent behaviour on different Node.js versions (even 0.8). - -*This is actually taken from io.js 2.0.2 as it contains some fixes that haven't bubbled up to Node.js yet.* +Use this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js versions (even 0.8). ## Install @@ -19,10 +15,10 @@ $ npm install --save os-tmpdir ## Usage ```js -var osTmpdir = require('os-tmpdir'); +const osTmpdir = require('os-tmpdir'); osTmpdir(); -//=> /var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T +//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T' ``` @@ -33,4 +29,4 @@ See the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir). ## License -MIT © [Sindre Sorhus](http://sindresorhus.com) +MIT © [Sindre Sorhus](https://sindresorhus.com) http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/path-is-absolute/index.js ---------------------------------------------------------------------- diff --git a/node_modules/path-is-absolute/index.js b/node_modules/path-is-absolute/index.js index 19f103f..22aa6c3 100644 --- a/node_modules/path-is-absolute/index.js +++ b/node_modules/path-is-absolute/index.js @@ -2,18 +2,18 @@ function posix(path) { return path.charAt(0) === '/'; -}; +} function win32(path) { - // https://github.com/joyent/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 + // https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; var result = splitDeviceRe.exec(path); var device = result[1] || ''; - var isUnc = !!device && device.charAt(1) !== ':'; + var isUnc = Boolean(device && device.charAt(1) !== ':'); // UNC paths are always absolute - return !!result[2] || isUnc; -}; + return Boolean(result[2] || isUnc); +} module.exports = process.platform === 'win32' ? win32 : posix; module.exports.posix = posix; http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/path-is-absolute/package.json ---------------------------------------------------------------------- diff --git a/node_modules/path-is-absolute/package.json b/node_modules/path-is-absolute/package.json index c37e04b..365882b 100644 --- a/node_modules/path-is-absolute/package.json +++ b/node_modules/path-is-absolute/package.json @@ -14,16 +14,20 @@ ] ], "_from": "path-is-absolute@>=1.0.0 <2.0.0", - "_id": "path-is-absolute@1.0.0", + "_id": "path-is-absolute@1.0.1", "_inCache": true, "_installable": true, "_location": "/path-is-absolute", - "_nodeVersion": "0.12.0", + "_nodeVersion": "6.6.0", + "_npmOperationalInternal": { + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/path-is-absolute-1.0.1.tgz_1475210523565_0.9876507974695414" + }, "_npmUser": { "name": "sindresorhus", "email": "sindresor...@gmail.com" }, - "_npmVersion": "2.5.1", + "_npmVersion": "3.10.3", "_phantomChildren": {}, "_requested": { "raw": "path-is-absolute@^1.0.0", @@ -37,8 +41,8 @@ "_requiredBy": [ "/glob" ], - "_resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz", - "_shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912", + "_resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "_shasum": "174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f", "_shrinkwrap": null, "_spec": "path-is-absolute@^1.0.0", "_where": "/Users/steveng/repo/cordova/cordova-ios/node_modules/glob", @@ -52,11 +56,13 @@ }, "dependencies": {}, "description": "Node.js 0.12 path.isAbsolute() ponyfill", - "devDependencies": {}, + "devDependencies": { + "xo": "^0.16.0" + }, "directories": {}, "dist": { - "shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912", - "tarball": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz" + "shasum": "174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f", + "tarball": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" }, "engines": { "node": ">=0.10.0" @@ -64,8 +70,8 @@ "files": [ "index.js" ], - "gitHead": "7a76a0c9f2263192beedbe0a820e4d0baee5b7a1", - "homepage": "https://github.com/sindresorhus/path-is-absolute", + "gitHead": "edc91d348b21dac2ab65ea2fbec2868e2eff5eb6", + "homepage": "https://github.com/sindresorhus/path-is-absolute#readme", "keywords": [ "path", "paths", @@ -100,7 +106,7 @@ "url": "git+https://github.com/sindresorhus/path-is-absolute.git" }, "scripts": { - "test": "node test.js" + "test": "xo && node test.js" }, - "version": "1.0.0" + "version": "1.0.1" } http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/aa87d308/node_modules/path-is-absolute/readme.md ---------------------------------------------------------------------- diff --git a/node_modules/path-is-absolute/readme.md b/node_modules/path-is-absolute/readme.md index cdf94f4..8dbdf5f 100644 --- a/node_modules/path-is-absolute/readme.md +++ b/node_modules/path-is-absolute/readme.md @@ -1,8 +1,6 @@ # path-is-absolute [![Build Status](https://travis-ci.org/sindresorhus/path-is-absolute.svg?branch=master)](https://travis-ci.org/sindresorhus/path-is-absolute) -> Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) ponyfill - -> Ponyfill: A polyfill that doesn't overwrite the native method +> Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) [ponyfill](https://ponyfill.com) ## Install @@ -15,19 +13,29 @@ $ npm install --save path-is-absolute ## Usage ```js -var pathIsAbsolute = require('path-is-absolute'); +const pathIsAbsolute = require('path-is-absolute'); -// Linux +// Running on Linux pathIsAbsolute('/home/foo'); //=> true +pathIsAbsolute('C:/Users/foo'); +//=> false -// Windows -pathIsAbsolute('C:/Users/'); +// Running on Windows +pathIsAbsolute('C:/Users/foo'); //=> true +pathIsAbsolute('/home/foo'); +//=> false -// Any OS +// Running on any OS pathIsAbsolute.posix('/home/foo'); //=> true +pathIsAbsolute.posix('C:/Users/foo'); +//=> false +pathIsAbsolute.win32('C:/Users/foo'); +//=> true +pathIsAbsolute.win32('/home/foo'); +//=> false ``` @@ -39,13 +47,13 @@ See the [`path.isAbsolute()` docs](http://nodejs.org/api/path.html#path_path_isa ### pathIsAbsolute.posix(path) -The Posix specific version. +POSIX specific version. ### pathIsAbsolute.win32(path) -The Windows specific version. +Windows specific version. ## License -MIT © [Sindre Sorhus](http://sindresorhus.com) +MIT © [Sindre Sorhus](https://sindresorhus.com) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org