2015-10-22 18:26:23 +08:00
{
2016-02-25 01:50:07 +08:00
"_args" : [
[
2016-07-23 03:24:27 +08:00
{
"raw" : "inflight@^1.0.4" ,
"scope" : null ,
"escapedName" : "inflight" ,
"name" : "inflight" ,
"rawSpec" : "^1.0.4" ,
"spec" : ">=1.0.4 <2.0.0" ,
"type" : "range"
} ,
"/Users/steveng/repo/cordova/cordova-android/node_modules/glob"
2016-02-25 01:50:07 +08:00
]
] ,
"_from" : "inflight@>=1.0.4 <2.0.0" ,
2016-10-18 01:50:30 +08:00
"_id" : "inflight@1.0.6" ,
2016-02-25 01:50:07 +08:00
"_inCache" : true ,
"_location" : "/inflight" ,
2016-10-18 01:50:30 +08:00
"_nodeVersion" : "6.5.0" ,
2016-05-26 07:31:28 +08:00
"_npmOperationalInternal" : {
2016-10-18 01:50:30 +08:00
"host" : "packages-16-east.internal.npmjs.com" ,
"tmp" : "tmp/inflight-1.0.6.tgz_1476330807696_0.10388551792129874"
2016-05-26 07:31:28 +08:00
} ,
2016-02-25 01:50:07 +08:00
"_npmUser" : {
2016-10-18 01:50:30 +08:00
"name" : "isaacs" ,
"email" : "i@izs.me"
2015-10-22 18:26:23 +08:00
} ,
2016-10-18 01:50:30 +08:00
"_npmVersion" : "3.10.7" ,
2016-02-25 01:50:07 +08:00
"_phantomChildren" : { } ,
"_requested" : {
"raw" : "inflight@^1.0.4" ,
"scope" : null ,
2016-07-23 03:24:27 +08:00
"escapedName" : "inflight" ,
"name" : "inflight" ,
"rawSpec" : "^1.0.4" ,
2016-02-25 01:50:07 +08:00
"spec" : ">=1.0.4 <2.0.0" ,
"type" : "range"
2015-10-22 18:26:23 +08:00
} ,
2016-02-25 01:50:07 +08:00
"_requiredBy" : [
"/glob"
] ,
2016-10-18 01:50:30 +08:00
"_resolved" : "http://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" ,
"_shasum" : "49bd6331d7d02d0c09bc910a1075ba8165b56df9" ,
2016-02-25 01:50:07 +08:00
"_shrinkwrap" : null ,
"_spec" : "inflight@^1.0.4" ,
2016-07-23 03:24:27 +08:00
"_where" : "/Users/steveng/repo/cordova/cordova-android/node_modules/glob" ,
2015-10-22 18:26:23 +08:00
"author" : {
2016-02-25 01:50:07 +08:00
"name" : "Isaac Z. Schlueter" ,
2016-07-23 03:24:27 +08:00
"email" : "i@izs.me" ,
2015-10-22 18:26:23 +08:00
"url" : "http://blog.izs.me/"
} ,
"bugs" : {
"url" : "https://github.com/isaacs/inflight/issues"
} ,
2016-02-25 01:50:07 +08:00
"dependencies" : {
"once" : "^1.3.0" ,
"wrappy" : "1"
} ,
"description" : "Add callbacks to requests in flight to avoid async duplication" ,
"devDependencies" : {
2016-10-18 01:50:30 +08:00
"tap" : "^7.1.2"
2016-02-25 01:50:07 +08:00
} ,
"directories" : { } ,
"dist" : {
2016-10-18 01:50:30 +08:00
"shasum" : "49bd6331d7d02d0c09bc910a1075ba8165b56df9" ,
"tarball" : "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz"
2016-02-25 01:50:07 +08:00
} ,
2016-05-26 07:31:28 +08:00
"files" : [
"inflight.js"
] ,
2016-10-18 01:50:30 +08:00
"gitHead" : "a547881738c8f57b27795e584071d67cf6ac1a57" ,
2015-10-22 18:26:23 +08:00
"homepage" : "https://github.com/isaacs/inflight" ,
"license" : "ISC" ,
2016-02-25 01:50:07 +08:00
"main" : "inflight.js" ,
2016-01-21 07:49:00 +08:00
"maintainers" : [
{
2016-07-23 03:24:27 +08:00
"name" : "iarna" ,
"email" : "me@re-becca.org"
2016-05-26 07:31:28 +08:00
} ,
{
2016-07-23 03:24:27 +08:00
"name" : "isaacs" ,
"email" : "i@izs.me"
2016-01-21 07:49:00 +08:00
} ,
{
2016-07-23 03:24:27 +08:00
"name" : "othiym23" ,
"email" : "ogd@aoaioxxysz.net"
2016-01-21 07:49:00 +08:00
} ,
{
2016-07-23 03:24:27 +08:00
"name" : "zkat" ,
"email" : "kat@sykosomatic.org"
2016-01-21 07:49:00 +08:00
}
] ,
2016-02-25 01:50:07 +08:00
"name" : "inflight" ,
"optionalDependencies" : { } ,
2017-09-06 02:04:12 +08:00
"readme" : "# inflight\n\nAdd callbacks to requests in flight to avoid async duplication\n\n## USAGE\n\n```javascript\nvar inflight = require('inflight')\n\n// some request that does some stuff\nfunction req(key, callback) {\n // key is any random string. like a url or filename or whatever.\n //\n // will return either a falsey value, indicating that the\n // request for this key is already in flight, or a new callback\n // which when called will call all callbacks passed to inflightk\n // with the same key\n callback = inflight(key, callback)\n\n // If we got a falsey value back, then there's already a req going\n if (!callback) return\n\n // this is where you'd fetch the url or whatever\n // callback is also once()-ified, so it can safely be assigned\n // to multiple events etc. First call wins.\n setTimeout(function() {\n callback(null, key)\n }, 100)\n}\n\n// only assigns a single setTimeout\n// when it dings, all cbs get called\nreq('foo', cb1)\nreq('foo', cb2)\nreq('foo', cb3)\nreq('foo', cb4)\n```\n" ,
"readmeFilename" : "README.md" ,
2016-02-25 01:50:07 +08:00
"repository" : {
"type" : "git" ,
2016-05-26 07:31:28 +08:00
"url" : "git+https://github.com/npm/inflight.git"
2016-01-21 07:49:00 +08:00
} ,
2016-02-25 01:50:07 +08:00
"scripts" : {
2016-10-18 01:50:30 +08:00
"test" : "tap test.js --100"
2016-02-25 01:50:07 +08:00
} ,
2016-10-18 01:50:30 +08:00
"version" : "1.0.6"
2015-10-22 18:26:23 +08:00
}