Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/ee-first.json

raw
1 {
2 "_id": "ee-first",
3 "_rev": "22-990712b104a4beb0b4974a5d1607ec96",
4 "name": "ee-first",
5 "description": "return the first event in a set of ee/event pairs",
6 "dist-tags": {
7 "latest": "1.1.1"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "ee-first",
12 "description": "return the first event in a set of ee/event pairs",
13 "version": "1.0.0",
14 "author": {
15 "name": "Jonathan Ong",
16 "email": "[email protected]",
17 "url": "http://jongleberry.com"
18 },
19 "license": "MIT",
20 "repository": {
21 "type": "git",
22 "url": "git://github.com/jonathanong/ee-first"
23 },
24 "devDependencies": {
25 "mocha": "1"
26 },
27 "scripts": {
28 "test": "mocha --reporter spec"
29 },
30 "bugs": {
31 "url": "https://github.com/jonathanong/ee-first/issues"
32 },
33 "homepage": "https://github.com/jonathanong/ee-first",
34 "_id": "[email protected]",
35 "_shasum": "f06454b54ed5921b51011c6b2f45e2f383ca6ea2",
36 "_from": ".",
37 "_npmVersion": "1.4.9",
38 "_npmUser": {
39 "name": "jongleberry",
40 "email": "[email protected]"
41 },
42 "maintainers": [
43 {
44 "name": "jongleberry",
45 "email": "[email protected]"
46 }
47 ],
48 "dist": {
49 "shasum": "f06454b54ed5921b51011c6b2f45e2f383ca6ea2",
50 "tarball": "https://registry.npmjs.org/ee-first/-/ee-first-1.0.0.tgz"
51 },
52 "directories": {}
53 },
54 "1.0.1": {
55 "name": "ee-first",
56 "description": "return the first event in a set of ee/event pairs",
57 "version": "1.0.1",
58 "author": {
59 "name": "Jonathan Ong",
60 "email": "[email protected]",
61 "url": "http://jongleberry.com"
62 },
63 "license": "MIT",
64 "repository": {
65 "type": "git",
66 "url": "git://github.com/jonathanong/ee-first"
67 },
68 "dependencies": {
69 "sliced": "0"
70 },
71 "devDependencies": {
72 "mocha": "1"
73 },
74 "scripts": {
75 "test": "mocha --reporter spec"
76 },
77 "bugs": {
78 "url": "https://github.com/jonathanong/ee-first/issues"
79 },
80 "homepage": "https://github.com/jonathanong/ee-first",
81 "_id": "[email protected]",
82 "_shasum": "8d5e4fdba0f4a7cb8e790731cd275f938ee42f59",
83 "_from": ".",
84 "_npmVersion": "1.4.9",
85 "_npmUser": {
86 "name": "jongleberry",
87 "email": "[email protected]"
88 },
89 "maintainers": [
90 {
91 "name": "jongleberry",
92 "email": "[email protected]"
93 }
94 ],
95 "dist": {
96 "shasum": "8d5e4fdba0f4a7cb8e790731cd275f938ee42f59",
97 "tarball": "https://registry.npmjs.org/ee-first/-/ee-first-1.0.1.tgz"
98 },
99 "directories": {}
100 },
101 "1.0.2": {
102 "name": "ee-first",
103 "description": "return the first event in a set of ee/event pairs",
104 "version": "1.0.2",
105 "author": {
106 "name": "Jonathan Ong",
107 "email": "[email protected]",
108 "url": "http://jongleberry.com"
109 },
110 "license": "MIT",
111 "repository": {
112 "type": "git",
113 "url": "git://github.com/jonathanong/ee-first"
114 },
115 "devDependencies": {
116 "mocha": "1"
117 },
118 "scripts": {
119 "test": "mocha --reporter spec"
120 },
121 "bugs": {
122 "url": "https://github.com/jonathanong/ee-first/issues"
123 },
124 "homepage": "https://github.com/jonathanong/ee-first",
125 "_id": "[email protected]",
126 "_shasum": "775dd7c8ed52233f2339563ae4d33c9a9cb2be3c",
127 "_from": ".",
128 "_npmVersion": "1.4.9",
129 "_npmUser": {
130 "name": "jongleberry",
131 "email": "[email protected]"
132 },
133 "maintainers": [
134 {
135 "name": "jongleberry",
136 "email": "[email protected]"
137 },
138 {
139 "name": "dougwilson",
140 "email": "[email protected]"
141 }
142 ],
143 "dist": {
144 "shasum": "775dd7c8ed52233f2339563ae4d33c9a9cb2be3c",
145 "tarball": "https://registry.npmjs.org/ee-first/-/ee-first-1.0.2.tgz"
146 },
147 "directories": {}
148 },
149 "1.0.3": {
150 "name": "ee-first",
151 "description": "return the first event in a set of ee/event pairs",
152 "version": "1.0.3",
153 "author": {
154 "name": "Jonathan Ong",
155 "email": "[email protected]",
156 "url": "http://jongleberry.com"
157 },
158 "license": "MIT",
159 "repository": {
160 "type": "git",
161 "url": "git://github.com/jonathanong/ee-first"
162 },
163 "devDependencies": {
164 "mocha": "1"
165 },
166 "scripts": {
167 "test": "mocha --reporter spec"
168 },
169 "bugs": {
170 "url": "https://github.com/jonathanong/ee-first/issues"
171 },
172 "homepage": "https://github.com/jonathanong/ee-first",
173 "_id": "[email protected]",
174 "_shasum": "6c98c4089abecb5a7b85c1ac449aa603d3b3dabe",
175 "_from": ".",
176 "_npmVersion": "1.4.9",
177 "_npmUser": {
178 "name": "jongleberry",
179 "email": "[email protected]"
180 },
181 "maintainers": [
182 {
183 "name": "jongleberry",
184 "email": "[email protected]"
185 },
186 {
187 "name": "dougwilson",
188 "email": "[email protected]"
189 }
190 ],
191 "dist": {
192 "shasum": "6c98c4089abecb5a7b85c1ac449aa603d3b3dabe",
193 "tarball": "https://registry.npmjs.org/ee-first/-/ee-first-1.0.3.tgz"
194 },
195 "directories": {}
196 },
197 "1.0.4": {
198 "name": "ee-first",
199 "description": "return the first event in a set of ee/event pairs",
200 "version": "1.0.4",
201 "author": {
202 "name": "Jonathan Ong",
203 "email": "[email protected]",
204 "url": "http://jongleberry.com"
205 },
206 "contributors": [
207 {
208 "name": "Douglas Christopher Wilson",
209 "email": "[email protected]"
210 }
211 ],
212 "license": "MIT",
213 "repository": {
214 "type": "git",
215 "url": "https://github.com/jonathanong/ee-first"
216 },
217 "devDependencies": {
218 "istanbul": "0.3.0",
219 "mocha": "1"
220 },
221 "files": [
222 "index.js"
223 ],
224 "scripts": {
225 "test": "mocha --reporter spec --bail --check-leaks test/",
226 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
227 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
228 },
229 "gitHead": "fbd53b0166f23d7712d551c4dd01673f87a74e88",
230 "bugs": {
231 "url": "https://github.com/jonathanong/ee-first/issues"
232 },
233 "homepage": "https://github.com/jonathanong/ee-first",
234 "_id": "[email protected]",
235 "_shasum": "44dbff0250fe667e8a042ec445afd1a9c4a1aeb2",
236 "_from": ".",
237 "_npmVersion": "1.4.21",
238 "_npmUser": {
239 "name": "dougwilson",
240 "email": "[email protected]"
241 },
242 "maintainers": [
243 {
244 "name": "jongleberry",
245 "email": "[email protected]"
246 },
247 {
248 "name": "dougwilson",
249 "email": "[email protected]"
250 }
251 ],
252 "dist": {
253 "shasum": "44dbff0250fe667e8a042ec445afd1a9c4a1aeb2",
254 "tarball": "https://registry.npmjs.org/ee-first/-/ee-first-1.0.4.tgz"
255 },
256 "directories": {}
257 },
258 "1.0.5": {
259 "name": "ee-first",
260 "description": "return the first event in a set of ee/event pairs",
261 "version": "1.0.5",
262 "author": {
263 "name": "Jonathan Ong",
264 "email": "[email protected]",
265 "url": "http://jongleberry.com"
266 },
267 "contributors": [
268 {
269 "name": "Douglas Christopher Wilson",
270 "email": "[email protected]"
271 }
272 ],
273 "license": "MIT",
274 "repository": {
275 "type": "git",
276 "url": "https://github.com/jonathanong/ee-first"
277 },
278 "devDependencies": {
279 "istanbul": "0.3.0",
280 "mocha": "1"
281 },
282 "files": [
283 "index.js",
284 "LICENSE"
285 ],
286 "scripts": {
287 "test": "mocha --reporter spec --bail --check-leaks test/",
288 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
289 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
290 },
291 "gitHead": "c9d9a6881863c0d2fcc2e4ac99a170088c205304",
292 "bugs": {
293 "url": "https://github.com/jonathanong/ee-first/issues"
294 },
295 "homepage": "https://github.com/jonathanong/ee-first",
296 "_id": "[email protected]",
297 "_shasum": "8c9b212898d8cd9f1a9436650ce7be202c9e9ff0",
298 "_from": ".",
299 "_npmVersion": "1.4.21",
300 "_npmUser": {
301 "name": "dougwilson",
302 "email": "[email protected]"
303 },
304 "maintainers": [
305 {
306 "name": "jongleberry",
307 "email": "[email protected]"
308 },
309 {
310 "name": "dougwilson",
311 "email": "[email protected]"
312 }
313 ],
314 "dist": {
315 "shasum": "8c9b212898d8cd9f1a9436650ce7be202c9e9ff0",
316 "tarball": "https://registry.npmjs.org/ee-first/-/ee-first-1.0.5.tgz"
317 },
318 "directories": {}
319 },
320 "1.1.0": {
321 "name": "ee-first",
322 "description": "return the first event in a set of ee/event pairs",
323 "version": "1.1.0",
324 "author": {
325 "name": "Jonathan Ong",
326 "email": "[email protected]",
327 "url": "http://jongleberry.com"
328 },
329 "contributors": [
330 {
331 "name": "Douglas Christopher Wilson",
332 "email": "[email protected]"
333 }
334 ],
335 "license": "MIT",
336 "repository": {
337 "type": "git",
338 "url": "https://github.com/jonathanong/ee-first"
339 },
340 "devDependencies": {
341 "istanbul": "0.3.2",
342 "mocha": "1"
343 },
344 "files": [
345 "index.js",
346 "LICENSE"
347 ],
348 "scripts": {
349 "test": "mocha --reporter spec --bail --check-leaks test/",
350 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
351 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
352 },
353 "gitHead": "a6412004da4745941af2fc98ec30c8da570da7ea",
354 "bugs": {
355 "url": "https://github.com/jonathanong/ee-first/issues"
356 },
357 "homepage": "https://github.com/jonathanong/ee-first",
358 "_id": "[email protected]",
359 "_shasum": "6a0d7c6221e490feefd92ec3f441c9ce8cd097f4",
360 "_from": ".",
361 "_npmVersion": "1.4.21",
362 "_npmUser": {
363 "name": "dougwilson",
364 "email": "[email protected]"
365 },
366 "maintainers": [
367 {
368 "name": "jongleberry",
369 "email": "[email protected]"
370 },
371 {
372 "name": "dougwilson",
373 "email": "[email protected]"
374 }
375 ],
376 "dist": {
377 "shasum": "6a0d7c6221e490feefd92ec3f441c9ce8cd097f4",
378 "tarball": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.0.tgz"
379 },
380 "directories": {}
381 },
382 "1.1.1": {
383 "name": "ee-first",
384 "description": "return the first event in a set of ee/event pairs",
385 "version": "1.1.1",
386 "author": {
387 "name": "Jonathan Ong",
388 "email": "[email protected]",
389 "url": "http://jongleberry.com"
390 },
391 "contributors": [
392 {
393 "name": "Douglas Christopher Wilson",
394 "email": "[email protected]"
395 }
396 ],
397 "license": "MIT",
398 "repository": {
399 "type": "git",
400 "url": "https://github.com/jonathanong/ee-first"
401 },
402 "devDependencies": {
403 "istanbul": "0.3.9",
404 "mocha": "2.2.5"
405 },
406 "files": [
407 "index.js",
408 "LICENSE"
409 ],
410 "scripts": {
411 "test": "mocha --reporter spec --bail --check-leaks test/",
412 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
413 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
414 },
415 "gitHead": "512e0ce4cc3643f603708f965a97b61b1a9c0441",
416 "bugs": {
417 "url": "https://github.com/jonathanong/ee-first/issues"
418 },
419 "homepage": "https://github.com/jonathanong/ee-first",
420 "_id": "[email protected]",
421 "_shasum": "590c61156b0ae2f4f0255732a158b266bc56b21d",
422 "_from": ".",
423 "_npmVersion": "1.4.28",
424 "_npmUser": {
425 "name": "dougwilson",
426 "email": "[email protected]"
427 },
428 "maintainers": [
429 {
430 "name": "jongleberry",
431 "email": "[email protected]"
432 },
433 {
434 "name": "dougwilson",
435 "email": "[email protected]"
436 }
437 ],
438 "dist": {
439 "shasum": "590c61156b0ae2f4f0255732a158b266bc56b21d",
440 "tarball": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz"
441 },
442 "directories": {}
443 }
444 },
445 "readme": "# EE First\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n[![Gittip][gittip-image]][gittip-url]\n\nGet the first event in a set of event emitters and event pairs,\nthen clean up after itself.\n\n## Install\n\n```sh\n$ npm install ee-first\n```\n\n## API\n\n```js\nvar first = require('ee-first')\n```\n\n### first(arr, listener)\n\nInvoke `listener` on the first event from the list specified in `arr`. `arr` is\nan array of arrays, with each array in the format `[ee, ...event]`. `listener`\nwill be called only once, the first time any of the given events are emitted. If\n`error` is one of the listened events, then if that fires first, the `listener`\nwill be given the `err` argument.\n\nThe `listener` is invoked as `listener(err, ee, event, args)`, where `err` is the\nfirst argument emitted from an `error` event, if applicable; `ee` is the event\nemitter that fired; `event` is the string event name that fired; and `args` is an\narray of the arguments that were emitted on the event.\n\n```js\nvar ee1 = new EventEmitter()\nvar ee2 = new EventEmitter()\n\nfirst([\n [ee1, 'close', 'end', 'error'],\n [ee2, 'error']\n], function (err, ee, event, args) {\n // listener invoked\n})\n```\n\n#### .cancel()\n\nThe group of listeners can be cancelled before being invoked and have all the event\nlisteners removed from the underlying event emitters.\n\n```js\nvar thunk = first([\n [ee1, 'close', 'end', 'error'],\n [ee2, 'error']\n], function (err, ee, event, args) {\n // listener invoked\n})\n\n// cancel and clean up\nthunk.cancel()\n```\n\n[npm-image]: https://img.shields.io/npm/v/ee-first.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/ee-first\n[github-tag]: http://img.shields.io/github/tag/jonathanong/ee-first.svg?style=flat-square\n[github-url]: https://github.com/jonathanong/ee-first/tags\n[travis-image]: https://img.shields.io/travis/jonathanong/ee-first.svg?style=flat-square\n[travis-url]: https://travis-ci.org/jonathanong/ee-first\n[coveralls-image]: https://img.shields.io/coveralls/jonathanong/ee-first.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/jonathanong/ee-first?branch=master\n[license-image]: http://img.shields.io/npm/l/ee-first.svg?style=flat-square\n[license-url]: LICENSE.md\n[downloads-image]: http://img.shields.io/npm/dm/ee-first.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/ee-first\n[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square\n[gittip-url]: https://www.gittip.com/jonathanong/\n",
446 "maintainers": [
447 {
448 "name": "dougwilson",
449 "email": "[email protected]"
450 },
451 {
452 "name": "jongleberry",
453 "email": "[email protected]"
454 }
455 ],
456 "time": {
457 "modified": "2016-11-01T17:18:18.975Z",
458 "created": "2014-06-11T01:31:59.902Z",
459 "1.0.0": "2014-06-11T01:31:59.902Z",
460 "1.0.1": "2014-06-11T01:50:57.486Z",
461 "1.0.2": "2014-06-11T03:50:16.688Z",
462 "1.0.3": "2014-06-11T04:22:46.000Z",
463 "1.0.4": "2014-08-15T20:04:59.878Z",
464 "1.0.5": "2014-08-15T21:20:58.889Z",
465 "1.1.0": "2014-10-22T05:53:29.380Z",
466 "1.1.1": "2015-05-25T19:18:28.732Z"
467 },
468 "homepage": "https://github.com/jonathanong/ee-first",
469 "repository": {
470 "type": "git",
471 "url": "https://github.com/jonathanong/ee-first"
472 },
473 "author": {
474 "name": "Jonathan Ong",
475 "email": "[email protected]",
476 "url": "http://jongleberry.com"
477 },
478 "bugs": {
479 "url": "https://github.com/jonathanong/ee-first/issues"
480 },
481 "license": "MIT",
482 "readmeFilename": "README.md",
483 "contributors": [
484 {
485 "name": "Douglas Christopher Wilson",
486 "email": "[email protected]"
487 }
488 ],
489 "users": {
490 "zhangyaochun": true,
491 "bapinney": true,
492 "monjer": true,
493 "mojaray2k": true
494 },
495 "_attachments": {}
496 }