Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/pinkie.json

raw
1 {
2 "_id": "pinkie",
3 "_rev": "21-8ea2aefea6fbaeffe61539266c217ff5",
4 "name": "pinkie",
5 "time": {
6 "modified": "2018-01-11T02:17:10.107Z",
7 "created": "2015-05-10T19:57:51.100Z",
8 "0.0.0": "2015-05-10T19:57:51.100Z",
9 "0.0.1": "2015-05-10T20:31:36.745Z",
10 "0.0.2": "2015-05-11T05:28:50.155Z",
11 "1.0.0": "2015-05-11T05:58:51.352Z",
12 "2.0.0": "2015-11-12T08:40:50.048Z",
13 "2.0.1": "2015-11-17T10:14:11.603Z",
14 "2.0.2": "2016-01-31T05:27:06.382Z",
15 "2.0.3": "2016-02-01T10:25:14.821Z",
16 "2.0.4": "2016-02-01T11:08:46.357Z",
17 "2.0.5": "2018-01-06T18:50:54.900Z"
18 },
19 "maintainers": [
20 {
21 "email": "[email protected]",
22 "name": "floatdrop"
23 }
24 ],
25 "dist-tags": {
26 "latest": "2.0.4"
27 },
28 "description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",
29 "readme": "<h1 align=\"center\">\r\n\t<br>\r\n\t<img width=\"256\" src=\"media/logo.png\" alt=\"pinkie\">\r\n\t<br>\r\n\t<br>\r\n</h1>\r\n\r\n> Itty bitty little widdle twinkie pinkie [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation\r\n\r\n[![Build Status](https://travis-ci.org/floatdrop/pinkie.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie) [![Coverage Status](https://coveralls.io/repos/floatdrop/pinkie/badge.svg?branch=master&service=github)](https://coveralls.io/github/floatdrop/pinkie?branch=master)\r\n\r\nThere are [tons of Promise implementations](https://github.com/promises-aplus/promises-spec/blob/master/implementations.md#standalone) out there, but all of them focus on browser compatibility and are often bloated with functionality.\r\n\r\nThis module is an exact Promise specification polyfill (like [native-promise-only](https://github.com/getify/native-promise-only)), but in Node.js land (it should be browserify-able though).\r\n\r\n\r\n## Install\r\n\r\n```\r\n$ npm install --save pinkie\r\n```\r\n\r\n\r\n## Usage\r\n\r\n```js\r\nvar fs = require('fs');\r\nvar Promise = require('pinkie');\r\n\r\nnew Promise(function (resolve, reject) {\r\n\tfs.readFile('foo.json', 'utf8', function (err, data) {\r\n\t\tif (err) {\r\n\t\t\treject(err);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tresolve(data);\r\n\t});\r\n});\r\n//=> Promise\r\n```\r\n\r\n\r\n### API\r\n\r\n`pinkie` exports bare [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation and polyfills [Node.js rejection events](https://nodejs.org/api/process.html#process_event_unhandledrejection). In case you forgot:\r\n\r\n#### new Promise(executor)\r\n\r\nReturns new instance of `Promise`.\r\n\r\n##### executor\r\n\r\n*Required* \r\nType: `function`\r\n\r\nFunction with two arguments `resolve` and `reject`. The first argument fulfills the promise, the second argument rejects it.\r\n\r\n#### pinkie.all(promises)\r\n\r\nReturns a promise that resolves when all of the promises in the `promises` Array argument have resolved.\r\n\r\n#### pinkie.race(promises)\r\n\r\nReturns a promise that resolves or rejects as soon as one of the promises in the `promises` Array resolves or rejects, with the value or reason from that promise.\r\n\r\n#### pinkie.reject(reason)\r\n\r\nReturns a Promise object that is rejected with the given `reason`.\r\n\r\n#### pinkie.resolve(value)\r\n\r\nReturns a Promise object that is resolved with the given `value`. If the `value` is a thenable (i.e. has a then method), the returned promise will \"follow\" that thenable, adopting its eventual state; otherwise the returned promise will be fulfilled with the `value`.\r\n\r\n\r\n## Related\r\n\r\n- [pinkie-promise](https://github.com/floatdrop/pinkie-promise) - Returns the native Promise or this module\r\n\r\n\r\n## License\r\n\r\nMIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)\r\n",
30 "versions": {
31 "0.0.0": {
32 "name": "pinkie",
33 "version": "0.0.0",
34 "description": "Sweetly small promises/a+ implementation",
35 "license": "MIT",
36 "repository": "floatdrop/pinkie",
37 "author": {
38 "name": "Vsevolod Strukchinsky",
39 "email": "[email protected]",
40 "url": "github.com/floatdrop"
41 },
42 "engines": {
43 "node": ">=0.10.0"
44 },
45 "scripts": {
46 "test": "mocha"
47 },
48 "files": [
49 "index.js"
50 ],
51 "keywords": [
52 "promise",
53 "es6"
54 ],
55 "dependencies": {},
56 "devDependencies": {
57 "mocha": "*",
58 "promises-aplus-tests": "*"
59 },
60 "_id": "[email protected]",
61 "_npmVersion": "0.0.0-fake",
62 "_nodeVersion": "0.0.0-fake",
63 "_shasum": "4f5a4afb5336a4957e6affdcf93431e36f3bc270",
64 "_npmUser": {
65 "name": "npm",
66 "email": "[email protected]"
67 },
68 "_from": ".",
69 "dist": {
70 "shasum": "4f5a4afb5336a4957e6affdcf93431e36f3bc270",
71 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-0.0.0.tgz"
72 },
73 "maintainers": [
74 {
75 "name": "puradox",
76 "email": "[email protected]"
77 }
78 ],
79 "directories": {}
80 },
81 "0.0.1": {
82 "name": "pinkie",
83 "version": "0.0.1",
84 "description": "Itty bitty little wittle twinkie pinkie ES6 Promise implementation",
85 "license": "MIT",
86 "repository": "floatdrop/pinkie",
87 "author": {
88 "name": "Vsevolod Strukchinsky",
89 "email": "[email protected]",
90 "url": "github.com/floatdrop"
91 },
92 "engines": {
93 "node": ">=0.10.0"
94 },
95 "scripts": {
96 "test": "mocha"
97 },
98 "files": [
99 "index.js"
100 ],
101 "keywords": [
102 "promise",
103 "es6"
104 ],
105 "dependencies": {},
106 "devDependencies": {
107 "mocha": "*",
108 "promises-aplus-tests": "*"
109 },
110 "_id": "[email protected]",
111 "_npmVersion": "0.0.0-fake",
112 "_nodeVersion": "0.0.0-fake",
113 "_shasum": "d829dd84053ac8d39bbacccf6bad98dfce163a83",
114 "_npmUser": {
115 "name": "npm",
116 "email": "[email protected]"
117 },
118 "_from": ".",
119 "dist": {
120 "shasum": "d829dd84053ac8d39bbacccf6bad98dfce163a83",
121 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-0.0.1.tgz"
122 },
123 "maintainers": [
124 {
125 "name": "puradox",
126 "email": "[email protected]"
127 }
128 ],
129 "directories": {}
130 },
131 "0.0.2": {
132 "name": "pinkie",
133 "version": "0.0.2",
134 "description": "Itty bitty little wittle twinkie pinkie ES6 Promise implementation",
135 "license": "MIT",
136 "repository": "floatdrop/pinkie",
137 "author": {
138 "name": "Vsevolod Strukchinsky",
139 "email": "[email protected]",
140 "url": "github.com/floatdrop"
141 },
142 "engines": {
143 "node": ">=0.10.0"
144 },
145 "scripts": {
146 "test": "mocha"
147 },
148 "files": [
149 "index.js"
150 ],
151 "keywords": [
152 "promise",
153 "es6"
154 ],
155 "dependencies": {},
156 "devDependencies": {
157 "mocha": "*",
158 "promises-aplus-tests": "*"
159 },
160 "_id": "[email protected]",
161 "_npmVersion": "0.0.0-fake",
162 "_nodeVersion": "0.0.0-fake",
163 "_shasum": "38d4aa2f720dd91ec7ddbf5c136bdde53d18d8ec",
164 "_npmUser": {
165 "name": "npm",
166 "email": "[email protected]"
167 },
168 "_from": ".",
169 "dist": {
170 "shasum": "38d4aa2f720dd91ec7ddbf5c136bdde53d18d8ec",
171 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-0.0.2.tgz"
172 },
173 "maintainers": [
174 {
175 "name": "puradox",
176 "email": "[email protected]"
177 }
178 ],
179 "directories": {}
180 },
181 "1.0.0": {
182 "name": "pinkie",
183 "version": "1.0.0",
184 "description": "Itty bitty little wittle twinkie pinkie ES6 Promise implementation",
185 "license": "MIT",
186 "repository": "floatdrop/pinkie",
187 "author": {
188 "name": "Vsevolod Strukchinsky",
189 "email": "[email protected]",
190 "url": "github.com/floatdrop"
191 },
192 "engines": {
193 "node": ">=0.10.0"
194 },
195 "scripts": {
196 "test": "mocha"
197 },
198 "files": [
199 "index.js"
200 ],
201 "keywords": [
202 "promise",
203 "es6"
204 ],
205 "dependencies": {},
206 "devDependencies": {
207 "mocha": "*",
208 "promises-aplus-tests": "*"
209 },
210 "_id": "[email protected]",
211 "_npmVersion": "0.0.0-fake",
212 "_nodeVersion": "0.0.0-fake",
213 "_shasum": "5a47f28ba1015d0201bda7bf0f358e47bec8c7e4",
214 "_npmUser": {
215 "name": "npm",
216 "email": "[email protected]"
217 },
218 "_from": ".",
219 "dist": {
220 "shasum": "5a47f28ba1015d0201bda7bf0f358e47bec8c7e4",
221 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-1.0.0.tgz"
222 },
223 "maintainers": [
224 {
225 "name": "puradox",
226 "email": "[email protected]"
227 }
228 ],
229 "directories": {}
230 },
231 "2.0.0": {
232 "name": "pinkie",
233 "version": "2.0.0",
234 "description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",
235 "license": "MIT",
236 "repository": "floatdrop/pinkie",
237 "author": {
238 "name": "Vsevolod Strukchinsky",
239 "email": "[email protected]",
240 "url": "github.com/floatdrop"
241 },
242 "engines": {
243 "node": ">=0.10.0"
244 },
245 "scripts": {
246 "test": "xo && nyc mocha",
247 "coverage": "nyc report --reporter=text-lcov | coveralls"
248 },
249 "files": [
250 "index.js"
251 ],
252 "keywords": [
253 "promise",
254 "promises",
255 "es2015",
256 "es6"
257 ],
258 "devDependencies": {
259 "coveralls": "^2.11.4",
260 "mocha": "*",
261 "nyc": "^3.2.2",
262 "promises-aplus-tests": "*",
263 "xo": "^0.10.1"
264 },
265 "_id": "[email protected]",
266 "_npmVersion": "0.0.0-fake",
267 "_nodeVersion": "0.0.0-fake",
268 "_shasum": "51737918d16ab5859a90a5a031b6f7e0d6f245cc",
269 "_npmUser": {
270 "name": "npm",
271 "email": "[email protected]"
272 },
273 "_from": ".",
274 "dist": {
275 "shasum": "51737918d16ab5859a90a5a031b6f7e0d6f245cc",
276 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.0.tgz"
277 },
278 "maintainers": [
279 {
280 "name": "puradox",
281 "email": "[email protected]"
282 }
283 ],
284 "directories": {}
285 },
286 "2.0.1": {
287 "name": "pinkie",
288 "version": "2.0.1",
289 "description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",
290 "license": "MIT",
291 "repository": "floatdrop/pinkie",
292 "author": {
293 "name": "Vsevolod Strukchinsky",
294 "email": "[email protected]",
295 "url": "github.com/floatdrop"
296 },
297 "engines": {
298 "node": ">=0.10.0"
299 },
300 "scripts": {
301 "test": "xo && nyc mocha",
302 "coverage": "nyc report --reporter=text-lcov | coveralls"
303 },
304 "files": [
305 "index.js"
306 ],
307 "keywords": [
308 "promise",
309 "promises",
310 "es2015",
311 "es6"
312 ],
313 "devDependencies": {
314 "core-assert": "^0.1.1",
315 "coveralls": "^2.11.4",
316 "mocha": "*",
317 "nyc": "^3.2.2",
318 "promises-aplus-tests": "*",
319 "xo": "^0.10.1"
320 },
321 "_id": "[email protected]",
322 "_npmVersion": "0.0.0-fake",
323 "_nodeVersion": "0.0.0-fake",
324 "_shasum": "4236c86fc29f261c2045bbe81f78cbb2a5e8306c",
325 "_npmUser": {
326 "name": "npm",
327 "email": "[email protected]"
328 },
329 "_from": ".",
330 "dist": {
331 "shasum": "4236c86fc29f261c2045bbe81f78cbb2a5e8306c",
332 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.1.tgz"
333 },
334 "maintainers": [
335 {
336 "name": "puradox",
337 "email": "[email protected]"
338 }
339 ],
340 "directories": {}
341 },
342 "2.0.2": {
343 "name": "pinkie",
344 "version": "2.0.2",
345 "description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",
346 "license": "MIT",
347 "repository": "floatdrop/pinkie",
348 "author": {
349 "name": "Vsevolod Strukchinsky",
350 "email": "[email protected]",
351 "url": "github.com/floatdrop"
352 },
353 "engines": {
354 "node": ">=0.10.0"
355 },
356 "scripts": {
357 "test": "xo && nyc mocha",
358 "coverage": "nyc report --reporter=text-lcov | coveralls"
359 },
360 "files": [
361 "index.js"
362 ],
363 "keywords": [
364 "promise",
365 "promises",
366 "es2015",
367 "es6"
368 ],
369 "devDependencies": {
370 "core-assert": "^0.1.1",
371 "coveralls": "^2.11.4",
372 "mocha": "*",
373 "nyc": "^3.2.2",
374 "promises-aplus-tests": "*",
375 "xo": "^0.10.1"
376 },
377 "_id": "[email protected]",
378 "_npmVersion": "0.0.0-fake",
379 "_nodeVersion": "0.0.0-fake",
380 "_shasum": "9ecc4e4c70dce2960505d62c9d008a0bbff8455b",
381 "_npmUser": {
382 "name": "npm",
383 "email": "[email protected]"
384 },
385 "_from": ".",
386 "dist": {
387 "shasum": "9ecc4e4c70dce2960505d62c9d008a0bbff8455b",
388 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.2.tgz"
389 },
390 "maintainers": [
391 {
392 "name": "puradox",
393 "email": "[email protected]"
394 }
395 ],
396 "directories": {}
397 },
398 "2.0.3": {
399 "name": "pinkie",
400 "version": "2.0.3",
401 "description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",
402 "license": "MIT",
403 "repository": "floatdrop/pinkie",
404 "author": {
405 "name": "Vsevolod Strukchinsky",
406 "email": "[email protected]",
407 "url": "github.com/floatdrop"
408 },
409 "engines": {
410 "node": ">=0.10.0"
411 },
412 "scripts": {
413 "test": "xo && nyc mocha",
414 "coverage": "nyc report --reporter=text-lcov | coveralls"
415 },
416 "files": [
417 "index.js"
418 ],
419 "keywords": [
420 "promise",
421 "promises",
422 "es2015",
423 "es6"
424 ],
425 "devDependencies": {
426 "core-assert": "^0.1.1",
427 "coveralls": "^2.11.4",
428 "mocha": "*",
429 "nyc": "^3.2.2",
430 "promises-aplus-tests": "*",
431 "xo": "^0.10.1"
432 },
433 "_id": "[email protected]",
434 "_npmVersion": "0.0.0-fake",
435 "_nodeVersion": "0.0.0-fake",
436 "_shasum": "378e61d21cad58817deaee4b51495dce95c971d4",
437 "_npmUser": {
438 "name": "npm",
439 "email": "[email protected]"
440 },
441 "_from": ".",
442 "dist": {
443 "shasum": "378e61d21cad58817deaee4b51495dce95c971d4",
444 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.3.tgz"
445 },
446 "maintainers": [
447 {
448 "name": "puradox",
449 "email": "[email protected]"
450 }
451 ],
452 "directories": {}
453 },
454 "2.0.4": {
455 "name": "pinkie",
456 "version": "2.0.4",
457 "description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",
458 "license": "MIT",
459 "repository": "floatdrop/pinkie",
460 "author": {
461 "name": "Vsevolod Strukchinsky",
462 "email": "[email protected]",
463 "url": "github.com/floatdrop"
464 },
465 "engines": {
466 "node": ">=0.10.0"
467 },
468 "scripts": {
469 "test": "xo && nyc mocha",
470 "coverage": "nyc report --reporter=text-lcov | coveralls"
471 },
472 "files": [
473 "index.js"
474 ],
475 "keywords": [
476 "promise",
477 "promises",
478 "es2015",
479 "es6"
480 ],
481 "devDependencies": {
482 "core-assert": "^0.1.1",
483 "coveralls": "^2.11.4",
484 "mocha": "*",
485 "nyc": "^3.2.2",
486 "promises-aplus-tests": "*",
487 "xo": "^0.10.1"
488 },
489 "_id": "[email protected]",
490 "_npmVersion": "0.0.0-fake",
491 "_nodeVersion": "0.0.0-fake",
492 "_shasum": "72556b80cfa0d48a974e80e77248e80ed4f7f870",
493 "_npmUser": {
494 "name": "npm",
495 "email": "[email protected]"
496 },
497 "_from": ".",
498 "dist": {
499 "shasum": "72556b80cfa0d48a974e80e77248e80ed4f7f870",
500 "tarball": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz"
501 },
502 "maintainers": [
503 {
504 "name": "puradox",
505 "email": "[email protected]"
506 }
507 ],
508 "directories": {}
509 }
510 },
511 "keywords": [
512 "promise",
513 "promises",
514 "es2015",
515 "es6"
516 ],
517 "repository": "floatdrop/pinkie",
518 "author": {
519 "name": "Vsevolod Strukchinsky",
520 "email": "[email protected]",
521 "url": "github.com/floatdrop"
522 },
523 "license": "MIT",
524 "readmeFilename": "readme.md",
525 "_attachments": {}
526 }