Debian Codegraph @

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

raw
1 {
2 "_id": "onetime",
3 "_rev": "23-7678056a1c1df40ea4816fb6d92a7ba5",
4 "name": "onetime",
5 "description": "Ensure a function is only called once",
6 "dist-tags": {
7 "latest": "5.1.2"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "onetime",
12 "version": "0.1.0",
13 "description": "Only call a function once. Unlike the module `once`, this one isn't naughty extending `Function.prototype`.",
14 "keywords": [
15 "once",
16 "one",
17 "single",
18 "call",
19 "function",
20 "prevent"
21 ],
22 "license": "MIT",
23 "author": {
24 "name": "Sindre Sorhus",
25 "email": "[email protected]",
26 "url": "http://sindresorhus.com"
27 },
28 "files": [
29 "onetime.js"
30 ],
31 "main": "onetime.js",
32 "repository": {
33 "type": "git",
34 "url": "git://github.com/sindresorhus/onetime"
35 },
36 "scripts": {
37 "test": "mocha"
38 },
39 "devDependencies": {
40 "mocha": "~1.x"
41 },
42 "engines": {
43 "node": ">=0.8.0"
44 },
45 "bugs": {
46 "url": "https://github.com/sindresorhus/onetime/issues"
47 },
48 "homepage": "https://github.com/sindresorhus/onetime",
49 "_id": "[email protected]",
50 "dist": {
51 "shasum": "971beb7a622f1396b9cf4ef7277262f2b01c8565",
52 "tarball": "https://registry.npmjs.org/onetime/-/onetime-0.1.0.tgz"
53 },
54 "_from": ".",
55 "_npmVersion": "1.3.17",
56 "_npmUser": {
57 "name": "sindresorhus",
58 "email": "[email protected]"
59 },
60 "maintainers": [
61 {
62 "name": "sindresorhus",
63 "email": "[email protected]"
64 }
65 ],
66 "directories": {}
67 },
68 "0.1.1": {
69 "name": "onetime",
70 "version": "0.1.1",
71 "description": "Only call a function once. Unlike the module `once`, this one isn't naughty extending `Function.prototype`.",
72 "keywords": [
73 "once",
74 "one",
75 "single",
76 "call",
77 "function",
78 "prevent"
79 ],
80 "license": "MIT",
81 "author": {
82 "name": "Sindre Sorhus",
83 "email": "[email protected]",
84 "url": "http://sindresorhus.com"
85 },
86 "files": [
87 "onetime.js"
88 ],
89 "main": "onetime.js",
90 "repository": {
91 "type": "git",
92 "url": "git://github.com/sindresorhus/onetime"
93 },
94 "scripts": {
95 "test": "mocha"
96 },
97 "devDependencies": {
98 "mocha": "*"
99 },
100 "engines": {
101 "node": ">=0.8.0"
102 },
103 "bugs": {
104 "url": "https://github.com/sindresorhus/onetime/issues"
105 },
106 "homepage": "https://github.com/sindresorhus/onetime",
107 "_id": "[email protected]",
108 "dist": {
109 "shasum": "f4204dc15a47f80c43779340d093ad786c1bab21",
110 "tarball": "https://registry.npmjs.org/onetime/-/onetime-0.1.1.tgz"
111 },
112 "_from": ".",
113 "_npmVersion": "1.4.6",
114 "_npmUser": {
115 "name": "sindresorhus",
116 "email": "[email protected]"
117 },
118 "maintainers": [
119 {
120 "name": "sindresorhus",
121 "email": "[email protected]"
122 }
123 ],
124 "directories": {}
125 },
126 "1.0.0": {
127 "name": "onetime",
128 "version": "1.0.0",
129 "description": "Only call a function once. Unlike the module `once`, this one isn't naughty extending `Function.prototype`.",
130 "keywords": [
131 "once",
132 "one",
133 "single",
134 "call",
135 "function",
136 "prevent"
137 ],
138 "license": "MIT",
139 "author": {
140 "name": "Sindre Sorhus",
141 "email": "[email protected]",
142 "url": "http://sindresorhus.com"
143 },
144 "files": [
145 "index.js"
146 ],
147 "repository": {
148 "type": "git",
149 "url": "git://github.com/sindresorhus/onetime"
150 },
151 "scripts": {
152 "test": "mocha"
153 },
154 "devDependencies": {
155 "mocha": "*"
156 },
157 "engines": {
158 "node": ">=0.10.0"
159 },
160 "gitHead": "a4aa1ce5291cc5f32ecb8f4b0a918b12cb47ea5e",
161 "bugs": {
162 "url": "https://github.com/sindresorhus/onetime/issues"
163 },
164 "homepage": "https://github.com/sindresorhus/onetime",
165 "_id": "[email protected]",
166 "_shasum": "3a08a8e39d7816df52d34886374fb8ed8b651f62",
167 "_from": ".",
168 "_npmVersion": "1.4.14",
169 "_npmUser": {
170 "name": "sindresorhus",
171 "email": "[email protected]"
172 },
173 "maintainers": [
174 {
175 "name": "sindresorhus",
176 "email": "[email protected]"
177 }
178 ],
179 "dist": {
180 "shasum": "3a08a8e39d7816df52d34886374fb8ed8b651f62",
181 "tarball": "https://registry.npmjs.org/onetime/-/onetime-1.0.0.tgz"
182 },
183 "directories": {}
184 },
185 "1.1.0": {
186 "name": "onetime",
187 "version": "1.1.0",
188 "description": "Only call a function once",
189 "license": "MIT",
190 "repository": {
191 "type": "git",
192 "url": "https://github.com/sindresorhus/onetime"
193 },
194 "author": {
195 "name": "Sindre Sorhus",
196 "email": "[email protected]",
197 "url": "sindresorhus.com"
198 },
199 "engines": {
200 "node": ">=0.10.0"
201 },
202 "scripts": {
203 "test": "xo && ava"
204 },
205 "files": [
206 "index.js"
207 ],
208 "keywords": [
209 "once",
210 "one",
211 "single",
212 "call",
213 "function",
214 "prevent"
215 ],
216 "devDependencies": {
217 "ava": "*",
218 "xo": "*"
219 },
220 "gitHead": "6fae2fb77b95b49719d1c270d8ba07d9515bdfe8",
221 "bugs": {
222 "url": "https://github.com/sindresorhus/onetime/issues"
223 },
224 "homepage": "https://github.com/sindresorhus/onetime",
225 "_id": "[email protected]",
226 "_shasum": "a1f7838f8314c516f05ecefcbc4ccfe04b4ed789",
227 "_from": ".",
228 "_npmVersion": "2.14.7",
229 "_nodeVersion": "4.2.1",
230 "_npmUser": {
231 "name": "sindresorhus",
232 "email": "[email protected]"
233 },
234 "dist": {
235 "shasum": "a1f7838f8314c516f05ecefcbc4ccfe04b4ed789",
236 "tarball": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz"
237 },
238 "maintainers": [
239 {
240 "name": "sindresorhus",
241 "email": "[email protected]"
242 }
243 ],
244 "directories": {}
245 },
246 "2.0.0": {
247 "name": "onetime",
248 "version": "2.0.0",
249 "description": "Ensure a function is only called once",
250 "license": "MIT",
251 "repository": {
252 "type": "git",
253 "url": "git+https://github.com/sindresorhus/onetime.git"
254 },
255 "author": {
256 "name": "Sindre Sorhus",
257 "email": "[email protected]",
258 "url": "sindresorhus.com"
259 },
260 "engines": {
261 "node": ">=4"
262 },
263 "scripts": {
264 "test": "xo && ava"
265 },
266 "files": [
267 "index.js"
268 ],
269 "keywords": [
270 "once",
271 "function",
272 "one",
273 "onetime",
274 "func",
275 "fn",
276 "single",
277 "call",
278 "called",
279 "prevent"
280 ],
281 "dependencies": {
282 "mimic-fn": "^1.0.0"
283 },
284 "devDependencies": {
285 "ava": "*",
286 "xo": "*"
287 },
288 "xo": {
289 "esnext": true
290 },
291 "gitHead": "bb498adb2da79e62b923173480803a9c6f759766",
292 "bugs": {
293 "url": "https://github.com/sindresorhus/onetime/issues"
294 },
295 "homepage": "https://github.com/sindresorhus/onetime#readme",
296 "_id": "[email protected]",
297 "_shasum": "52aa8110e52fc5126ffc667bd8ec21c2ed209ce6",
298 "_from": ".",
299 "_npmVersion": "2.15.9",
300 "_nodeVersion": "4.6.0",
301 "_npmUser": {
302 "name": "sindresorhus",
303 "email": "[email protected]"
304 },
305 "dist": {
306 "shasum": "52aa8110e52fc5126ffc667bd8ec21c2ed209ce6",
307 "tarball": "https://registry.npmjs.org/onetime/-/onetime-2.0.0.tgz"
308 },
309 "maintainers": [
310 {
311 "name": "sindresorhus",
312 "email": "[email protected]"
313 }
314 ],
315 "_npmOperationalInternal": {
316 "host": "packages-12-west.internal.npmjs.com",
317 "tmp": "tmp/onetime-2.0.0.tgz_1476902515797_0.18329595238901675"
318 },
319 "directories": {}
320 },
321 "2.0.1": {
322 "name": "onetime",
323 "version": "2.0.1",
324 "description": "Ensure a function is only called once",
325 "license": "MIT",
326 "repository": {
327 "type": "git",
328 "url": "git+https://github.com/sindresorhus/onetime.git"
329 },
330 "author": {
331 "name": "Sindre Sorhus",
332 "email": "[email protected]",
333 "url": "sindresorhus.com"
334 },
335 "engines": {
336 "node": ">=4"
337 },
338 "scripts": {
339 "test": "xo && ava"
340 },
341 "files": [
342 "index.js"
343 ],
344 "keywords": [
345 "once",
346 "function",
347 "one",
348 "onetime",
349 "func",
350 "fn",
351 "single",
352 "call",
353 "called",
354 "prevent"
355 ],
356 "dependencies": {
357 "mimic-fn": "^1.0.0"
358 },
359 "devDependencies": {
360 "ava": "*",
361 "xo": "*"
362 },
363 "gitHead": "32bca382f5934c8fe7fd78bcef9ad16b3474948f",
364 "bugs": {
365 "url": "https://github.com/sindresorhus/onetime/issues"
366 },
367 "homepage": "https://github.com/sindresorhus/onetime#readme",
368 "_id": "[email protected]",
369 "_shasum": "067428230fd67443b2794b22bba528b6867962d4",
370 "_from": ".",
371 "_npmVersion": "2.15.11",
372 "_nodeVersion": "4.7.3",
373 "_npmUser": {
374 "name": "sindresorhus",
375 "email": "[email protected]"
376 },
377 "dist": {
378 "shasum": "067428230fd67443b2794b22bba528b6867962d4",
379 "tarball": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz"
380 },
381 "maintainers": [
382 {
383 "name": "sindresorhus",
384 "email": "[email protected]"
385 }
386 ],
387 "_npmOperationalInternal": {
388 "host": "packages-12-west.internal.npmjs.com",
389 "tmp": "tmp/onetime-2.0.1.tgz_1489980257371_0.244376125279814"
390 },
391 "directories": {}
392 },
393 "3.0.0": {
394 "name": "onetime",
395 "version": "3.0.0",
396 "description": "Ensure a function is only called once",
397 "license": "MIT",
398 "repository": {
399 "type": "git",
400 "url": "git+https://github.com/sindresorhus/onetime.git"
401 },
402 "author": {
403 "name": "Sindre Sorhus",
404 "email": "[email protected]",
405 "url": "sindresorhus.com"
406 },
407 "engines": {
408 "node": ">=6"
409 },
410 "scripts": {
411 "test": "xo && ava"
412 },
413 "keywords": [
414 "once",
415 "function",
416 "one",
417 "onetime",
418 "func",
419 "fn",
420 "single",
421 "call",
422 "called",
423 "prevent"
424 ],
425 "dependencies": {
426 "mimic-fn": "^1.0.0"
427 },
428 "devDependencies": {
429 "ava": "^1.1.0",
430 "xo": "^0.24.0"
431 },
432 "gitHead": "2057a659c432c544e2f14bee3b7e99abc210ba9c",
433 "bugs": {
434 "url": "https://github.com/sindresorhus/onetime/issues"
435 },
436 "homepage": "https://github.com/sindresorhus/onetime#readme",
437 "_id": "[email protected]",
438 "_nodeVersion": "8.15.0",
439 "_npmVersion": "6.6.0",
440 "_npmUser": {
441 "name": "sindresorhus",
442 "email": "[email protected]"
443 },
444 "dist": {
445 "integrity": "sha512-t2j1nTo7vb2m/ZQAq5rcWjQgAglF/2rnvlO0cxkZ1GFOSEt0sQBHaytm5tC1ZNUlmKZAp5XF44kolGL9W/XJ2w==",
446 "shasum": "7fc4d348742091d2510328455a556cf137e16d75",
447 "tarball": "https://registry.npmjs.org/onetime/-/onetime-3.0.0.tgz",
448 "fileCount": 4,
449 "unpackedSize": 3798,
450 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRJXlCRA9TVsSAnZWagAAKKkP/jZDW6DTGZu4c6tLTFPc\nGHyKtLQvDOeo8WECIMrmK4QsId/RgJmlEHSjxEnWm0mXaM5A5GbrtARfl92U\nhUurfEdm1lkLljrmRZxMJ3/NFMMhAuRjXYsZ2LP45anqxEwreEspp59iL36b\nxSpi6uDDspYxleIgCmeXY5cSq/I7aXx1j42oCJzgznWSuVCBn5/S7g3sTZan\nwHfGMLi0jg733ccG8SgnNUgKCJuUEjMgWm8geS6Ks2I9gxJItipl2yYqo50S\n65nYEo94T9Q+bIz3hoyBLj25+ajT6oAtj1OQWI4XqBGEcKLPKyrjdwRc1uLB\nv7wUdoIwerc1Qm7mLqEiSLGabsH+CXOG/G1d3rFbYeZqKDapWhEP9S1ZAOzx\n+Rk5UJnw9AENOK5jfx32BvShAzAoyNj/ZYWMsQyIgQ6kORXoh/1pRBv1nRnK\n3p2TvSFwIEvEGPvwMz3bWCjAt4FZlDu34x80J5h7YxjUuEKuE5h0Omup2UcR\nXwXbob7oytHDtbJ5kSljeIWXe7+SHGAGa944nU5LWo5T0T/9jCohBzOe25h+\nh8ue2KvarQPkO7JUHHUIQMvqpv3spQ2k7yPh8mKl/MSUTQVShF3CbzG52CHw\ngvkbCRX1SSVEG3nnb9EO4yJIlTdF6xAS7k1saJyz/wTN0nyFZqV69jB/lEPg\nkD2W\r\n=NG+A\r\n-----END PGP SIGNATURE-----\r\n"
451 },
452 "maintainers": [
453 {
454 "name": "sindresorhus",
455 "email": "[email protected]"
456 }
457 ],
458 "directories": {},
459 "_npmOperationalInternal": {
460 "host": "s3://npm-registry-packages",
461 "tmp": "tmp/onetime_3.0.0_1547998692929_0.8925190275053334"
462 },
463 "_hasShrinkwrap": false
464 },
465 "4.0.0": {
466 "name": "onetime",
467 "version": "4.0.0",
468 "description": "Ensure a function is only called once",
469 "license": "MIT",
470 "repository": {
471 "type": "git",
472 "url": "git+https://github.com/sindresorhus/onetime.git"
473 },
474 "author": {
475 "name": "Sindre Sorhus",
476 "email": "[email protected]",
477 "url": "sindresorhus.com"
478 },
479 "engines": {
480 "node": ">=6"
481 },
482 "scripts": {
483 "test": "xo && ava && tsd-check"
484 },
485 "keywords": [
486 "once",
487 "function",
488 "one",
489 "onetime",
490 "func",
491 "fn",
492 "single",
493 "call",
494 "called",
495 "prevent"
496 ],
497 "dependencies": {
498 "mimic-fn": "^1.0.0"
499 },
500 "devDependencies": {
501 "ava": "^1.1.0",
502 "tsd-check": "^0.3.0",
503 "xo": "^0.24.0"
504 },
505 "gitHead": "65ad3c02a2ad06d6ec1f49ce80c98f4a5c172bf6",
506 "bugs": {
507 "url": "https://github.com/sindresorhus/onetime/issues"
508 },
509 "homepage": "https://github.com/sindresorhus/onetime#readme",
510 "_id": "[email protected]",
511 "_nodeVersion": "10.15.1",
512 "_npmVersion": "6.8.0",
513 "_npmUser": {
514 "name": "sindresorhus",
515 "email": "[email protected]"
516 },
517 "dist": {
518 "integrity": "sha512-woeNhttKxY5jRwaoDMB74JYFaJAAegWXNcXm4CLd4DBfd4ZkrQeIPol0YylMyUd5uG/g6cPAUULYlPIruQSz6A==",
519 "shasum": "143112c91abc470e9e70a7b2636ce773c1fdf5b2",
520 "tarball": "https://registry.npmjs.org/onetime/-/onetime-4.0.0.tgz",
521 "fileCount": 5,
522 "unpackedSize": 5117,
523 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcePgqCRA9TVsSAnZWagAAn5UP/2yF7Iu4Gs4i4sWgyl3m\nbEW8JvbJ6ac/Xkik8CJbUdzOfCW7YO+/P9TJHX0VP0yylOuaW2r/bcap4ZpO\nXmwwSICCsLQs3DLnjNGGONjDyI8JwozR9JdzIP129KorQXesOkhamPb0PsCa\nvi2pb2TuFqNDS3WFaoxCj+U2tNIXCxv3sN4BRK9iCSx8Qme9IKT79ECDaxOh\n1YJsFoBr//z6nKgmJZ2x8NZM6vYc01AGnYwFNFbODl1O1T6Qye4jbABMI/NH\nb680FQeBfweg2jVr6CPNBr4KzAOsqiwc8DCI12E5lxnET+8oGiPCvRQ7IlX+\nrwo1OdQGofi/Pdo6al281E4ZH8NzyXgMYSabqIp49w9zQmDX2z30a3jOKWww\n5u5yYBcIlxWDuh5hjheyOVSI+bqD/iwhvkxX+sBW2SWicUZRULHsuNI+j8q7\nj0OSZ9Wnc++fpciIeBh59BQ3PhE53hsekkjxMrKwGoC3YCsjQ/WcygbCqyDh\npg63g34BRpuXt+oreIkJF+nOFmnwhCIvH0yTMnicIwTpy0qMwxsTdxf99nJa\nI8uJJJSxsfb7icQI5Oq+339FVAg2QK66eHcPWMOlEl7TyucqvwYPFUZCvuxm\nJQJyPsnOjxUTCWqzZ1TaictfK5QPQ8euKwZXEhnqoKD/0PqslTFJT+4CAWv3\nso2T\r\n=Ehwi\r\n-----END PGP SIGNATURE-----\r\n"
524 },
525 "maintainers": [
526 {
527 "name": "sindresorhus",
528 "email": "[email protected]"
529 }
530 ],
531 "directories": {},
532 "_npmOperationalInternal": {
533 "host": "s3://npm-registry-packages",
534 "tmp": "tmp/onetime_4.0.0_1551431721222_0.5847573580409424"
535 },
536 "_hasShrinkwrap": false
537 },
538 "5.0.0": {
539 "name": "onetime",
540 "version": "5.0.0",
541 "description": "Ensure a function is only called once",
542 "license": "MIT",
543 "repository": {
544 "type": "git",
545 "url": "git+https://github.com/sindresorhus/onetime.git"
546 },
547 "author": {
548 "name": "Sindre Sorhus",
549 "email": "[email protected]",
550 "url": "sindresorhus.com"
551 },
552 "engines": {
553 "node": ">=6"
554 },
555 "scripts": {
556 "test": "xo && ava && tsd-check"
557 },
558 "keywords": [
559 "once",
560 "function",
561 "one",
562 "onetime",
563 "func",
564 "fn",
565 "single",
566 "call",
567 "called",
568 "prevent"
569 ],
570 "dependencies": {
571 "mimic-fn": "^2.0.0"
572 },
573 "devDependencies": {
574 "ava": "^1.3.1",
575 "tsd-check": "^0.3.0",
576 "xo": "^0.24.0"
577 },
578 "gitHead": "4f1b26154e811b5af3958b759b7c29a2c4692ebd",
579 "bugs": {
580 "url": "https://github.com/sindresorhus/onetime/issues"
581 },
582 "homepage": "https://github.com/sindresorhus/onetime#readme",
583 "_id": "[email protected]",
584 "_nodeVersion": "8.15.0",
585 "_npmVersion": "6.8.0",
586 "_npmUser": {
587 "name": "sindresorhus",
588 "email": "[email protected]"
589 },
590 "dist": {
591 "integrity": "sha512-0RaJAdwj6KznGJJdJNHmjCUmtsURmC1SLoTzoa9qI5LY8hODas/vjVlEUL19xaSSZfualrMh4myK0dNhVSgDJA==",
592 "shasum": "eae9df4c4e114f4fe194167bc14cce2d71939606",
593 "tarball": "https://registry.npmjs.org/onetime/-/onetime-5.0.0.tgz",
594 "fileCount": 5,
595 "unpackedSize": 5264,
596 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcggSKCRA9TVsSAnZWagAAcroP/0nvOtQL8JNaCBWgt82Y\nrwN3R4G7THTdkAWVlOSwP4icxL5JJAY2O6e2zetTtsh0283pbE0MEVAby3ul\nV+2p/uZk9eCRB5SHBmt0gC6z0FXjJ1+lWEnwE9I0Vl2VtkLlpQu3oX6uWLef\nuvY5BcLGTj/xa8sDXlLIURgVrOE/I+yXaYmd0KBoA3CQfaMpnSk2txFq8gO1\nu51gvc954fIGuzQLy4vJ4A9RbCMaDP9fVmBS9G+YcZBVec5g/WzMtQska/D2\ni9XkJvTyTuyMGlU5lyDsu/V2PGKXM8O3peqmCsTcnF6YtFbURUclwX81hlSn\nyeH6NZTmPfg6TLixRNl9KhR7u1jV+o8kWNUY6PYjMtjw5bDECTVs7l8Y4oiX\n0CqKygv+h6T7Os6eu+gWTOix30OqEejxinc60x88DiuOzuCI07X8/YX0QQfB\nebVImZO4k2Vv+J2sqgjDjnz9gU16pGqdeCkYACaxPWbkM4/rByUfIXlwiubu\nkZSM/JxKwG+MYj5zj3ld/XMFj3YzLLjgmHbe1oIKNg4Kf9sHQDg5Idh5irU3\nEzpFioQTVodjIPuuLL2qNhQTUYcaPSL9oL8fbTrhOYmBbe0r50vzokpc2O17\nTjgVG5MBt5nbyRYAtztr2iqctPeXkQAP5+nzsCu5HZ4hvVOAFEHZo4/bT1OA\nP37m\r\n=XBd0\r\n-----END PGP SIGNATURE-----\r\n"
597 },
598 "maintainers": [
599 {
600 "name": "sindresorhus",
601 "email": "[email protected]"
602 }
603 ],
604 "directories": {},
605 "_npmOperationalInternal": {
606 "host": "s3://npm-registry-packages",
607 "tmp": "tmp/onetime_5.0.0_1552024713328_0.24572920152994504"
608 },
609 "_hasShrinkwrap": false
610 },
611 "5.1.0": {
612 "name": "onetime",
613 "version": "5.1.0",
614 "description": "Ensure a function is only called once",
615 "license": "MIT",
616 "repository": {
617 "type": "git",
618 "url": "git+https://github.com/sindresorhus/onetime.git"
619 },
620 "author": {
621 "name": "Sindre Sorhus",
622 "email": "[email protected]",
623 "url": "sindresorhus.com"
624 },
625 "engines": {
626 "node": ">=6"
627 },
628 "scripts": {
629 "test": "xo && ava && tsd"
630 },
631 "keywords": [
632 "once",
633 "function",
634 "one",
635 "onetime",
636 "func",
637 "fn",
638 "single",
639 "call",
640 "called",
641 "prevent"
642 ],
643 "dependencies": {
644 "mimic-fn": "^2.1.0"
645 },
646 "devDependencies": {
647 "ava": "^1.4.1",
648 "tsd": "^0.7.1",
649 "xo": "^0.24.0"
650 },
651 "gitHead": "8bb24f70649ee69849a0701477ebc7170e7a4f87",
652 "bugs": {
653 "url": "https://github.com/sindresorhus/onetime/issues"
654 },
655 "homepage": "https://github.com/sindresorhus/onetime#readme",
656 "_id": "[email protected]",
657 "_nodeVersion": "8.15.0",
658 "_npmVersion": "6.9.0",
659 "_npmUser": {
660 "name": "sindresorhus",
661 "email": "[email protected]"
662 },
663 "dist": {
664 "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==",
665 "shasum": "fff0f3c91617fe62bb50189636e99ac8a6df7be5",
666 "tarball": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz",
667 "fileCount": 5,
668 "unpackedSize": 5343,
669 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcost0CRA9TVsSAnZWagAAgbwP/3keiMz92/ghCXk+03Zf\nCK4b/Tip5syC5+mB+ZocghkVETcpmVxyJP6rpz2Jy/I3uSv18oKWRvBAv4xP\nYeDmGVfvNotyp9rKvgCfNDQOyVfskdSyRoG4b+SSyWDFQx4+CquAsdOOIRzh\nrdFH0VIttukJRmQsSjpNQ75TByL09bNMc83oLD9atKNURYPVbny8IcnMp/Ml\nbLtZbRvIG8WuSoEE2EozESMAG48q8/LK1aYEuMWdxllUSPSQsLaxOpLjbHfB\nSlp4Ilz6OPAjrwv912izwJfljIH2y0w30PoprGoF2p7+Xz8cmH9WcQMszQZz\nWQvQdZV2MquJGppoJ5hbK6gqxFeIeZ78HLFvyowp7lx2I27aei2AEVHIE7jv\ntywjziWNxSdbKwLCGEdpES2lAzIQqVG6LQEBTa19TR8yNgFlX5AFVZfx4Mtw\nbEfwWejKyuQMohSDRnGQLUXiosIdFlEIrwH/FMZL3D9d4AC+5+AcZjDP9wID\nafIpFvpDyYzBAAKVi0EIB6tp8+T7zZ7XXnk1z0tAAJ6SpxjVroffjzIBf8OS\nqRRNBBsPgsp6bLnsm7NQcatfcciOtzzo3RP4bLcGiLVwYr2MPLhc+NZFmZqU\nKg2Wdh1nR9Yf5cNuKa1DEf24vLOwhcoraS0ZuStmiR/ofuZxET2ZLAof3aVV\nC9Kk\r\n=RzSo\r\n-----END PGP SIGNATURE-----\r\n"
670 },
671 "maintainers": [
672 {
673 "name": "sindresorhus",
674 "email": "[email protected]"
675 }
676 ],
677 "directories": {},
678 "_npmOperationalInternal": {
679 "host": "s3://npm-registry-packages",
680 "tmp": "tmp/onetime_5.1.0_1554172787964_0.04244092407114519"
681 },
682 "_hasShrinkwrap": false
683 },
684 "5.1.1": {
685 "name": "onetime",
686 "version": "5.1.1",
687 "description": "Ensure a function is only called once",
688 "license": "MIT",
689 "repository": {
690 "type": "git",
691 "url": "git+https://github.com/sindresorhus/onetime.git"
692 },
693 "funding": "https://github.com/sponsors/sindresorhus",
694 "author": {
695 "name": "Sindre Sorhus",
696 "email": "[email protected]",
697 "url": "https://sindresorhus.com"
698 },
699 "engines": {
700 "node": ">=6"
701 },
702 "scripts": {
703 "test": "xo && ava && tsd"
704 },
705 "keywords": [
706 "once",
707 "function",
708 "one",
709 "onetime",
710 "func",
711 "fn",
712 "single",
713 "call",
714 "called",
715 "prevent"
716 ],
717 "dependencies": {
718 "mimic-fn": "^2.1.0"
719 },
720 "devDependencies": {
721 "ava": "^1.4.1",
722 "tsd": "^0.7.1",
723 "xo": "^0.24.0"
724 },
725 "gitHead": "59e0ad2204b5d44b448a71afb13f228d1977f07f",
726 "bugs": {
727 "url": "https://github.com/sindresorhus/onetime/issues"
728 },
729 "homepage": "https://github.com/sindresorhus/onetime#readme",
730 "_id": "[email protected]",
731 "_nodeVersion": "14.5.0",
732 "_npmVersion": "6.14.5",
733 "_npmUser": {
734 "name": "sindresorhus",
735 "email": "[email protected]"
736 },
737 "dist": {
738 "integrity": "sha512-ZpZpjcJeugQfWsfyQlshVoowIIQ1qBGSVll4rfDq6JJVO//fesjoX808hXWfBjY+ROZgpKDI5TRSRBSoJiZ8eg==",
739 "shasum": "5c8016847b0d67fcedb7eef254751cfcdc7e9418",
740 "tarball": "https://registry.npmjs.org/onetime/-/onetime-5.1.1.tgz",
741 "fileCount": 5,
742 "unpackedSize": 6173,
743 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJpVjCRA9TVsSAnZWagAA2xQP/2GUXW7XqJBsodgB7rig\nzrVUJhnp0fxhrAf6zqeeCkCnBJRNGQToqg+c+wZVoMo70+r+vwH3sGbJXJLd\n7vraWS3wJBGrrImzLDGck4YF0DKQ4vzNBrWvEpdTZhiJp3/IUSY2C5GJ8CyB\nMiR8Q66/ylWf8OqbRsbCn4iGPCnm4aOGHObXVVehbHgIxPgzKnykp4bRjr3P\nDTrKolDIOGQV5poP0BK0qBeYvLcWeCDa/+nAUVxjXNVsBrpfeXeqjfUkfmAf\nuKdFiD/b0DCo4qcpKu9TNB77ZYraUDHSYrISwt7A2TffhzGzIUX1liZ5oDyh\nYrvHok8Fc7Rf0fvKpCdoNdsrkUpWtS+ESS7usSnp5c/Kb9Vq1nCPeoSyS2Kh\nswlP1n1JHzDsDUa3aeS9jZV7KxxERIJZfOXAwpzzHG3d7HaVa379C7BslKSY\nL6PhlYZesTXg/j8qRyXdOppF1T145VvV8JLHKpvj38v+F8P8t6LnHUAeFuAE\nW7c81AFYgPckuIzlu5cwY1kuFXE5y9uXv/5HxneOe1s+jjTYTM+i8BYEOMPp\nx1BTymCRNlm7X+uHQkrxsEp94UIUBXFM0XGgtf4wwr7vS/lyxVtZiADrTjlC\nccNfRI7GowFc6DFUBTqqJAUXaHfDVBapOHSuYVYRjlzXUuPznysun2tPa5PC\n8EMe\r\n=/FeN\r\n-----END PGP SIGNATURE-----\r\n"
744 },
745 "maintainers": [
746 {
747 "name": "sindresorhus",
748 "email": "[email protected]"
749 }
750 ],
751 "directories": {},
752 "_npmOperationalInternal": {
753 "host": "s3://npm-registry-packages",
754 "tmp": "tmp/onetime_5.1.1_1596364130751_0.20576953897408923"
755 },
756 "_hasShrinkwrap": false
757 },
758 "5.1.2": {
759 "name": "onetime",
760 "version": "5.1.2",
761 "description": "Ensure a function is only called once",
762 "license": "MIT",
763 "repository": {
764 "type": "git",
765 "url": "git+https://github.com/sindresorhus/onetime.git"
766 },
767 "funding": "https://github.com/sponsors/sindresorhus",
768 "author": {
769 "name": "Sindre Sorhus",
770 "email": "[email protected]",
771 "url": "https://sindresorhus.com"
772 },
773 "engines": {
774 "node": ">=6"
775 },
776 "scripts": {
777 "test": "xo && ava && tsd"
778 },
779 "keywords": [
780 "once",
781 "function",
782 "one",
783 "onetime",
784 "func",
785 "fn",
786 "single",
787 "call",
788 "called",
789 "prevent"
790 ],
791 "dependencies": {
792 "mimic-fn": "^2.1.0"
793 },
794 "devDependencies": {
795 "ava": "^1.4.1",
796 "tsd": "^0.7.1",
797 "xo": "^0.24.0"
798 },
799 "gitHead": "4fa3c9a40798476514fec36a1720dc85b897cc04",
800 "bugs": {
801 "url": "https://github.com/sindresorhus/onetime/issues"
802 },
803 "homepage": "https://github.com/sindresorhus/onetime#readme",
804 "_id": "[email protected]",
805 "_nodeVersion": "14.5.0",
806 "_npmVersion": "6.14.7",
807 "_npmUser": {
808 "name": "sindresorhus",
809 "email": "[email protected]"
810 },
811 "dist": {
812 "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
813 "shasum": "d0e96ebb56b07476df1dd9c4806e5237985ca45e",
814 "tarball": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
815 "fileCount": 5,
816 "unpackedSize": 6173,
817 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMFyRCRA9TVsSAnZWagAAInsP/RTd8G7KIVrwux1TNO4h\nS+Ymvz0874gBCS5I8tXFkdVSVAqPUNX3undeJIAHSqV7UMdAPx8wiFDqmga1\n28xR3LA8iHSyo1pxxIboH1LWJgaG2NWIfFV/fAPLvPJzEqmQ4zU0ioYhiwjj\n+MRlfRbkvFSqF9bdIm29VEKLzJPBtLM+BnHHmHigB3IA+fkhy81oo5ESmUPC\nUBeMJyXVMHU9v6r/0PQtqfTnVD68c+1o6yfevC8P0CjOCydJlWltCfKXhMNw\nxTVUxzaU4rfEHXsosGV79jCfLDcibLVdbjAMFzq1P6HaAKSl0ry2TrHKC/o/\nusdJe6U/jqxRN9moiuyh+qxR/9heTMXGgP1xrq0m9jwJlU681vlaPcQaQlM0\nZ0x3/TC1F+Nj6vOTG3lPBunne+H/0D4vu5MSDha8uzyAJ0mHarP+/hPP9gEZ\nUB9cT2djKZATqv4S+S3WKvYZa+m5pupDzVV4YbF3XgCSBe4mB23GdzllY76x\n9SCs7s7d6jUc+0FO/WhyASagXxeqqEwsrN4GRhfUB5l2y9/Le/j7sACW+YU7\nS4c6ony0Tojzb3ncc5zbebH/tskKZb6SCd6nZFBKs/CpDNqDueIkIyjbWLPH\nHUcN6AgD/j5xyIxeIbYc0HH7bc0NovpQbGeP8sIe1o+nS2WOTnjx0LPMCUP1\noLdv\r\n=J6Zn\r\n-----END PGP SIGNATURE-----\r\n"
818 },
819 "maintainers": [
820 {
821 "name": "sindresorhus",
822 "email": "[email protected]"
823 }
824 ],
825 "directories": {},
826 "_npmOperationalInternal": {
827 "host": "s3://npm-registry-packages",
828 "tmp": "tmp/onetime_5.1.2_1597004944849_0.8241938525832997"
829 },
830 "_hasShrinkwrap": false
831 }
832 },
833 "readme": "# onetime [![Build Status](https://travis-ci.com/sindresorhus/onetime.svg?branch=master)](https://travis-ci.com/github/sindresorhus/onetime)\n\n> Ensure a function is only called once\n\nWhen called multiple times it will return the return value from the first call.\n\n*Unlike the module [once](https://github.com/isaacs/once), this one isn't naughty and extending `Function.prototype`.*\n\n## Install\n\n```\n$ npm install onetime\n```\n\n## Usage\n\n```js\nconst onetime = require('onetime');\n\nlet i = 0;\n\nconst foo = onetime(() => ++i);\n\nfoo(); //=> 1\nfoo(); //=> 1\nfoo(); //=> 1\n\nonetime.callCount(foo); //=> 3\n```\n\n```js\nconst onetime = require('onetime');\n\nconst foo = onetime(() => {}, {throw: true});\n\nfoo();\n\nfoo();\n//=> Error: Function `foo` can only be called once\n```\n\n## API\n\n### onetime(fn, options?)\n\nReturns a function that only calls `fn` once.\n\n#### fn\n\nType: `Function`\n\nFunction that should only be called once.\n\n#### options\n\nType: `object`\n\n##### throw\n\nType: `boolean`\\\nDefault: `false`\n\nThrow an error when called more than once.\n\n### onetime.callCount(fn)\n\nReturns a number representing how many times `fn` has been called.\n\nNote: It throws an error if you pass in a function that is not wrapped by `onetime`.\n\n```js\nconst onetime = require('onetime');\n\nconst foo = onetime(() => {});\n\nfoo();\nfoo();\nfoo();\n\nconsole.log(onetime.callCount(foo));\n//=> 3\n```\n\n#### fn\n\nType: `Function`\n\nFunction to get call count from.\n\n## onetime for enterprise\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of onetime and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-onetime?utm_source=npm-onetime&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)\n",
834 "maintainers": [
835 {
836 "name": "sindresorhus",
837 "email": "[email protected]"
838 }
839 ],
840 "time": {
841 "modified": "2020-08-09T20:29:07.242Z",
842 "created": "2013-12-13T21:20:15.964Z",
843 "0.1.0": "2013-12-13T21:20:18.951Z",
844 "0.1.1": "2014-04-30T22:39:14.004Z",
845 "1.0.0": "2014-08-13T17:03:51.426Z",
846 "1.1.0": "2015-12-18T00:30:55.390Z",
847 "2.0.0": "2016-10-19T18:41:56.004Z",
848 "2.0.1": "2017-03-20T03:24:17.619Z",
849 "3.0.0": "2019-01-20T15:38:13.275Z",
850 "4.0.0": "2019-03-01T09:15:21.375Z",
851 "5.0.0": "2019-03-08T05:58:33.472Z",
852 "5.1.0": "2019-04-02T02:39:48.168Z",
853 "5.1.1": "2020-08-02T10:28:50.856Z",
854 "5.1.2": "2020-08-09T20:29:04.963Z"
855 },
856 "author": {
857 "name": "Sindre Sorhus",
858 "email": "[email protected]",
859 "url": "https://sindresorhus.com"
860 },
861 "repository": {
862 "type": "git",
863 "url": "git+https://github.com/sindresorhus/onetime.git"
864 },
865 "homepage": "https://github.com/sindresorhus/onetime#readme",
866 "keywords": [
867 "once",
868 "function",
869 "one",
870 "onetime",
871 "func",
872 "fn",
873 "single",
874 "call",
875 "called",
876 "prevent"
877 ],
878 "bugs": {
879 "url": "https://github.com/sindresorhus/onetime/issues"
880 },
881 "license": "MIT",
882 "readmeFilename": "readme.md",
883 "users": {
884 "schnittstabil": true,
885 "n370": true,
886 "anhulife": true,
887 "quocnguyen": true,
888 "rocket0191": true,
889 "lamansky": true,
890 "reyronald": true
891 }
892 }