Bundle updated node modules

This commit is contained in:
Jason Ginchereau
2016-05-25 16:31:28 -07:00
committed by Nikhil Khandelwal
parent 72bbe9fdf0
commit d6fe1a65eb
58 changed files with 943 additions and 677 deletions

17
node_modules/inflight/.eslintrc generated vendored
View File

@@ -1,17 +0,0 @@
{
"env" : {
"node" : true
},
"rules" : {
"semi": [2, "never"],
"strict": 0,
"quotes": [1, "single", "avoid-escape"],
"no-use-before-define": 0,
"curly": 0,
"no-underscore-dangle": 0,
"no-lonely-if": 1,
"no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}],
"no-mixed-requires": 0,
"space-infix-ops": 0
}
}

55
node_modules/inflight/package.json generated vendored
View File

@@ -2,20 +2,24 @@
"_args": [
[
"inflight@^1.0.4",
"/Users/steveng/repo/cordova/cordova-android/node_modules/glob"
"D:\\Cordova\\cordova-android\\node_modules\\glob"
]
],
"_from": "inflight@>=1.0.4 <2.0.0",
"_id": "inflight@1.0.4",
"_id": "inflight@1.0.5",
"_inCache": true,
"_installable": true,
"_location": "/inflight",
"_nodeVersion": "0.10.32",
"_npmUser": {
"email": "ogd@aoaioxxysz.net",
"name": "othiym23"
"_nodeVersion": "5.10.1",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/inflight-1.0.5.tgz_1463529611443_0.00041943578980863094"
},
"_npmVersion": "2.1.3",
"_npmUser": {
"email": "kat@sykosomatic.org",
"name": "zkat"
},
"_npmVersion": "3.9.1",
"_phantomChildren": {},
"_requested": {
"name": "inflight",
@@ -28,11 +32,11 @@
"_requiredBy": [
"/glob"
],
"_resolved": "http://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz",
"_shasum": "6cbb4521ebd51ce0ec0a936bfd7657ef7e9b172a",
"_resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.5.tgz",
"_shasum": "db3204cd5a9de2e6cd890b85c6e2f66bcf4f620a",
"_shrinkwrap": null,
"_spec": "inflight@^1.0.4",
"_where": "/Users/steveng/repo/cordova/cordova-android/node_modules/glob",
"_where": "D:\\Cordova\\cordova-android\\node_modules\\glob",
"author": {
"email": "i@izs.me",
"name": "Isaac Z. Schlueter",
@@ -47,29 +51,36 @@
},
"description": "Add callbacks to requests in flight to avoid async duplication",
"devDependencies": {
"tap": "^0.4.10"
"tap": "^1.2.0"
},
"directories": {},
"dist": {
"shasum": "6cbb4521ebd51ce0ec0a936bfd7657ef7e9b172a",
"tarball": "http://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz"
"shasum": "db3204cd5a9de2e6cd890b85c6e2f66bcf4f620a",
"tarball": "https://registry.npmjs.org/inflight/-/inflight-1.0.5.tgz"
},
"gitHead": "c7b5531d572a867064d4a1da9e013e8910b7d1ba",
"files": [
"inflight.js"
],
"gitHead": "559e37b4f6327fca797fe8d7fe8ed6d9cae08821",
"homepage": "https://github.com/isaacs/inflight",
"license": "ISC",
"main": "inflight.js",
"maintainers": [
{
"name": "isaacs",
"email": "i@izs.me"
"email": "me@re-becca.org",
"name": "iarna"
},
{
"name": "othiym23",
"email": "ogd@aoaioxxysz.net"
"email": "i@izs.me",
"name": "isaacs"
},
{
"name": "iarna",
"email": "me@re-becca.org"
"email": "ogd@aoaioxxysz.net",
"name": "othiym23"
},
{
"email": "kat@sykosomatic.org",
"name": "zkat"
}
],
"name": "inflight",
@@ -77,10 +88,10 @@
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/inflight.git"
"url": "git+https://github.com/npm/inflight.git"
},
"scripts": {
"test": "tap test.js"
},
"version": "1.0.4"
"version": "1.0.5"
}

97
node_modules/inflight/test.js generated vendored
View File

@@ -1,97 +0,0 @@
var test = require('tap').test
var inf = require('./inflight.js')
function req (key, cb) {
cb = inf(key, cb)
if (cb) setTimeout(function () {
cb(key)
cb(key)
})
return cb
}
test('basic', function (t) {
var calleda = false
var a = req('key', function (k) {
t.notOk(calleda)
calleda = true
t.equal(k, 'key')
if (calledb) t.end()
})
t.ok(a, 'first returned cb function')
var calledb = false
var b = req('key', function (k) {
t.notOk(calledb)
calledb = true
t.equal(k, 'key')
if (calleda) t.end()
})
t.notOk(b, 'second should get falsey inflight response')
})
test('timing', function (t) {
var expect = [
'method one',
'start one',
'end one',
'two',
'tick',
'three'
]
var i = 0
function log (m) {
t.equal(m, expect[i], m + ' === ' + expect[i])
++i
if (i === expect.length)
t.end()
}
function method (name, cb) {
log('method ' + name)
process.nextTick(cb)
}
var one = inf('foo', function () {
log('start one')
var three = inf('foo', function () {
log('three')
})
if (three) method('three', three)
log('end one')
})
method('one', one)
var two = inf('foo', function () {
log('two')
})
if (two) method('one', two)
process.nextTick(log.bind(null, 'tick'))
})
test('parameters', function (t) {
t.plan(8)
var a = inf('key', function (first, second, third) {
t.equal(first, 1)
t.equal(second, 2)
t.equal(third, 3)
})
t.ok(a, 'first returned cb function')
var b = inf('key', function (first, second, third) {
t.equal(first, 1)
t.equal(second, 2)
t.equal(third, 3)
})
t.notOk(b, 'second should get falsey inflight response')
setTimeout(function () {
a(1, 2, 3)
})
})