Debian Codegraph @

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

raw
1 {
2 "_id": "uuid",
3 "_rev": "417-85825b1b4e3907f98ef6a4f79a44097e",
4 "name": "uuid",
5 "description": "RFC4122 (v1, v4, and v5) UUIDs",
6 "dist-tags": {
7 "latest": "8.3.1",
8 "beta": "8.3.0-beta.0"
9 },
10 "versions": {
11 "0.0.1": {
12 "name": "uuid",
13 "description": "Simple libuuid bindings to allow UUIDs to be generated from JS.",
14 "version": "0.0.1",
15 "author": {
16 "name": "Nikhil Marathe"
17 },
18 "repository": {
19 "type": "hg",
20 "url": "http://bitbucket.org/nikhilm/uuidjs"
21 },
22 "engine": [
23 "node >=0.1.103"
24 ],
25 "scripts": {
26 "preinstall": "node-waf configure && node-waf build"
27 },
28 "main": "build/default/uuid",
29 "_id": "[email protected]",
30 "engines": {
31 "node": "*"
32 },
33 "_nodeSupported": true,
34 "_npmVersion": "0.2.7-2",
35 "_nodeVersion": "v0.3.1-pre",
36 "dist": {
37 "tarball": "https://registry.npmjs.org/uuid/-/uuid-0.0.1.tgz",
38 "shasum": "5b43a6840d25914b5a76a0664d71a51601ddec79"
39 },
40 "directories": {}
41 },
42 "0.0.2": {
43 "name": "uuid",
44 "description": "Simple libuuid bindings to allow UUIDs to be generated from JS.",
45 "version": "0.0.2",
46 "author": {
47 "name": "Nikhil Marathe"
48 },
49 "repository": {
50 "type": "hg",
51 "url": "http://bitbucket.org/nikhilm/uuidjs"
52 },
53 "engine": [
54 "node >=0.1.103"
55 ],
56 "scripts": {
57 "preinstall": "node-waf configure && node-waf build"
58 },
59 "main": "build/default/uuid",
60 "_id": "[email protected]",
61 "engines": {
62 "node": "*"
63 },
64 "_nodeSupported": true,
65 "_npmVersion": "0.2.7-2",
66 "_nodeVersion": "v0.3.1-pre",
67 "dist": {
68 "tarball": "https://registry.npmjs.org/uuid/-/uuid-0.0.2.tgz",
69 "bin": {
70 "0.4-sunos-5.11": {
71 "shasum": "2ff8d977261ddadfd1446cee661ab87863659e45",
72 "tarball": "http://registry.npmjs.org/uuid/-/uuid-0.0.2-0.4-sunos-5.11.tgz"
73 }
74 },
75 "shasum": "3171f2c4f58895b8b307692a335fb2349ddf6733"
76 },
77 "directories": {}
78 },
79 "1.4.0": {
80 "name": "uuid",
81 "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
82 "url": "http://github.com/broofa/node-uuid",
83 "keywords": [
84 "uuid",
85 "guid",
86 "rfc4122"
87 ],
88 "author": {
89 "name": "Robert Kieffer",
90 "email": "[email protected]"
91 },
92 "contributors": [
93 {
94 "name": "Christoph Tavan",
95 "email": "[email protected]"
96 }
97 ],
98 "lib": ".",
99 "main": "./uuid.js",
100 "repository": {
101 "type": "git",
102 "url": "https://github.com/broofa/node-uuid.git"
103 },
104 "version": "1.4.0",
105 "_id": "[email protected]",
106 "dist": {
107 "shasum": "d0d3b84ab56902e99ff952f2a17aa3986d44d36f",
108 "tarball": "https://registry.npmjs.org/uuid/-/uuid-1.4.0.tgz"
109 },
110 "_npmVersion": "1.1.66",
111 "_npmUser": {
112 "name": "tim-smart",
113 "email": "[email protected]"
114 },
115 "maintainers": [
116 {
117 "name": "broofa",
118 "email": "[email protected]"
119 },
120 {
121 "name": "tim-smart",
122 "email": "[email protected]"
123 }
124 ],
125 "directories": {}
126 },
127 "1.4.1": {
128 "name": "uuid",
129 "version": "1.4.1",
130 "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
131 "keywords": [
132 "uuid",
133 "guid",
134 "rfc4122"
135 ],
136 "author": {
137 "name": "Robert Kieffer",
138 "email": "[email protected]"
139 },
140 "contributors": [
141 {
142 "name": "Christoph Tavan",
143 "email": "[email protected]"
144 }
145 ],
146 "main": "./uuid.js",
147 "devDependencies": {
148 "mocha": "1.8.0"
149 },
150 "scripts": {
151 "test": "mocha test/test.js"
152 },
153 "browser": {
154 "./rng.js": "./rng-browser.js"
155 },
156 "repository": {
157 "type": "git",
158 "url": "https://github.com/shtylman/node-uuid.git"
159 },
160 "testling": {
161 "browsers": [
162 "ie6..latest",
163 "firefox/3.6..latest",
164 "chrome/22..latest",
165 "safari/5.1..latest"
166 ],
167 "harness": "mocha-tdd",
168 "files": "test/*.js"
169 },
170 "_id": "[email protected]",
171 "dist": {
172 "shasum": "a337828580d426e375b8ee11bd2bf901a596e0b8",
173 "tarball": "https://registry.npmjs.org/uuid/-/uuid-1.4.1.tgz"
174 },
175 "_from": ".",
176 "_npmVersion": "1.2.11",
177 "_npmUser": {
178 "name": "shtylman",
179 "email": "[email protected]"
180 },
181 "maintainers": [
182 {
183 "name": "broofa",
184 "email": "[email protected]"
185 },
186 {
187 "name": "tim-smart",
188 "email": "[email protected]"
189 },
190 {
191 "name": "shtylman",
192 "email": "[email protected]"
193 }
194 ],
195 "directories": {}
196 },
197 "1.4.2": {
198 "name": "uuid",
199 "version": "1.4.2",
200 "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
201 "keywords": [
202 "uuid",
203 "guid",
204 "rfc4122"
205 ],
206 "author": {
207 "name": "Robert Kieffer",
208 "email": "[email protected]"
209 },
210 "contributors": [
211 {
212 "name": "Christoph Tavan",
213 "email": "[email protected]"
214 },
215 {
216 "name": "Vincent Voyer",
217 "email": "[email protected]"
218 }
219 ],
220 "main": "./uuid.js",
221 "devDependencies": {
222 "mocha": "1.8.0"
223 },
224 "scripts": {
225 "test": "mocha test/test.js"
226 },
227 "browser": {
228 "./rng.js": "./rng-browser.js",
229 "./buffer.js": "./buffer-browser.js"
230 },
231 "repository": {
232 "type": "git",
233 "url": "https://github.com/shtylman/node-uuid.git"
234 },
235 "testling": {
236 "browsers": [
237 "ie6..latest",
238 "firefox/3.6..latest",
239 "chrome/22..latest",
240 "safari/5.1..latest"
241 ],
242 "harness": "mocha-tdd",
243 "files": "test/*.js"
244 },
245 "gitHead": "688730efe3ec3ab7c12c6b92db2aa2826a50ed14",
246 "bugs": {
247 "url": "https://github.com/shtylman/node-uuid/issues"
248 },
249 "homepage": "https://github.com/shtylman/node-uuid",
250 "_id": "[email protected]",
251 "_shasum": "453019f686966a6df83cdc5244e7c990ecc332fc",
252 "_from": ".",
253 "_npmVersion": "2.0.0",
254 "_npmUser": {
255 "name": "vvo",
256 "email": "[email protected]"
257 },
258 "maintainers": [
259 {
260 "name": "broofa",
261 "email": "[email protected]"
262 },
263 {
264 "name": "tim-smart",
265 "email": "[email protected]"
266 },
267 {
268 "name": "shtylman",
269 "email": "[email protected]"
270 },
271 {
272 "name": "vvo",
273 "email": "[email protected]"
274 }
275 ],
276 "dist": {
277 "shasum": "453019f686966a6df83cdc5244e7c990ecc332fc",
278 "tarball": "https://registry.npmjs.org/uuid/-/uuid-1.4.2.tgz"
279 },
280 "directories": {}
281 },
282 "2.0.0": {
283 "name": "uuid",
284 "version": "2.0.0",
285 "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
286 "keywords": [
287 "uuid",
288 "guid",
289 "rfc4122"
290 ],
291 "author": {
292 "name": "Robert Kieffer",
293 "email": "[email protected]"
294 },
295 "contributors": [
296 {
297 "name": "Christoph Tavan",
298 "email": "[email protected]"
299 },
300 {
301 "name": "Vincent Voyer",
302 "email": "[email protected]"
303 }
304 ],
305 "main": "./uuid.js",
306 "devDependencies": {
307 "mocha": "1.8.0"
308 },
309 "scripts": {
310 "test": "mocha test/test.js"
311 },
312 "browser": {
313 "./rng.js": "./rng-browser.js"
314 },
315 "repository": {
316 "type": "git",
317 "url": "https://github.com/shtylman/node-uuid.git"
318 },
319 "testling": {
320 "browsers": [
321 "ie6..latest",
322 "firefox/3.6..latest",
323 "chrome/22..latest",
324 "safari/5.1..latest"
325 ],
326 "harness": "mocha-tdd",
327 "files": "test/*.js"
328 },
329 "gitHead": "3c007a5748d6fcbd0916ea8b6d18539958972932",
330 "bugs": {
331 "url": "https://github.com/shtylman/node-uuid/issues"
332 },
333 "homepage": "https://github.com/shtylman/node-uuid",
334 "_id": "[email protected]",
335 "_shasum": "377ab4417736dba5ce379ff0a0c1a539921ebb74",
336 "_from": ".",
337 "_npmVersion": "2.0.0",
338 "_npmUser": {
339 "name": "vvo",
340 "email": "[email protected]"
341 },
342 "maintainers": [
343 {
344 "name": "broofa",
345 "email": "[email protected]"
346 },
347 {
348 "name": "tim-smart",
349 "email": "[email protected]"
350 },
351 {
352 "name": "shtylman",
353 "email": "[email protected]"
354 },
355 {
356 "name": "vvo",
357 "email": "[email protected]"
358 }
359 ],
360 "dist": {
361 "shasum": "377ab4417736dba5ce379ff0a0c1a539921ebb74",
362 "tarball": "https://registry.npmjs.org/uuid/-/uuid-2.0.0.tgz"
363 },
364 "directories": {}
365 },
366 "2.0.1": {
367 "name": "uuid",
368 "version": "2.0.1",
369 "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
370 "keywords": [
371 "uuid",
372 "guid",
373 "rfc4122"
374 ],
375 "author": {
376 "name": "Robert Kieffer",
377 "email": "[email protected]"
378 },
379 "contributors": [
380 {
381 "name": "Christoph Tavan",
382 "email": "[email protected]"
383 },
384 {
385 "name": "Vincent Voyer",
386 "email": "[email protected]"
387 }
388 ],
389 "main": "./uuid.js",
390 "devDependencies": {
391 "mocha": "1.8.0"
392 },
393 "scripts": {
394 "test": "mocha test/test.js"
395 },
396 "browser": {
397 "./rng.js": "./rng-browser.js"
398 },
399 "repository": {
400 "type": "git",
401 "url": "https://github.com/shtylman/node-uuid.git"
402 },
403 "testling": {
404 "browsers": [
405 "ie6..latest",
406 "firefox/3.6..latest",
407 "chrome/22..latest",
408 "safari/5.1..latest"
409 ],
410 "harness": "mocha-tdd",
411 "files": "test/*.js"
412 },
413 "gitHead": "ddaf90942095f26ee8c1961b4346f093b3e7eb5b",
414 "bugs": {
415 "url": "https://github.com/shtylman/node-uuid/issues"
416 },
417 "homepage": "https://github.com/shtylman/node-uuid",
418 "_id": "[email protected]",
419 "_shasum": "c2a30dedb3e535d72ccf82e343941a50ba8533ac",
420 "_from": ".",
421 "_npmVersion": "2.0.0",
422 "_npmUser": {
423 "name": "vvo",
424 "email": "[email protected]"
425 },
426 "maintainers": [
427 {
428 "name": "broofa",
429 "email": "[email protected]"
430 },
431 {
432 "name": "tim-smart",
433 "email": "[email protected]"
434 },
435 {
436 "name": "shtylman",
437 "email": "[email protected]"
438 },
439 {
440 "name": "vvo",
441 "email": "[email protected]"
442 }
443 ],
444 "dist": {
445 "shasum": "c2a30dedb3e535d72ccf82e343941a50ba8533ac",
446 "tarball": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz"
447 },
448 "directories": {}
449 },
450 "2.0.2": {
451 "name": "uuid",
452 "version": "2.0.2",
453 "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
454 "keywords": [
455 "uuid",
456 "guid",
457 "rfc4122"
458 ],
459 "author": {
460 "name": "Robert Kieffer",
461 "email": "[email protected]"
462 },
463 "contributors": [
464 {
465 "name": "Christoph Tavan",
466 "email": "[email protected]"
467 },
468 {
469 "name": "Vincent Voyer",
470 "email": "[email protected]"
471 }
472 ],
473 "license": "MIT",
474 "main": "./uuid.js",
475 "devDependencies": {
476 "mocha": "1.8.0"
477 },
478 "scripts": {
479 "test": "mocha test/test.js"
480 },
481 "browser": {
482 "./rng.js": "./rng-browser.js"
483 },
484 "repository": {
485 "type": "git",
486 "url": "git+https://github.com/shtylman/node-uuid.git"
487 },
488 "testling": {
489 "browsers": [
490 "ie6..latest",
491 "firefox/3.6..latest",
492 "chrome/22..latest",
493 "safari/5.1..latest"
494 ],
495 "harness": "mocha-tdd",
496 "files": "test/*.js"
497 },
498 "gitHead": "6e95855ff4b79881aa95c5502478314adc6719dc",
499 "bugs": {
500 "url": "https://github.com/shtylman/node-uuid/issues"
501 },
502 "homepage": "https://github.com/shtylman/node-uuid#readme",
503 "_id": "[email protected]",
504 "_shasum": "48bd5698f0677e3c7901a1c46ef15b1643794726",
505 "_from": ".",
506 "_npmVersion": "2.15.2",
507 "_nodeVersion": "5.9.1",
508 "_npmUser": {
509 "name": "vvo",
510 "email": "[email protected]"
511 },
512 "maintainers": [
513 {
514 "name": "broofa",
515 "email": "[email protected]"
516 },
517 {
518 "name": "tim-smart",
519 "email": "[email protected]"
520 },
521 {
522 "name": "vvo",
523 "email": "[email protected]"
524 },
525 {
526 "name": "defunctzombie",
527 "email": "[email protected]"
528 }
529 ],
530 "dist": {
531 "shasum": "48bd5698f0677e3c7901a1c46ef15b1643794726",
532 "tarball": "https://registry.npmjs.org/uuid/-/uuid-2.0.2.tgz"
533 },
534 "_npmOperationalInternal": {
535 "host": "packages-12-west.internal.npmjs.com",
536 "tmp": "tmp/uuid-2.0.2.tgz_1460533041436_0.07706069457344711"
537 },
538 "directories": {}
539 },
540 "2.0.3": {
541 "name": "uuid",
542 "version": "2.0.3",
543 "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
544 "keywords": [
545 "uuid",
546 "guid",
547 "rfc4122"
548 ],
549 "author": {
550 "name": "Robert Kieffer",
551 "email": "[email protected]"
552 },
553 "contributors": [
554 {
555 "name": "Christoph Tavan",
556 "email": "[email protected]"
557 },
558 {
559 "name": "Vincent Voyer",
560 "email": "[email protected]"
561 }
562 ],
563 "license": "MIT",
564 "main": "./uuid.js",
565 "devDependencies": {
566 "mocha": "1.8.0"
567 },
568 "scripts": {
569 "test": "mocha test/test.js"
570 },
571 "browser": {
572 "./rng.js": "./rng-browser.js"
573 },
574 "repository": {
575 "type": "git",
576 "url": "git+https://github.com/defunctzombie/node-uuid.git"
577 },
578 "testling": {
579 "browsers": [
580 "ie6..latest",
581 "firefox/3.6..latest",
582 "chrome/22..latest",
583 "safari/5.1..latest"
584 ],
585 "harness": "mocha-tdd",
586 "files": "test/*.js"
587 },
588 "gitHead": "3f44acd0e722e965c14af816e2f658361a6b15f9",
589 "bugs": {
590 "url": "https://github.com/defunctzombie/node-uuid/issues"
591 },
592 "homepage": "https://github.com/defunctzombie/node-uuid#readme",
593 "_id": "[email protected]",
594 "_shasum": "67e2e863797215530dff318e5bf9dcebfd47b21a",
595 "_from": ".",
596 "_npmVersion": "3.8.9",
597 "_nodeVersion": "6.2.0",
598 "_npmUser": {
599 "name": "defunctzombie",
600 "email": "[email protected]"
601 },
602 "dist": {
603 "shasum": "67e2e863797215530dff318e5bf9dcebfd47b21a",
604 "tarball": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz"
605 },
606 "maintainers": [
607 {
608 "name": "broofa",
609 "email": "[email protected]"
610 },
611 {
612 "name": "tim-smart",
613 "email": "[email protected]"
614 },
615 {
616 "name": "vvo",
617 "email": "[email protected]"
618 },
619 {
620 "name": "defunctzombie",
621 "email": "[email protected]"
622 }
623 ],
624 "_npmOperationalInternal": {
625 "host": "packages-12-west.internal.npmjs.com",
626 "tmp": "tmp/uuid-2.0.3.tgz_1474232617862_0.6578061426989734"
627 },
628 "directories": {}
629 },
630 "3.0.0": {
631 "name": "uuid",
632 "version": "3.0.0",
633 "description": "RFC4122 (v1 and v4) generator",
634 "keywords": [
635 "uuid",
636 "guid",
637 "rfc4122"
638 ],
639 "license": "MIT",
640 "main": "./uuid.js",
641 "bin": {
642 "uuid": "./bin/uuid"
643 },
644 "devDependencies": {
645 "mocha": "3.1.2"
646 },
647 "scripts": {
648 "test": "mocha test/test.js"
649 },
650 "browser": {
651 "./lib/rng.js": "./lib/rng-browser.js"
652 },
653 "repository": {
654 "type": "git",
655 "url": "git+https://github.com/kelektiv/node-uuid.git"
656 },
657 "contributors": [
658 {
659 "name": "Robert Kieffer",
660 "email": "[email protected]"
661 },
662 {
663 "name": "Christoph Tavan",
664 "email": "[email protected]"
665 },
666 {
667 "name": "AJ ONeal",
668 "email": "[email protected]"
669 },
670 {
671 "name": "Vincent Voyer",
672 "email": "[email protected]"
673 },
674 {
675 "name": "Roman Shtylman",
676 "email": "[email protected]"
677 }
678 ],
679 "gitHead": "923fe4a7893c2057b608c0c74743ad5512599072",
680 "bugs": {
681 "url": "https://github.com/kelektiv/node-uuid/issues"
682 },
683 "homepage": "https://github.com/kelektiv/node-uuid#readme",
684 "_id": "[email protected]",
685 "_shasum": "6728fc0459c450d796a99c31837569bdf672d728",
686 "_from": ".",
687 "_npmVersion": "3.10.3",
688 "_nodeVersion": "6.7.0",
689 "_npmUser": {
690 "name": "defunctzombie",
691 "email": "[email protected]"
692 },
693 "dist": {
694 "shasum": "6728fc0459c450d796a99c31837569bdf672d728",
695 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.0.0.tgz"
696 },
697 "maintainers": [
698 {
699 "name": "broofa",
700 "email": "[email protected]"
701 },
702 {
703 "name": "tim-smart",
704 "email": "[email protected]"
705 },
706 {
707 "name": "vvo",
708 "email": "[email protected]"
709 },
710 {
711 "name": "defunctzombie",
712 "email": "[email protected]"
713 }
714 ],
715 "_npmOperationalInternal": {
716 "host": "packages-18-east.internal.npmjs.com",
717 "tmp": "tmp/uuid-3.0.0.tgz_1479448535568_0.9578766466584057"
718 },
719 "directories": {}
720 },
721 "3.0.1": {
722 "name": "uuid",
723 "version": "3.0.1",
724 "description": "RFC4122 (v1 and v4) generator",
725 "keywords": [
726 "uuid",
727 "guid",
728 "rfc4122"
729 ],
730 "license": "MIT",
731 "bin": {
732 "uuid": "./bin/uuid"
733 },
734 "devDependencies": {
735 "mocha": "3.1.2"
736 },
737 "scripts": {
738 "test": "mocha test/test.js"
739 },
740 "browser": {
741 "./lib/rng.js": "./lib/rng-browser.js"
742 },
743 "repository": {
744 "type": "git",
745 "url": "git+https://github.com/kelektiv/node-uuid.git"
746 },
747 "contributors": [
748 {
749 "name": "Robert Kieffer",
750 "email": "[email protected]"
751 },
752 {
753 "name": "Christoph Tavan",
754 "email": "[email protected]"
755 },
756 {
757 "name": "AJ ONeal",
758 "email": "[email protected]"
759 },
760 {
761 "name": "Vincent Voyer",
762 "email": "[email protected]"
763 },
764 {
765 "name": "Roman Shtylman",
766 "email": "[email protected]"
767 }
768 ],
769 "gitHead": "374de826de71d8997f71b4641f65552e48956ced",
770 "bugs": {
771 "url": "https://github.com/kelektiv/node-uuid/issues"
772 },
773 "homepage": "https://github.com/kelektiv/node-uuid#readme",
774 "_id": "[email protected]",
775 "_shasum": "6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1",
776 "_from": ".",
777 "_npmVersion": "3.10.3",
778 "_nodeVersion": "6.7.0",
779 "_npmUser": {
780 "name": "defunctzombie",
781 "email": "[email protected]"
782 },
783 "dist": {
784 "shasum": "6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1",
785 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz"
786 },
787 "maintainers": [
788 {
789 "name": "broofa",
790 "email": "[email protected]"
791 },
792 {
793 "name": "defunctzombie",
794 "email": "[email protected]"
795 },
796 {
797 "name": "vvo",
798 "email": "[email protected]"
799 }
800 ],
801 "_npmOperationalInternal": {
802 "host": "packages-12-west.internal.npmjs.com",
803 "tmp": "tmp/uuid-3.0.1.tgz_1480403886767_0.2584113120101392"
804 },
805 "directories": {}
806 },
807 "3.1.0": {
808 "name": "uuid",
809 "version": "3.1.0",
810 "description": "RFC4122 (v1, v4, and v5) UUIDs",
811 "keywords": [
812 "uuid",
813 "guid",
814 "rfc4122"
815 ],
816 "license": "MIT",
817 "bin": {
818 "uuid": "./bin/uuid"
819 },
820 "devDependencies": {
821 "mocha": "3.1.2"
822 },
823 "scripts": {
824 "test": "mocha test/test.js"
825 },
826 "browser": {
827 "./lib/rng.js": "./lib/rng-browser.js",
828 "./lib/sha1.js": "./lib/sha1-browser.js"
829 },
830 "repository": {
831 "type": "git",
832 "url": "git+https://github.com/kelektiv/node-uuid.git"
833 },
834 "contributors": [
835 {
836 "name": "Robert Kieffer",
837 "email": "[email protected]"
838 },
839 {
840 "name": "Christoph Tavan",
841 "email": "[email protected]"
842 },
843 {
844 "name": "AJ ONeal",
845 "email": "[email protected]"
846 },
847 {
848 "name": "Vincent Voyer",
849 "email": "[email protected]"
850 },
851 {
852 "name": "Roman Shtylman",
853 "email": "[email protected]"
854 }
855 ],
856 "gitHead": "c50ac88f098ecfbff9a940816c8e6825ffd7e05a",
857 "bugs": {
858 "url": "https://github.com/kelektiv/node-uuid/issues"
859 },
860 "homepage": "https://github.com/kelektiv/node-uuid#readme",
861 "_id": "[email protected]",
862 "_npmVersion": "5.0.3",
863 "_nodeVersion": "7.10.0",
864 "_npmUser": {
865 "name": "broofa",
866 "email": "[email protected]"
867 },
868 "maintainers": [
869 {
870 "name": "broofa",
871 "email": "[email protected]"
872 },
873 {
874 "name": "defunctzombie",
875 "email": "[email protected]"
876 },
877 {
878 "name": "vvo",
879 "email": "[email protected]"
880 }
881 ],
882 "dist": {
883 "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==",
884 "shasum": "3dd3d3e790abc24d7b0d3a034ffababe28ebbc04",
885 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz"
886 },
887 "_npmOperationalInternal": {
888 "host": "s3://npm-registry-packages",
889 "tmp": "tmp/uuid-3.1.0.tgz_1497635691778_0.6424044836312532"
890 },
891 "directories": {}
892 },
893 "3.2.0": {
894 "name": "uuid",
895 "version": "3.2.0",
896 "description": "RFC4122 (v1, v4, and v5) UUIDs",
897 "keywords": [
898 "uuid",
899 "guid",
900 "rfc4122"
901 ],
902 "license": "MIT",
903 "bin": {
904 "uuid": "./bin/uuid"
905 },
906 "devDependencies": {
907 "eslint": "4.5.0",
908 "mocha": "3.1.2",
909 "runmd": "1.0.1",
910 "standard-version": "4.2.0"
911 },
912 "scripts": {
913 "test": "mocha test/test.js",
914 "md": "runmd --watch --output=README.md README_js.md",
915 "release": "standard-version",
916 "prepare": "runmd --output=README.md README_js.md"
917 },
918 "browser": {
919 "./lib/rng.js": "./lib/rng-browser.js",
920 "./lib/sha1.js": "./lib/sha1-browser.js",
921 "./lib/md5.js": "./lib/md5-browser.js"
922 },
923 "repository": {
924 "type": "git",
925 "url": "git+https://github.com/kelektiv/node-uuid.git"
926 },
927 "dependencies": {},
928 "contributors": [
929 {
930 "name": "Robert Kieffer",
931 "email": "[email protected]"
932 },
933 {
934 "name": "Christoph Tavan",
935 "email": "[email protected]"
936 },
937 {
938 "name": "AJ ONeal",
939 "email": "[email protected]"
940 },
941 {
942 "name": "Vincent Voyer",
943 "email": "[email protected]"
944 },
945 {
946 "name": "Roman Shtylman",
947 "email": "[email protected]"
948 }
949 ],
950 "gitHead": "c0d44fda8abeac5eb1444f03a135f8a6353854da",
951 "bugs": {
952 "url": "https://github.com/kelektiv/node-uuid/issues"
953 },
954 "homepage": "https://github.com/kelektiv/node-uuid#readme",
955 "_id": "[email protected]",
956 "_npmVersion": "5.5.1",
957 "_nodeVersion": "7.10.1",
958 "_npmUser": {
959 "name": "broofa",
960 "email": "[email protected]"
961 },
962 "maintainers": [
963 {
964 "name": "broofa",
965 "email": "[email protected]"
966 },
967 {
968 "name": "defunctzombie",
969 "email": "[email protected]"
970 },
971 {
972 "name": "vvo",
973 "email": "[email protected]"
974 }
975 ],
976 "dist": {
977 "integrity": "sha512-qC0vMFX6q6ee8JaoTF2Om1uL8KAV1ATUjVaHRxLiPJkIsp8JZl6ZjG0MIB+twZFLbi1vXj30rqj4zlqYiOS9xg==",
978 "shasum": "19a63e22b3b32a0ba23984a4f384836465e24949",
979 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.2.0.tgz"
980 },
981 "_npmOperationalInternal": {
982 "host": "s3://npm-registry-packages",
983 "tmp": "tmp/uuid-3.2.0.tgz_1516113890512_0.8254034700803459"
984 },
985 "directories": {}
986 },
987 "3.2.1": {
988 "name": "uuid",
989 "version": "3.2.1",
990 "description": "RFC4122 (v1, v4, and v5) UUIDs",
991 "keywords": [
992 "uuid",
993 "guid",
994 "rfc4122"
995 ],
996 "license": "MIT",
997 "bin": {
998 "uuid": "./bin/uuid"
999 },
1000 "devDependencies": {
1001 "eslint": "4.5.0",
1002 "mocha": "3.1.2",
1003 "runmd": "1.0.1",
1004 "standard-version": "4.2.0"
1005 },
1006 "scripts": {
1007 "test": "mocha test/test.js",
1008 "md": "runmd --watch --output=README.md README_js.md",
1009 "release": "standard-version",
1010 "prepare": "runmd --output=README.md README_js.md"
1011 },
1012 "browser": {
1013 "./lib/rng.js": "./lib/rng-browser.js",
1014 "./lib/sha1.js": "./lib/sha1-browser.js",
1015 "./lib/md5.js": "./lib/md5-browser.js"
1016 },
1017 "repository": {
1018 "type": "git",
1019 "url": "git+https://github.com/kelektiv/node-uuid.git"
1020 },
1021 "dependencies": {},
1022 "contributors": [
1023 {
1024 "name": "Robert Kieffer",
1025 "email": "[email protected]"
1026 },
1027 {
1028 "name": "Christoph Tavan",
1029 "email": "[email protected]"
1030 },
1031 {
1032 "name": "AJ ONeal",
1033 "email": "[email protected]"
1034 },
1035 {
1036 "name": "Vincent Voyer",
1037 "email": "[email protected]"
1038 },
1039 {
1040 "name": "Roman Shtylman",
1041 "email": "[email protected]"
1042 }
1043 ],
1044 "gitHead": "ce7d3176fc927ab83b4e29b8d5a37b7243ce3360",
1045 "bugs": {
1046 "url": "https://github.com/kelektiv/node-uuid/issues"
1047 },
1048 "homepage": "https://github.com/kelektiv/node-uuid#readme",
1049 "_id": "[email protected]",
1050 "_npmVersion": "5.5.1",
1051 "_nodeVersion": "7.10.1",
1052 "_npmUser": {
1053 "name": "broofa",
1054 "email": "[email protected]"
1055 },
1056 "maintainers": [
1057 {
1058 "name": "broofa",
1059 "email": "[email protected]"
1060 },
1061 {
1062 "name": "defunctzombie",
1063 "email": "[email protected]"
1064 },
1065 {
1066 "name": "vvo",
1067 "email": "[email protected]"
1068 }
1069 ],
1070 "dist": {
1071 "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==",
1072 "shasum": "12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14",
1073 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz"
1074 },
1075 "_npmOperationalInternal": {
1076 "host": "s3://npm-registry-packages",
1077 "tmp": "tmp/uuid-3.2.1.tgz_1516124697652_0.3172094284091145"
1078 },
1079 "directories": {}
1080 },
1081 "3.3.0": {
1082 "name": "uuid",
1083 "version": "3.3.0",
1084 "description": "RFC4122 (v1, v4, and v5) UUIDs",
1085 "commitlint": {
1086 "extends": [
1087 "@commitlint/config-conventional"
1088 ]
1089 },
1090 "keywords": [
1091 "uuid",
1092 "guid",
1093 "rfc4122"
1094 ],
1095 "license": "MIT",
1096 "bin": {
1097 "uuid": "./bin/uuid"
1098 },
1099 "devDependencies": {
1100 "@commitlint/cli": "7.0.0",
1101 "@commitlint/config-conventional": "7.0.1",
1102 "eslint": "4.19.1",
1103 "husky": "0.14.3",
1104 "mocha": "5.2.0",
1105 "runmd": "1.0.1",
1106 "standard-version": "4.4.0"
1107 },
1108 "scripts": {
1109 "commitmsg": "commitlint -E GIT_PARAMS",
1110 "test": "mocha test/test.js",
1111 "md": "runmd --watch --output=README.md README_js.md",
1112 "release": "standard-version",
1113 "prepare": "runmd --output=README.md README_js.md"
1114 },
1115 "browser": {
1116 "./lib/rng.js": "./lib/rng-browser.js",
1117 "./lib/sha1.js": "./lib/sha1-browser.js",
1118 "./lib/md5.js": "./lib/md5-browser.js"
1119 },
1120 "repository": {
1121 "type": "git",
1122 "url": "git+https://github.com/kelektiv/node-uuid.git"
1123 },
1124 "contributors": [
1125 {
1126 "name": "Robert Kieffer",
1127 "email": "[email protected]"
1128 },
1129 {
1130 "name": "Christoph Tavan",
1131 "email": "[email protected]"
1132 },
1133 {
1134 "name": "AJ ONeal",
1135 "email": "[email protected]"
1136 },
1137 {
1138 "name": "Vincent Voyer",
1139 "email": "[email protected]"
1140 },
1141 {
1142 "name": "Roman Shtylman",
1143 "email": "[email protected]"
1144 }
1145 ],
1146 "gitHead": "1cb9826260b46352db19ccbfb36dfdbc323c35c9",
1147 "bugs": {
1148 "url": "https://github.com/kelektiv/node-uuid/issues"
1149 },
1150 "homepage": "https://github.com/kelektiv/node-uuid#readme",
1151 "_id": "[email protected]",
1152 "_npmVersion": "6.0.0",
1153 "_nodeVersion": "8.11.1",
1154 "_npmUser": {
1155 "name": "broofa",
1156 "email": "[email protected]"
1157 },
1158 "maintainers": [
1159 {
1160 "name": "broofa",
1161 "email": "[email protected]"
1162 },
1163 {
1164 "name": "defunctzombie",
1165 "email": "[email protected]"
1166 },
1167 {
1168 "name": "vvo",
1169 "email": "[email protected]"
1170 }
1171 ],
1172 "dist": {
1173 "integrity": "sha512-ijO9N2xY/YaOqQ5yz5c4sy2ZjWmA6AR6zASb/gdpeKZ8+948CxwfMW9RrKVk5may6ev8c0/Xguu32e2Llelpqw==",
1174 "shasum": "b237147804881d7b86f40a7ff8f590f15c37de32",
1175 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.3.0.tgz",
1176 "fileCount": 21,
1177 "unpackedSize": 44057,
1178 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMj5bCRA9TVsSAnZWagAAoowP/05xAG0lM80CctZLOyEd\nkUJj8ihe+AkwLCMa+7HgJpbc/NiNhJtjN0I9peEEXoGMrg+IZOehcUabm3pN\nUz29450CXc1mEeEWjTBHfE0fZOWGVSHrbVhKuqZByS/Gq4W9hHOMQcRbeDOM\nHUg2Cg1BD9YEJgCdWbMAZHkWmE36FJ7UaaRcZNn1qhzj5KlNqft8tRAxt0n5\nsQ099IitF+d8rMYxDHS23GCAEHDcwM0rolyQJio3mMmFi5GDdYoDybNCR/Jx\nyETA3f3PVdybkfPuCwufwfFH9YDBPHo0tCikpi9Sz4sKXxdDo7lxXToP5+ai\nujTl5AB+oEKtbjLIugrISDfaHRcRGV/z0lnoXJOl+i/GM9FCkoxwA6r+HnOX\ner8HwUFSDrd0YV37EJMKLPgWLqdJTpZHCZjuU5b9RhbAujp5gGpUO1iITgJC\nJ/WcMkTaaGcHteJuSV39UV4tG0B3fHaC9/eHoF/jrsoJGRfZhbKECMXcTTLM\n6+FNvIA3PGE+onKyPutX2ROCciL4bxS6Rih6cU4pbOUV5SmpbPFkW6XX3UY5\n53K64Qjuv1wNCNS2WzYBnU/HGqwgcg/Pefdi7A+n6Z87/2fxfEqQf24xjOk4\naa/VCC/3mCnVzTMeSa1ckCQSoQNh/f05wtZ7qf90PGx4NFwzT5CgNDnhovER\nyl2Z\r\n=lu2+\r\n-----END PGP SIGNATURE-----\r\n"
1179 },
1180 "directories": {},
1181 "_npmOperationalInternal": {
1182 "host": "s3://npm-registry-packages",
1183 "tmp": "tmp/uuid_3.3.0_1530019419356_0.9632179204070574"
1184 },
1185 "_hasShrinkwrap": false
1186 },
1187 "3.3.2": {
1188 "name": "uuid",
1189 "version": "3.3.2",
1190 "description": "RFC4122 (v1, v4, and v5) UUIDs",
1191 "commitlint": {
1192 "extends": [
1193 "@commitlint/config-conventional"
1194 ]
1195 },
1196 "keywords": [
1197 "uuid",
1198 "guid",
1199 "rfc4122"
1200 ],
1201 "license": "MIT",
1202 "bin": {
1203 "uuid": "./bin/uuid"
1204 },
1205 "devDependencies": {
1206 "@commitlint/cli": "7.0.0",
1207 "@commitlint/config-conventional": "7.0.1",
1208 "eslint": "4.19.1",
1209 "husky": "0.14.3",
1210 "mocha": "5.2.0",
1211 "runmd": "1.0.1",
1212 "standard-version": "4.4.0"
1213 },
1214 "scripts": {
1215 "commitmsg": "commitlint -E GIT_PARAMS",
1216 "test": "mocha test/test.js",
1217 "md": "runmd --watch --output=README.md README_js.md",
1218 "release": "standard-version",
1219 "prepare": "runmd --output=README.md README_js.md"
1220 },
1221 "browser": {
1222 "./lib/rng.js": "./lib/rng-browser.js",
1223 "./lib/sha1.js": "./lib/sha1-browser.js",
1224 "./lib/md5.js": "./lib/md5-browser.js"
1225 },
1226 "repository": {
1227 "type": "git",
1228 "url": "git+https://github.com/kelektiv/node-uuid.git"
1229 },
1230 "contributors": [
1231 {
1232 "name": "Robert Kieffer",
1233 "email": "[email protected]"
1234 },
1235 {
1236 "name": "Christoph Tavan",
1237 "email": "[email protected]"
1238 },
1239 {
1240 "name": "AJ ONeal",
1241 "email": "[email protected]"
1242 },
1243 {
1244 "name": "Vincent Voyer",
1245 "email": "[email protected]"
1246 },
1247 {
1248 "name": "Roman Shtylman",
1249 "email": "[email protected]"
1250 }
1251 ],
1252 "gitHead": "fe4ae79c55af2c7cbf2bb39d3bcb6716d5367091",
1253 "bugs": {
1254 "url": "https://github.com/kelektiv/node-uuid/issues"
1255 },
1256 "homepage": "https://github.com/kelektiv/node-uuid#readme",
1257 "_id": "[email protected]",
1258 "_npmVersion": "6.1.0",
1259 "_nodeVersion": "10.5.0",
1260 "_npmUser": {
1261 "name": "broofa",
1262 "email": "[email protected]"
1263 },
1264 "maintainers": [
1265 {
1266 "name": "broofa",
1267 "email": "[email protected]"
1268 },
1269 {
1270 "name": "defunctzombie",
1271 "email": "[email protected]"
1272 },
1273 {
1274 "name": "vvo",
1275 "email": "[email protected]"
1276 }
1277 ],
1278 "dist": {
1279 "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",
1280 "shasum": "1b4af4955eb3077c501c23872fc6513811587131",
1281 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
1282 "fileCount": 21,
1283 "unpackedSize": 43599,
1284 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNVMdCRA9TVsSAnZWagAAHMAP/3dazKIzx5o8pB3uqIOa\nUj3OOWemMXXKN6m/ncbq23zi69Vi0WRpYwC8vbRiD+NwXdnV5yP5fesAoGjw\ngttCujsby2Q96xqGDmnpxF//+OZC2/fPt/EBVtvlZM/KSpevRoDBF03ihcFL\nGyAFS7i0FvRJskP2xp+72Z+6C6A24OvW7BB+WGJcTh8z7QbStTPDQmjam1jM\n9lkez4SbOpFd4Hpca1yFM8HRb6UGUFo+UdIoylbaeKnUDBzCmtv1LwtkL77I\noMB8AyHna8iUjv43l08EODev+G08dBQcrL2K83WMp+ztAHwi8KOryxTLKgUV\nvZwaObtCH77QSnraFF5Vq1onGw+FTckQlP0zS37e5IKSRv0GV/t3E1aSkemt\ndDU2qURkFLyVuGSV8utAMWvwTDA6CEsXeEs49ZEYtZWKeEKc1dXxx0ovVMBV\nxGFgmTnP+pYXUCnqrXlJfkfEtBvGhU6N4KmfBz8tAWjfafYFZng9pQxF04vh\nMgHOy7upIMtDKZCyCGW+C81L24cdggmOVGfLHIpMLbMpR05cS1gXqHGe1OBy\nY5SP34YgMjhRnyfvb1LlcDJEjJvruzx46UP/D9JDBmjhLTJSDxwQuN+UrjPx\n9WhQEv/P3CvSlHVpfd+NF6b0vwM7IoiWbxMwF3z9jZpNU7o+3pySZrni3aMC\nHEgb\r\n=qIAF\r\n-----END PGP SIGNATURE-----\r\n"
1285 },
1286 "directories": {},
1287 "_npmOperationalInternal": {
1288 "host": "s3://npm-registry-packages",
1289 "tmp": "tmp/uuid_3.3.2_1530221341707_0.5404045638057293"
1290 },
1291 "_hasShrinkwrap": false
1292 },
1293 "3.3.3": {
1294 "name": "uuid",
1295 "version": "3.3.3",
1296 "description": "RFC4122 (v1, v4, and v5) UUIDs",
1297 "commitlint": {
1298 "extends": [
1299 "@commitlint/config-conventional"
1300 ]
1301 },
1302 "keywords": [
1303 "uuid",
1304 "guid",
1305 "rfc4122"
1306 ],
1307 "license": "MIT",
1308 "bin": {
1309 "uuid": "./bin/uuid"
1310 },
1311 "devDependencies": {
1312 "@commitlint/cli": "8.1.0",
1313 "@commitlint/config-conventional": "8.1.0",
1314 "eslint": "6.2.0",
1315 "husky": "3.0.4",
1316 "mocha": "6.2.0",
1317 "runmd": "1.2.1",
1318 "standard-version": "7.0.0"
1319 },
1320 "scripts": {
1321 "commitmsg": "commitlint -E HUSKY_GIT_PARAMS",
1322 "test": "mocha test/test.js",
1323 "md": "runmd --watch --output=README.md README_js.md",
1324 "release": "standard-version",
1325 "prepare": "runmd --output=README.md README_js.md"
1326 },
1327 "browser": {
1328 "./lib/rng.js": "./lib/rng-browser.js",
1329 "./lib/sha1.js": "./lib/sha1-browser.js",
1330 "./lib/md5.js": "./lib/md5-browser.js"
1331 },
1332 "repository": {
1333 "type": "git",
1334 "url": "git+https://github.com/kelektiv/node-uuid.git"
1335 },
1336 "contributors": [
1337 {
1338 "name": "Robert Kieffer",
1339 "email": "[email protected]"
1340 },
1341 {
1342 "name": "Christoph Tavan",
1343 "email": "[email protected]"
1344 },
1345 {
1346 "name": "AJ ONeal",
1347 "email": "[email protected]"
1348 },
1349 {
1350 "name": "Vincent Voyer",
1351 "email": "[email protected]"
1352 },
1353 {
1354 "name": "Roman Shtylman",
1355 "email": "[email protected]"
1356 }
1357 ],
1358 "gitHead": "ab33c8a77df180de1a12fede423490b3c2de9d07",
1359 "bugs": {
1360 "url": "https://github.com/kelektiv/node-uuid/issues"
1361 },
1362 "homepage": "https://github.com/kelektiv/node-uuid#readme",
1363 "_id": "[email protected]",
1364 "_nodeVersion": "8.15.1",
1365 "_npmVersion": "6.9.0",
1366 "_npmUser": {
1367 "name": "broofa",
1368 "email": "[email protected]"
1369 },
1370 "dist": {
1371 "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==",
1372 "shasum": "4568f0216e78760ee1dbf3a4d2cf53e224112866",
1373 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz",
1374 "fileCount": 19,
1375 "unpackedSize": 34683,
1376 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWqOBCRA9TVsSAnZWagAA1b0P/30Jwx5qz0EAfdMRewwZ\nNaClKkF9nznrtjK84p4vrf+/7nlXfclQtZO65pcVSgXYQsqUTadATY/nHIdV\nC/TYyrgk0fjS5TkLzMs8268S5iO+ruCAyCXA27JqVyfFGxlPZRTneukR71R8\n7Htg3MnZMM5REIM7xckj1maZpi+SNEfvbNNY9Je4bKnAWNX1ezznicfpEaT7\nXQkoOakMKked+CGJhTEXdwKBn9rBKjNr74DMgXiIlEnL6pn7vhNu10zTY1cp\njbsdkOptkWsQBUMzDfkjpBJc+xnji80SSekfZ0iLt5Qak4fYzUcnbZM2XCaC\nvJEz2cLYlbhJox3K92/ikwsBZTGaXtwB96DQbJJ8zDvx7DtTq53tSF1qTgTf\ni+Nm8HDRGbGMkTseJm0sm83NYPQY4RQbiR4bcJNlQQ9ZLWCJSdfudaHkKOU9\nPyFW0aP1LT3qzitpAvHDV3B1fnQEvBJplmVOdm5F0qnTXEmgekjfQMGc5GMG\nDt42B9Vjxs2oVQszMKuG1K+ouXk4JcIQMXYYZA9JfpEmAocHfgam0Y03MZ2J\nb5+7YmeqIZu7n3PwVKTdsLQLPMmibtg6lCC+Akfq1ytuDWVPREIS7JM5Bts7\ngTiRG8rSPeNpLetCN25Ke02xbZDJof3dTJZxWu2vSTeczrh2BFqLjshy/5r4\ny3+j\r\n=wnZc\r\n-----END PGP SIGNATURE-----\r\n"
1377 },
1378 "maintainers": [
1379 {
1380 "name": "broofa",
1381 "email": "[email protected]"
1382 },
1383 {
1384 "name": "defunctzombie",
1385 "email": "[email protected]"
1386 },
1387 {
1388 "name": "vvo",
1389 "email": "[email protected]"
1390 }
1391 ],
1392 "directories": {},
1393 "_npmOperationalInternal": {
1394 "host": "s3://npm-registry-packages",
1395 "tmp": "tmp/uuid_3.3.3_1566221184938_0.9358725731017152"
1396 },
1397 "_hasShrinkwrap": false
1398 },
1399 "3.4.0": {
1400 "name": "uuid",
1401 "version": "3.4.0",
1402 "description": "RFC4122 (v1, v4, and v5) UUIDs",
1403 "commitlint": {
1404 "extends": [
1405 "@commitlint/config-conventional"
1406 ]
1407 },
1408 "keywords": [
1409 "uuid",
1410 "guid",
1411 "rfc4122"
1412 ],
1413 "license": "MIT",
1414 "bin": {
1415 "uuid": "./bin/uuid"
1416 },
1417 "devDependencies": {
1418 "@commitlint/cli": "~8.2.0",
1419 "@commitlint/config-conventional": "~8.2.0",
1420 "eslint": "~6.4.0",
1421 "husky": "~3.0.5",
1422 "mocha": "6.2.0",
1423 "runmd": "1.2.1",
1424 "standard-version": "7.0.0"
1425 },
1426 "scripts": {
1427 "lint": "eslint .",
1428 "test": "npm run lint && mocha test/test.js",
1429 "md": "runmd --watch --output=README.md README_js.md",
1430 "release": "standard-version",
1431 "prepare": "runmd --output=README.md README_js.md"
1432 },
1433 "browser": {
1434 "./lib/rng.js": "./lib/rng-browser.js",
1435 "./lib/sha1.js": "./lib/sha1-browser.js",
1436 "./lib/md5.js": "./lib/md5-browser.js"
1437 },
1438 "repository": {
1439 "type": "git",
1440 "url": "git+https://github.com/uuidjs/uuid.git"
1441 },
1442 "husky": {
1443 "hooks": {
1444 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
1445 }
1446 },
1447 "contributors": [
1448 {
1449 "name": "Robert Kieffer",
1450 "email": "[email protected]"
1451 },
1452 {
1453 "name": "Christoph Tavan",
1454 "email": "[email protected]"
1455 },
1456 {
1457 "name": "AJ ONeal",
1458 "email": "[email protected]"
1459 },
1460 {
1461 "name": "Vincent Voyer",
1462 "email": "[email protected]"
1463 },
1464 {
1465 "name": "Roman Shtylman",
1466 "email": "[email protected]"
1467 }
1468 ],
1469 "gitHead": "3df73a98f07c0a38a94bcaf1ecde0e384dc3b126",
1470 "bugs": {
1471 "url": "https://github.com/uuidjs/uuid/issues"
1472 },
1473 "homepage": "https://github.com/uuidjs/uuid#readme",
1474 "_id": "[email protected]",
1475 "_nodeVersion": "12.13.0",
1476 "_npmVersion": "6.12.0",
1477 "_npmUser": {
1478 "name": "ctavan",
1479 "email": "[email protected]"
1480 },
1481 "dist": {
1482 "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
1483 "shasum": "b23e4358afa8a202fe7a100af1f5f883f02007ee",
1484 "tarball": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
1485 "fileCount": 19,
1486 "unpackedSize": 34269,
1487 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeINAiCRA9TVsSAnZWagAAOHsP/RVFM7OJamQHALP58acz\nQHrh9S8dhiix0+OGPfzJjPDnB/ver8y3weYkOtTXVU6qempJOgVZnigeR2yZ\nH00hUco5UxkK0j1eg1afyGoeso4jjNBtpVkyPnCb2Cg0A8l0g8I6zzb3LByf\nwv74IPlhjXlYyZsIlYwan5q4w5nRsf6+xdV4qdYXquxf05hCYgt3pWV4tSe6\nE2Y+WWZSVpYBpLyY1p7IJBk6xAYmwF1M8D+G0weLJCoOMa41fvhRsd2E84iW\nJYUDCKn+NfMoN4RaphGSBcpQD3POgE4UaI8D/QpFYUpF2bCQDFVakfqYsmtv\nsdCILUlRdhWmOJuoDc5GNk6iD83rtaqu+nwdNsBUal6iF+/8L1E8aCJ0VleI\nr5gLMm/kSl14lFue3iPkUIadoDu4rclpuPs2tiOIxH0Dnt9FHMw69uUr50O1\noCTLM2da2bZ9Vm9UxyIWEdx1TOFtiL4pWfcoQUQcRMDQ3wyoSmv/3ryfd+zl\n3HGwOM5w5zqOOs0JUizf90CRWvL48VUnaeKxL6xcS3OqbJmq7bDmfM2bAdJE\nI0g73oAf9/Ouch1l9Bt1mcZACtUeBYPSvlvN1u0jLzTqPP2VxBWboqZl291P\npR2Nqk3JDmcvY4HYl1oZ7wITiiiaARlTfNY4z2U5v8/f+QAtgwO/SPfHMXJL\nECdn\r\n=rDnh\r\n-----END PGP SIGNATURE-----\r\n"
1488 },
1489 "maintainers": [
1490 {
1491 "email": "[email protected]",
1492 "name": "broofa"
1493 },
1494 {
1495 "email": "[email protected]",
1496 "name": "ctavan"
1497 },
1498 {
1499 "email": "[email protected]",
1500 "name": "defunctzombie"
1501 },
1502 {
1503 "email": "[email protected]",
1504 "name": "vvo"
1505 }
1506 ],
1507 "directories": {},
1508 "_npmOperationalInternal": {
1509 "host": "s3://npm-registry-packages",
1510 "tmp": "tmp/uuid_3.4.0_1579208738423_0.4772515028870088"
1511 },
1512 "_hasShrinkwrap": false
1513 },
1514 "7.0.0-beta.0": {
1515 "name": "uuid",
1516 "version": "7.0.0-beta.0",
1517 "description": "RFC4122 (v1, v4, and v5) UUIDs",
1518 "commitlint": {
1519 "extends": [
1520 "@commitlint/config-conventional"
1521 ]
1522 },
1523 "keywords": [
1524 "uuid",
1525 "guid",
1526 "rfc4122"
1527 ],
1528 "license": "MIT",
1529 "bin": {
1530 "uuid": "dist/bin/uuid"
1531 },
1532 "sideEffects": false,
1533 "main": "dist/index.js",
1534 "module": "dist/esm-browser/index.js",
1535 "devDependencies": {
1536 "@babel/cli": "7.8.3",
1537 "@babel/core": "7.8.3",
1538 "@babel/preset-env": "7.8.3",
1539 "@commitlint/cli": "8.3.5",
1540 "@commitlint/config-conventional": "8.3.4",
1541 "babel-eslint": "10.0.3",
1542 "babel-plugin-add-module-exports": "1.0.2",
1543 "browserstack-local": "1.4.4",
1544 "bundlewatch": "0.2.5",
1545 "eslint": "6.8.0",
1546 "eslint-config-prettier": "6.9.0",
1547 "eslint-plugin-prettier": "3.1.2",
1548 "esm": "3.2.25",
1549 "http-server": "0.12.1",
1550 "husky": "3.0.9",
1551 "jest": "24.9.0",
1552 "lint-staged": "10.0.1",
1553 "npm-run-all": "4.1.5",
1554 "prettier": "1.19.1",
1555 "rollup": "1.30.0",
1556 "rollup-plugin-terser": "5.2.0",
1557 "runmd": "1.3.2",
1558 "selenium-webdriver": "3.6.0",
1559 "standard-version": "7.0.1"
1560 },
1561 "scripts": {
1562 "examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build",
1563 "examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build",
1564 "examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build",
1565 "lint": "npm run eslint:check && npm run prettier:check",
1566 "eslint:check": "eslint src/ test/ examples/ *.js",
1567 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
1568 "pretest": "npm run build",
1569 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
1570 "pretest:browser": "npm run build && npm-run-all --parallel examples:**",
1571 "test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*",
1572 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
1573 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
1574 "ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff && npm run bundlewatch",
1575 "bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && CI_REPO_OWNER=uuidjs CI_REPO_NAME=uuid CI_COMMIT_SHA=$GITHUB_SHA CI_BRANCH=${GITHUB_REF##refs/heads/} bundlewatch --config bundlewatch.config.json )",
1576 "md": "runmd --watch --output=README.md README_js.md",
1577 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
1578 "docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
1579 "build": "./scripts/build.sh",
1580 "release": "standard-version --no-verify"
1581 },
1582 "repository": {
1583 "type": "git",
1584 "url": "git+https://github.com/uuidjs/uuid.git"
1585 },
1586 "husky": {
1587 "hooks": {
1588 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
1589 "pre-commit": "lint-staged"
1590 }
1591 },
1592 "lint-staged": {
1593 "*.{js,jsx,json,md}": [
1594 "prettier --write"
1595 ],
1596 "*.{js,jsx}": [
1597 "eslint --fix"
1598 ]
1599 },
1600 "standard-version": {
1601 "scripts": {
1602 "postchangelog": "prettier --write CHANGELOG.md",
1603 "postcommit": "npm run build"
1604 }
1605 },
1606 "contributors": [
1607 {
1608 "name": "Robert Kieffer",
1609 "email": "[email protected]"
1610 },
1611 {
1612 "name": "Christoph Tavan",
1613 "email": "[email protected]"
1614 },
1615 {
1616 "name": "AJ ONeal",
1617 "email": "[email protected]"
1618 },
1619 {
1620 "name": "Vincent Voyer",
1621 "email": "[email protected]"
1622 },
1623 {
1624 "name": "Roman Shtylman",
1625 "email": "[email protected]"
1626 }
1627 ],
1628 "gitHead": "522e44c055871493303ec0158dac75d7ce1eba5b",
1629 "readme": "<!--\n -- This file is auto-generated from README_js.md. Changes should be made there.\n -->\n\n# uuid [![Build Status](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions)\n\nSimple, fast generation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDs.\n\nFeatures:\n\n- Support for version 1, 3, 4 and 5 UUIDs\n- Cross-platform: CommonJS build for Node.js and [ECMAScript Modules](#ecmascript-modules) for the\n browser.\n- Uses cryptographically-strong random number APIs\n- Zero-dependency, small footprint\n\n⚠️⚠️⚠️ This is the README of the upcoming major version of this library. You can still [access the README\nof the current stable version](https://github.com/uuidjs/uuid/blob/v3.4.0/README.md). ⚠️⚠️⚠️\n\n## Upgrading from v3.x of this Module\n\nIn v3.x of this library we were promoting the use of deep requires to reduce bundlesize for browser\nbuilds:\n\n```javascript\nconst uuidv4 = require('uuid/v4');\nuuidv4();\n```\n\nAs of v7.x this library has been converted to ECMAScript Modules and deep requires are now\ndeprecated and may be removed in a future major version of this library.\n\nSince all modern bundlers like rollup or Webpack support tree-shaking for ECMAScript Modules out of\nthe box we now encourage you to use modern `import` syntax instead, see [ECMAScript Modules /\nESM](#ecmascript-modules--esm):\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\nFor use as CommonJS module with Node.js you can use:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4();\n```\n\n## Quickstart - Node.js/CommonJS\n\n```shell\nnpm install uuid\n```\n\nThen generate a random UUID (v4 algorithm), which is almost always what you want ...\n\nVersion 4 (random):\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'\n```\n\nOr generate UUIDs with other algorithms of your choice ...\n\nVersion 1 (timestamp):\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\nuuidv1(); // ⇨ '2c5ea4c0-4067-11e9-8b2d-1b9d6bcdbbfd'\n```\n\nVersion 3 (namespace):\n\n```javascript\nimport { v3 as uuidv3 } from 'uuid';\n\n// ... using predefined DNS namespace (for domain names)\nuuidv3('hello.example.com', uuidv3.DNS); // ⇨ '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'\n\n// ... using predefined URL namespace (for, well, URLs)\nuuidv3('http://example.com/hello', uuidv3.URL); // ⇨ 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'\n\n// ... using a custom namespace\n//\n// Note: Custom namespaces should be a UUID string specific to your application!\n// E.g. the one here was generated using this modules `uuid` CLI.\nconst MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';\nuuidv3('Hello, World!', MY_NAMESPACE); // ⇨ 'e8b5a51d-11c8-3310-a6ab-367563f20686'\n```\n\nVersion 5 (namespace):\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\n// ... using predefined DNS namespace (for domain names)\nuuidv5('hello.example.com', uuidv5.DNS); // ⇨ 'fdda765f-fc57-5604-a269-52a7df8164ec'\n\n// ... using predefined URL namespace (for, well, URLs)\nuuidv5('http://example.com/hello', uuidv5.URL); // ⇨ '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'\n\n// ... using a custom namespace\n//\n// Note: Custom namespaces should be a UUID string specific to your application!\n// E.g. the one here was generated using this modules `uuid` CLI.\nconst MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';\nuuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681'\n```\n\n## Supported Platforms\n\n- Node.js: All LTS, i.e. 8.x, 10.x, 12.x\n- Browsers (with bundlers like webpack/rollup):\n - Chrome: >= 49\n - Safari: >= 10\n - Firefox: >= 44\n - Edge: >= 15\n - IE: 11\n\n## ECMAScript Modules / ESM\n\nFor usage in the browser `uuid` provides support for [ECMAScript\nModules](https://www.ecma-international.org/ecma-262/6.0/#sec-modules) (ESM) that enable\ntree-shaking for bundlers, like [rollup.js](https://rollupjs.org/guide/en/#tree-shaking)\n([example](./examples/browser-rollup/)) and [webpack](https://webpack.js.org/guides/tree-shaking/)\n([example](./examples/browser-webpack/)).\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nThere is experimental native ESM support for [the browser](./examples/browser-esmodules/) but it\nshould not be considered ready for production use and may change or disappear in future releases.\n\nTo run the examples you must first create a dist build of this library in the module root:\n\n```\nnpm run build\n```\n\n## API\n\n### Version 4 (Random)\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\n\n// Incantations\nuuidv4();\nuuidv4(options);\nuuidv4(options, buffer, offset);\n```\n\nGenerate and return a RFC4122 v4 UUID.\n\n- `options` - (Object) Optional uuid state to apply. Properties may include:\n - `random` - (Number[16]) Array of 16 numbers (0-255) to use in place of randomly generated values. Takes precedence over `options.rng`.\n - `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255). Alternative to `options.random`.\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample: Generate string UUID with predefined `random` values\n\n```javascript\nconst v4options = {\n random: [\n 0x10,\n 0x91,\n 0x56,\n 0xbe,\n 0xc4,\n 0xfb,\n 0xc1,\n 0xea,\n 0x71,\n 0xb4,\n 0xef,\n 0xe1,\n 0x67,\n 0x1c,\n 0x58,\n 0x36,\n ],\n};\nuuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'\n```\n\nExample: Generate two IDs in a single buffer\n\n```javascript\nconst buffer = new Array();\nuuidv4(null, buffer, 0); // ⇨ \n // [\n // 155, 29, 235, 77, 59,\n // 125, 75, 173, 155, 221,\n // 43, 13, 123, 61, 203,\n // 109\n // ]\nuuidv4(null, buffer, 16); // ⇨ \n // [\n // 155, 29, 235, 77, 59, 125, 75, 173,\n // 155, 221, 43, 13, 123, 61, 203, 109,\n // 27, 157, 107, 205, 187, 253, 75, 45,\n // 155, 93, 171, 141, 251, 189, 75, 237\n // ]\n```\n\n### Version 1 (Timestamp + Node)\n\n⚠️⚠️⚠️ **Please make sure to check whether you really need the timestamp properties of Version 1 UUIDs\nbefore using them. In many cases, Version 4 random UUIDs are the better choice. [This\nFAQ](https://github.com/tc39/proposal-uuid#faq) covers more details.** ⚠️⚠️⚠️\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\n\n// Incantations\nuuidv1();\nuuidv1(options);\nuuidv1(options, buffer, offset);\n```\n\nGenerate and return a RFC4122 v1 (timestamp-based) UUID.\n\n- `options` - (Object) Optional uuid state to apply. Properties may include:\n - `node` - (Array) Node id as Array of 6 bytes (per 4.1.6). Default: Randomly generated ID. See note 1.\n - `clockseq` - (Number between 0 - 0x3fff) RFC clock sequence. Default: An internally maintained clockseq is used.\n - `msecs` - (Number) Time in milliseconds since unix Epoch. Default: The current time is used.\n - `nsecs` - (Number between 0-9999) additional time, in 100-nanosecond units. Ignored if `msecs` is unspecified. Default: internal uuid counter is used, as per 4.2.1.2.\n - `random` - (Number[16]) Array of 16 numbers (0-255) to use for initialization of `node` and `clockseq` as described above. Takes precedence over `options.rng`.\n - `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255). Alternative to `options.random`.\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nNote: The default [node id](https://tools.ietf.org/html/rfc4122#section-4.1.6) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process.\n\nExample: Generate string UUID with fully-specified options\n\n```javascript\nconst v1options = {\n node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],\n clockseq: 0x1234,\n msecs: new Date('2011-11-01').getTime(),\n nsecs: 5678,\n};\nuuidv1(v1options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'\n```\n\nExample: In-place generation of two binary IDs\n\n```javascript\n// Generate two ids in an array\nconst arr = new Array();\nuuidv1(null, arr, 0); // ⇨ \n // [\n // 44, 94, 164, 192, 64,\n // 103, 17, 233, 146, 52,\n // 27, 157, 107, 205, 187,\n // 253\n // ]\nuuidv1(null, arr, 16); // ⇨ \n // [\n // 44, 94, 164, 192, 64, 103, 17, 233,\n // 146, 52, 27, 157, 107, 205, 187, 253,\n // 44, 94, 164, 193, 64, 103, 17, 233,\n // 146, 52, 27, 157, 107, 205, 187, 253\n // ]\n```\n\n### Version 3 (Namespace)\n\n```javascript\nimport { v3 as uuidv3 } from 'uuid';\n\n// Incantations\nuuidv3(name, namespace);\nuuidv3(name, namespace, buffer);\nuuidv3(name, namespace, buffer, offset);\n```\n\nGenerate and return a RFC4122 v3 UUID.\n\n- `name` - (String | Array[]) \"name\" to create UUID with\n- `namespace` - (String | Array[]) \"namespace\" UUID either as a String or Array[16] of byte values\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample:\n\n```javascript\nuuidv3('hello world', MY_NAMESPACE); // ⇨ '042ffd34-d989-321c-ad06-f60826172424'\n```\n\n### Version 5 (Namespace)\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\n// Incantations\nuuidv5(name, namespace);\nuuidv5(name, namespace, buffer);\nuuidv5(name, namespace, buffer, offset);\n```\n\nGenerate and return a RFC4122 v5 UUID.\n\n- `name` - (String | Array[]) \"name\" to create UUID with\n- `namespace` - (String | Array[]) \"namespace\" UUID either as a String or Array[16] of byte values\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample:\n\n```javascript\nuuidv5('hello world', MY_NAMESPACE); // ⇨ '9f282611-e0fd-5650-8953-89c8e342da0b'\n```\n\n## Command Line\n\nUUIDs can be generated from the command line with the `uuid` command.\n\n```shell\n$ uuid\nddeb27fb-d9a0-4624-be4d-4615062daed4\n\n$ uuid v1\n02d37060-d446-11e7-a9fa-7bdae751ebe1\n```\n\nType `uuid --help` for usage details\n\n## UMD Build\n\nIf you want to load a minified UMD build directly in the browser you can use one of the popular npm\nCDNs:\n\n```html\n<script src=\"https://unpkg.com/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n<script>\n alert(uuidv4());\n</script>\n```\n\nor\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n<script>\n alert(uuidv4());\n</script>\n```\n\nAvailable bundles:\n\n- https://unpkg.com/uuid@latest/dist/umd/\n- https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/\n\n----\nMarkdown generated from [README_js.md](README_js.md) by [![RunMD Logo](http://i.imgur.com/h0FVyzU.png)](https://github.com/broofa/runmd)",
1630 "readmeFilename": "README.md",
1631 "bugs": {
1632 "url": "https://github.com/uuidjs/uuid/issues"
1633 },
1634 "homepage": "https://github.com/uuidjs/uuid#readme",
1635 "_id": "[email protected]",
1636 "_nodeVersion": "12.15.0",
1637 "_npmVersion": "6.13.4",
1638 "_npmUser": {
1639 "name": "ctavan",
1640 "email": "[email protected]"
1641 },
1642 "dist": {
1643 "integrity": "sha512-Am22LVM3UXB0DTzQAeDSsZwP5eyqjIhmff330hqkxGvIxX8RRrUYLtKJ0eYxiBgjeQdUaMONpBZbJachMShxBw==",
1644 "shasum": "7f2bd91cf896f8f3d8d911d995edd7d66d4c2651",
1645 "tarball": "https://registry.npmjs.org/uuid/-/uuid-7.0.0-beta.0.tgz",
1646 "fileCount": 36,
1647 "unpackedSize": 68693,
1648 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSngmCRA9TVsSAnZWagAAbkwP/RXJ5KOgqWONL6GrOdrx\nRRzSvg0VlcF8bj18EAg4ZEzWjgyCtLjAKfnjlQkfj1twaxlrrgbHBiYhEzME\nPr/8tUXn6/Hix13r7Zrkw+kJdISFz2acM6u0sgGJZ+ooxgXtwP/Xs2BVVk4k\n5u5cEN9GpyPxUvrDDgE8BPTDoQ1MxTU+4DWRcb57VIki26O44vvNYZGZJteR\nD/+P/oqHWNZ0hy01Ed5yXB3V/u92E3yc7FPKgGTLmmJjAdCRNifBjcEoQT51\n3/RlPkXB/yTza6fwaiVl+DA7FypppthNbo90drJqboS5iE4B/6ZwApSRrnKf\nWnKQDFWl/XWpNjtga+TC5VjN/KQbptheM3Xus0m9KNvmHUna/5svGJBkptqV\n3TSruCViqBaML1yxD1wTiArGacVakAbZRKSbz9XunOMIf8Qq6/unnBIRQDEi\njXbi+tHmGlJ9GzGn/Z4LXf7zwPPZV796LxIfq+TUsEQVrszJ1SRTsUkZ8oMg\nWOz4DwsI6DDU3KDBNiq+FqSfULRF/TwfrcybkfZDNyfXWbFPgk6bF583fN5e\n9l2TNs30eBsoCJiaLkCGnf4oHhUSMJhzTQoV8YyU/zwq+n04jNmP9S2PnkaW\nHZ+NAiAxMdi/y/3hEiaZAaEAQYhu3VVvjjeu6WU18OApWmF6E6idnLyb+A5V\nfXdA\r\n=UYmC\r\n-----END PGP SIGNATURE-----\r\n"
1649 },
1650 "maintainers": [
1651 {
1652 "email": "[email protected]",
1653 "name": "broofa"
1654 },
1655 {
1656 "email": "[email protected]",
1657 "name": "ctavan"
1658 },
1659 {
1660 "email": "[email protected]",
1661 "name": "defunctzombie"
1662 },
1663 {
1664 "email": "[email protected]",
1665 "name": "vvo"
1666 }
1667 ],
1668 "directories": {},
1669 "_npmOperationalInternal": {
1670 "host": "s3://npm-registry-packages",
1671 "tmp": "tmp/uuid_7.0.0-beta.0_1581938725845_0.7896196061229703"
1672 },
1673 "_hasShrinkwrap": false
1674 },
1675 "7.0.0": {
1676 "name": "uuid",
1677 "version": "7.0.0",
1678 "description": "RFC4122 (v1, v4, and v5) UUIDs",
1679 "commitlint": {
1680 "extends": [
1681 "@commitlint/config-conventional"
1682 ]
1683 },
1684 "keywords": [
1685 "uuid",
1686 "guid",
1687 "rfc4122"
1688 ],
1689 "license": "MIT",
1690 "bin": {
1691 "uuid": "dist/bin/uuid"
1692 },
1693 "sideEffects": false,
1694 "main": "dist/index.js",
1695 "module": "dist/esm-browser/index.js",
1696 "devDependencies": {
1697 "@babel/cli": "7.8.4",
1698 "@babel/core": "7.8.4",
1699 "@babel/preset-env": "7.8.4",
1700 "@commitlint/cli": "8.3.5",
1701 "@commitlint/config-conventional": "8.3.4",
1702 "babel-eslint": "10.0.3",
1703 "babel-plugin-add-module-exports": "1.0.2",
1704 "browserstack-local": "1.4.5",
1705 "bundlewatch": "0.2.5",
1706 "eslint": "6.8.0",
1707 "eslint-config-prettier": "6.10.0",
1708 "eslint-plugin-prettier": "3.1.2",
1709 "esm": "3.2.25",
1710 "http-server": "0.12.1",
1711 "husky": "3.0.9",
1712 "jest": "25.1.0",
1713 "lint-staged": "10.0.7",
1714 "npm-run-all": "4.1.5",
1715 "prettier": "1.19.1",
1716 "rollup": "1.31.1",
1717 "rollup-plugin-terser": "5.2.0",
1718 "runmd": "1.3.2",
1719 "selenium-webdriver": "3.6.0",
1720 "standard-version": "7.1.0"
1721 },
1722 "scripts": {
1723 "examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build",
1724 "examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build",
1725 "examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build",
1726 "lint": "npm run eslint:check && npm run prettier:check",
1727 "eslint:check": "eslint src/ test/ examples/ *.js",
1728 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
1729 "pretest": "npm run build",
1730 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
1731 "pretest:browser": "npm run build && npm-run-all --parallel examples:**",
1732 "test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*",
1733 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
1734 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
1735 "ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff && npm run bundlewatch",
1736 "bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && CI_REPO_OWNER=uuidjs CI_REPO_NAME=uuid CI_COMMIT_SHA=$GITHUB_SHA CI_BRANCH=${GITHUB_REF##refs/heads/} bundlewatch --config bundlewatch.config.json )",
1737 "md": "runmd --watch --output=README.md README_js.md",
1738 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
1739 "docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
1740 "build": "./scripts/build.sh",
1741 "release": "standard-version --no-verify"
1742 },
1743 "repository": {
1744 "type": "git",
1745 "url": "git+https://github.com/uuidjs/uuid.git"
1746 },
1747 "husky": {
1748 "hooks": {
1749 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
1750 "pre-commit": "lint-staged"
1751 }
1752 },
1753 "lint-staged": {
1754 "*.{js,jsx,json,md}": [
1755 "prettier --write"
1756 ],
1757 "*.{js,jsx}": [
1758 "eslint --fix"
1759 ]
1760 },
1761 "standard-version": {
1762 "scripts": {
1763 "postchangelog": "prettier --write CHANGELOG.md",
1764 "postcommit": "npm run build"
1765 }
1766 },
1767 "contributors": [
1768 {
1769 "name": "Robert Kieffer",
1770 "email": "[email protected]"
1771 },
1772 {
1773 "name": "Christoph Tavan",
1774 "email": "[email protected]"
1775 },
1776 {
1777 "name": "AJ ONeal",
1778 "email": "[email protected]"
1779 },
1780 {
1781 "name": "Vincent Voyer",
1782 "email": "[email protected]"
1783 },
1784 {
1785 "name": "Roman Shtylman",
1786 "email": "[email protected]"
1787 }
1788 ],
1789 "gitHead": "63e5702d7629303a5193c4dd31825376f240f888",
1790 "bugs": {
1791 "url": "https://github.com/uuidjs/uuid/issues"
1792 },
1793 "homepage": "https://github.com/uuidjs/uuid#readme",
1794 "_id": "[email protected]",
1795 "_nodeVersion": "12.16.0",
1796 "_npmVersion": "6.13.4",
1797 "_npmUser": {
1798 "name": "ctavan",
1799 "email": "[email protected]"
1800 },
1801 "dist": {
1802 "integrity": "sha512-LNUrNsXdI/fUsypJbWM8Jt4DgQdFAZh41p9C7WE9Cn+CULOEkoG2lgQyH68v3wnIy5K3fN4jdSt270K6IFA3MQ==",
1803 "shasum": "1833d4b9ce50b732bfaa271f9cb74e974d303c79",
1804 "tarball": "https://registry.npmjs.org/uuid/-/uuid-7.0.0.tgz",
1805 "fileCount": 36,
1806 "unpackedSize": 72408,
1807 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeU85jCRA9TVsSAnZWagAAQQkP/AlIM9UlpC8m86bmakLZ\nMxFzqPOYzXwQwpm2CkjwlYzdUWxqyvPiaobBeVhP3ieMW3aD2f19+3dAwpiw\ne9G9DZrQfGMFyzXFI/wRPBspzSWe6lP+n3J6IJoienzeXkV/3oeL0IBcAvr0\n4U7g7WW+C3deUyik8uO59fB3ITRAai/BX151MNeBmp0WB8S64FMTgUstesaq\ndlsKAcFNnN075DJEzTiIVm72h7bK2A5DTrkriQspVtYaobe0NA6zLovMLjFW\nJP84qZTPAcVfxRzd/5qVpUbHKyR5NLCraBWzDw/K64nd1HS05WAWKbSNebEM\nqPrs3VV6LBVtbXRqmT+7vedFr27g8f046NCMUQb0d0InxIt9/YXp0zaa79il\nBRnYvHaNmYXy4k0u4uxSsfxfLLZ7imtLIQ9nhkqVNlWYp4LjUlZLw1cBHsZx\npZ1HQ8G8TtnXEU/6GMtCZ6hnwCtq+4Bm4s4dgxzpGexOJIpYTK4+0rtmOEgR\ntY0aR5K27N7Lm2Zo88vZUqjbcQmuKEFhX5onVuPZBGg8qTXqOsasyi6T9jJf\n3YovQYwl/TdqRv27AUWS4ZhryG6byurIOKETENv/DC6ybYa1Lvy9t77Qor6a\nTwR3+IJ3S9RP0jtC59gMoUpH078XWBEN+4gkX8sSDEewZXv3Y6u2lR7hUqEy\nQKnT\r\n=SAzF\r\n-----END PGP SIGNATURE-----\r\n"
1808 },
1809 "maintainers": [
1810 {
1811 "email": "[email protected]",
1812 "name": "broofa"
1813 },
1814 {
1815 "email": "[email protected]",
1816 "name": "ctavan"
1817 },
1818 {
1819 "email": "[email protected]",
1820 "name": "defunctzombie"
1821 },
1822 {
1823 "email": "[email protected]",
1824 "name": "vvo"
1825 }
1826 ],
1827 "directories": {},
1828 "_npmOperationalInternal": {
1829 "host": "s3://npm-registry-packages",
1830 "tmp": "tmp/uuid_7.0.0_1582550626542_0.483157796354976"
1831 },
1832 "_hasShrinkwrap": false
1833 },
1834 "7.0.1": {
1835 "name": "uuid",
1836 "version": "7.0.1",
1837 "description": "RFC4122 (v1, v4, and v5) UUIDs",
1838 "commitlint": {
1839 "extends": [
1840 "@commitlint/config-conventional"
1841 ]
1842 },
1843 "keywords": [
1844 "uuid",
1845 "guid",
1846 "rfc4122"
1847 ],
1848 "license": "MIT",
1849 "bin": {
1850 "uuid": "dist/bin/uuid"
1851 },
1852 "sideEffects": false,
1853 "main": "dist/index.js",
1854 "module": "dist/esm-node/index.js",
1855 "browser": {
1856 "./dist/md5.js": "./dist/md5-browser.js",
1857 "./dist/rng.js": "./dist/rng-browser.js",
1858 "./dist/sha1.js": "./dist/sha1-browser.js",
1859 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
1860 },
1861 "devDependencies": {
1862 "@babel/cli": "7.8.4",
1863 "@babel/core": "7.8.4",
1864 "@babel/preset-env": "7.8.4",
1865 "@commitlint/cli": "8.3.5",
1866 "@commitlint/config-conventional": "8.3.4",
1867 "@rollup/plugin-node-resolve": "7.1.1",
1868 "babel-eslint": "10.0.3",
1869 "babel-plugin-add-module-exports": "1.0.2",
1870 "browserstack-local": "1.4.5",
1871 "bundlewatch": "0.2.5",
1872 "eslint": "6.8.0",
1873 "eslint-config-prettier": "6.10.0",
1874 "eslint-plugin-prettier": "3.1.2",
1875 "esm": "3.2.25",
1876 "http-server": "0.12.1",
1877 "husky": "3.0.9",
1878 "jest": "25.1.0",
1879 "lint-staged": "10.0.7",
1880 "npm-run-all": "4.1.5",
1881 "prettier": "1.19.1",
1882 "rollup": "1.31.1",
1883 "rollup-plugin-terser": "5.2.0",
1884 "runmd": "1.3.2",
1885 "selenium-webdriver": "3.6.0",
1886 "standard-version": "7.1.0"
1887 },
1888 "scripts": {
1889 "examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build",
1890 "examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build",
1891 "examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build",
1892 "lint": "npm run eslint:check && npm run prettier:check",
1893 "eslint:check": "eslint src/ test/ examples/ *.js",
1894 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
1895 "pretest": "npm run build",
1896 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
1897 "pretest:browser": "npm run build && npm-run-all --parallel examples:**",
1898 "test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*",
1899 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
1900 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
1901 "ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff && npm run bundlewatch",
1902 "bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && CI_REPO_OWNER=uuidjs CI_REPO_NAME=uuid CI_COMMIT_SHA=$GITHUB_SHA CI_BRANCH=${GITHUB_REF##refs/heads/} bundlewatch --config bundlewatch.config.json )",
1903 "md": "runmd --watch --output=README.md README_js.md",
1904 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
1905 "docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
1906 "build": "./scripts/build.sh",
1907 "release": "standard-version --no-verify"
1908 },
1909 "repository": {
1910 "type": "git",
1911 "url": "git+https://github.com/uuidjs/uuid.git"
1912 },
1913 "husky": {
1914 "hooks": {
1915 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
1916 "pre-commit": "lint-staged"
1917 }
1918 },
1919 "lint-staged": {
1920 "*.{js,jsx,json,md}": [
1921 "prettier --write"
1922 ],
1923 "*.{js,jsx}": [
1924 "eslint --fix"
1925 ]
1926 },
1927 "standard-version": {
1928 "scripts": {
1929 "postchangelog": "prettier --write CHANGELOG.md",
1930 "postcommit": "npm run build"
1931 }
1932 },
1933 "contributors": [
1934 {
1935 "name": "Robert Kieffer",
1936 "email": "[email protected]"
1937 },
1938 {
1939 "name": "Christoph Tavan",
1940 "email": "[email protected]"
1941 },
1942 {
1943 "name": "AJ ONeal",
1944 "email": "[email protected]"
1945 },
1946 {
1947 "name": "Vincent Voyer",
1948 "email": "[email protected]"
1949 },
1950 {
1951 "name": "Roman Shtylman",
1952 "email": "[email protected]"
1953 }
1954 ],
1955 "gitHead": "3f78220564ff2abcb06cbf5ea173513a0e0cba43",
1956 "bugs": {
1957 "url": "https://github.com/uuidjs/uuid/issues"
1958 },
1959 "homepage": "https://github.com/uuidjs/uuid#readme",
1960 "_id": "[email protected]",
1961 "_nodeVersion": "12.16.0",
1962 "_npmVersion": "6.13.4",
1963 "_npmUser": {
1964 "name": "ctavan",
1965 "email": "[email protected]"
1966 },
1967 "dist": {
1968 "integrity": "sha512-yqjRXZzSJm9Dbl84H2VDHpM3zMjzSJQ+hn6C4zqd5ilW+7P4ZmLEEqwho9LjP+tGuZlF4xrHQXT0h9QZUS/pWA==",
1969 "shasum": "95ed6ff3d8c881cbf85f0f05cc3915ef994818ef",
1970 "tarball": "https://registry.npmjs.org/uuid/-/uuid-7.0.1.tgz",
1971 "fileCount": 49,
1972 "unpackedSize": 91125,
1973 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVYL8CRA9TVsSAnZWagAAR8UP/iKsHTGRssBfDvB2I+MD\nvActHY6aC3wf+7nxLIyfA8OVfZCt8Q/bUB+FLKgqPPkp/MKFVkvEE3aidWX+\nD9HnZm3J2/b/+iH7l+3u2J/L+Bb369p7Q6Aje0EJksO6MEA/S/1egvLxMEd/\nYi3Q2/93eZOCt5ogroCUQ9vtKxLSJRwvoHICJN04DCw96OYe+GUTB6VOQFld\n5kx+ctksSaZmXYtmmWyHyHe8z2T2GoAdWZSg4LsB7nHGVcmio8rKqJmbdesU\n0esYjkGHhZszrB4/pgNSDl4PmMIpgTtfY5moE0tvaKlgVsUBQ4G1K1bo4LzW\nAtGBwgqtf2ystzXw9AU1SXS4l3vuhdRypHJCqvEZxnLliQeCaeMtNDoGBLed\n2aZe14zcTnyem5RgOgKax5cWJWj9o/zIl2aiAG8B2pPt+bml0Z/e+dok6MRp\nMqiqqa0SqeIrVicahyWzJ+6LSssaaqhLPc171g9lv7M3ddod4910E1XxfVLU\nxCDWYn/mgoBjs/0UqcE3RIkPdOJnLGbmvT2sr/grDRBVl9aY6lL84S8h8aZx\nLdmWlpRxPjt7GWCSIg8oZgVw4B5p+qp0Th2JYSK0xYFkvj4mOi39H7tN2UCA\nAukUAz4q83b4cyJIOjVP8nR4GXt1ae+MUdNSpuTJns4n/aH/fE20SU8svkxu\nrsp9\r\n=Hfuo\r\n-----END PGP SIGNATURE-----\r\n"
1974 },
1975 "maintainers": [
1976 {
1977 "email": "[email protected]",
1978 "name": "broofa"
1979 },
1980 {
1981 "email": "[email protected]",
1982 "name": "ctavan"
1983 },
1984 {
1985 "email": "[email protected]",
1986 "name": "defunctzombie"
1987 },
1988 {
1989 "email": "[email protected]",
1990 "name": "vvo"
1991 }
1992 ],
1993 "directories": {},
1994 "_npmOperationalInternal": {
1995 "host": "s3://npm-registry-packages",
1996 "tmp": "tmp/uuid_7.0.1_1582662395609_0.09015471273563103"
1997 },
1998 "_hasShrinkwrap": false
1999 },
2000 "7.0.2-beta.0": {
2001 "name": "uuid",
2002 "version": "7.0.2-beta.0",
2003 "description": "RFC4122 (v1, v4, and v5) UUIDs",
2004 "commitlint": {
2005 "extends": [
2006 "@commitlint/config-conventional"
2007 ]
2008 },
2009 "keywords": [
2010 "uuid",
2011 "guid",
2012 "rfc4122"
2013 ],
2014 "license": "MIT",
2015 "bin": {
2016 "uuid": "dist/bin/uuid"
2017 },
2018 "sideEffects": false,
2019 "main": "dist/index.js",
2020 "module": "dist/esm-node/index.js",
2021 "browser": {
2022 "./dist/md5.js": "./dist/md5-browser.js",
2023 "./dist/rng.js": "./dist/rng-browser.js",
2024 "./dist/sha1.js": "./dist/sha1-browser.js",
2025 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
2026 },
2027 "devDependencies": {
2028 "@babel/cli": "7.8.4",
2029 "@babel/core": "7.8.4",
2030 "@babel/preset-env": "7.8.4",
2031 "@commitlint/cli": "8.3.5",
2032 "@commitlint/config-conventional": "8.3.4",
2033 "@rollup/plugin-node-resolve": "7.1.1",
2034 "babel-eslint": "10.0.3",
2035 "babel-plugin-add-module-exports": "1.0.2",
2036 "browserstack-local": "1.4.5",
2037 "bundlewatch": "0.2.5",
2038 "eslint": "6.8.0",
2039 "eslint-config-prettier": "6.10.0",
2040 "eslint-plugin-prettier": "3.1.2",
2041 "esm": "3.2.25",
2042 "http-server": "0.12.1",
2043 "husky": "3.0.9",
2044 "jest": "25.1.0",
2045 "lint-staged": "10.0.7",
2046 "npm-run-all": "4.1.5",
2047 "prettier": "1.19.1",
2048 "rollup": "1.31.1",
2049 "rollup-plugin-terser": "5.2.0",
2050 "runmd": "1.3.2",
2051 "selenium-webdriver": "3.6.0",
2052 "standard-version": "7.1.0"
2053 },
2054 "scripts": {
2055 "examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build",
2056 "examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build",
2057 "examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build",
2058 "lint": "npm run eslint:check && npm run prettier:check",
2059 "eslint:check": "eslint src/ test/ examples/ *.js",
2060 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
2061 "pretest": "npm run build",
2062 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
2063 "pretest:browser": "npm run build && npm-run-all --parallel examples:**",
2064 "test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*",
2065 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
2066 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
2067 "ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff && npm run bundlewatch",
2068 "bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && CI_REPO_OWNER=uuidjs CI_REPO_NAME=uuid CI_COMMIT_SHA=$GITHUB_SHA CI_BRANCH=${GITHUB_REF##refs/heads/} bundlewatch --config bundlewatch.config.json )",
2069 "md": "runmd --watch --output=README.md README_js.md",
2070 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
2071 "docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
2072 "build": "./scripts/build.sh",
2073 "release": "standard-version --no-verify"
2074 },
2075 "repository": {
2076 "type": "git",
2077 "url": "git+https://github.com/uuidjs/uuid.git"
2078 },
2079 "husky": {
2080 "hooks": {
2081 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
2082 "pre-commit": "lint-staged"
2083 }
2084 },
2085 "lint-staged": {
2086 "*.{js,jsx,json,md}": [
2087 "prettier --write"
2088 ],
2089 "*.{js,jsx}": [
2090 "eslint --fix"
2091 ]
2092 },
2093 "standard-version": {
2094 "scripts": {
2095 "postchangelog": "prettier --write CHANGELOG.md",
2096 "postcommit": "npm run build"
2097 }
2098 },
2099 "contributors": [
2100 {
2101 "name": "Robert Kieffer",
2102 "email": "[email protected]"
2103 },
2104 {
2105 "name": "Christoph Tavan",
2106 "email": "[email protected]"
2107 },
2108 {
2109 "name": "AJ ONeal",
2110 "email": "[email protected]"
2111 },
2112 {
2113 "name": "Vincent Voyer",
2114 "email": "[email protected]"
2115 },
2116 {
2117 "name": "Roman Shtylman",
2118 "email": "[email protected]"
2119 }
2120 ],
2121 "readme": "<!--\n -- This file is auto-generated from README_js.md. Changes should be made there.\n -->\n\n# uuid [![Build Status](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions)\n\nFor the creation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDs\n\n- **Complete** - Support for RFC4122 version 1, 3, 4, and 5 UUIDs\n- **Cross-platform** - Support for ...\n - CommonJS, [ECMAScript Modules](#ecmascript-modules) and UMD builds\n - Node 8, 10, 12\n - Chrome, Safari, Firefox, Edge, IE 11 browsers\n - Webpack and rollup.js module bundlers\n - React Native ([see note](#getrandomvalues-not-supported))\n- **Secure** - Cryptographically-strong random values\n- **Small** - Zero-dependency, small footprint, plays nice with \"tree shaking\" packagers\n- **CLI** - Includes the [`uuid` command line](#command-line) utility\n\n**Upgrading from uuid\\@3?** Your code is probably okay, but check out [Upgrading\nFrom uuid\\@3](#upgrading-from-uuid3) for details.\n\n## Quickstart - Node.js/CommonJS\n\n```shell\nnpm install uuid\n```\n\nOnce installed, decide which type of UUID you need. RFC4122 provides for four\nversions, all of which are supported here. In order of popularity, they are:\n\n- Version 4 (random) - Created from cryptographically-strong random values\n- Version 1 (timestamp) - Created from the system clock (plus random values)\n- Version 5 (namespace, SHA-1) - Created from user-supplied name and namespace strings\n- Version 3 (namespace, MD5) - Like version 5, above, but with a poorer hash algorithm\n\n**Unsure which one to use?** Use version 4 (random) unless you have a specific need for one of the other versions. See also [this FAQ](https://github.com/tc39/proposal-uuid#faq).\n\n### Create Version 4 (Random) UUIDs\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'\n```\n\n### Create Version 1 (Timestamp) UUIDs\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\nuuidv1(); // ⇨ '2c5ea4c0-4067-11e9-8b2d-1b9d6bcdbbfd'\n```\n\n### Create Version 3 or Version 5 (Namespace) UUIDs\n\n&#x26a0;&#xfe0f; Version 3 and Version 5 UUIDs are basically the same, differing\nonly in the underlying hash algorithm. Note that per the RFC, \"_If backward\ncompatibility is not an issue, SHA-1 [Version 5] is preferred_.\"\n\n&#x26a0;&#xfe0f; If using a custom namespace **be sure to generate your own\nnamespace UUID**. You can grab one [here](https://www.uuidgenerator.net/).\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid'; // For version 5\nimport { v3 as uuidv3 } from 'uuid'; // For version 3\n\n// Using predefined DNS namespace (for domain names)\nuuidv5('hello.example.com', uuidv5.DNS); // ⇨ 'fdda765f-fc57-5604-a269-52a7df8164ec'\nuuidv3('hello.example.com', uuidv3.DNS); // ⇨ '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'\n\n// Using predefined URL namespace (for URLs)\nuuidv5('http://example.com/hello', uuidv5.URL); // ⇨ '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'\nuuidv3('http://example.com/hello', uuidv3.URL); // ⇨ 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'\n\n// Using a custom namespace (See note, above, about generating your own\n// namespace UUID)\nconst MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';\nuuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681'\nuuidv3('Hello, World!', MY_NAMESPACE); // ⇨ 'e8b5a51d-11c8-3310-a6ab-367563f20686'\n```\n\n## API\n\n### Version 4 (Random)\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\n\n// Incantations\nuuidv4();\nuuidv4(options);\nuuidv4(options, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 4 UUID.\n\n- `options` - (Object) Optional uuid state to apply. Properties may include:\n - `random` - (Number[16]) Array of 16 numbers (0-255) to use in place of randomly generated values. Takes precedence over `options.rng`.\n - `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255). Alternative to `options.random`.\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample: Generate string UUID with predefined `random` values\n\n```javascript\nconst v4options = {\n random: [\n 0x10,\n 0x91,\n 0x56,\n 0xbe,\n 0xc4,\n 0xfb,\n 0xc1,\n 0xea,\n 0x71,\n 0xb4,\n 0xef,\n 0xe1,\n 0x67,\n 0x1c,\n 0x58,\n 0x36,\n ],\n};\nuuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'\n```\n\nExample: Generate two IDs in a single buffer\n\n```javascript\nconst buffer = new Array();\nuuidv4(null, buffer, 0); // ⇨ \n // [\n // 155, 29, 235, 77, 59,\n // 125, 75, 173, 155, 221,\n // 43, 13, 123, 61, 203,\n // 109\n // ]\nuuidv4(null, buffer, 16); // ⇨ \n // [\n // 155, 29, 235, 77, 59, 125, 75, 173,\n // 155, 221, 43, 13, 123, 61, 203, 109,\n // 27, 157, 107, 205, 187, 253, 75, 45,\n // 155, 93, 171, 141, 251, 189, 75, 237\n // ]\n```\n\n### Version 1 (Timestamp)\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\n\n// Incantations\nuuidv1();\nuuidv1(options);\nuuidv1(options, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 1 (timestamp) UUID.\n\n- `options` - (Object) Optional uuid state to apply. Properties may include:\n - `node` - (Array) Node id as Array of 6 bytes (per 4.1.6). Default: Randomly generated ID. See note 1.\n - `clockseq` - (Number between 0 - 0x3fff) RFC clock sequence. Default: An internally maintained clockseq is used.\n - `msecs` - (Number) Time in milliseconds since unix Epoch. Default: The current time is used.\n - `nsecs` - (Number between 0-9999) additional time, in 100-nanosecond units. Ignored if `msecs` is unspecified. Default: internal uuid counter is used, as per 4.2.1.2.\n - `random` - (Number[16]) Array of 16 numbers (0-255) to use for initialization of `node` and `clockseq` as described above. Takes precedence over `options.rng`.\n - `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255). Alternative to `options.random`.\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nNote: The default [node id](https://tools.ietf.org/html/rfc4122#section-4.1.6) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process.\n\nExample: Generate string UUID with fully-specified options\n\n```javascript\nconst v1options = {\n node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],\n clockseq: 0x1234,\n msecs: new Date('2011-11-01').getTime(),\n nsecs: 5678,\n};\nuuidv1(v1options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'\n```\n\nExample: In-place generation of two binary IDs\n\n```javascript\n// Generate two ids in an array\nconst arr = new Array();\nuuidv1(null, arr, 0); // ⇨ \n // [\n // 44, 94, 164, 192, 64,\n // 103, 17, 233, 146, 52,\n // 27, 157, 107, 205, 187,\n // 253\n // ]\nuuidv1(null, arr, 16); // ⇨ \n // [\n // 44, 94, 164, 192, 64, 103, 17, 233,\n // 146, 52, 27, 157, 107, 205, 187, 253,\n // 44, 94, 164, 193, 64, 103, 17, 233,\n // 146, 52, 27, 157, 107, 205, 187, 253\n // ]\n```\n\n### Version 5 (Namespace)\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\n// Incantations\nuuidv5(name, namespace);\nuuidv5(name, namespace, buffer);\nuuidv5(name, namespace, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 5 UUID.\n\n- `name` - (String | Array[]) \"name\" to create UUID with\n- `namespace` - (String | Array[]) \"namespace\" UUID either as a String or Array[16] of byte values\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample:\n\n```javascript\nuuidv5('hello world', MY_NAMESPACE); // ⇨ '9f282611-e0fd-5650-8953-89c8e342da0b'\n```\n\n### Version 3 (Namespace)\n\n&#x26a0;&#xfe0f; Note: Per the RFC, \"_If backward compatibility is not an issue, SHA-1 [Version 5] is preferred_.\"\n\n```javascript\nimport { v3 as uuidv3 } from 'uuid';\n\n// Incantations\nuuidv3(name, namespace);\nuuidv3(name, namespace, buffer);\nuuidv3(name, namespace, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 3 UUID.\n\n- `name` - (String | Array[]) \"name\" to create UUID with\n- `namespace` - (String | Array[]) \"namespace\" UUID either as a String or Array[16] of byte values\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample:\n\n```javascript\nuuidv3('hello world', MY_NAMESPACE); // ⇨ '042ffd34-d989-321c-ad06-f60826172424'\n```\n\n## Command Line\n\nUUIDs can be generated from the command line using `uuid`.\n\n```shell\n$ uuid\nddeb27fb-d9a0-4624-be4d-4615062daed4\n```\n\nThe default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:\n\n```\n$ uuid --help\n\nUsage:\n uuid\n uuid v1\n uuid v3 <name> <namespace uuid>\n uuid v4\n uuid v5 <name> <namespace uuid>\n uuid --help\n\nNote: <namespace uuid> may be \"URL\" or \"DNS\" to use the corresponding UUIDs\ndefined by RFC4122\n```\n\n## ECMAScript Modules\n\nFor usage in the browser `uuid` provides support for [ECMAScript\nModules](https://www.ecma-international.org/ecma-262/6.0/#sec-modules) (ESM) that enable\ntree-shaking for bundlers, like [rollup.js](https://rollupjs.org/guide/en/#tree-shaking)\n([example](./examples/browser-rollup/)) and [webpack](https://webpack.js.org/guides/tree-shaking/)\n([example](./examples/browser-webpack/)).\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nThere is experimental native ESM support for [the browser](./examples/browser-esmodules/) but it\nshould not be considered ready for production use and may change or disappear in future releases.\n\nTo run the examples you must first create a dist build of this library in the module root:\n\n```\nnpm run build\n```\n\n## UMD Builds\n\nIf you want to load a minified UMD build directly in the browser you can use one of the popular npm\nCDNs:\n\n```html\n<script src=\"https://unpkg.com/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n<script>\n alert(uuidv4());\n</script>\n```\n\nor\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n<script>\n alert(uuidv4());\n</script>\n```\n\nAvailable bundles:\n\n- https://unpkg.com/uuid@latest/dist/umd/\n- https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/\n\n## \"getRandomValues() not supported\"\n\nThis error occurs in environments where the standard\n[`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)\nAPI is not supported. This issue can be resolved by adding an appropriate polyfill:\n\n| Environment | Suggested Polyfill |\n| ------------ | --------------------------------------------------------------------------------------------------- |\n| React Native | [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme) |\n\n## Upgrading From uuid\\@3\n\n\"_Wait... what happened to uuid\\@4 - uuid\\@6?!?_\"\n\nIn order to avoid confusion with RFC [version 4](#version-4-random) and [version\n5](#version-5-namespace) UUIDs, and a possible [version\n6](http://gh.peabody.io/uuidv6/), releases 4 thru 6 of this module have been\nskipped. Hence, how we're now at uuid\\@7.\n\n### Deep Requires Now Deprecated\n\nuuid\\@3 encouraged the use of deep requires to minimize the bundle size of\nbrowser builds:\n\n```javascript\nconst uuidv4 = require('uuid/v4'); // <== NOW DEPRECATED!\nuuidv4();\n```\n\nAs of uuid\\@7 this library now provides ECMAScript modules builds, which allow\npackagers like Webpack and Rollup to do \"tree-shaking\" to remove dead code.\nInstead, use the `import` syntax:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n... or for CommonJS:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4();\n```\n\n### Default Export Removed\n\nuuid\\@3 was exporting the Version 4 UUID method as a default export:\n\n```javascript\nconst uuid = require('uuid'); // <== REMOVED!\n```\n\nThis usage pattern was already discouraged in uuid\\@3 and has been removed in uuid\\@7.\n\n----\nMarkdown generated from [README_js.md](README_js.md) by [![RunMD Logo](http://i.imgur.com/h0FVyzU.png)](https://github.com/broofa/runmd)",
2122 "readmeFilename": "README.md",
2123 "gitHead": "0da6efbc703a93236087ff55cd9087d2dcdff155",
2124 "bugs": {
2125 "url": "https://github.com/uuidjs/uuid/issues"
2126 },
2127 "homepage": "https://github.com/uuidjs/uuid#readme",
2128 "_id": "[email protected]",
2129 "_nodeVersion": "12.16.0",
2130 "_npmVersion": "6.13.4",
2131 "_npmUser": {
2132 "name": "ctavan",
2133 "email": "[email protected]"
2134 },
2135 "dist": {
2136 "integrity": "sha512-nWN1O0baX9+xv8DxMl6O5ERk0R/4xAuCkosXBNB68m1PReciNwzBoO9xzf8wX4HrXpfbcu9Mpo5mmgLcsDTZlA==",
2137 "shasum": "8cc5d456c79a9dcb527108a799639cbf2e764bab",
2138 "tarball": "https://registry.npmjs.org/uuid/-/uuid-7.0.2-beta.0.tgz",
2139 "fileCount": 49,
2140 "unpackedSize": 91761,
2141 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXW0MCRA9TVsSAnZWagAAvn8QAJHGY0rSQicG6809E5rG\nkOMu13oLNhO27M98xi5uOak2eYG3hsKqDKnngsUDqKj7wbWWyKAEN3kbhOfS\nF97vJaf+DbxQtnbDL5YZSMtYYmOAjpTsAkYP2vnRc2ovWUXRwR0f2O5Q5idX\nHwRLIpIUUsYEwFKq8Re9oTJnLGcQWLWmIdv3lEaujX9fsEInC8hb5aFZGrJJ\nx4HA5hcNcJK6gZt4G6wAqbgqKDvouR73IDOYyFST3G6VwlXD/ZA7Gx6KGqHu\nu+okHWuKybJwK7xJzoa8qs0gdXTmqSc5a6oQGKWFj6C4oa22EMaprDTn27xv\npYf4phKKEKr2UWyhZPVfdW4oeAtinetxM6gV6vLt2f6MQizXekUibzJRzLn+\n9B8bXeEiYOXWK8RZKwPlDl20fOXdYgLjHq/uo7DCh4FOq43nf7q+1eS+r6oo\n21dYXEFvwXYgHtF2JkqfXjN0xfhyt2+JSVEiYH6DJUDC/QRPYVEeitKa6zDK\nyWBNUHP8CidgLUG4Kj3wjQKYqjoMXZNdE0QJpVZZLMj+CjfvqQSPXcLjyc8g\nhGI6B7HTRZVyqt6GyhTVM4L+lwZh79N6flLcWtKYPAv5jSTrGOFAIwWvN2Sh\nVDZJYABAVS0APfqhLV/k1U2h2qZCLWvBcBpoStr09+A77JY67DcUOzxCS2tx\nX9f0\r\n=YJwA\r\n-----END PGP SIGNATURE-----\r\n"
2142 },
2143 "maintainers": [
2144 {
2145 "email": "[email protected]",
2146 "name": "broofa"
2147 },
2148 {
2149 "email": "[email protected]",
2150 "name": "ctavan"
2151 },
2152 {
2153 "email": "[email protected]",
2154 "name": "defunctzombie"
2155 },
2156 {
2157 "email": "[email protected]",
2158 "name": "vvo"
2159 }
2160 ],
2161 "directories": {},
2162 "_npmOperationalInternal": {
2163 "host": "s3://npm-registry-packages",
2164 "tmp": "tmp/uuid_7.0.2-beta.0_1583181068234_0.11125894339297981"
2165 },
2166 "_hasShrinkwrap": false
2167 },
2168 "7.0.2": {
2169 "name": "uuid",
2170 "version": "7.0.2",
2171 "description": "RFC4122 (v1, v4, and v5) UUIDs",
2172 "commitlint": {
2173 "extends": [
2174 "@commitlint/config-conventional"
2175 ]
2176 },
2177 "keywords": [
2178 "uuid",
2179 "guid",
2180 "rfc4122"
2181 ],
2182 "license": "MIT",
2183 "bin": {
2184 "uuid": "dist/bin/uuid"
2185 },
2186 "sideEffects": false,
2187 "main": "dist/index.js",
2188 "module": "dist/esm-node/index.js",
2189 "browser": {
2190 "./dist/md5.js": "./dist/md5-browser.js",
2191 "./dist/rng.js": "./dist/rng-browser.js",
2192 "./dist/sha1.js": "./dist/sha1-browser.js",
2193 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
2194 },
2195 "devDependencies": {
2196 "@babel/cli": "7.8.4",
2197 "@babel/core": "7.8.4",
2198 "@babel/preset-env": "7.8.4",
2199 "@commitlint/cli": "8.3.5",
2200 "@commitlint/config-conventional": "8.3.4",
2201 "@rollup/plugin-node-resolve": "7.1.1",
2202 "babel-eslint": "10.0.3",
2203 "babel-plugin-add-module-exports": "1.0.2",
2204 "browserstack-local": "1.4.5",
2205 "bundlewatch": "0.2.5",
2206 "eslint": "6.8.0",
2207 "eslint-config-prettier": "6.10.0",
2208 "eslint-plugin-prettier": "3.1.2",
2209 "esm": "3.2.25",
2210 "http-server": "0.12.1",
2211 "husky": "3.0.9",
2212 "jest": "25.1.0",
2213 "lint-staged": "10.0.7",
2214 "npm-run-all": "4.1.5",
2215 "prettier": "1.19.1",
2216 "rollup": "1.31.1",
2217 "rollup-plugin-terser": "5.2.0",
2218 "runmd": "1.3.2",
2219 "selenium-webdriver": "3.6.0",
2220 "standard-version": "7.1.0"
2221 },
2222 "scripts": {
2223 "examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build",
2224 "examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build",
2225 "examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build",
2226 "lint": "npm run eslint:check && npm run prettier:check",
2227 "eslint:check": "eslint src/ test/ examples/ *.js",
2228 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
2229 "pretest": "npm run build",
2230 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
2231 "pretest:browser": "npm run build && npm-run-all --parallel examples:**",
2232 "test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*",
2233 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
2234 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
2235 "ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff && npm run bundlewatch",
2236 "bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && CI_REPO_OWNER=uuidjs CI_REPO_NAME=uuid CI_COMMIT_SHA=$GITHUB_SHA CI_BRANCH=${GITHUB_REF##refs/heads/} bundlewatch --config bundlewatch.config.json )",
2237 "md": "runmd --watch --output=README.md README_js.md",
2238 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
2239 "docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
2240 "build": "./scripts/build.sh",
2241 "release": "standard-version --no-verify"
2242 },
2243 "repository": {
2244 "type": "git",
2245 "url": "git+https://github.com/uuidjs/uuid.git"
2246 },
2247 "husky": {
2248 "hooks": {
2249 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
2250 "pre-commit": "lint-staged"
2251 }
2252 },
2253 "lint-staged": {
2254 "*.{js,jsx,json,md}": [
2255 "prettier --write"
2256 ],
2257 "*.{js,jsx}": [
2258 "eslint --fix"
2259 ]
2260 },
2261 "standard-version": {
2262 "scripts": {
2263 "postchangelog": "prettier --write CHANGELOG.md",
2264 "postcommit": "npm run build"
2265 }
2266 },
2267 "contributors": [
2268 {
2269 "name": "Robert Kieffer",
2270 "email": "[email protected]"
2271 },
2272 {
2273 "name": "Christoph Tavan",
2274 "email": "[email protected]"
2275 },
2276 {
2277 "name": "AJ ONeal",
2278 "email": "[email protected]"
2279 },
2280 {
2281 "name": "Vincent Voyer",
2282 "email": "[email protected]"
2283 },
2284 {
2285 "name": "Roman Shtylman",
2286 "email": "[email protected]"
2287 }
2288 ],
2289 "gitHead": "4b61be05c840ba4d6fadf89cc8d4e1bbba7b9b1a",
2290 "bugs": {
2291 "url": "https://github.com/uuidjs/uuid/issues"
2292 },
2293 "homepage": "https://github.com/uuidjs/uuid#readme",
2294 "_id": "[email protected]",
2295 "_nodeVersion": "12.16.0",
2296 "_npmVersion": "6.13.4",
2297 "_npmUser": {
2298 "name": "ctavan",
2299 "email": "[email protected]"
2300 },
2301 "dist": {
2302 "integrity": "sha512-vy9V/+pKG+5ZTYKf+VcphF5Oc6EFiu3W8Nv3P3zIh0EqVI80ZxOzuPfe9EHjkFNvf8+xuTHVeei4Drydlx4zjw==",
2303 "shasum": "7ff5c203467e91f5e0d85cfcbaaf7d2ebbca9be6",
2304 "tarball": "https://registry.npmjs.org/uuid/-/uuid-7.0.2.tgz",
2305 "fileCount": 49,
2306 "unpackedSize": 92084,
2307 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX6O9CRA9TVsSAnZWagAAjlYQAJ5hKsHQkBAKkf1NzVvv\nQ+/w/d3YJgcfrlrDFe2jqbGqooI74L6ueVPlJs4LIKUCpVvhZIvY4yGHI2hY\nYgzFhbffp2i6E8DGKOvrVvKR6+MFh97vAcOzI2ZUAzOtea++arEJLmxcFUxr\n9VXnY7j1GztqULh0p0XPfAXFkCzm/lm/hDTnBMr0A82qGs0u1PoA5haJl2si\nNA7bFMYQX5nXYyRi/sFfLC1aPiyGDoWs5fGFKRjMSsn7gA+oiI83mpWZ5WVn\nKq28bNNDc+aqe3yG9aT7veXXv3aeUnHmEbP8u6gpswh7QG2h+gNmxvDriovy\n08BxDuR89SPwKIzOb3UF/gk6wPSCpMHZ46xqTX8nVjnEfdvZDMQnzpGCIfGz\n8++uhxIFRbAKg+tvCgClS3fFqxZ27Ai1zNBbnNfH/+XjdH+idOZbK5yglWGr\nIAnYkstMmAsSF+dS1Betk+dnHfgUKJHd2zGU8USulhWblvSW3YIpeXNaIQzB\nzWKP9a47Yp+6B33HcqhRWOSnkhj7xsoL0LEhcrYhC8Zk1KSS5uzqucLpnNfG\nDyVzlxj/BUaNUVVsP3HuayAWtkmsVOZm3O6aKXog7IX4keIw1CCcfDM6bnaD\nzd++5iyGEFfgENa7Fl7LKxAQy2Y4Olcy/aUn3S4ht9CF7GGXvuOc9fNwf2QU\nrjjb\r\n=Xkrr\r\n-----END PGP SIGNATURE-----\r\n"
2308 },
2309 "maintainers": [
2310 {
2311 "email": "[email protected]",
2312 "name": "broofa"
2313 },
2314 {
2315 "email": "[email protected]",
2316 "name": "ctavan"
2317 },
2318 {
2319 "email": "[email protected]",
2320 "name": "defunctzombie"
2321 },
2322 {
2323 "email": "[email protected]",
2324 "name": "vvo"
2325 }
2326 ],
2327 "directories": {},
2328 "_npmOperationalInternal": {
2329 "host": "s3://npm-registry-packages",
2330 "tmp": "tmp/uuid_7.0.2_1583326140504_0.43396107706675835"
2331 },
2332 "_hasShrinkwrap": false
2333 },
2334 "7.0.3": {
2335 "name": "uuid",
2336 "version": "7.0.3",
2337 "description": "RFC4122 (v1, v4, and v5) UUIDs",
2338 "commitlint": {
2339 "extends": [
2340 "@commitlint/config-conventional"
2341 ]
2342 },
2343 "keywords": [
2344 "uuid",
2345 "guid",
2346 "rfc4122"
2347 ],
2348 "license": "MIT",
2349 "bin": {
2350 "uuid": "dist/bin/uuid"
2351 },
2352 "sideEffects": false,
2353 "main": "dist/index.js",
2354 "module": "dist/esm-node/index.js",
2355 "browser": {
2356 "./dist/md5.js": "./dist/md5-browser.js",
2357 "./dist/rng.js": "./dist/rng-browser.js",
2358 "./dist/sha1.js": "./dist/sha1-browser.js",
2359 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
2360 },
2361 "devDependencies": {
2362 "@babel/cli": "7.8.4",
2363 "@babel/core": "7.8.7",
2364 "@babel/preset-env": "7.8.7",
2365 "@commitlint/cli": "8.3.5",
2366 "@commitlint/config-conventional": "8.3.4",
2367 "@rollup/plugin-node-resolve": "7.1.1",
2368 "@wdio/browserstack-service": "5.18.7",
2369 "@wdio/cli": "5.18.7",
2370 "@wdio/jasmine-framework": "5.18.6",
2371 "@wdio/local-runner": "5.18.7",
2372 "@wdio/spec-reporter": "5.18.7",
2373 "@wdio/static-server-service": "5.16.10",
2374 "@wdio/sync": "5.18.7",
2375 "babel-eslint": "10.1.0",
2376 "babel-plugin-add-module-exports": "1.0.2",
2377 "bundlewatch": "0.2.6",
2378 "eslint": "6.8.0",
2379 "eslint-config-prettier": "6.10.0",
2380 "eslint-plugin-prettier": "3.1.2",
2381 "husky": "3.0.9",
2382 "jest": "25.1.0",
2383 "lint-staged": "10.0.8",
2384 "npm-run-all": "4.1.5",
2385 "prettier": "1.19.1",
2386 "rollup": "1.32.0",
2387 "rollup-plugin-terser": "5.2.0",
2388 "runmd": "1.3.2",
2389 "standard-version": "7.1.0"
2390 },
2391 "scripts": {
2392 "examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build",
2393 "examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build",
2394 "examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build",
2395 "lint": "npm run eslint:check && npm run prettier:check",
2396 "eslint:check": "eslint src/ test/ examples/ *.js",
2397 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
2398 "pretest": "npm run build",
2399 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
2400 "pretest:browser": "npm run build && npm-run-all --parallel examples:**",
2401 "test:browser": "wdio run ./wdio.conf.js",
2402 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
2403 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
2404 "ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff && npm run bundlewatch",
2405 "bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && bundlewatch --config bundlewatch.config.json )",
2406 "md": "runmd --watch --output=README.md README_js.md",
2407 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
2408 "docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
2409 "build": "./scripts/build.sh",
2410 "release": "standard-version --no-verify"
2411 },
2412 "repository": {
2413 "type": "git",
2414 "url": "git+https://github.com/uuidjs/uuid.git"
2415 },
2416 "husky": {
2417 "hooks": {
2418 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
2419 "pre-commit": "lint-staged"
2420 }
2421 },
2422 "lint-staged": {
2423 "*.{js,jsx,json,md}": [
2424 "prettier --write"
2425 ],
2426 "*.{js,jsx}": [
2427 "eslint --fix"
2428 ]
2429 },
2430 "standard-version": {
2431 "scripts": {
2432 "postchangelog": "prettier --write CHANGELOG.md",
2433 "postcommit": "npm run build"
2434 }
2435 },
2436 "contributors": [
2437 {
2438 "name": "Robert Kieffer",
2439 "email": "[email protected]"
2440 },
2441 {
2442 "name": "Christoph Tavan",
2443 "email": "[email protected]"
2444 },
2445 {
2446 "name": "AJ ONeal",
2447 "email": "[email protected]"
2448 },
2449 {
2450 "name": "Vincent Voyer",
2451 "email": "[email protected]"
2452 },
2453 {
2454 "name": "Roman Shtylman",
2455 "email": "[email protected]"
2456 }
2457 ],
2458 "gitHead": "4fcd881246f102239fa386f958ec0e5f83b53bbe",
2459 "bugs": {
2460 "url": "https://github.com/uuidjs/uuid/issues"
2461 },
2462 "homepage": "https://github.com/uuidjs/uuid#readme",
2463 "_id": "[email protected]",
2464 "_nodeVersion": "12.16.1",
2465 "_npmVersion": "6.13.4",
2466 "_npmUser": {
2467 "name": "ctavan",
2468 "email": "[email protected]"
2469 },
2470 "dist": {
2471 "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==",
2472 "shasum": "c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b",
2473 "tarball": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz",
2474 "fileCount": 50,
2475 "unpackedSize": 92933,
2476 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeg5zlCRA9TVsSAnZWagAA67UP/0v7FNDUajl++p6xis/E\nyX/iTGa9FhCdz0usy/6trk20kx8RqF4Li0NrQ50r5GOCfFqFYgxbaweJIJM8\nZytCMDxfM4v/gVDwms92hV7BIVWcq+kPcReW8aDliUAWPIx33HnpCkPya7lG\nYbDv6vto4JJNggasmNF9dt5BTu4oof4q2t6VDXC1tMVHQ9SbsQo+0rpiTPDZ\nq+0py4XaNMKx0v1WH81pghxWr+z1AKn2pdx+24E4J4WUn/cA1Z0D7nN+HaTb\nckPlMx4yFJZDxT+EqdtQOHp7kxGht9Xk4xJD5bpUDyLcuurhQeNLLYiI/ynO\n4Txd8Tdby5INbAp9NCHMvzGmLQiZrfOLz54s2l6At3oQfDYShljIGouSgWtI\nktp7A1e5woBLk5KHTYssvDNZmFRBiL743rFGzFF+ZZ7eWT66aGqzDu52wpKF\nRcKidJp7jOgRHA3LruF9byaab6ApmO5tnNIF3qxG1DaAYIOCpHawjgcf+xAx\nDcF0cZy1jUnnOlziH3AwPfs99LlERHJViLXWReX/9jqzN9tp1R7BJQ6nIxjM\ngXp5IEjIe8r68jTbCyDMiwbfsW3//5qrSCvsOfAdQIcZBSeCWsbSblspABtS\nbM7ysSh6srvHNTj2q/zQm2zHxuGyl5beJrhP5n3jUM9IWOU1UYlhfa6nNV7T\nb7H7\r\n=76Y4\r\n-----END PGP SIGNATURE-----\r\n"
2477 },
2478 "maintainers": [
2479 {
2480 "email": "[email protected]",
2481 "name": "broofa"
2482 },
2483 {
2484 "email": "[email protected]",
2485 "name": "ctavan"
2486 },
2487 {
2488 "email": "[email protected]",
2489 "name": "defunctzombie"
2490 },
2491 {
2492 "email": "[email protected]",
2493 "name": "vvo"
2494 }
2495 ],
2496 "directories": {},
2497 "_npmOperationalInternal": {
2498 "host": "s3://npm-registry-packages",
2499 "tmp": "tmp/uuid_7.0.3_1585683684668_0.7417149445973905"
2500 },
2501 "_hasShrinkwrap": false
2502 },
2503 "8.0.0-beta.0": {
2504 "name": "uuid",
2505 "version": "8.0.0-beta.0",
2506 "description": "RFC4122 (v1, v4, and v5) UUIDs",
2507 "commitlint": {
2508 "extends": [
2509 "@commitlint/config-conventional"
2510 ]
2511 },
2512 "keywords": [
2513 "uuid",
2514 "guid",
2515 "rfc4122"
2516 ],
2517 "license": "MIT",
2518 "bin": {
2519 "uuid": "dist/bin/uuid"
2520 },
2521 "sideEffects": false,
2522 "main": "./dist/index.js",
2523 "exports": {
2524 "require": "./dist/index.js",
2525 "import": "./wrapper.mjs"
2526 },
2527 "module": "./dist/esm-node/index.js",
2528 "browser": {
2529 "./dist/md5.js": "./dist/md5-browser.js",
2530 "./dist/rng.js": "./dist/rng-browser.js",
2531 "./dist/sha1.js": "./dist/sha1-browser.js",
2532 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
2533 },
2534 "devDependencies": {
2535 "@babel/cli": "7.8.4",
2536 "@babel/core": "7.9.0",
2537 "@babel/preset-env": "7.9.5",
2538 "@commitlint/cli": "8.3.5",
2539 "@commitlint/config-conventional": "8.3.4",
2540 "@rollup/plugin-node-resolve": "7.1.3",
2541 "@wdio/browserstack-service": "6.0.12",
2542 "@wdio/cli": "6.0.15",
2543 "@wdio/jasmine-framework": "6.0.15",
2544 "@wdio/local-runner": "6.0.15",
2545 "@wdio/spec-reporter": "6.0.14",
2546 "@wdio/static-server-service": "6.0.13",
2547 "@wdio/sync": "6.0.15",
2548 "babel-eslint": "10.1.0",
2549 "bundlewatch": "0.2.6",
2550 "eslint": "6.8.0",
2551 "eslint-config-prettier": "6.10.1",
2552 "eslint-plugin-prettier": "3.1.3",
2553 "husky": "4.2.5",
2554 "jest": "25.3.0",
2555 "lint-staged": "10.1.3",
2556 "npm-run-all": "4.1.5",
2557 "prettier": "2.0.4",
2558 "rollup": "2.6.1",
2559 "rollup-plugin-terser": "5.3.0",
2560 "runmd": "1.3.2",
2561 "standard-version": "7.1.0"
2562 },
2563 "scripts": {
2564 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
2565 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
2566 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
2567 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
2568 "lint": "npm run eslint:check && npm run prettier:check",
2569 "eslint:check": "eslint src/ test/ examples/ *.js",
2570 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
2571 "pretest": "[ -n $CI ] || npm run build",
2572 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
2573 "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
2574 "test:browser": "wdio run ./wdio.conf.js",
2575 "pretest:node": "npm run build",
2576 "test:node": "npm-run-all --parallel examples:node:**",
2577 "test:pack": "./scripts/testpack.sh",
2578 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
2579 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
2580 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
2581 "md": "runmd --watch --output=README.md README_js.md",
2582 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
2583 "docs:diff": "npm run docs && git diff --quiet README.md",
2584 "build": "./scripts/build.sh",
2585 "prepack": "npm run build",
2586 "release": "standard-version --no-verify"
2587 },
2588 "repository": {
2589 "type": "git",
2590 "url": "git+https://github.com/uuidjs/uuid.git"
2591 },
2592 "husky": {
2593 "hooks": {
2594 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
2595 "pre-commit": "lint-staged"
2596 }
2597 },
2598 "lint-staged": {
2599 "*.{js,jsx,json,md}": [
2600 "prettier --write"
2601 ],
2602 "*.{js,jsx}": [
2603 "eslint --fix"
2604 ]
2605 },
2606 "standard-version": {
2607 "scripts": {
2608 "postchangelog": "prettier --write CHANGELOG.md"
2609 }
2610 },
2611 "contributors": [
2612 {
2613 "name": "Robert Kieffer",
2614 "email": "[email protected]"
2615 },
2616 {
2617 "name": "Christoph Tavan",
2618 "email": "[email protected]"
2619 },
2620 {
2621 "name": "AJ ONeal",
2622 "email": "[email protected]"
2623 },
2624 {
2625 "name": "Vincent Voyer",
2626 "email": "[email protected]"
2627 },
2628 {
2629 "name": "Roman Shtylman",
2630 "email": "[email protected]"
2631 }
2632 ],
2633 "readme": "<!--\n -- This file is auto-generated from README_js.md. Changes should be made there.\n -->\n\n# uuid [![Build Status](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions)\n\nFor the creation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDs\n\n- **Complete** - Support for RFC4122 version 1, 3, 4, and 5 UUIDs\n- **Cross-platform** - Support for ...\n - CommonJS, [ECMAScript Modules](#ecmascript-modules) and UMD builds\n - Node 8, 10, 12, 14\n - Chrome, Safari, Firefox, Edge, IE 11 browsers\n - Webpack and rollup.js module bundlers\n - [React Native](#react-native)\n- **Secure** - Cryptographically-strong random values\n- **Small** - Zero-dependency, small footprint, plays nice with \"tree shaking\" packagers\n- **CLI** - Includes the [`uuid` command line](#command-line) utility\n\n**Upgrading from uuid\\@3?** Your code is probably okay, but check out [Upgrading\nFrom uuid\\@3](#upgrading-from-uuid3) for details.\n\n## Quickstart\n\n```shell\nnpm install uuid\n```\n\nOnce installed, decide which type of UUID you need. RFC4122 provides for four\nversions, all of which are supported here. In order of popularity, they are:\n\n- Version 4 (random) - Created from cryptographically-strong random values\n- Version 1 (timestamp) - Created from the system clock (plus random values)\n- Version 5 (namespace, SHA-1) - Created from user-supplied name and namespace strings\n- Version 3 (namespace, MD5) - Like version 5, above, but with a poorer hash algorithm\n\n**Unsure which one to use?** Use version 4 (random) unless you have a specific need for one of the other versions. See also [this FAQ](https://github.com/tc39/proposal-uuid#faq).\n\n### Create Version 4 (Random) UUIDs\n\nECMAScript Module syntax:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'\n```\n\nCommonJS syntax:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\n### Create Version 1 (Timestamp) UUIDs\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\nuuidv1(); // ⇨ '2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d'\n```\n\n### Create Version 3 or Version 5 (Namespace) UUIDs\n\n&#x26a0;&#xfe0f; Version 3 and Version 5 UUIDs are basically the same, differing\nonly in the underlying hash algorithm. Note that per the RFC, \"_If backward\ncompatibility is not an issue, SHA-1 [Version 5] is preferred_.\"\n\n&#x26a0;&#xfe0f; If using a custom namespace **be sure to generate your own\nnamespace UUID**. You can grab one [here](https://www.uuidgenerator.net/).\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid'; // For version 5\nimport { v3 as uuidv3 } from 'uuid'; // For version 3\n\n// Using predefined DNS namespace (for domain names)\nuuidv5('hello.example.com', uuidv5.DNS); // ⇨ 'fdda765f-fc57-5604-a269-52a7df8164ec'\nuuidv3('hello.example.com', uuidv3.DNS); // ⇨ '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'\n\n// Using predefined URL namespace (for URLs)\nuuidv5('http://example.com/hello', uuidv5.URL); // ⇨ '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'\nuuidv3('http://example.com/hello', uuidv3.URL); // ⇨ 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'\n\n// Using a custom namespace (See note, above, about generating your own\n// namespace UUID)\nconst MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';\nuuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681'\nuuidv3('Hello, World!', MY_NAMESPACE); // ⇨ 'e8b5a51d-11c8-3310-a6ab-367563f20686'\n```\n\n## API\n\n### Version 4 (Random)\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\n\n// Incantations\nuuidv4();\nuuidv4(options);\nuuidv4(options, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 4 UUID.\n\n- `options` - (Object) Optional uuid state to apply. Properties may include:\n - `random` - (Number[16]) Array of 16 numbers (0-255) to use in place of randomly generated values. Takes precedence over `options.rng`.\n - `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255). Alternative to `options.random`.\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample: Generate string UUID with predefined `random` values\n\n```javascript\nconst v4options = {\n random: [\n 0x10,\n 0x91,\n 0x56,\n 0xbe,\n 0xc4,\n 0xfb,\n 0xc1,\n 0xea,\n 0x71,\n 0xb4,\n 0xef,\n 0xe1,\n 0x67,\n 0x1c,\n 0x58,\n 0x36,\n ],\n};\nuuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'\n```\n\nExample: Generate two IDs in a single buffer\n\n```javascript\nconst buffer = new Array();\nuuidv4(null, buffer, 0); // ⇨ \n // [\n // 27, 157, 107, 205, 187,\n // 253, 75, 45, 155, 93,\n // 171, 141, 251, 189, 75,\n // 237\n // ]\nuuidv4(null, buffer, 16); // ⇨ \n // [\n // 27, 157, 107, 205, 187, 253, 75, 45,\n // 155, 93, 171, 141, 251, 189, 75, 237,\n // 155, 29, 235, 77, 59, 125, 75, 173,\n // 155, 221, 43, 13, 123, 61, 203, 109\n // ]\n```\n\n### Version 1 (Timestamp)\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\n\n// Incantations\nuuidv1();\nuuidv1(options);\nuuidv1(options, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 1 (timestamp) UUID.\n\n- `options` - (Object) Optional uuid state to apply. Properties may include:\n - `node` - (Array) Node id as Array of 6 bytes (per 4.1.6). Default: Randomly generated ID. See note 1.\n - `clockseq` - (Number between 0 - 0x3fff) RFC clock sequence. Default: An internally maintained clockseq is used.\n - `msecs` - (Number) Time in milliseconds since unix Epoch. Default: The current time is used.\n - `nsecs` - (Number between 0-9999) additional time, in 100-nanosecond units. Ignored if `msecs` is unspecified. Default: internal uuid counter is used, as per 4.2.1.2.\n - `random` - (Number[16]) Array of 16 numbers (0-255) to use for initialization of `node` and `clockseq` as described above. Takes precedence over `options.rng`.\n - `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255). Alternative to `options.random`.\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nNote: The default [node id](https://tools.ietf.org/html/rfc4122#section-4.1.6) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process.\n\nExample: Generate string UUID with fully-specified options\n\n```javascript\nconst v1options = {\n node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],\n clockseq: 0x1234,\n msecs: new Date('2011-11-01').getTime(),\n nsecs: 5678,\n};\nuuidv1(v1options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'\n```\n\nExample: In-place generation of two binary IDs\n\n```javascript\n// Generate two ids in an array\nconst arr = new Array();\nuuidv1(null, arr, 0); // ⇨ \n // [\n // 44, 94, 164, 192, 64, 103,\n // 17, 233, 146, 52, 155, 29,\n // 235, 77, 59, 125\n // ]\nuuidv1(null, arr, 16); // ⇨ \n // [\n // 44, 94, 164, 192, 64, 103, 17, 233,\n // 146, 52, 155, 29, 235, 77, 59, 125,\n // 44, 94, 164, 193, 64, 103, 17, 233,\n // 146, 52, 155, 29, 235, 77, 59, 125\n // ]\n```\n\n### Version 5 (Namespace)\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\n// Incantations\nuuidv5(name, namespace);\nuuidv5(name, namespace, buffer);\nuuidv5(name, namespace, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 5 UUID.\n\n- `name` - (String | Array[]) \"name\" to create UUID with\n- `namespace` - (String | Array[]) \"namespace\" UUID either as a String or Array[16] of byte values\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample:\n\n```javascript\nuuidv5('hello world', MY_NAMESPACE); // ⇨ '9f282611-e0fd-5650-8953-89c8e342da0b'\n```\n\n### Version 3 (Namespace)\n\n&#x26a0;&#xfe0f; Note: Per the RFC, \"_If backward compatibility is not an issue, SHA-1 [Version 5] is preferred_.\"\n\n```javascript\nimport { v3 as uuidv3 } from 'uuid';\n\n// Incantations\nuuidv3(name, namespace);\nuuidv3(name, namespace, buffer);\nuuidv3(name, namespace, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 3 UUID.\n\n- `name` - (String | Array[]) \"name\" to create UUID with\n- `namespace` - (String | Array[]) \"namespace\" UUID either as a String or Array[16] of byte values\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample:\n\n```javascript\nuuidv3('hello world', MY_NAMESPACE); // ⇨ '042ffd34-d989-321c-ad06-f60826172424'\n```\n\n## Command Line\n\nUUIDs can be generated from the command line using `uuid`.\n\n```shell\n$ uuid\nddeb27fb-d9a0-4624-be4d-4615062daed4\n```\n\nThe default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:\n\n```\n$ uuid --help\n\nUsage:\n uuid\n uuid v1\n uuid v3 <name> <namespace uuid>\n uuid v4\n uuid v5 <name> <namespace uuid>\n uuid --help\n\nNote: <namespace uuid> may be \"URL\" or \"DNS\" to use the corresponding UUIDs\ndefined by RFC4122\n```\n\n## ECMAScript Modules\n\nThis library comes with [ECMAScript\nModules](https://www.ecma-international.org/ecma-262/6.0/#sec-modules) (ESM) support for Node.js\nversions that support it ([example](./examples/node-esmodules/)) as well as bundlers like\n[rollup.js](https://rollupjs.org/guide/en/#tree-shaking) ([example](./examples/browser-rollup/))\nand [webpack](https://webpack.js.org/guides/tree-shaking/)\n([example](./examples/browser-webpack/)) (targeting both, Node.js and browser environments).\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nTo run the examples you must first create a dist build of this library in the module root:\n\n```\nnpm run build\n```\n\n## UMD Builds\n\nIf you want to load a minified UMD build directly in the browser you can use one of the popular npm\nCDNs:\n\n```html\n<script src=\"https://unpkg.com/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n<script>\n alert(uuidv4());\n</script>\n```\n\nor\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n<script>\n alert(uuidv4());\n</script>\n```\n\nAvailable bundles:\n\n- https://unpkg.com/uuid@latest/dist/umd/\n- https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/\n\n## \"getRandomValues() not supported\"\n\nThis error occurs in environments where the standard\n[`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues)\nAPI is not supported. This issue can be resolved by adding an appropriate polyfill:\n\n### React Native\n\n1. Install [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme)\n1. Import it before `uuid`:\n\n```javascript\nimport 'react-native-get-random-values';\nimport { v4 as uuidv4 } from 'uuid';\n```\n\n### Web Workers / Service Workers (Edge <= 18)\n\n[In Edge <= 18, Web Crypto is not supported in Web Workers or Service\nWorkers](https://caniuse.com/#feat=cryptography) and we are not aware of a polyfill (let us know if\nyou find one, please).\n\n## Upgrading From uuid\\@7\n\n### Only Named Exports Supported When Using with Node.js ESM\n\nuuid\\@7 did not come with native ECMAScript Module (ESM) support for Node.js. Importing it in\nNode.js ESM consequently imported the CommonJS source with a default export. This library now comes\nwith true Node.js ESM support and only provides named exports.\n\nInstead of doing:\n\n```javascript\nimport uuid from 'uuid';\nuuid.v4();\n```\n\nyou will now have to use the named exports:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n### Deep Requires No Longer Supported\n\nDeep requires like `require('uuid/v4')` [which have been deprecated in\nuuid\\@7](#deep-requires-now-deprecated) are no longer supported.\n\n## Upgrading From uuid\\@3\n\n\"_Wait... what happened to uuid\\@4 - uuid\\@6?!?_\"\n\nIn order to avoid confusion with RFC [version 4](#version-4-random) and [version\n5](#version-5-namespace) UUIDs, and a possible [version\n6](http://gh.peabody.io/uuidv6/), releases 4 thru 6 of this module have been\nskipped. Hence, how we're now at uuid\\@7.\n\n### Deep Requires Now Deprecated\n\nuuid\\@3 encouraged the use of deep requires to minimize the bundle size of\nbrowser builds:\n\n```javascript\nconst uuidv4 = require('uuid/v4'); // <== NOW DEPRECATED!\nuuidv4();\n```\n\nAs of uuid\\@7 this library now provides ECMAScript modules builds, which allow\npackagers like Webpack and Rollup to do \"tree-shaking\" to remove dead code.\nInstead, use the `import` syntax:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n... or for CommonJS:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4();\n```\n\n### Default Export Removed\n\nuuid\\@3 was exporting the Version 4 UUID method as a default export:\n\n```javascript\nconst uuid = require('uuid'); // <== REMOVED!\n```\n\nThis usage pattern was already discouraged in uuid\\@3 and has been removed in uuid\\@7.\n\n----\nMarkdown generated from [README_js.md](README_js.md) by [![RunMD Logo](http://i.imgur.com/h0FVyzU.png)](https://github.com/broofa/runmd)",
2634 "readmeFilename": "README.md",
2635 "gitHead": "99d65afdc42b98377842756c0743bc38dcb03570",
2636 "bugs": {
2637 "url": "https://github.com/uuidjs/uuid/issues"
2638 },
2639 "homepage": "https://github.com/uuidjs/uuid#readme",
2640 "_id": "[email protected]",
2641 "_nodeVersion": "12.16.2",
2642 "_npmVersion": "6.14.4",
2643 "_npmUser": {
2644 "name": "ctavan",
2645 "email": "[email protected]"
2646 },
2647 "dist": {
2648 "integrity": "sha512-Ql2iMiWxJYtI3biUynCFc1J1XS6rOWhv8zN60bWh0hHwJsYZQ4jM0Z2614qS6cyPRRDOu6NVz+cLmCLt6G8eMw==",
2649 "shasum": "93e7d8e269022a2fa2027d6a77d4129de877fadb",
2650 "tarball": "https://registry.npmjs.org/uuid/-/uuid-8.0.0-beta.0.tgz",
2651 "fileCount": 46,
2652 "unpackedSize": 91304,
2653 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqeHhCRA9TVsSAnZWagAAnpkP/0679ao/BXaHII9VD9bV\noDN88fiLKeGq75k2kv10eszV2vmnkkkQI9k3609kcDSdZhamDEg5080eJpwO\nEhTBNyhYefqRiYj6Z69iw3VI3mfdRXaOtl1sFzECZVDQLX5Gd8xLhbOVlzwc\nWZyKrn58plFTuN6o6rhlZb7uWUZ11nTqW7et8Dp2b8qLXjDc6SopAQZt2TpM\neLfpe+eJoFrGHaKSUtJobXuh9gsgGttR3mk7Jnx4Py/dbgeXM5FIQlou8DzI\n+8xuud/e3IFDc/E85eLNUtJPmvDtMOxKAsr1X+/s1CxDVT2GHaw+myNFH6Gk\nk6JUmiWPwwVXt0GOQI9kgDfYEOdCtIQSt7CbjJjcjF7Ta8tlrDnqJKQCCgFl\nhXu6paimY4qgFW61/zbE3WleYMb9ktCAlrgWJtQa6Yj4LaVh+lTaPxKcgQCH\nXJAS8J4ZvR5+ixoKenX3qXogw56Z3kM3ucrXiY3iECxqOkAl1/Bl1FyJ6MN/\n7ZkcrfhZ1QFXKu2he6GmdoHUQ8N6g+33gnTYwlj2f6JsY4E1DRAC0ja08HIl\nCY9x8s6LyH+IfrJvRn1UarefQMPaYRXHadhbzjA8csPf2THV5L5zOjOQ21My\nQzu806y7mDIV2X8u37q1v6rrS6G8xvPnUpuNAUrwLL3dI12XxM3PA71xQXkZ\nw8fo\r\n=qoi5\r\n-----END PGP SIGNATURE-----\r\n"
2654 },
2655 "maintainers": [
2656 {
2657 "email": "[email protected]",
2658 "name": "broofa"
2659 },
2660 {
2661 "email": "[email protected]",
2662 "name": "ctavan"
2663 },
2664 {
2665 "email": "[email protected]",
2666 "name": "defunctzombie"
2667 },
2668 {
2669 "email": "[email protected]",
2670 "name": "vvo"
2671 }
2672 ],
2673 "directories": {},
2674 "_npmOperationalInternal": {
2675 "host": "s3://npm-registry-packages",
2676 "tmp": "tmp/uuid_8.0.0-beta.0_1588191712623_0.4997152339873798"
2677 },
2678 "_hasShrinkwrap": false
2679 },
2680 "8.0.0": {
2681 "name": "uuid",
2682 "version": "8.0.0",
2683 "description": "RFC4122 (v1, v4, and v5) UUIDs",
2684 "commitlint": {
2685 "extends": [
2686 "@commitlint/config-conventional"
2687 ]
2688 },
2689 "keywords": [
2690 "uuid",
2691 "guid",
2692 "rfc4122"
2693 ],
2694 "license": "MIT",
2695 "bin": {
2696 "uuid": "dist/bin/uuid"
2697 },
2698 "sideEffects": false,
2699 "main": "./dist/index.js",
2700 "exports": {
2701 "require": "./dist/index.js",
2702 "import": "./wrapper.mjs"
2703 },
2704 "module": "./dist/esm-node/index.js",
2705 "browser": {
2706 "./dist/md5.js": "./dist/md5-browser.js",
2707 "./dist/rng.js": "./dist/rng-browser.js",
2708 "./dist/sha1.js": "./dist/sha1-browser.js",
2709 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
2710 },
2711 "devDependencies": {
2712 "@babel/cli": "7.8.4",
2713 "@babel/core": "7.9.0",
2714 "@babel/preset-env": "7.9.5",
2715 "@commitlint/cli": "8.3.5",
2716 "@commitlint/config-conventional": "8.3.4",
2717 "@rollup/plugin-node-resolve": "7.1.3",
2718 "@wdio/browserstack-service": "6.0.12",
2719 "@wdio/cli": "6.0.15",
2720 "@wdio/jasmine-framework": "6.0.15",
2721 "@wdio/local-runner": "6.0.15",
2722 "@wdio/spec-reporter": "6.0.14",
2723 "@wdio/static-server-service": "6.0.13",
2724 "@wdio/sync": "6.0.15",
2725 "babel-eslint": "10.1.0",
2726 "bundlewatch": "0.2.6",
2727 "eslint": "6.8.0",
2728 "eslint-config-prettier": "6.10.1",
2729 "eslint-plugin-prettier": "3.1.3",
2730 "husky": "4.2.5",
2731 "jest": "25.3.0",
2732 "lint-staged": "10.1.3",
2733 "npm-run-all": "4.1.5",
2734 "prettier": "2.0.4",
2735 "rollup": "2.6.1",
2736 "rollup-plugin-terser": "5.3.0",
2737 "runmd": "1.3.2",
2738 "standard-version": "7.1.0"
2739 },
2740 "scripts": {
2741 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
2742 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
2743 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
2744 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
2745 "lint": "npm run eslint:check && npm run prettier:check",
2746 "eslint:check": "eslint src/ test/ examples/ *.js",
2747 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
2748 "pretest": "[ -n $CI ] || npm run build",
2749 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
2750 "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
2751 "test:browser": "wdio run ./wdio.conf.js",
2752 "pretest:node": "npm run build",
2753 "test:node": "npm-run-all --parallel examples:node:**",
2754 "test:pack": "./scripts/testpack.sh",
2755 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
2756 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
2757 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
2758 "md": "runmd --watch --output=README.md README_js.md",
2759 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
2760 "docs:diff": "npm run docs && git diff --quiet README.md",
2761 "build": "./scripts/build.sh",
2762 "prepack": "npm run build",
2763 "release": "standard-version --no-verify"
2764 },
2765 "repository": {
2766 "type": "git",
2767 "url": "git+https://github.com/uuidjs/uuid.git"
2768 },
2769 "husky": {
2770 "hooks": {
2771 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
2772 "pre-commit": "lint-staged"
2773 }
2774 },
2775 "lint-staged": {
2776 "*.{js,jsx,json,md}": [
2777 "prettier --write"
2778 ],
2779 "*.{js,jsx}": [
2780 "eslint --fix"
2781 ]
2782 },
2783 "standard-version": {
2784 "scripts": {
2785 "postchangelog": "prettier --write CHANGELOG.md"
2786 }
2787 },
2788 "contributors": [
2789 {
2790 "name": "Robert Kieffer",
2791 "email": "[email protected]"
2792 },
2793 {
2794 "name": "Christoph Tavan",
2795 "email": "[email protected]"
2796 },
2797 {
2798 "name": "AJ ONeal",
2799 "email": "[email protected]"
2800 },
2801 {
2802 "name": "Vincent Voyer",
2803 "email": "[email protected]"
2804 },
2805 {
2806 "name": "Roman Shtylman",
2807 "email": "[email protected]"
2808 }
2809 ],
2810 "gitHead": "a7d3d517382490eda6dd21158e5413261c45ccdd",
2811 "bugs": {
2812 "url": "https://github.com/uuidjs/uuid/issues"
2813 },
2814 "homepage": "https://github.com/uuidjs/uuid#readme",
2815 "_id": "[email protected]",
2816 "_nodeVersion": "12.16.2",
2817 "_npmVersion": "6.14.4",
2818 "_npmUser": {
2819 "name": "ctavan",
2820 "email": "[email protected]"
2821 },
2822 "dist": {
2823 "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==",
2824 "shasum": "bc6ccf91b5ff0ac07bbcdbf1c7c4e150db4dbb6c",
2825 "tarball": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz",
2826 "fileCount": 46,
2827 "unpackedSize": 92955,
2828 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqeazCRA9TVsSAnZWagAAXeAP/Rtdc7+Dt5TYs8hZ4NHM\nM/RTUFQsLzjfu6Z5Y8oFVNtRYKaAA0VrWPO6YSYs1RTF1JLRujkGrVw/rn6g\nVK7XwfJna4YS3iOLcg8r8UtNF+dSNcWNcxDF3s9c74WdU6Y4uNzx36prO738\n3XOUluCw2G82AzlY+/D7FZcMhjnDa42ZIU78NQ7NSeUBUQyLfVa+acSAALSi\nmX79a77iF/m+AVfLasb5WjYHM87IFi+HEC48ZYJN1p8rE2fRPUReZtjh7ppZ\nwCLEyyIDTagS9/1bjrP/MCzvGKoBTHl8hELRKMWnZ/aL0QFuHYd7XjFNnILN\nnoTn/B/ZRheZdywH9dh2XlyyoGEOH6UnfsBT/QWCyYrnLTRCYkBLeVUioOZr\ncvDK5Dbb1flkkbUZTfzR9bXdLhsq25c76f1DDRbz1oW3HrhrPI9BXanF3ikR\n6nfKz4vJUgU71bQevXIXjG3QTWlxWODWsb7RPfDK2XpndpBwwn1ztdMBbWBE\nhxcpzCuwfz4PU6xB930GjEw/eN3QbUL/2Ocq22TFupl5hyebg77Gm+nhENNm\nA0rpZ+6XYicFUflDFIiOyPZzu4cKup5esxfC+tJNCYaAUF0jQGmg1BdnjNqQ\n1Ifm08U/3yvft8JG6RkEWFoXqQDk6Qw+AuLfOO3YU/6Vc4Zjyp9hATZ8WvWF\nKjwJ\r\n=Hsnx\r\n-----END PGP SIGNATURE-----\r\n"
2829 },
2830 "maintainers": [
2831 {
2832 "email": "[email protected]",
2833 "name": "broofa"
2834 },
2835 {
2836 "email": "[email protected]",
2837 "name": "ctavan"
2838 },
2839 {
2840 "email": "[email protected]",
2841 "name": "defunctzombie"
2842 },
2843 {
2844 "email": "[email protected]",
2845 "name": "vvo"
2846 }
2847 ],
2848 "directories": {},
2849 "_npmOperationalInternal": {
2850 "host": "s3://npm-registry-packages",
2851 "tmp": "tmp/uuid_8.0.0_1588192946684_0.9321919222541137"
2852 },
2853 "_hasShrinkwrap": false
2854 },
2855 "8.1.0": {
2856 "name": "uuid",
2857 "version": "8.1.0",
2858 "description": "RFC4122 (v1, v4, and v5) UUIDs",
2859 "commitlint": {
2860 "extends": [
2861 "@commitlint/config-conventional"
2862 ]
2863 },
2864 "keywords": [
2865 "uuid",
2866 "guid",
2867 "rfc4122"
2868 ],
2869 "license": "MIT",
2870 "bin": {
2871 "uuid": "dist/bin/uuid"
2872 },
2873 "sideEffects": false,
2874 "main": "./dist/index.js",
2875 "exports": {
2876 "./package.json": "./package.json",
2877 ".": {
2878 "require": "./dist/index.js",
2879 "import": "./wrapper.mjs"
2880 }
2881 },
2882 "module": "./dist/esm-node/index.js",
2883 "browser": {
2884 "./dist/md5.js": "./dist/md5-browser.js",
2885 "./dist/rng.js": "./dist/rng-browser.js",
2886 "./dist/sha1.js": "./dist/sha1-browser.js",
2887 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
2888 },
2889 "devDependencies": {
2890 "@babel/cli": "7.8.4",
2891 "@babel/core": "7.9.0",
2892 "@babel/preset-env": "7.9.5",
2893 "@commitlint/cli": "8.3.5",
2894 "@commitlint/config-conventional": "8.3.4",
2895 "@rollup/plugin-node-resolve": "7.1.3",
2896 "@wdio/browserstack-service": "6.0.12",
2897 "@wdio/cli": "6.0.15",
2898 "@wdio/jasmine-framework": "6.0.15",
2899 "@wdio/local-runner": "6.0.15",
2900 "@wdio/spec-reporter": "6.0.14",
2901 "@wdio/static-server-service": "6.0.13",
2902 "@wdio/sync": "6.0.15",
2903 "babel-eslint": "10.1.0",
2904 "bundlewatch": "0.2.6",
2905 "eslint": "6.8.0",
2906 "eslint-config-prettier": "6.10.1",
2907 "eslint-config-standard": "14.1.1",
2908 "eslint-plugin-import": "2.20.2",
2909 "eslint-plugin-node": "11.1.0",
2910 "eslint-plugin-prettier": "3.1.3",
2911 "eslint-plugin-promise": "4.2.1",
2912 "eslint-plugin-standard": "4.0.1",
2913 "husky": "4.2.5",
2914 "jest": "25.3.0",
2915 "lint-staged": "10.1.3",
2916 "npm-run-all": "4.1.5",
2917 "prettier": "2.0.4",
2918 "rollup": "2.6.1",
2919 "rollup-plugin-terser": "5.3.0",
2920 "runmd": "1.3.2",
2921 "standard-version": "7.1.0"
2922 },
2923 "scripts": {
2924 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
2925 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
2926 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
2927 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
2928 "lint": "npm run eslint:check && npm run prettier:check",
2929 "eslint:check": "eslint src/ test/ examples/ *.js",
2930 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
2931 "pretest": "[ -n $CI ] || npm run build",
2932 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
2933 "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
2934 "test:browser": "wdio run ./wdio.conf.js",
2935 "pretest:node": "npm run build",
2936 "test:node": "npm-run-all --parallel examples:node:**",
2937 "test:pack": "./scripts/testpack.sh",
2938 "pretest:benchmark": "npm run build",
2939 "test:benchmark": "cd examples/benchmark && npm install && npm test",
2940 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
2941 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
2942 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
2943 "md": "runmd --watch --output=README.md README_js.md",
2944 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
2945 "docs:diff": "npm run docs && git diff --quiet README.md",
2946 "build": "./scripts/build.sh",
2947 "prepack": "npm run build",
2948 "release": "standard-version --no-verify"
2949 },
2950 "repository": {
2951 "type": "git",
2952 "url": "git+https://github.com/uuidjs/uuid.git"
2953 },
2954 "husky": {
2955 "hooks": {
2956 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
2957 "pre-commit": "lint-staged"
2958 }
2959 },
2960 "lint-staged": {
2961 "*.{js,jsx,json,md}": [
2962 "prettier --write"
2963 ],
2964 "*.{js,jsx}": [
2965 "eslint --fix"
2966 ]
2967 },
2968 "standard-version": {
2969 "scripts": {
2970 "postchangelog": "prettier --write CHANGELOG.md"
2971 }
2972 },
2973 "contributors": [
2974 {
2975 "name": "Robert Kieffer",
2976 "email": "[email protected]"
2977 },
2978 {
2979 "name": "Christoph Tavan",
2980 "email": "[email protected]"
2981 },
2982 {
2983 "name": "AJ ONeal",
2984 "email": "[email protected]"
2985 },
2986 {
2987 "name": "Vincent Voyer",
2988 "email": "[email protected]"
2989 },
2990 {
2991 "name": "Roman Shtylman",
2992 "email": "[email protected]"
2993 }
2994 ],
2995 "gitHead": "4124ec75f032da7b405b870b68219cda8495297f",
2996 "bugs": {
2997 "url": "https://github.com/uuidjs/uuid/issues"
2998 },
2999 "homepage": "https://github.com/uuidjs/uuid#readme",
3000 "_id": "[email protected]",
3001 "_nodeVersion": "12.16.3",
3002 "_npmVersion": "6.14.4",
3003 "_npmUser": {
3004 "name": "ctavan",
3005 "email": "[email protected]"
3006 },
3007 "dist": {
3008 "integrity": "sha512-CI18flHDznR0lq54xBycOVmphdCYnQLKn8abKn7PXUiKUGdEd+/l9LWNJmugXel4hXq7S+RMNl34ecyC9TntWg==",
3009 "shasum": "6f1536eb43249f473abc6bd58ff983da1ca30d8d",
3010 "tarball": "https://registry.npmjs.org/uuid/-/uuid-8.1.0.tgz",
3011 "fileCount": 46,
3012 "unpackedSize": 95154,
3013 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexXx2CRA9TVsSAnZWagAAabsP/RriwLU9HvZ0+fc/giqA\nSM/YFCU3fUv7SM7fSOnWBvkTIy3NgsqmCL0v5VsnffVZ5CZtCeF8gFQ9qWFx\ngwiZCautPzGGedJ8sP1yFNkR8QPHofjEk/e+j4CV5WY+i2FU0n3JvBehMcfT\nhTpCWSD42PG4x+HZ161Mtl9DxzXxXgGS+xw+X/kOa9m2cB8DjhPD2G+8C7ia\nmGNut2ul0py+lzsBQnWcA/fBlRZ7mR0aF7I7jGFcCt7721boIPVhyqQ/ihHq\neZI7UKwG3ofh8kHvO0wBZ9Mt/XplXFlzsBWY+gry4a2oJc+g/4AEmyVB6dQ3\neWvhCmueXSR0J4SPl2Husu9IAOofb0vwLj5VM9SUhbQAY95TD8947qHB6fFc\nBBh7OSrPjvfmYbE3Q03v8jvq1yahlBDqXD/ZVuvCVymMsFAg3mC0tai7kNbk\nbPlw+IiBt0S7xW5rmOtaLx4j4hw9YD+BtOJlgN0djbZT6qLNeBvqmYFTWE/v\nWuqUAfpEZFmnNcm5RuxxKh30WMq4Etspuag0PZ0HlIMIEZ+XOzwMD7yWM5dZ\n2pueDC5Bbq2yr0YNdTAff9s1YKdGt33ot8ugTzXdmlJu6n5e5WLr2EKb+3iD\nnLcwRHkbab2rrNPpHLfdQxsFW277oCbOxhfhMO2piwJ+wx30jD9anaYumqI5\nhbEG\r\n=3jU2\r\n-----END PGP SIGNATURE-----\r\n"
3014 },
3015 "maintainers": [
3016 {
3017 "email": "[email protected]",
3018 "name": "broofa"
3019 },
3020 {
3021 "email": "[email protected]",
3022 "name": "ctavan"
3023 },
3024 {
3025 "email": "[email protected]",
3026 "name": "defunctzombie"
3027 },
3028 {
3029 "email": "[email protected]",
3030 "name": "vvo"
3031 }
3032 ],
3033 "directories": {},
3034 "_npmOperationalInternal": {
3035 "host": "s3://npm-registry-packages",
3036 "tmp": "tmp/uuid_8.1.0_1590000758059_0.9915391136867249"
3037 },
3038 "_hasShrinkwrap": false
3039 },
3040 "8.2.0-beta.0": {
3041 "name": "uuid",
3042 "version": "8.2.0-beta.0",
3043 "description": "RFC4122 (v1, v4, and v5) UUIDs",
3044 "commitlint": {
3045 "extends": [
3046 "@commitlint/config-conventional"
3047 ]
3048 },
3049 "keywords": [
3050 "uuid",
3051 "guid",
3052 "rfc4122"
3053 ],
3054 "license": "MIT",
3055 "bin": {
3056 "uuid": "dist/bin/uuid"
3057 },
3058 "sideEffects": false,
3059 "main": "./dist/index.js",
3060 "exports": {
3061 ".": {
3062 "node": {
3063 "module": "./dist/esm-node/index.js",
3064 "require": "./dist/index.js",
3065 "import": "./wrapper.mjs"
3066 },
3067 "default": "./dist/esm-browser/index.js"
3068 },
3069 "./package.json": "./package.json"
3070 },
3071 "module": "./dist/esm-node/index.js",
3072 "browser": {
3073 "./dist/md5.js": "./dist/md5-browser.js",
3074 "./dist/rng.js": "./dist/rng-browser.js",
3075 "./dist/sha1.js": "./dist/sha1-browser.js",
3076 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
3077 },
3078 "devDependencies": {
3079 "@babel/cli": "7.10.3",
3080 "@babel/core": "7.10.3",
3081 "@babel/preset-env": "7.10.3",
3082 "@commitlint/cli": "9.0.1",
3083 "@commitlint/config-conventional": "9.0.1",
3084 "@rollup/plugin-node-resolve": "8.0.1",
3085 "@wdio/browserstack-service": "6.1.15",
3086 "@wdio/cli": "6.1.20",
3087 "@wdio/jasmine-framework": "6.1.17",
3088 "@wdio/local-runner": "6.1.20",
3089 "@wdio/spec-reporter": "6.1.14",
3090 "@wdio/static-server-service": "6.1.14",
3091 "@wdio/sync": "6.1.14",
3092 "babel-eslint": "10.1.0",
3093 "bundlewatch": "0.2.7",
3094 "eslint": "7.3.0",
3095 "eslint-config-prettier": "6.11.0",
3096 "eslint-config-standard": "14.1.1",
3097 "eslint-plugin-import": "2.21.2",
3098 "eslint-plugin-node": "11.1.0",
3099 "eslint-plugin-prettier": "3.1.4",
3100 "eslint-plugin-promise": "4.2.1",
3101 "eslint-plugin-standard": "4.0.1",
3102 "husky": "4.2.5",
3103 "jest": "25.5.4",
3104 "lint-staged": "10.2.11",
3105 "npm-run-all": "4.1.5",
3106 "prettier": "2.0.5",
3107 "rollup": "2.18.0",
3108 "rollup-plugin-terser": "6.1.0",
3109 "runmd": "1.3.2",
3110 "standard-version": "8.0.0"
3111 },
3112 "scripts": {
3113 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
3114 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
3115 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
3116 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
3117 "lint": "npm run eslint:check && npm run prettier:check",
3118 "eslint:check": "eslint src/ test/ examples/ *.js",
3119 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
3120 "pretest": "[ -n $CI ] || npm run build",
3121 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
3122 "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
3123 "test:browser": "wdio run ./wdio.conf.js",
3124 "pretest:node": "npm run build",
3125 "test:node": "npm-run-all --parallel examples:node:**",
3126 "test:pack": "./scripts/testpack.sh",
3127 "pretest:benchmark": "npm run build",
3128 "test:benchmark": "cd examples/benchmark && npm install && npm test",
3129 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
3130 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
3131 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
3132 "md": "runmd --watch --output=README.md README_js.md",
3133 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
3134 "docs:diff": "npm run docs && git diff --quiet README.md",
3135 "build": "./scripts/build.sh",
3136 "prepack": "npm run build",
3137 "release": "standard-version --no-verify"
3138 },
3139 "repository": {
3140 "type": "git",
3141 "url": "git+https://github.com/uuidjs/uuid.git"
3142 },
3143 "husky": {
3144 "hooks": {
3145 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
3146 "pre-commit": "lint-staged"
3147 }
3148 },
3149 "lint-staged": {
3150 "*.{js,jsx,json,md}": [
3151 "prettier --write"
3152 ],
3153 "*.{js,jsx}": [
3154 "eslint --fix"
3155 ]
3156 },
3157 "standard-version": {
3158 "scripts": {
3159 "postchangelog": "prettier --write CHANGELOG.md"
3160 }
3161 },
3162 "contributors": [
3163 {
3164 "name": "Robert Kieffer",
3165 "email": "[email protected]"
3166 },
3167 {
3168 "name": "Christoph Tavan",
3169 "email": "[email protected]"
3170 },
3171 {
3172 "name": "AJ ONeal",
3173 "email": "[email protected]"
3174 },
3175 {
3176 "name": "Vincent Voyer",
3177 "email": "[email protected]"
3178 },
3179 {
3180 "name": "Roman Shtylman",
3181 "email": "[email protected]"
3182 }
3183 ],
3184 "readme": "<!--\n -- This file is auto-generated from README_js.md. Changes should be made there.\n -->\n\n# uuid [![Build Status](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions)\n\nFor the creation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDs\n\n- **Complete** - Support for RFC4122 version 1, 3, 4, and 5 UUIDs\n- **Cross-platform** - Support for ...\n - CommonJS, [ECMAScript Modules](#ecmascript-modules) and [CDN builds (UMD)](#cdn-builds-umd)\n - Node 8, 10, 12, 14\n - Chrome, Safari, Firefox, Edge, IE 11 browsers\n - Webpack and rollup.js module bundlers\n - [React Native](#react-native)\n- **Secure** - Cryptographically-strong random values\n- **Small** - Zero-dependency, small footprint, plays nice with \"tree shaking\" packagers\n- **CLI** - Includes the [`uuid` command line](#command-line) utility\n\n**Upgrading from uuid\\@3?** Your code is probably okay, but check out [Upgrading From uuid\\@3](#upgrading-from-uuid3) for details.\n\n## Quickstart\n\n```shell\nnpm install uuid\n```\n\nOnce installed, decide which type of UUID you need. RFC4122 provides for four versions, all of which are supported here. In order of popularity, they are:\n\n- Version 4 (random) - Created from cryptographically-strong random values\n- Version 1 (timestamp) - Created from the system clock (plus random values)\n- Version 5 (namespace, SHA-1) - Created from user-supplied name and namespace strings\n- Version 3 (namespace, MD5) - Like version 5, above, but with a poorer hash algorithm\n\n**Unsure which one to use?** Use version 4 (random) unless you have a specific need for one of the other versions. See also [this FAQ](https://github.com/tc39/proposal-uuid#faq).\n\n### Create Version 4 (Random) UUIDs\n\nECMAScript Module syntax:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'\n```\n\nCommonJS syntax:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\n### Create Version 1 (Timestamp) UUIDs\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\nuuidv1(); // ⇨ '2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d'\n```\n\n### Create Version 3 or Version 5 (Namespace) UUIDs\n\n&#x26a0;&#xfe0f; Version 3 and Version 5 UUIDs are basically the same, differing only in the underlying hash algorithm. Note that per the RFC, \"_If backward compatibility is not an issue, SHA-1 [Version 5] is preferred_.\"\n\n&#x26a0;&#xfe0f; If using a custom namespace **be sure to generate your own namespace UUID**. You can grab one [here](https://www.uuidgenerator.net/).\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid'; // For version 5\nimport { v3 as uuidv3 } from 'uuid'; // For version 3\n\n// Using predefined DNS namespace (for domain names)\nuuidv5('hello.example.com', uuidv5.DNS); // ⇨ 'fdda765f-fc57-5604-a269-52a7df8164ec'\nuuidv3('hello.example.com', uuidv3.DNS); // ⇨ '9125a8dc-52ee-365b-a5aa-81b0b3681cf6'\n\n// Using predefined URL namespace (for URLs)\nuuidv5('http://example.com/hello', uuidv5.URL); // ⇨ '3bbcee75-cecc-5b56-8031-b6641c1ed1f1'\nuuidv3('http://example.com/hello', uuidv3.URL); // ⇨ 'c6235813-3ba4-3801-ae84-e0a6ebb7d138'\n\n// Using a custom namespace (See note, above, about generating your own\n// namespace UUID)\nconst MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';\nuuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681'\nuuidv3('Hello, World!', MY_NAMESPACE); // ⇨ 'e8b5a51d-11c8-3310-a6ab-367563f20686'\n```\n\n## API\n\n### Version 4 (Random)\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\n\n// Incantations\nuuidv4();\nuuidv4(options);\nuuidv4(options, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 4 UUID.\n\n- `options` - (Object) Optional uuid state to apply. Properties may include:\n - `random` - (Number[16]) Array of 16 numbers (0-255) to use in place of randomly generated values. Takes precedence over `options.rng`.\n - `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255). Alternative to `options.random`.\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample: Generate string UUID with predefined `random` values\n\n```javascript\nconst v4options = {\n random: [\n 0x10,\n 0x91,\n 0x56,\n 0xbe,\n 0xc4,\n 0xfb,\n 0xc1,\n 0xea,\n 0x71,\n 0xb4,\n 0xef,\n 0xe1,\n 0x67,\n 0x1c,\n 0x58,\n 0x36,\n ],\n};\nuuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'\n```\n\nExample: Generate two IDs in a single buffer\n\n```javascript\nconst buffer = new Array();\nuuidv4(null, buffer, 0); // ⇨ \n // [\n // 27, 157, 107, 205, 187,\n // 253, 75, 45, 155, 93,\n // 171, 141, 251, 189, 75,\n // 237\n // ]\nuuidv4(null, buffer, 16); // ⇨ \n // [\n // 27, 157, 107, 205, 187, 253, 75, 45,\n // 155, 93, 171, 141, 251, 189, 75, 237,\n // 155, 29, 235, 77, 59, 125, 75, 173,\n // 155, 221, 43, 13, 123, 61, 203, 109\n // ]\n```\n\n### Version 1 (Timestamp)\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\n\n// Incantations\nuuidv1();\nuuidv1(options);\nuuidv1(options, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 1 (timestamp) UUID.\n\n- `options` - (Object) Optional uuid state to apply. Properties may include:\n - `node` - (Array) Node id as Array of 6 bytes (per 4.1.6). Default: Randomly generated ID. See note 1.\n - `clockseq` - (Number between 0 - 0x3fff) RFC clock sequence. Default: An internally maintained clockseq is used.\n - `msecs` - (Number) Time in milliseconds since unix Epoch. Default: The current time is used.\n - `nsecs` - (Number between 0-9999) additional time, in 100-nanosecond units. Ignored if `msecs` is unspecified. Default: internal uuid counter is used, as per 4.2.1.2.\n - `random` - (Number[16]) Array of 16 numbers (0-255) to use for initialization of `node` and `clockseq` as described above. Takes precedence over `options.rng`.\n - `rng` - (Function) Random # generator function that returns an Array[16] of byte values (0-255). Alternative to `options.random`.\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing.\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nNote: The default [node id](https://tools.ietf.org/html/rfc4122#section-4.1.6) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process.\n\nExample: Generate string UUID with fully-specified options\n\n```javascript\nconst v1options = {\n node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],\n clockseq: 0x1234,\n msecs: new Date('2011-11-01').getTime(),\n nsecs: 5678,\n};\nuuidv1(v1options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'\n```\n\nExample: In-place generation of two binary IDs\n\n```javascript\n// Generate two ids in an array\nconst arr = new Array();\nuuidv1(null, arr, 0); // ⇨ \n // [\n // 44, 94, 164, 192, 64, 103,\n // 17, 233, 146, 52, 155, 29,\n // 235, 77, 59, 125\n // ]\nuuidv1(null, arr, 16); // ⇨ \n // [\n // 44, 94, 164, 192, 64, 103, 17, 233,\n // 146, 52, 155, 29, 235, 77, 59, 125,\n // 44, 94, 164, 193, 64, 103, 17, 233,\n // 146, 52, 155, 29, 235, 77, 59, 125\n // ]\n```\n\n### Version 5 (Namespace)\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\n// Incantations\nuuidv5(name, namespace);\nuuidv5(name, namespace, buffer);\nuuidv5(name, namespace, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 5 UUID.\n\n- `name` - (String | Array[]) \"name\" to create UUID with\n- `namespace` - (String | Array[]) \"namespace\" UUID either as a String or Array[16] of byte values\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample:\n\n```javascript\nuuidv5('hello world', MY_NAMESPACE); // ⇨ '9f282611-e0fd-5650-8953-89c8e342da0b'\n```\n\n### Version 3 (Namespace)\n\n&#x26a0;&#xfe0f; Note: Per the RFC, \"_If backward compatibility is not an issue, SHA-1 [Version 5] is preferred_.\"\n\n```javascript\nimport { v3 as uuidv3 } from 'uuid';\n\n// Incantations\nuuidv3(name, namespace);\nuuidv3(name, namespace, buffer);\nuuidv3(name, namespace, buffer, offset);\n```\n\nGenerate and return a RFC4122 version 3 UUID.\n\n- `name` - (String | Array[]) \"name\" to create UUID with\n- `namespace` - (String | Array[]) \"namespace\" UUID either as a String or Array[16] of byte values\n- `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.\n- `offset` - (Number) Starting index in `buffer` at which to begin writing. Default = 0\n\nReturns `buffer`, if specified, otherwise the string form of the UUID\n\nExample:\n\n```javascript\nuuidv3('hello world', MY_NAMESPACE); // ⇨ '042ffd34-d989-321c-ad06-f60826172424'\n```\n\n## Command Line\n\nUUIDs can be generated from the command line using `uuid`.\n\n```shell\n$ uuid\nddeb27fb-d9a0-4624-be4d-4615062daed4\n```\n\nThe default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:\n\n```shell\n$ uuid --help\n\nUsage:\n uuid\n uuid v1\n uuid v3 <name> <namespace uuid>\n uuid v4\n uuid v5 <name> <namespace uuid>\n uuid --help\n\nNote: <namespace uuid> may be \"URL\" or \"DNS\" to use the corresponding UUIDs\ndefined by RFC4122\n```\n\n## ECMAScript Modules\n\nThis library comes with [ECMAScript Modules](https://www.ecma-international.org/ecma-262/6.0/#sec-modules) (ESM) support for Node.js versions that support it ([example](./examples/node-esmodules/)) as well as bundlers like [rollup.js](https://rollupjs.org/guide/en/#tree-shaking) ([example](./examples/browser-rollup/)) and [webpack](https://webpack.js.org/guides/tree-shaking/) ([example](./examples/browser-webpack/)) (targeting both, Node.js and browser environments).\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nTo run the examples you must first create a dist build of this library in the module root:\n\n```shell\nnpm run build\n```\n\n## CDN Builds (UMD)\n\nThis module may be loaded directly into a browser from any of the following CDNs:\n\n**Using [UNPKG](https://unpkg.com/uuid@latest/dist/umd/)**:\n\n```html\n<script src=\"https://unpkg.com/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n```\n\n**Using [jsDelivr](https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/)**:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n```\n\n**Using [cdnjs](https://cdnjs.com/libraries/uuid)**:\n\n```html\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/uuid/8.1.0/uuidv4.min.js\"></script>\n```\n\nThese CDNs all provide the same [`uuidv4()`](#version-4-random) method:\n\n```html\n<script>\n uuidv4(); // ⇨ '55af1e37-0734-46d8-b070-a1e42e4fc392'\n</script>\n```\n\nMethods for the other algorithms ([`uuidv1()`](#version-1-timestamp), [`uuidv3()`](#version-3-namespace) and [`uuidv5()`](#version-5-namespace)) are available from the files `uuidv1.min.js`, `uuidv3.min.js` and `uuidv5.min.js` respectively.\n\n## \"getRandomValues() not supported\"\n\nThis error occurs in environments where the standard [`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues) API is not supported. This issue can be resolved by adding an appropriate polyfill:\n\n### React Native\n\n1. Install [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme)\n1. Import it before `uuid`:\n\n```javascript\nimport 'react-native-get-random-values';\nimport { v4 as uuidv4 } from 'uuid';\n```\n\n### Web Workers / Service Workers (Edge <= 18)\n\n[In Edge <= 18, Web Crypto is not supported in Web Workers or Service Workers](https://caniuse.com/#feat=cryptography) and we are not aware of a polyfill (let us know if you find one, please).\n\n## Upgrading From uuid\\@7\n\n### Only Named Exports Supported When Using with Node.js ESM\n\nuuid\\@7 did not come with native ECMAScript Module (ESM) support for Node.js. Importing it in Node.js ESM consequently imported the CommonJS source with a default export. This library now comes with true Node.js ESM support and only provides named exports.\n\nInstead of doing:\n\n```javascript\nimport uuid from 'uuid';\nuuid.v4();\n```\n\nyou will now have to use the named exports:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n### Deep Requires No Longer Supported\n\nDeep requires like `require('uuid/v4')` [which have been deprecated in uuid\\@7](#deep-requires-now-deprecated) are no longer supported.\n\n## Upgrading From uuid\\@3\n\n\"_Wait... what happened to uuid\\@4 - uuid\\@6?!?_\"\n\nIn order to avoid confusion with RFC [version 4](#version-4-random) and [version 5](#version-5-namespace) UUIDs, and a possible [version 6](http://gh.peabody.io/uuidv6/), releases 4 thru 6 of this module have been skipped. Hence, how we're now at uuid\\@7.\n\n### Deep Requires Now Deprecated\n\nuuid\\@3 encouraged the use of deep requires to minimize the bundle size of browser builds:\n\n```javascript\nconst uuidv4 = require('uuid/v4'); // <== NOW DEPRECATED!\nuuidv4();\n```\n\nAs of uuid\\@7 this library now provides ECMAScript modules builds, which allow packagers like Webpack and Rollup to do \"tree-shaking\" to remove dead code. Instead, use the `import` syntax:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n... or for CommonJS:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4();\n```\n\n### Default Export Removed\n\nuuid\\@3 was exporting the Version 4 UUID method as a default export:\n\n```javascript\nconst uuid = require('uuid'); // <== REMOVED!\n```\n\nThis usage pattern was already discouraged in uuid\\@3 and has been removed in uuid\\@7.\n\n----\nMarkdown generated from [README_js.md](README_js.md) by [![RunMD Logo](http://i.imgur.com/h0FVyzU.png)](https://github.com/broofa/runmd)",
3185 "readmeFilename": "README.md",
3186 "gitHead": "e5075c871ad571b7e08a300b855e5a308b021aef",
3187 "bugs": {
3188 "url": "https://github.com/uuidjs/uuid/issues"
3189 },
3190 "homepage": "https://github.com/uuidjs/uuid#readme",
3191 "_id": "[email protected]",
3192 "_nodeVersion": "12.18.0",
3193 "_npmVersion": "6.14.4",
3194 "_npmUser": {
3195 "name": "ctavan",
3196 "email": "[email protected]"
3197 },
3198 "dist": {
3199 "integrity": "sha512-hwW39cDgHKtopHIRUBDMrGIpPTWOYEid17+nr9uQcuijDGMLZ9NgBZOFOfgn/UISN+3NVbXpvytwDR8WlU7RrQ==",
3200 "shasum": "bbab71018e75e556381986bbaaf849648d0665c5",
3201 "tarball": "https://registry.npmjs.org/uuid/-/uuid-8.2.0-beta.0.tgz",
3202 "fileCount": 46,
3203 "unpackedSize": 95945,
3204 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8bGCCRA9TVsSAnZWagAAdrQP/22jrv7ITic0g4+xXc1W\n0DFiX/wf2FRbebPCrSwgXDX0DprjToyNMOOPIvOSSv8aveUYxOTLvBUEWIDA\nwWegdJT3d+cRHgWW6ipWO8lHFEMWmil0OJXfbL5QbEQDilcfConc3JIVybh+\ngActhVsquZhD1kC1W/m3hg48jT1ku3ferfhbNVLheYjyKdzHrw4Zp+cpU9AV\nlFqKWebIj6j7+BgWVP0HDoxV9BuRE4hPtk8Gy2I6Ns3jQHHMKydjCXbk9/UE\nKYh/R5wkAimrTJiOFP7KD6YkiRnrI1TLGpOoEwfgZdh4D53JFv6dzh3Aoa2M\nSsbd+a5vY7PxtfcPbm2ljDeTfKHld/srCWZVQHoeRnq5iGbXcrNz0TPjdKE8\ndUJhGM5QR4P9xB8o/n4Rsx58xnnLcWnVjOE+cPoGRiYTAsM6/i8QIeCSe3t3\nKr+qOyk+bMAGxrnriCo4O66C4fZiFcjQftYVPc2LgzvOGWvvCSGUgfuY5H4B\nqfOBMXyfQYEMSh4Io6sYDVGMdvJcuMsXHkzz08+hqyrWWgFoy0G8tFa4JqQG\nsDttZp20egk/VsszFnbUFFZjN5mK9YzoYq4xtv+VV9jPvawSQO6UZxw4WZ6h\nLW52Su/iDTaXV3EXvzKVtP2kLIDBS+fgVtIccKmGiIDtqC63PfCgZEqOt88T\nCjMB\r\n=Qdr4\r\n-----END PGP SIGNATURE-----\r\n"
3205 },
3206 "maintainers": [
3207 {
3208 "email": "[email protected]",
3209 "name": "broofa"
3210 },
3211 {
3212 "email": "[email protected]",
3213 "name": "ctavan"
3214 },
3215 {
3216 "email": "[email protected]",
3217 "name": "defunctzombie"
3218 },
3219 {
3220 "email": "[email protected]",
3221 "name": "vvo"
3222 }
3223 ],
3224 "directories": {},
3225 "_npmOperationalInternal": {
3226 "host": "s3://npm-registry-packages",
3227 "tmp": "tmp/uuid_8.2.0-beta.0_1592897922131_0.21824069661026968"
3228 },
3229 "_hasShrinkwrap": false
3230 },
3231 "8.2.0": {
3232 "name": "uuid",
3233 "version": "8.2.0",
3234 "description": "RFC4122 (v1, v4, and v5) UUIDs",
3235 "commitlint": {
3236 "extends": [
3237 "@commitlint/config-conventional"
3238 ]
3239 },
3240 "keywords": [
3241 "uuid",
3242 "guid",
3243 "rfc4122"
3244 ],
3245 "license": "MIT",
3246 "bin": {
3247 "uuid": "dist/bin/uuid"
3248 },
3249 "sideEffects": false,
3250 "main": "./dist/index.js",
3251 "exports": {
3252 ".": {
3253 "node": {
3254 "module": "./dist/esm-node/index.js",
3255 "require": "./dist/index.js",
3256 "import": "./wrapper.mjs"
3257 },
3258 "default": "./dist/esm-browser/index.js"
3259 },
3260 "./package.json": "./package.json"
3261 },
3262 "module": "./dist/esm-node/index.js",
3263 "browser": {
3264 "./dist/md5.js": "./dist/md5-browser.js",
3265 "./dist/rng.js": "./dist/rng-browser.js",
3266 "./dist/sha1.js": "./dist/sha1-browser.js",
3267 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
3268 },
3269 "devDependencies": {
3270 "@babel/cli": "7.10.3",
3271 "@babel/core": "7.10.3",
3272 "@babel/preset-env": "7.10.3",
3273 "@commitlint/cli": "9.0.1",
3274 "@commitlint/config-conventional": "9.0.1",
3275 "@rollup/plugin-node-resolve": "8.0.1",
3276 "@wdio/browserstack-service": "6.1.15",
3277 "@wdio/cli": "6.1.20",
3278 "@wdio/jasmine-framework": "6.1.17",
3279 "@wdio/local-runner": "6.1.20",
3280 "@wdio/spec-reporter": "6.1.14",
3281 "@wdio/static-server-service": "6.1.14",
3282 "@wdio/sync": "6.1.14",
3283 "babel-eslint": "10.1.0",
3284 "bundlewatch": "0.2.7",
3285 "eslint": "7.3.0",
3286 "eslint-config-prettier": "6.11.0",
3287 "eslint-config-standard": "14.1.1",
3288 "eslint-plugin-import": "2.21.2",
3289 "eslint-plugin-node": "11.1.0",
3290 "eslint-plugin-prettier": "3.1.4",
3291 "eslint-plugin-promise": "4.2.1",
3292 "eslint-plugin-standard": "4.0.1",
3293 "husky": "4.2.5",
3294 "jest": "25.5.4",
3295 "lint-staged": "10.2.11",
3296 "npm-run-all": "4.1.5",
3297 "prettier": "2.0.5",
3298 "rollup": "2.18.0",
3299 "rollup-plugin-terser": "6.1.0",
3300 "runmd": "1.3.2",
3301 "standard-version": "8.0.0"
3302 },
3303 "scripts": {
3304 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
3305 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
3306 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
3307 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
3308 "lint": "npm run eslint:check && npm run prettier:check",
3309 "eslint:check": "eslint src/ test/ examples/ *.js",
3310 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
3311 "pretest": "[ -n $CI ] || npm run build",
3312 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
3313 "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
3314 "test:browser": "wdio run ./wdio.conf.js",
3315 "pretest:node": "npm run build",
3316 "test:node": "npm-run-all --parallel examples:node:**",
3317 "test:pack": "./scripts/testpack.sh",
3318 "pretest:benchmark": "npm run build",
3319 "test:benchmark": "cd examples/benchmark && npm install && npm test",
3320 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
3321 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
3322 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
3323 "md": "runmd --watch --output=README.md README_js.md",
3324 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
3325 "docs:diff": "npm run docs && git diff --quiet README.md",
3326 "build": "./scripts/build.sh",
3327 "prepack": "npm run build",
3328 "release": "standard-version --no-verify"
3329 },
3330 "repository": {
3331 "type": "git",
3332 "url": "git+https://github.com/uuidjs/uuid.git"
3333 },
3334 "husky": {
3335 "hooks": {
3336 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
3337 "pre-commit": "lint-staged"
3338 }
3339 },
3340 "lint-staged": {
3341 "*.{js,jsx,json,md}": [
3342 "prettier --write"
3343 ],
3344 "*.{js,jsx}": [
3345 "eslint --fix"
3346 ]
3347 },
3348 "standard-version": {
3349 "scripts": {
3350 "postchangelog": "prettier --write CHANGELOG.md"
3351 }
3352 },
3353 "contributors": [
3354 {
3355 "name": "Robert Kieffer",
3356 "email": "[email protected]"
3357 },
3358 {
3359 "name": "Christoph Tavan",
3360 "email": "[email protected]"
3361 },
3362 {
3363 "name": "AJ ONeal",
3364 "email": "[email protected]"
3365 },
3366 {
3367 "name": "Vincent Voyer",
3368 "email": "[email protected]"
3369 },
3370 {
3371 "name": "Roman Shtylman",
3372 "email": "[email protected]"
3373 }
3374 ],
3375 "gitHead": "b51f172b22580dabd382861c1a6316173244f51b",
3376 "bugs": {
3377 "url": "https://github.com/uuidjs/uuid/issues"
3378 },
3379 "homepage": "https://github.com/uuidjs/uuid#readme",
3380 "_id": "[email protected]",
3381 "_nodeVersion": "12.18.0",
3382 "_npmVersion": "6.14.4",
3383 "_npmUser": {
3384 "name": "ctavan",
3385 "email": "[email protected]"
3386 },
3387 "dist": {
3388 "integrity": "sha512-CYpGiFTUrmI6OBMkAdjSDM0k5h8SkkiTP4WAjQgDgNB1S3Ou9VBEvr6q0Kv2H1mMk7IWfxYGpMH5sd5AvcIV2Q==",
3389 "shasum": "cb10dd6b118e2dada7d0cd9730ba7417c93d920e",
3390 "tarball": "https://registry.npmjs.org/uuid/-/uuid-8.2.0.tgz",
3391 "fileCount": 46,
3392 "unpackedSize": 97285,
3393 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8mxuCRA9TVsSAnZWagAARZsQAJz+kpmfR+I/GNkijZ0M\nmZWvdB5CuNKL/w0w4Lz7KPL43fpPSpWzmMs4uS49fXddbFPNUjO9tAYtWjD+\nuhvvWLjPcg8LNBnlWZJGLYIqjqexvERyrm+vPntComY60qwAxx2v+ZCIAeYj\nBKVXw2zUX0y1ICQWIvVpfUXXT5Zgl40CFEOSaBhewbWQuckED6g0rmlp4UTi\npNHIcrQxh/zzQjiPdQEMOf8jxMa3nbPwW62mAeIjgNiQCsqTi+9JwYDmJWaw\n2zKQu77TReMdv4IsULhgTiTXkH5LWkt+kethQhzZt5hMamRIrnAp1D6MyWoJ\nWHZYja+V54wN7lvAv2LXRfsLOEWK/7/sj2VenobnelbmhmOFKn3PrQPC9bVM\nFz9zQYuc6FpY+xHrM4kmWKuNsHcO38xgB7trsT22vWRJa930H8mjboXm2zNB\nq85115NCbZNrX9Q3vWtwPAkEXxtL3XP4h0AQcq37u2Ok7f/a7dt5+BHdOqd0\n/vazeDTgVifwKLVUCshvsZlCVD7Yc8hw16m43I4g9HlinPFXACTdLON5t0zA\nfus/e3SE2KQrw4AnzuFzF3hM2uiTWGp8agfJ6RqF2DFAFKrswA9oz7QJjT6k\n/pQhrcu9tCW0bnKYD3nT9258szQpiILve+VEUzwrlU+VR3g9nH5ef9SOOQkC\nn1aP\r\n=mMth\r\n-----END PGP SIGNATURE-----\r\n"
3394 },
3395 "maintainers": [
3396 {
3397 "email": "[email protected]",
3398 "name": "broofa"
3399 },
3400 {
3401 "email": "[email protected]",
3402 "name": "ctavan"
3403 },
3404 {
3405 "email": "[email protected]",
3406 "name": "defunctzombie"
3407 },
3408 {
3409 "email": "[email protected]",
3410 "name": "vvo"
3411 }
3412 ],
3413 "directories": {},
3414 "_npmOperationalInternal": {
3415 "host": "s3://npm-registry-packages",
3416 "tmp": "tmp/uuid_8.2.0_1592945774107_0.25456791127041134"
3417 },
3418 "_hasShrinkwrap": false
3419 },
3420 "8.3.0-beta.0": {
3421 "name": "uuid",
3422 "version": "8.3.0-beta.0",
3423 "description": "RFC4122 (v1, v4, and v5) UUIDs",
3424 "commitlint": {
3425 "extends": [
3426 "@commitlint/config-conventional"
3427 ]
3428 },
3429 "keywords": [
3430 "uuid",
3431 "guid",
3432 "rfc4122"
3433 ],
3434 "license": "MIT",
3435 "bin": {
3436 "uuid": "dist/bin/uuid"
3437 },
3438 "sideEffects": false,
3439 "main": "./dist/index.js",
3440 "exports": {
3441 ".": {
3442 "node": {
3443 "module": "./dist/esm-node/index.js",
3444 "require": "./dist/index.js",
3445 "import": "./wrapper.mjs"
3446 },
3447 "default": "./dist/esm-browser/index.js"
3448 },
3449 "./package.json": "./package.json"
3450 },
3451 "module": "./dist/esm-node/index.js",
3452 "browser": {
3453 "./dist/md5.js": "./dist/md5-browser.js",
3454 "./dist/rng.js": "./dist/rng-browser.js",
3455 "./dist/sha1.js": "./dist/sha1-browser.js",
3456 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
3457 },
3458 "devDependencies": {
3459 "@babel/cli": "7.10.3",
3460 "@babel/core": "7.10.3",
3461 "@babel/preset-env": "7.10.3",
3462 "@commitlint/cli": "9.1.2",
3463 "@commitlint/config-conventional": "9.0.1",
3464 "@rollup/plugin-node-resolve": "8.0.1",
3465 "@wdio/browserstack-service": "6.1.15",
3466 "@wdio/cli": "6.1.20",
3467 "@wdio/jasmine-framework": "6.1.17",
3468 "@wdio/local-runner": "6.1.20",
3469 "@wdio/spec-reporter": "6.1.14",
3470 "@wdio/static-server-service": "6.1.14",
3471 "@wdio/sync": "6.1.14",
3472 "babel-eslint": "10.1.0",
3473 "bundlewatch": "0.2.7",
3474 "eslint": "7.3.0",
3475 "eslint-config-prettier": "6.11.0",
3476 "eslint-config-standard": "14.1.1",
3477 "eslint-plugin-import": "2.21.2",
3478 "eslint-plugin-node": "11.1.0",
3479 "eslint-plugin-prettier": "3.1.4",
3480 "eslint-plugin-promise": "4.2.1",
3481 "eslint-plugin-standard": "4.0.1",
3482 "husky": "4.2.5",
3483 "jest": "25.5.4",
3484 "lint-staged": "10.2.11",
3485 "npm-run-all": "4.1.5",
3486 "prettier": "2.0.5",
3487 "random-seed": "0.3.0",
3488 "rollup": "2.18.0",
3489 "rollup-plugin-terser": "6.1.0",
3490 "runmd": "1.3.2",
3491 "standard-version": "8.0.2"
3492 },
3493 "scripts": {
3494 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
3495 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
3496 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
3497 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
3498 "lint": "npm run eslint:check && npm run prettier:check",
3499 "eslint:check": "eslint src/ test/ examples/ *.js",
3500 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
3501 "pretest": "[ -n $CI ] || npm run build",
3502 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
3503 "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
3504 "test:browser": "wdio run ./wdio.conf.js",
3505 "pretest:node": "npm run build",
3506 "test:node": "npm-run-all --parallel examples:node:**",
3507 "test:pack": "./scripts/testpack.sh",
3508 "pretest:benchmark": "npm run build",
3509 "test:benchmark": "cd examples/benchmark && npm install && npm test",
3510 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
3511 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
3512 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
3513 "md": "runmd --watch --output=README.md README_js.md",
3514 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
3515 "docs:diff": "npm run docs && git diff --quiet README.md",
3516 "build": "./scripts/build.sh",
3517 "prepack": "npm run build",
3518 "release": "standard-version --no-verify"
3519 },
3520 "repository": {
3521 "type": "git",
3522 "url": "git+https://github.com/uuidjs/uuid.git"
3523 },
3524 "husky": {
3525 "hooks": {
3526 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
3527 "pre-commit": "lint-staged"
3528 }
3529 },
3530 "lint-staged": {
3531 "*.{js,jsx,json,md}": [
3532 "prettier --write"
3533 ],
3534 "*.{js,jsx}": [
3535 "eslint --fix"
3536 ]
3537 },
3538 "standard-version": {
3539 "scripts": {
3540 "postchangelog": "prettier --write CHANGELOG.md"
3541 }
3542 },
3543 "contributors": [
3544 {
3545 "name": "Robert Kieffer",
3546 "email": "[email protected]"
3547 },
3548 {
3549 "name": "Christoph Tavan",
3550 "email": "[email protected]"
3551 },
3552 {
3553 "name": "AJ ONeal",
3554 "email": "[email protected]"
3555 },
3556 {
3557 "name": "Vincent Voyer",
3558 "email": "[email protected]"
3559 },
3560 {
3561 "name": "Roman Shtylman",
3562 "email": "[email protected]"
3563 }
3564 ],
3565 "readme": "<!--\n -- This file is auto-generated from README_js.md. Changes should be made there.\n -->\n\n# uuid [![CI](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [![Browser](https://github.com/uuidjs/uuid/workflows/Browser/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ABrowser)\n\nFor the creation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDs\n\n- **Complete** - Support for RFC4122 version 1, 3, 4, and 5 UUIDs\n- **Cross-platform** - Support for ...\n - CommonJS, [ECMAScript Modules](#ecmascript-modules) and [CDN builds](#cdn-builds)\n - Node 8, 10, 12, 14\n - Chrome, Safari, Firefox, Edge, IE 11 browsers\n - Webpack and rollup.js module bundlers\n - [React Native](#react-native)\n- **Secure** - Cryptographically-strong random values\n- **Small** - Zero-dependency, small footprint, plays nice with \"tree shaking\" packagers\n- **CLI** - Includes the [`uuid` command line](#command-line) utility\n\n**Upgrading from `[email protected]`?** Your code is probably okay, but check out [Upgrading From `[email protected]`](#upgrading-from-uuid3x) for details.\n\n## Quickstart\n\nTo create a random UUID...\n\n**1. Install**\n\n```shell\nnpm install uuid\n```\n\n**2. Create a UUID** (ES6 module syntax)\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'\n```\n\n... or using CommonJS syntax:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nFor timestamp UUIDs, namespace UUIDs, and other options read on ...\n\n## API Summary\n\n| | | |\n| --- | --- | --- |\n| [`uuid.NIL`](#uuidnil) | The nil UUID string (all zeros) | New in `[email protected]` |\n| [`uuid.parse()`](#uuidparsestr) | Convert UUID string to array of bytes | New in `[email protected]` |\n| [`uuid.stringify()`](#uuidstringifyarr-offset) | Convert array of bytes to UUID string | New in `[email protected]` |\n| [`uuid.v1()`](#uuidv1options-buffer-offset) | Create a version 1 (timestamp) UUID | |\n| [`uuid.v3()`](#uuidv3name-namespace-buffer-offset) | Create a version 3 (namespace w/ MD5) UUID | |\n| [`uuid.v4()`](#uuidv4options-buffer-offset) | Create a version 4 (random) UUID | |\n| [`uuid.v5()`](#uuidv5name-namespace-buffer-offset) | Create a version 5 (namespace w/ SHA-1) UUID | |\n| [`uuid.validate()`](#uuidvalidatestr) | Test a string to see if it is a valid UUID | New in `[email protected]` |\n| [`uuid.version()`](#uuidversionstr) | Detect RFC version of a UUID | New in `[email protected]` |\n\n## API\n\n### uuid.NIL\n\nThe nil UUID string (all zeros).\n\nExample:\n\n```javascript\nimport { NIL as NIL_UUID } from 'uuid';\n\nNIL_UUID; // ⇨ '00000000-0000-0000-0000-000000000000'\n```\n\n### uuid.parse(str)\n\nConvert UUID string to array of bytes\n\n| | |\n| --------- | ---------------------------------------- |\n| `str` | A valid UUID `String` |\n| _returns_ | `Uint8Array[16]` |\n| _throws_ | `TypeError` if `str` is not a valid UUID |\n\nExample:\n\n```javascript\nimport { parse as uuidParse } from 'uuid';\n\nuuidParse('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ \n // Uint8Array(16) [\n // 110, 192, 189, 127, 17,\n // 192, 67, 218, 151, 94,\n // 42, 138, 217, 235, 174,\n // 11\n // ]\n```\n\n### uuid.stringify(arr[, offset])\n\nConvert array of bytes to UUID string\n\n| | |\n| -------------- | --------------------------------------------------------------------------- |\n| `arr` | `Array`-like collection of 16 values (starting from `offset`) between 0-255 |\n| [`offset` = 0] | `Number` Starting index in the Array |\n| _returns_ | `String` |\n| _throws_ | `TypeError` if a valid UUID string cannot be generated |\n\nExample:\n\n```javascript\nimport { stringify as uuidStringify } from 'uuid';\n\nconst uuidBytes = [110, 192, 189, 127, 17, 192, 67, 218, 151, 94, 42, 138, 217, 235, 174, 11];\n\nuuidStringify(uuidBytes); // ⇨ '6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'\n```\n\n### uuid.v1([options[, buffer[, offset]]])\n\nCreate an RFC version 1 (timestamp) UUID\n\n| | |\n| --- | --- |\n| [`options`] | `Object` with one or more of the following properties: |\n| [`options.node` ] | RFC \"node\" field as an `Array[6]` of byte values (per 4.1.6) |\n| [`options.clockseq`] | RFC \"clock sequence\" as a `Number` between 0 - 0x3fff |\n| [`options.msecs`] | RFC \"timestamp\" field (`Number` of milliseconds, unix epoch) |\n| [`options.nsecs`] | RFC \"timestamp\" field (`Number` of nanseconds to add to `msecs`, should be 0-10,000) |\n| [`options.random`] | `Array` of 16 random bytes (0-255) |\n| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |\n| [`buffer`] | `Array \\| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |\n| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |\n| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |\n| _throws_ | `Error` if more than 10M UUIDs/sec are requested |\n\nNote: The default [node id](https://tools.ietf.org/html/rfc4122#section-4.1.6) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process.\n\nNote: `options.random` and `options.rng` are only meaningful on the very first call to `v1()`, where they may be passed to initialize the internal `node` and `clockseq` fields.\n\nExample:\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\n\nuuidv1(); // ⇨ '2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d'\n```\n\nExample using `options`:\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\n\nconst v1options = {\n node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],\n clockseq: 0x1234,\n msecs: new Date('2011-11-01').getTime(),\n nsecs: 5678,\n};\nuuidv1(v1options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'\n```\n\n### uuid.v3(name, namespace[, buffer[, offset]])\n\nCreate an RFC version 3 (namespace w/ MD5) UUID\n\nAPI is identical to `v5()`, but uses \"v3\" instead.\n\n&#x26a0;&#xfe0f; Note: Per the RFC, \"_If backward compatibility is not an issue, SHA-1 [Version 5] is preferred_.\"\n\n### uuid.v4([options[, buffer[, offset]]])\n\nCreate an RFC version 4 (random) UUID\n\n| | |\n| --- | --- |\n| [`options`] | `Object` with one or more of the following properties: |\n| [`options.random`] | `Array` of 16 random bytes (0-255) |\n| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |\n| [`buffer`] | `Array \\| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |\n| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |\n| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |\n\nExample:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\n\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nExample using predefined `random` values:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\n\nconst v4options = {\n random: [\n 0x10,\n 0x91,\n 0x56,\n 0xbe,\n 0xc4,\n 0xfb,\n 0xc1,\n 0xea,\n 0x71,\n 0xb4,\n 0xef,\n 0xe1,\n 0x67,\n 0x1c,\n 0x58,\n 0x36,\n ],\n};\nuuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'\n```\n\n### uuid.v5(name, namespace[, buffer[, offset]])\n\nCreatea an RFC version 5 (namespace w/ SHA-1) UUID\n\n| | |\n| --- | --- |\n| `name` | `String \\| Array` |\n| `namespace` | `String \\| Array[16]` Namespace UUID |\n| [`buffer`] | `Array \\| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |\n| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |\n| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |\n\nNote: The RFC `DNS` and `URL` namespaces are available as `v5.DNS` and `v5.URL`.\n\nExample with custom namespace:\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\n// Define a custom namespace. Readers, create your own using something like\n// https://www.uuidgenerator.net/\nconst MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';\n\nuuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681'\n```\n\nExample with RFC `URL` namespace:\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\nuuidv5('https://www.w3.org/', uuidv5.URL); // ⇨ 'c106a26a-21bb-5538-8bf2-57095d1976c1'\n```\n\n### uuid.validate(str)\n\nTest a string to see if it is a valid UUID\n\n| | |\n| --------- | --------------------------------------------------- |\n| `str` | `String` to validate |\n| _returns_ | `true` if string is a valid UUID, `false` otherwise |\n\nExample:\n\n```javascript\nimport { validate as uuidValidate } from 'uuid';\n\nuuidValidate('not a UUID'); // ⇨ false\nuuidValidate('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ true\n```\n\n### uuid.version(str)\n\nDetect RFC version of a UUID\n\n| | |\n| --------- | ---------------------------------------- |\n| `str` | A valid UUID `String` |\n| _returns_ | `Number` The RFC version of the UUID |\n| _throws_ | `TypeError` if `str` is not a valid UUID |\n\nExample:\n\n```javascript\nimport { version as uuidVersion } from 'uuid';\n\nuuidVersion('45637ec4-c85f-11ea-87d0-0242ac130003'); // ⇨ 1\nuuidVersion('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ 4\n```\n\n## Command Line\n\nUUIDs can be generated from the command line using `uuid`.\n\n```shell\n$ uuid\nddeb27fb-d9a0-4624-be4d-4615062daed4\n```\n\nThe default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:\n\n```shell\n$ uuid --help\n\nUsage:\n uuid\n uuid v1\n uuid v3 <name> <namespace uuid>\n uuid v4\n uuid v5 <name> <namespace uuid>\n uuid --help\n\nNote: <namespace uuid> may be \"URL\" or \"DNS\" to use the corresponding UUIDs\ndefined by RFC4122\n```\n\n## ECMAScript Modules\n\nThis library comes with [ECMAScript Modules](https://www.ecma-international.org/ecma-262/6.0/#sec-modules) (ESM) support for Node.js versions that support it ([example](./examples/node-esmodules/)) as well as bundlers like [rollup.js](https://rollupjs.org/guide/en/#tree-shaking) ([example](./examples/browser-rollup/)) and [webpack](https://webpack.js.org/guides/tree-shaking/) ([example](./examples/browser-webpack/)) (targeting both, Node.js and browser environments).\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nTo run the examples you must first create a dist build of this library in the module root:\n\n```shell\nnpm run build\n```\n\n## CDN Builds\n\n### ECMAScript Modules\n\nTo load this module directly into modern browsers that [support loading ECMAScript Modules](https://caniuse.com/#feat=es6-module) you can make use of [jspm](https://jspm.org/):\n\n```html\n<script type=\"module\">\n import { v4 as uuidv4 } from 'https://jspm.dev/uuid';\n console.log(uuidv4()); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n</script>\n```\n\n### UMD\n\nTo load this module directly into older browsers you can use the [UMD (Universal Module Definition)](https://github.com/umdjs/umd) builds from any of the following CDNs:\n\n**Using [UNPKG](https://unpkg.com/uuid@latest/dist/umd/)**:\n\n```html\n<script src=\"https://unpkg.com/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n```\n\n**Using [jsDelivr](https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/)**:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n```\n\n**Using [cdnjs](https://cdnjs.com/libraries/uuid)**:\n\n```html\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/uuid/8.1.0/uuidv4.min.js\"></script>\n```\n\nThese CDNs all provide the same [`uuidv4()`](#uuidv4options-buffer-offset) method:\n\n```html\n<script>\n uuidv4(); // ⇨ '55af1e37-0734-46d8-b070-a1e42e4fc392'\n</script>\n```\n\nMethods for the other algorithms ([`uuidv1()`](#uuidv1options-buffer-offset), [`uuidv3()`](#uuidv3name-namespace-buffer-offset) and [`uuidv5()`](#uuidv5name-namespace-buffer-offset)) are available from the files `uuidv1.min.js`, `uuidv3.min.js` and `uuidv5.min.js` respectively.\n\n## \"getRandomValues() not supported\"\n\nThis error occurs in environments where the standard [`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues) API is not supported. This issue can be resolved by adding an appropriate polyfill:\n\n### React Native\n\n1. Install [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme)\n1. Import it before `uuid`:\n\n```javascript\nimport 'react-native-get-random-values';\nimport { v4 as uuidv4 } from 'uuid';\n```\n\n### Web Workers / Service Workers (Edge <= 18)\n\n[In Edge <= 18, Web Crypto is not supported in Web Workers or Service Workers](https://caniuse.com/#feat=cryptography) and we are not aware of a polyfill (let us know if you find one, please).\n\n## Upgrading From `[email protected]`\n\n### Only Named Exports Supported When Using with Node.js ESM\n\n`[email protected]` did not come with native ECMAScript Module (ESM) support for Node.js. Importing it in Node.js ESM consequently imported the CommonJS source with a default export. This library now comes with true Node.js ESM support and only provides named exports.\n\nInstead of doing:\n\n```javascript\nimport uuid from 'uuid';\nuuid.v4();\n```\n\nyou will now have to use the named exports:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n### Deep Requires No Longer Supported\n\nDeep requires like `require('uuid/v4')` [which have been deprecated in `[email protected]`](#deep-requires-now-deprecated) are no longer supported.\n\n## Upgrading From `[email protected]`\n\n\"_Wait... what happened to `[email protected]` - `[email protected]`?!?_\"\n\nIn order to avoid confusion with RFC [version 4](#uuidv4options-buffer-offset) and [version 5](#uuidv5name-namespace-buffer-offset) UUIDs, and a possible [version 6](http://gh.peabody.io/uuidv6/), releases 4 thru 6 of this module have been skipped.\n\n### Deep Requires Now Deprecated\n\n`[email protected]` encouraged the use of deep requires to minimize the bundle size of browser builds:\n\n```javascript\nconst uuidv4 = require('uuid/v4'); // <== NOW DEPRECATED!\nuuidv4();\n```\n\nAs of `[email protected]` this library now provides ECMAScript modules builds, which allow packagers like Webpack and Rollup to do \"tree-shaking\" to remove dead code. Instead, use the `import` syntax:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n... or for CommonJS:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4();\n```\n\n### Default Export Removed\n\n`[email protected]` was exporting the Version 4 UUID method as a default export:\n\n```javascript\nconst uuid = require('uuid'); // <== REMOVED!\n```\n\nThis usage pattern was already discouraged in `[email protected]` and has been removed in `[email protected]`.\n\n----\nMarkdown generated from [README_js.md](README_js.md) by [![RunMD Logo](http://i.imgur.com/h0FVyzU.png)](https://github.com/broofa/runmd)",
3566 "readmeFilename": "README.md",
3567 "gitHead": "d6c185161b80f277ff03fc151e0f4bfb848a4570",
3568 "bugs": {
3569 "url": "https://github.com/uuidjs/uuid/issues"
3570 },
3571 "homepage": "https://github.com/uuidjs/uuid#readme",
3572 "_id": "[email protected]",
3573 "_nodeVersion": "12.18.0",
3574 "_npmVersion": "6.14.4",
3575 "_npmUser": {
3576 "name": "ctavan",
3577 "email": "[email protected]"
3578 },
3579 "dist": {
3580 "integrity": "sha512-YX12mJFOtrnE7o7GIbtYIoTrRN+5DTKLJXiUMnucohXeBPY0UYIaK2HrteuarIrWrjNvZ7FROqXMRNPKQz8wMg==",
3581 "shasum": "fbe17ffc7b6214d36a52c89f9e19c82dcc0f294a",
3582 "tarball": "https://registry.npmjs.org/uuid/-/uuid-8.3.0-beta.0.tgz",
3583 "fileCount": 66,
3584 "unpackedSize": 112220,
3585 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGL2qCRA9TVsSAnZWagAAqYsP/iD/kd3ajMto1FoCWAiT\n4B4tJRVvY6XYxtnYSukB3C2elXkcb8qWDE60nDRq/PWqBNuKDlXnXxpgGE4C\nJcfY1i+XDP4BxTUM1FxJGhrx6uNTun5zLJnBS02oUxe4LCIeuWus+160ETtQ\ndaWsEglcDQ6yiInKkFGMHb0FdRVPJofjylbxfj/dAVrgHvnCi9obUSw/m8ua\nmrVskeJ8U/X93H4rKen4QDDGyseB3tHqkX2GhrZqdOj3zmX4QAdonBmSyTny\n97YJ5xSQ/vFTEXVAPmbjrp6M5OAGnXS3YYNl3nTUhbsrs2POgSrWCLiucwX7\n1S576Rj2PmMP1PZ6lomFd3HafAlfz9ftGii98bZrG1aWZl06K3jZahYi53tn\nAknpoKggfk/4I0UpeX5/FiO4klZcR1/ggSC2PaJCcrIalYbCdBkzcWCfzXEh\nqlYRzR3S+nqOJqL5KJmSWgZsJVXMAAmx07wyXUHyBoPUj+oitxCN0ueANTUN\nzEibvxMUtj80iUv9FfN0eQUjnyIF4n0+8yz8L6yf4zK14LyaKr16bZq/iNSM\nOVgFp5jhqcFMGnFVaheX74N6h0VezVBOr8YB75pvZGbVGR7FMg3nBLaC76A/\nQtDObF08Z096NaZZhjiZGziMj8UWwnLVPg5EXedSqZPCqclU6Jsow1MT6QHX\n7jEI\r\n=YaPl\r\n-----END PGP SIGNATURE-----\r\n"
3586 },
3587 "maintainers": [
3588 {
3589 "email": "[email protected]",
3590 "name": "broofa"
3591 },
3592 {
3593 "email": "[email protected]",
3594 "name": "ctavan"
3595 },
3596 {
3597 "email": "[email protected]",
3598 "name": "defunctzombie"
3599 },
3600 {
3601 "email": "[email protected]",
3602 "name": "vvo"
3603 }
3604 ],
3605 "directories": {},
3606 "_npmOperationalInternal": {
3607 "host": "s3://npm-registry-packages",
3608 "tmp": "tmp/uuid_8.3.0-beta.0_1595456937747_0.8708052138920852"
3609 },
3610 "_hasShrinkwrap": false
3611 },
3612 "8.3.0": {
3613 "name": "uuid",
3614 "version": "8.3.0",
3615 "description": "RFC4122 (v1, v4, and v5) UUIDs",
3616 "commitlint": {
3617 "extends": [
3618 "@commitlint/config-conventional"
3619 ]
3620 },
3621 "keywords": [
3622 "uuid",
3623 "guid",
3624 "rfc4122"
3625 ],
3626 "license": "MIT",
3627 "bin": {
3628 "uuid": "dist/bin/uuid"
3629 },
3630 "sideEffects": false,
3631 "main": "./dist/index.js",
3632 "exports": {
3633 ".": {
3634 "node": {
3635 "module": "./dist/esm-node/index.js",
3636 "require": "./dist/index.js",
3637 "import": "./wrapper.mjs"
3638 },
3639 "default": "./dist/esm-browser/index.js"
3640 },
3641 "./package.json": "./package.json"
3642 },
3643 "module": "./dist/esm-node/index.js",
3644 "browser": {
3645 "./dist/md5.js": "./dist/md5-browser.js",
3646 "./dist/rng.js": "./dist/rng-browser.js",
3647 "./dist/sha1.js": "./dist/sha1-browser.js",
3648 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
3649 },
3650 "devDependencies": {
3651 "@babel/cli": "7.10.3",
3652 "@babel/core": "7.10.3",
3653 "@babel/preset-env": "7.10.3",
3654 "@commitlint/cli": "9.1.2",
3655 "@commitlint/config-conventional": "9.0.1",
3656 "@rollup/plugin-node-resolve": "8.0.1",
3657 "@wdio/browserstack-service": "6.1.15",
3658 "@wdio/cli": "6.1.20",
3659 "@wdio/jasmine-framework": "6.1.17",
3660 "@wdio/local-runner": "6.1.20",
3661 "@wdio/spec-reporter": "6.1.14",
3662 "@wdio/static-server-service": "6.1.14",
3663 "@wdio/sync": "6.1.14",
3664 "babel-eslint": "10.1.0",
3665 "bundlewatch": "0.2.7",
3666 "eslint": "7.3.0",
3667 "eslint-config-prettier": "6.11.0",
3668 "eslint-config-standard": "14.1.1",
3669 "eslint-plugin-import": "2.21.2",
3670 "eslint-plugin-node": "11.1.0",
3671 "eslint-plugin-prettier": "3.1.4",
3672 "eslint-plugin-promise": "4.2.1",
3673 "eslint-plugin-standard": "4.0.1",
3674 "husky": "4.2.5",
3675 "jest": "25.5.4",
3676 "lint-staged": "10.2.11",
3677 "npm-run-all": "4.1.5",
3678 "prettier": "2.0.5",
3679 "random-seed": "0.3.0",
3680 "rollup": "2.18.0",
3681 "rollup-plugin-terser": "6.1.0",
3682 "runmd": "1.3.2",
3683 "standard-version": "8.0.2"
3684 },
3685 "scripts": {
3686 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
3687 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
3688 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
3689 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
3690 "lint": "npm run eslint:check && npm run prettier:check",
3691 "eslint:check": "eslint src/ test/ examples/ *.js",
3692 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
3693 "pretest": "[ -n $CI ] || npm run build",
3694 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
3695 "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
3696 "test:browser": "wdio run ./wdio.conf.js",
3697 "pretest:node": "npm run build",
3698 "test:node": "npm-run-all --parallel examples:node:**",
3699 "test:pack": "./scripts/testpack.sh",
3700 "pretest:benchmark": "npm run build",
3701 "test:benchmark": "cd examples/benchmark && npm install && npm test",
3702 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
3703 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
3704 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
3705 "md": "runmd --watch --output=README.md README_js.md",
3706 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
3707 "docs:diff": "npm run docs && git diff --quiet README.md",
3708 "build": "./scripts/build.sh",
3709 "prepack": "npm run build",
3710 "release": "standard-version --no-verify"
3711 },
3712 "repository": {
3713 "type": "git",
3714 "url": "git+https://github.com/uuidjs/uuid.git"
3715 },
3716 "husky": {
3717 "hooks": {
3718 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
3719 "pre-commit": "lint-staged"
3720 }
3721 },
3722 "lint-staged": {
3723 "*.{js,jsx,json,md}": [
3724 "prettier --write"
3725 ],
3726 "*.{js,jsx}": [
3727 "eslint --fix"
3728 ]
3729 },
3730 "standard-version": {
3731 "scripts": {
3732 "postchangelog": "prettier --write CHANGELOG.md"
3733 }
3734 },
3735 "contributors": [
3736 {
3737 "name": "Robert Kieffer",
3738 "email": "[email protected]"
3739 },
3740 {
3741 "name": "Christoph Tavan",
3742 "email": "[email protected]"
3743 },
3744 {
3745 "name": "AJ ONeal",
3746 "email": "[email protected]"
3747 },
3748 {
3749 "name": "Vincent Voyer",
3750 "email": "[email protected]"
3751 },
3752 {
3753 "name": "Roman Shtylman",
3754 "email": "[email protected]"
3755 }
3756 ],
3757 "gitHead": "a91f78d9e593b8a9af1cfebdf33b771b82c42475",
3758 "bugs": {
3759 "url": "https://github.com/uuidjs/uuid/issues"
3760 },
3761 "homepage": "https://github.com/uuidjs/uuid#readme",
3762 "_id": "[email protected]",
3763 "_nodeVersion": "12.18.0",
3764 "_npmVersion": "6.14.4",
3765 "_npmUser": {
3766 "name": "ctavan",
3767 "email": "[email protected]"
3768 },
3769 "dist": {
3770 "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==",
3771 "shasum": "ab738085ca22dc9a8c92725e459b1d507df5d6ea",
3772 "tarball": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz",
3773 "fileCount": 66,
3774 "unpackedSize": 112959,
3775 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHySQCRA9TVsSAnZWagAABs0P/jASs5mpvF0tYjja886Z\nK7hAuenEWArgOaP5Ec7kDuwTmvq7m0sDVM630EI+oobCitzyvuN2WsjSbF6K\nobylxJb0OE24W9zy1qCIzMZdsWMWj5K9I48ZowBHUcnIRS02UbWBndNJf7d/\nyCOvP75r9O+tYSoqKdj6hQjGr+5/wQk4WX1u8EI5RT0Z33hoBZ4geFsg8XBW\nlrjKjUaePNjBFwlJxO1osSXd/H2pWEFy9olflx9owJHdscwvz5FNawTSmxaF\n55pYI7kZc3KgQBb8x/d6sYzSC0HcQ87EnZCnlm8AU4cdZQNkak9Q1MDVG9fg\n+GvFVDvrzmx77HxylrsA00HrXK2iJnwKl7rABm7BJmtNGH3FuuKAyBUaMlLl\n//7UwUqh7w0Gu2TjJpNqTkVOzRxwbrvasQEDWPjfZqYKCjpUhM2AHIkGBom6\no3qTej2yW0XcTixgQR4hGhNcyEsFNka3SVUcpek8elwFrrOMpXbnCF5pe+f9\nVwjn3Dg3Ld5vS4KNATeCg90G54MRlkHcajFutLKmmsgYrakqIdS8rbGDA0wi\n/KNYzTVW34HyIUozC4lSEIbYJluob/SqvAxQW9PLH0c/O+OcWj4jF4gHcGzU\n1oMIZvEOSp3eMPc5p9bzzqT2EAx7o5KD2LUfdYCPXQ/pnRoYNRbxHjeU7ys4\n+7pE\r\n=Cc7C\r\n-----END PGP SIGNATURE-----\r\n"
3776 },
3777 "maintainers": [
3778 {
3779 "email": "[email protected]",
3780 "name": "broofa"
3781 },
3782 {
3783 "email": "[email protected]",
3784 "name": "ctavan"
3785 },
3786 {
3787 "email": "[email protected]",
3788 "name": "defunctzombie"
3789 },
3790 {
3791 "email": "[email protected]",
3792 "name": "vvo"
3793 }
3794 ],
3795 "directories": {},
3796 "_npmOperationalInternal": {
3797 "host": "s3://npm-registry-packages",
3798 "tmp": "tmp/uuid_8.3.0_1595876496032_0.44563664352850596"
3799 },
3800 "_hasShrinkwrap": false
3801 },
3802 "8.3.1": {
3803 "name": "uuid",
3804 "version": "8.3.1",
3805 "description": "RFC4122 (v1, v4, and v5) UUIDs",
3806 "commitlint": {
3807 "extends": [
3808 "@commitlint/config-conventional"
3809 ]
3810 },
3811 "keywords": [
3812 "uuid",
3813 "guid",
3814 "rfc4122"
3815 ],
3816 "license": "MIT",
3817 "bin": {
3818 "uuid": "dist/bin/uuid"
3819 },
3820 "sideEffects": false,
3821 "main": "./dist/index.js",
3822 "exports": {
3823 ".": {
3824 "node": {
3825 "module": "./dist/esm-node/index.js",
3826 "require": "./dist/index.js",
3827 "import": "./wrapper.mjs"
3828 },
3829 "default": "./dist/esm-browser/index.js"
3830 },
3831 "./package.json": "./package.json"
3832 },
3833 "module": "./dist/esm-node/index.js",
3834 "browser": {
3835 "./dist/md5.js": "./dist/md5-browser.js",
3836 "./dist/rng.js": "./dist/rng-browser.js",
3837 "./dist/sha1.js": "./dist/sha1-browser.js",
3838 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
3839 },
3840 "devDependencies": {
3841 "@babel/cli": "7.11.6",
3842 "@babel/core": "7.11.6",
3843 "@babel/preset-env": "7.11.5",
3844 "@commitlint/cli": "11.0.0",
3845 "@commitlint/config-conventional": "11.0.0",
3846 "@rollup/plugin-node-resolve": "9.0.0",
3847 "babel-eslint": "10.1.0",
3848 "bundlewatch": "0.3.1",
3849 "eslint": "7.10.0",
3850 "eslint-config-prettier": "6.12.0",
3851 "eslint-config-standard": "14.1.1",
3852 "eslint-plugin-import": "2.22.1",
3853 "eslint-plugin-node": "11.1.0",
3854 "eslint-plugin-prettier": "3.1.4",
3855 "eslint-plugin-promise": "4.2.1",
3856 "eslint-plugin-standard": "4.0.1",
3857 "husky": "4.3.0",
3858 "jest": "25.5.4",
3859 "lint-staged": "10.4.0",
3860 "npm-run-all": "4.1.5",
3861 "optional-dev-dependency": "2.0.1",
3862 "prettier": "2.1.2",
3863 "random-seed": "0.3.0",
3864 "rollup": "2.28.2",
3865 "rollup-plugin-terser": "7.0.2",
3866 "runmd": "1.3.2",
3867 "standard-version": "9.0.0"
3868 },
3869 "optionalDevDependencies": {
3870 "@wdio/browserstack-service": "6.4.0",
3871 "@wdio/cli": "6.4.0",
3872 "@wdio/jasmine-framework": "6.4.0",
3873 "@wdio/local-runner": "6.4.0",
3874 "@wdio/spec-reporter": "6.4.0",
3875 "@wdio/static-server-service": "6.4.0",
3876 "@wdio/sync": "6.4.0"
3877 },
3878 "scripts": {
3879 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
3880 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
3881 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
3882 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
3883 "lint": "npm run eslint:check && npm run prettier:check",
3884 "eslint:check": "eslint src/ test/ examples/ *.js",
3885 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
3886 "pretest": "[ -n $CI ] || npm run build",
3887 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
3888 "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
3889 "test:browser": "wdio run ./wdio.conf.js",
3890 "pretest:node": "npm run build",
3891 "test:node": "npm-run-all --parallel examples:node:**",
3892 "test:pack": "./scripts/testpack.sh",
3893 "pretest:benchmark": "npm run build",
3894 "test:benchmark": "cd examples/benchmark && npm install && npm test",
3895 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
3896 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
3897 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
3898 "md": "runmd --watch --output=README.md README_js.md",
3899 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
3900 "docs:diff": "npm run docs && git diff --quiet README.md",
3901 "build": "./scripts/build.sh",
3902 "prepack": "npm run build",
3903 "release": "standard-version --no-verify"
3904 },
3905 "repository": {
3906 "type": "git",
3907 "url": "git+https://github.com/uuidjs/uuid.git"
3908 },
3909 "husky": {
3910 "hooks": {
3911 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
3912 "pre-commit": "lint-staged"
3913 }
3914 },
3915 "lint-staged": {
3916 "*.{js,jsx,json,md}": [
3917 "prettier --write"
3918 ],
3919 "*.{js,jsx}": [
3920 "eslint --fix"
3921 ]
3922 },
3923 "standard-version": {
3924 "scripts": {
3925 "postchangelog": "prettier --write CHANGELOG.md"
3926 }
3927 },
3928 "contributors": [
3929 {
3930 "name": "Robert Kieffer",
3931 "email": "[email protected]"
3932 },
3933 {
3934 "name": "Christoph Tavan",
3935 "email": "[email protected]"
3936 },
3937 {
3938 "name": "AJ ONeal",
3939 "email": "[email protected]"
3940 },
3941 {
3942 "name": "Vincent Voyer",
3943 "email": "[email protected]"
3944 },
3945 {
3946 "name": "Roman Shtylman",
3947 "email": "[email protected]"
3948 }
3949 ],
3950 "gitHead": "252ebcfb33b2d056963a530fc02067ae3de6095a",
3951 "bugs": {
3952 "url": "https://github.com/uuidjs/uuid/issues"
3953 },
3954 "homepage": "https://github.com/uuidjs/uuid#readme",
3955 "_id": "[email protected]",
3956 "_nodeVersion": "12.18.4",
3957 "_npmVersion": "6.14.6",
3958 "_npmUser": {
3959 "name": "ctavan",
3960 "email": "[email protected]"
3961 },
3962 "dist": {
3963 "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==",
3964 "shasum": "2ba2e6ca000da60fce5a196954ab241131e05a31",
3965 "tarball": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz",
3966 "fileCount": 66,
3967 "unpackedSize": 114950,
3968 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfee5mCRA9TVsSAnZWagAAP8AP/RlQNqqmCN+O+fGNB+/W\n3JIWNWGPhLXMAiHDUrLxEJsCyuoG4F5fm3ouesRKUiChdptAGWKPElsuPiU2\nSONN3lZclwU8K/zc8jwde4B/4Si+UaHdtTZa8+66bseHOM0/QKNRcUVCDEk7\ndP2Y/E9yhsX4Q5f69YicVCZqBSOy+wPDjr1CHNxFJuGCZzYHu7GjBExSHE66\nrSVqsWIhIoUl1vaZP8YqlwnWQRWmbene8Muzz7EW6zM9NsXh3q1SKS2nCjZd\n/r3i/Ci4UzU7VZIiZNzUNNRwhA+474Anrq60QGS+N4ovgbfCVIxKhGQib4Rx\nFCq5LvjLR/9oH1nbM3GxpHLUz64jmVlmu0+Zj3paQNodzUK4WGN18VM1jvO5\nGMdfvGUnHiZduOpmpiXUFthapbp5js0/O8sNDaMr2rYlayz1IUUTDW1XeftE\nQ7c7SYdOvO/KGqjDTNebilJOQ4hDILbmcwZF9t1SXxmgSbpfw/2iJYzbb8LG\nVOZi/Ie1yCDdzX4qqS+/lGGI9TvkVmOYSat7gQ7NlCo3sy5fExdFDK+ewmwM\n+tNw/v1DDWaOtUqYBdgF7Vb8lj0piDy7+PH2/CvJBjdUbja4Ihv6mcuybJPw\nmKlI5EshBeaZTdtxSHcgecuAUHFCf2Z29VHpexUOrkZvi1GJzVCYFMxXX/7r\nUfDb\r\n=dV+3\r\n-----END PGP SIGNATURE-----\r\n"
3969 },
3970 "maintainers": [
3971 {
3972 "name": "vvo",
3973 "email": "[email protected]"
3974 },
3975 {
3976 "name": "broofa",
3977 "email": "[email protected]"
3978 },
3979 {
3980 "name": "ctavan",
3981 "email": "[email protected]"
3982 },
3983 {
3984 "name": "defunctzombie",
3985 "email": "[email protected]"
3986 }
3987 ],
3988 "directories": {},
3989 "_npmOperationalInternal": {
3990 "host": "s3://npm-registry-packages",
3991 "tmp": "tmp/uuid_8.3.1_1601826406124_0.8839671601486778"
3992 },
3993 "_hasShrinkwrap": false
3994 }
3995 },
3996 "maintainers": [
3997 {
3998 "name": "vvo",
3999 "email": "[email protected]"
4000 },
4001 {
4002 "name": "broofa",
4003 "email": "[email protected]"
4004 },
4005 {
4006 "name": "ctavan",
4007 "email": "[email protected]"
4008 },
4009 {
4010 "name": "defunctzombie",
4011 "email": "[email protected]"
4012 }
4013 ],
4014 "repository": {
4015 "type": "git",
4016 "url": "git+https://github.com/uuidjs/uuid.git"
4017 },
4018 "time": {
4019 "modified": "2020-10-04T15:46:48.682Z",
4020 "created": "2011-03-31T08:12:51.801Z",
4021 "0.0.1": "2011-03-31T08:12:51.801Z",
4022 "0.0.2": "2011-03-31T08:12:51.801Z",
4023 "1.4.0": "2013-02-19T22:28:10.376Z",
4024 "1.4.1": "2013-03-14T05:25:04.735Z",
4025 "1.4.2": "2014-09-25T09:03:34.083Z",
4026 "2.0.0": "2014-09-29T09:03:24.612Z",
4027 "2.0.1": "2014-09-29T09:16:55.228Z",
4028 "2.0.2": "2016-04-13T07:37:23.788Z",
4029 "2.0.3": "2016-09-18T21:03:38.127Z",
4030 "3.0.0": "2016-11-18T05:55:37.542Z",
4031 "3.0.1": "2016-11-29T07:18:07.016Z",
4032 "3.1.0": "2017-06-16T17:54:51.877Z",
4033 "3.2.0": "2018-01-16T14:44:50.639Z",
4034 "3.2.1": "2018-01-16T17:44:57.871Z",
4035 "3.3.0": "2018-06-26T13:23:39.426Z",
4036 "3.3.2": "2018-06-28T21:29:01.853Z",
4037 "3.3.3": "2019-08-19T13:26:25.072Z",
4038 "3.4.0": "2020-01-16T21:05:38.628Z",
4039 "7.0.0-beta.0": "2020-02-17T11:25:25.965Z",
4040 "7.0.0": "2020-02-24T13:23:46.712Z",
4041 "7.0.1": "2020-02-25T20:26:35.800Z",
4042 "7.0.2-beta.0": "2020-03-02T20:31:08.402Z",
4043 "7.0.2": "2020-03-04T12:49:00.666Z",
4044 "7.0.3": "2020-03-31T19:41:24.836Z",
4045 "8.0.0-beta.0": "2020-04-29T20:21:52.783Z",
4046 "8.0.0": "2020-04-29T20:42:26.823Z",
4047 "8.1.0": "2020-05-20T18:52:38.248Z",
4048 "8.2.0-beta.0": "2020-06-23T07:38:42.240Z",
4049 "8.2.0": "2020-06-23T20:56:14.285Z",
4050 "8.3.0-beta.0": "2020-07-22T22:28:57.880Z",
4051 "8.3.0": "2020-07-27T19:01:36.217Z",
4052 "8.3.1": "2020-10-04T15:46:46.276Z"
4053 },
4054 "users": {
4055 "luk": true,
4056 "shtylman": true,
4057 "chilts": true,
4058 "appleboy": true,
4059 "davidrlee": true,
4060 "lych": true,
4061 "brentonhouse": true,
4062 "afollestad": true,
4063 "blackbunny": true,
4064 "matteospampani": true,
4065 "jakecadams": true,
4066 "yourhoneysky": true,
4067 "pospi": true,
4068 "esessoms": true,
4069 "kankungyip": true,
4070 "thomask33": true,
4071 "adamk": true,
4072 "chrisyipw": true,
4073 "tmypawa": true,
4074 "danharper": true,
4075 "erincinci": true,
4076 "lifecube": true,
4077 "yashprit": true,
4078 "moimikey": true,
4079 "ninozhang": true,
4080 "ysk8": true,
4081 "jesusgoku": true,
4082 "sonhuytran": true,
4083 "smd4": true,
4084 "defunctzombie": true,
4085 "etsit": true,
4086 "junjiansyu": true,
4087 "bpatel": true,
4088 "benburwell": true,
4089 "shipengyan": true,
4090 "piecioshka": true,
4091 "jueb": true,
4092 "qqqppp9998": true,
4093 "flozz": true,
4094 "grantcarthew": true,
4095 "po": true,
4096 "aitorllj93": true,
4097 "parkerproject": true,
4098 "jasonpearson": true,
4099 "vwal": true,
4100 "ash": true,
4101 "procom": true,
4102 "almccann": true,
4103 "wfcookie": true,
4104 "fedor": true,
4105 "koulmomo": true,
4106 "monsterkodi": true,
4107 "orkisz": true,
4108 "mlohscheidt": true,
4109 "carlosvillademor": true,
4110 "ziflex": true,
4111 "shadowlong": true,
4112 "nomemires": true,
4113 "antanst": true,
4114 "zhoutk": true,
4115 "epdplus": true,
4116 "hecto932": true,
4117 "r3nya": true,
4118 "lwgojustgo": true,
4119 "evanyeung": true,
4120 "pavel.zubkou": true,
4121 "geooogle": true,
4122 "roman-io": true,
4123 "xufz": true,
4124 "rochejul": true,
4125 "ijidau": true,
4126 "456wyc": true,
4127 "markthethomas": true,
4128 "freebird": true,
4129 "ianpaschal": true,
4130 "clarenceho": true,
4131 "jlmorgan": true,
4132 "sasquatch": true,
4133 "segen": true,
4134 "gavaxiang": true,
4135 "nigel0913": true,
4136 "octetstream": true,
4137 "lestad": true,
4138 "shekharreddy": true,
4139 "bapinney": true,
4140 "sourcesoft": true,
4141 "gollojs": true,
4142 "reinoud": true,
4143 "zpoons": true,
4144 "scotchulous": true,
4145 "jlagunas": true,
4146 "jaxelson": true,
4147 "holly": true,
4148 "akarem": true,
4149 "apopek": true,
4150 "wenhsiaoyi": true,
4151 "ferchoriverar": true,
4152 "writech": true,
4153 "gildasdubois": true,
4154 "nhz.io": true,
4155 "blade254353074": true,
4156 "jtrh": true,
4157 "mauriciolauffer": true,
4158 "justdomepaul": true,
4159 "neo1": true,
4160 "leon740727": true,
4161 "mhaidarh": true,
4162 "tmurngon": true,
4163 "jez9999": true,
4164 "monolithed": true,
4165 "nohomey": true,
4166 "ckaatz": true,
4167 "diegorbaquero": true,
4168 "ahvonenj": true,
4169 "praxiq": true,
4170 "kavyababu7": true,
4171 "dzhou777": true,
4172 "caiofossa": true,
4173 "jamiechoi": true,
4174 "harumambur": true,
4175 "broofa": true,
4176 "wangnan0610": true,
4177 "ivan.marquez": true,
4178 "albertofdzm": true,
4179 "abuelwafa": true,
4180 "rumkin": true,
4181 "stretchgz": true,
4182 "shrike": true,
4183 "chaofeis": true,
4184 "nickleefly": true,
4185 "sachacr": true,
4186 "haihepeng": true,
4187 "wenbing": true,
4188 "kodekracker": true,
4189 "jian263994241": true,
4190 "bsara": true,
4191 "guzgarcia": true,
4192 "ferrari": true,
4193 "i3fox": true,
4194 "augiethornton": true,
4195 "mikestaub": true,
4196 "programmer.severson": true,
4197 "sgvinci": true,
4198 "appsparkler": true,
4199 "techmuch": true,
4200 "cblumer": true,
4201 "jk6": true,
4202 "tdevm": true,
4203 "max_devjs": true,
4204 "cbetancourt": true,
4205 "gdibble": true,
4206 "isenricho": true,
4207 "vchouhan": true,
4208 "danielye": true,
4209 "andfaulkner": true,
4210 "rocket0191": true,
4211 "satoru": true,
4212 "serge-nikitin": true,
4213 "alexcoady": true,
4214 "kaufmo": true,
4215 "miadzadfallah": true,
4216 "asaupup": true,
4217 "potentii": true,
4218 "xfloops": true,
4219 "n0f3": true,
4220 "marcobiedermann": true,
4221 "soulchainer": true,
4222 "leapm": true,
4223 "artjacob": true,
4224 "stevenvachon": true,
4225 "papasavva": true,
4226 "philipjc": true,
4227 "dkblay": true,
4228 "awhmandan": true,
4229 "sternelee": true,
4230 "walexstevens": true,
4231 "guurgle": true,
4232 "quafoo": true,
4233 "scott.m.sarsfield": true,
4234 "yswon": true,
4235 "pddivine": true,
4236 "subinvarghesein": true,
4237 "superchenney": true,
4238 "thomas.han": true,
4239 "kikna": true,
4240 "zand3rs": true,
4241 "heartnett": true,
4242 "simonja": true,
4243 "fengmiaosen": true,
4244 "someok": true,
4245 "raycharles": true,
4246 "xxsnake28": true,
4247 "icognivator": true,
4248 "zhyq0826": true,
4249 "partsunknown": true,
4250 "kkho595": true,
4251 "jybleau": true,
4252 "jamesbedont": true,
4253 "sundaycrafts": true,
4254 "yikuo": true,
4255 "shiva127": true,
4256 "jasonbbelcher": true,
4257 "flxa888": true,
4258 "jonaslomholdt": true,
4259 "vivek.vikhere": true,
4260 "whathejoe": true,
4261 "abhijitkalta": true,
4262 "wayn": true,
4263 "infernocloud": true,
4264 "gpuente": true,
4265 "leland-kwong": true,
4266 "isayme": true,
4267 "arnold-almeida": true,
4268 "xrush": true,
4269 "eserozvataf": true,
4270 "restuta": true,
4271 "atomgao": true,
4272 "rojo2": true,
4273 "gzg1500521074": true,
4274 "processbrain": true,
4275 "donggw2030521": true,
4276 "itcorp": true,
4277 "tomgao365": true,
4278 "yash3492": true,
4279 "mirkoj": true,
4280 "palsson": true,
4281 "xinwangwang": true,
4282 "keyn": true,
4283 "bart1208": true,
4284 "wozhizui": true,
4285 "tjg": true,
4286 "johntbales": true,
4287 "nuwaio": true,
4288 "bigglesatlarge": true,
4289 "tztz": true,
4290 "tjfwalker": true,
4291 "reggiezhang": true,
4292 "nonemoticoner": true,
4293 "jakedalus": true,
4294 "swedendrift": true,
4295 "astesio": true,
4296 "huangshijuan": true,
4297 "zuojiang": true,
4298 "wolfram77": true,
4299 "luffy84217": true,
4300 "iainhallam": true,
4301 "cainwatson": true,
4302 "shahabkhalvati": true,
4303 "leonardothibes": true,
4304 "vjenks": true,
4305 "jonathas": true,
4306 "edwardxyt": true,
4307 "razor164": true,
4308 "snowdream": true,
4309 "joelwallis": true,
4310 "leonardorb": true,
4311 "bluelover": true,
4312 "mgub": true,
4313 "somerayg": true,
4314 "laoshaw": true,
4315 "dtunes": true,
4316 "marcker": true,
4317 "warcrydoggie": true,
4318 "vparaskevas": true,
4319 "biao166": true,
4320 "xtx1130": true,
4321 "cschmitz81": true,
4322 "ganeshkbhat": true,
4323 "karzanosman984": true,
4324 "selenasong": true,
4325 "sammade": true,
4326 "obsessiveprogrammer": true,
4327 "cognivator": true,
4328 "marlberm2014": true,
4329 "he313572052": true,
4330 "ralphkay": true,
4331 "arefm": true,
4332 "jarrodhroberson": true,
4333 "hugovila": true,
4334 "reyronald": true,
4335 "akshay.vs9543": true,
4336 "yakumat": true,
4337 "davidnyhuis": true,
4338 "ashco": true,
4339 "wangxb": true,
4340 "ezeikel": true,
4341 "crwnvr": true,
4342 "horrorandtropics": true,
4343 "rikstam": true,
4344 "avivharuzi": true,
4345 "lex_nel": true,
4346 "esilva2902": true,
4347 "dheerajvs": true,
4348 "faraoman": true,
4349 "sunkeysun": true,
4350 "lgl1993": true,
4351 "winjeysong": true,
4352 "pixelventures": true,
4353 "kvrao": true,
4354 "juananto11": true,
4355 "rparris": true,
4356 "lionel86": true,
4357 "gamersdelight": true,
4358 "martinspinks": true,
4359 "matsgm": true,
4360 "maxblock": true,
4361 "dwqs": true,
4362 "daizch": true,
4363 "fearnbuster": true,
4364 "wandyezj": true,
4365 "leota": true,
4366 "jochemstoel": true,
4367 "justforuse": true
4368 },
4369 "readme": "<!--\n -- This file is auto-generated from README_js.md. Changes should be made there.\n -->\n\n# uuid [![CI](https://github.com/uuidjs/uuid/workflows/CI/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [![Browser](https://github.com/uuidjs/uuid/workflows/Browser/badge.svg)](https://github.com/uuidjs/uuid/actions?query=workflow%3ABrowser)\n\nFor the creation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDs\n\n- **Complete** - Support for RFC4122 version 1, 3, 4, and 5 UUIDs\n- **Cross-platform** - Support for ...\n - CommonJS, [ECMAScript Modules](#ecmascript-modules) and [CDN builds](#cdn-builds)\n - Node 8, 10, 12, 14\n - Chrome, Safari, Firefox, Edge, IE 11 browsers\n - Webpack and rollup.js module bundlers\n - [React Native / Expo](#react-native-expo)\n- **Secure** - Cryptographically-strong random values\n- **Small** - Zero-dependency, small footprint, plays nice with \"tree shaking\" packagers\n- **CLI** - Includes the [`uuid` command line](#command-line) utility\n\n**Upgrading from `[email protected]`?** Your code is probably okay, but check out [Upgrading From `[email protected]`](#upgrading-from-uuid3x) for details.\n\n## Quickstart\n\nTo create a random UUID...\n\n**1. Install**\n\n```shell\nnpm install uuid\n```\n\n**2. Create a UUID** (ES6 module syntax)\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'\n```\n\n... or using CommonJS syntax:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nFor timestamp UUIDs, namespace UUIDs, and other options read on ...\n\n## API Summary\n\n| | | |\n| --- | --- | --- |\n| [`uuid.NIL`](#uuidnil) | The nil UUID string (all zeros) | New in `[email protected]` |\n| [`uuid.parse()`](#uuidparsestr) | Convert UUID string to array of bytes | New in `[email protected]` |\n| [`uuid.stringify()`](#uuidstringifyarr-offset) | Convert array of bytes to UUID string | New in `[email protected]` |\n| [`uuid.v1()`](#uuidv1options-buffer-offset) | Create a version 1 (timestamp) UUID | |\n| [`uuid.v3()`](#uuidv3name-namespace-buffer-offset) | Create a version 3 (namespace w/ MD5) UUID | |\n| [`uuid.v4()`](#uuidv4options-buffer-offset) | Create a version 4 (random) UUID | |\n| [`uuid.v5()`](#uuidv5name-namespace-buffer-offset) | Create a version 5 (namespace w/ SHA-1) UUID | |\n| [`uuid.validate()`](#uuidvalidatestr) | Test a string to see if it is a valid UUID | New in `[email protected]` |\n| [`uuid.version()`](#uuidversionstr) | Detect RFC version of a UUID | New in `[email protected]` |\n\n## API\n\n### uuid.NIL\n\nThe nil UUID string (all zeros).\n\nExample:\n\n```javascript\nimport { NIL as NIL_UUID } from 'uuid';\n\nNIL_UUID; // ⇨ '00000000-0000-0000-0000-000000000000'\n```\n\n### uuid.parse(str)\n\nConvert UUID string to array of bytes\n\n| | |\n| --------- | ---------------------------------------- |\n| `str` | A valid UUID `String` |\n| _returns_ | `Uint8Array[16]` |\n| _throws_ | `TypeError` if `str` is not a valid UUID |\n\nNote: Ordering of values in the byte arrays used by `parse()` and `stringify()` follows the left &Rarr; right order of hex-pairs in UUID strings. As shown in the example below.\n\nExample:\n\n```javascript\nimport { parse as uuidParse } from 'uuid';\n\n// Parse a UUID\nconst bytes = uuidParse('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b');\n\n// Convert to hex strings to show byte order (for documentation purposes)\n[...bytes].map((v) => v.toString(16).padStart(2, '0')); // ⇨ \n // [\n // '6e', 'c0', 'bd', '7f',\n // '11', 'c0', '43', 'da',\n // '97', '5e', '2a', '8a',\n // 'd9', 'eb', 'ae', '0b'\n // ]\n```\n\n### uuid.stringify(arr[, offset])\n\nConvert array of bytes to UUID string\n\n| | |\n| -------------- | ---------------------------------------------------------------------------- |\n| `arr` | `Array`-like collection of 16 values (starting from `offset`) between 0-255. |\n| [`offset` = 0] | `Number` Starting index in the Array |\n| _returns_ | `String` |\n| _throws_ | `TypeError` if a valid UUID string cannot be generated |\n\nNote: Ordering of values in the byte arrays used by `parse()` and `stringify()` follows the left &Rarr; right order of hex-pairs in UUID strings. As shown in the example below.\n\nExample:\n\n```javascript\nimport { stringify as uuidStringify } from 'uuid';\n\nconst uuidBytes = [\n 0x6e,\n 0xc0,\n 0xbd,\n 0x7f,\n 0x11,\n 0xc0,\n 0x43,\n 0xda,\n 0x97,\n 0x5e,\n 0x2a,\n 0x8a,\n 0xd9,\n 0xeb,\n 0xae,\n 0x0b,\n];\n\nuuidStringify(uuidBytes); // ⇨ '6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'\n```\n\n### uuid.v1([options[, buffer[, offset]]])\n\nCreate an RFC version 1 (timestamp) UUID\n\n| | |\n| --- | --- |\n| [`options`] | `Object` with one or more of the following properties: |\n| [`options.node` ] | RFC \"node\" field as an `Array[6]` of byte values (per 4.1.6) |\n| [`options.clockseq`] | RFC \"clock sequence\" as a `Number` between 0 - 0x3fff |\n| [`options.msecs`] | RFC \"timestamp\" field (`Number` of milliseconds, unix epoch) |\n| [`options.nsecs`] | RFC \"timestamp\" field (`Number` of nanseconds to add to `msecs`, should be 0-10,000) |\n| [`options.random`] | `Array` of 16 random bytes (0-255) |\n| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |\n| [`buffer`] | `Array \\| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |\n| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |\n| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |\n| _throws_ | `Error` if more than 10M UUIDs/sec are requested |\n\nNote: The default [node id](https://tools.ietf.org/html/rfc4122#section-4.1.6) (the last 12 digits in the UUID) is generated once, randomly, on process startup, and then remains unchanged for the duration of the process.\n\nNote: `options.random` and `options.rng` are only meaningful on the very first call to `v1()`, where they may be passed to initialize the internal `node` and `clockseq` fields.\n\nExample:\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\n\nuuidv1(); // ⇨ '2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d'\n```\n\nExample using `options`:\n\n```javascript\nimport { v1 as uuidv1 } from 'uuid';\n\nconst v1options = {\n node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],\n clockseq: 0x1234,\n msecs: new Date('2011-11-01').getTime(),\n nsecs: 5678,\n};\nuuidv1(v1options); // ⇨ '710b962e-041c-11e1-9234-0123456789ab'\n```\n\n### uuid.v3(name, namespace[, buffer[, offset]])\n\nCreate an RFC version 3 (namespace w/ MD5) UUID\n\nAPI is identical to `v5()`, but uses \"v3\" instead.\n\n&#x26a0;&#xfe0f; Note: Per the RFC, \"_If backward compatibility is not an issue, SHA-1 [Version 5] is preferred_.\"\n\n### uuid.v4([options[, buffer[, offset]]])\n\nCreate an RFC version 4 (random) UUID\n\n| | |\n| --- | --- |\n| [`options`] | `Object` with one or more of the following properties: |\n| [`options.random`] | `Array` of 16 random bytes (0-255) |\n| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |\n| [`buffer`] | `Array \\| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |\n| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |\n| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |\n\nExample:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\n\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nExample using predefined `random` values:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\n\nconst v4options = {\n random: [\n 0x10,\n 0x91,\n 0x56,\n 0xbe,\n 0xc4,\n 0xfb,\n 0xc1,\n 0xea,\n 0x71,\n 0xb4,\n 0xef,\n 0xe1,\n 0x67,\n 0x1c,\n 0x58,\n 0x36,\n ],\n};\nuuidv4(v4options); // ⇨ '109156be-c4fb-41ea-b1b4-efe1671c5836'\n```\n\n### uuid.v5(name, namespace[, buffer[, offset]])\n\nCreatea an RFC version 5 (namespace w/ SHA-1) UUID\n\n| | |\n| --- | --- |\n| `name` | `String \\| Array` |\n| `namespace` | `String \\| Array[16]` Namespace UUID |\n| [`buffer`] | `Array \\| Buffer` If specified, uuid will be written here in byte-form, starting at `offset` |\n| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |\n| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |\n\nNote: The RFC `DNS` and `URL` namespaces are available as `v5.DNS` and `v5.URL`.\n\nExample with custom namespace:\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\n// Define a custom namespace. Readers, create your own using something like\n// https://www.uuidgenerator.net/\nconst MY_NAMESPACE = '1b671a64-40d5-491e-99b0-da01ff1f3341';\n\nuuidv5('Hello, World!', MY_NAMESPACE); // ⇨ '630eb68f-e0fa-5ecc-887a-7c7a62614681'\n```\n\nExample with RFC `URL` namespace:\n\n```javascript\nimport { v5 as uuidv5 } from 'uuid';\n\nuuidv5('https://www.w3.org/', uuidv5.URL); // ⇨ 'c106a26a-21bb-5538-8bf2-57095d1976c1'\n```\n\n### uuid.validate(str)\n\nTest a string to see if it is a valid UUID\n\n| | |\n| --------- | --------------------------------------------------- |\n| `str` | `String` to validate |\n| _returns_ | `true` if string is a valid UUID, `false` otherwise |\n\nExample:\n\n```javascript\nimport { validate as uuidValidate } from 'uuid';\n\nuuidValidate('not a UUID'); // ⇨ false\nuuidValidate('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ true\n```\n\n### uuid.version(str)\n\nDetect RFC version of a UUID\n\n| | |\n| --------- | ---------------------------------------- |\n| `str` | A valid UUID `String` |\n| _returns_ | `Number` The RFC version of the UUID |\n| _throws_ | `TypeError` if `str` is not a valid UUID |\n\nExample:\n\n```javascript\nimport { version as uuidVersion } from 'uuid';\n\nuuidVersion('45637ec4-c85f-11ea-87d0-0242ac130003'); // ⇨ 1\nuuidVersion('6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b'); // ⇨ 4\n```\n\n## Command Line\n\nUUIDs can be generated from the command line using `uuid`.\n\n```shell\n$ uuid\nddeb27fb-d9a0-4624-be4d-4615062daed4\n```\n\nThe default is to generate version 4 UUIDS, however the other versions are supported. Type `uuid --help` for details:\n\n```shell\n$ uuid --help\n\nUsage:\n uuid\n uuid v1\n uuid v3 <name> <namespace uuid>\n uuid v4\n uuid v5 <name> <namespace uuid>\n uuid --help\n\nNote: <namespace uuid> may be \"URL\" or \"DNS\" to use the corresponding UUIDs\ndefined by RFC4122\n```\n\n## ECMAScript Modules\n\nThis library comes with [ECMAScript Modules](https://www.ecma-international.org/ecma-262/6.0/#sec-modules) (ESM) support for Node.js versions that support it ([example](./examples/node-esmodules/)) as well as bundlers like [rollup.js](https://rollupjs.org/guide/en/#tree-shaking) ([example](./examples/browser-rollup/)) and [webpack](https://webpack.js.org/guides/tree-shaking/) ([example](./examples/browser-webpack/)) (targeting both, Node.js and browser environments).\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n```\n\nTo run the examples you must first create a dist build of this library in the module root:\n\n```shell\nnpm run build\n```\n\n## CDN Builds\n\n### ECMAScript Modules\n\nTo load this module directly into modern browsers that [support loading ECMAScript Modules](https://caniuse.com/#feat=es6-module) you can make use of [jspm](https://jspm.org/):\n\n```html\n<script type=\"module\">\n import { v4 as uuidv4 } from 'https://jspm.dev/uuid';\n console.log(uuidv4()); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'\n</script>\n```\n\n### UMD\n\nTo load this module directly into older browsers you can use the [UMD (Universal Module Definition)](https://github.com/umdjs/umd) builds from any of the following CDNs:\n\n**Using [UNPKG](https://unpkg.com/uuid@latest/dist/umd/)**:\n\n```html\n<script src=\"https://unpkg.com/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n```\n\n**Using [jsDelivr](https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/)**:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv4.min.js\"></script>\n```\n\n**Using [cdnjs](https://cdnjs.com/libraries/uuid)**:\n\n```html\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/uuid/8.1.0/uuidv4.min.js\"></script>\n```\n\nThese CDNs all provide the same [`uuidv4()`](#uuidv4options-buffer-offset) method:\n\n```html\n<script>\n uuidv4(); // ⇨ '55af1e37-0734-46d8-b070-a1e42e4fc392'\n</script>\n```\n\nMethods for the other algorithms ([`uuidv1()`](#uuidv1options-buffer-offset), [`uuidv3()`](#uuidv3name-namespace-buffer-offset) and [`uuidv5()`](#uuidv5name-namespace-buffer-offset)) are available from the files `uuidv1.min.js`, `uuidv3.min.js` and `uuidv5.min.js` respectively.\n\n## \"getRandomValues() not supported\"\n\nThis error occurs in environments where the standard [`crypto.getRandomValues()`](https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues) API is not supported. This issue can be resolved by adding an appropriate polyfill:\n\n### React Native / Expo\n\n1. Install [`react-native-get-random-values`](https://github.com/LinusU/react-native-get-random-values#readme)\n1. Import it _before_ `uuid`. Since `uuid` might also appear as a transitive dependency of some other imports it's safest to just import `react-native-get-random-values` as the very first thing in your entry point:\n\n```javascript\nimport 'react-native-get-random-values';\nimport { v4 as uuidv4 } from 'uuid';\n```\n\nNote: If you are using Expo, you must be using at least `[email protected]` and `[email protected]`.\n\n### Web Workers / Service Workers (Edge <= 18)\n\n[In Edge <= 18, Web Crypto is not supported in Web Workers or Service Workers](https://caniuse.com/#feat=cryptography) and we are not aware of a polyfill (let us know if you find one, please).\n\n## Upgrading From `[email protected]`\n\n### Only Named Exports Supported When Using with Node.js ESM\n\n`[email protected]` did not come with native ECMAScript Module (ESM) support for Node.js. Importing it in Node.js ESM consequently imported the CommonJS source with a default export. This library now comes with true Node.js ESM support and only provides named exports.\n\nInstead of doing:\n\n```javascript\nimport uuid from 'uuid';\nuuid.v4();\n```\n\nyou will now have to use the named exports:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n### Deep Requires No Longer Supported\n\nDeep requires like `require('uuid/v4')` [which have been deprecated in `[email protected]`](#deep-requires-now-deprecated) are no longer supported.\n\n## Upgrading From `[email protected]`\n\n\"_Wait... what happened to `[email protected]` - `[email protected]`?!?_\"\n\nIn order to avoid confusion with RFC [version 4](#uuidv4options-buffer-offset) and [version 5](#uuidv5name-namespace-buffer-offset) UUIDs, and a possible [version 6](http://gh.peabody.io/uuidv6/), releases 4 thru 6 of this module have been skipped.\n\n### Deep Requires Now Deprecated\n\n`[email protected]` encouraged the use of deep requires to minimize the bundle size of browser builds:\n\n```javascript\nconst uuidv4 = require('uuid/v4'); // <== NOW DEPRECATED!\nuuidv4();\n```\n\nAs of `[email protected]` this library now provides ECMAScript modules builds, which allow packagers like Webpack and Rollup to do \"tree-shaking\" to remove dead code. Instead, use the `import` syntax:\n\n```javascript\nimport { v4 as uuidv4 } from 'uuid';\nuuidv4();\n```\n\n... or for CommonJS:\n\n```javascript\nconst { v4: uuidv4 } = require('uuid');\nuuidv4();\n```\n\n### Default Export Removed\n\n`[email protected]` was exporting the Version 4 UUID method as a default export:\n\n```javascript\nconst uuid = require('uuid'); // <== REMOVED!\n```\n\nThis usage pattern was already discouraged in `[email protected]` and has been removed in `[email protected]`.\n\n----\nMarkdown generated from [README_js.md](README_js.md) by [![RunMD Logo](http://i.imgur.com/h0FVyzU.png)](https://github.com/broofa/runmd)",
4370 "readmeFilename": "README.md",
4371 "keywords": [
4372 "uuid",
4373 "guid",
4374 "rfc4122"
4375 ],
4376 "contributors": [
4377 {
4378 "name": "Robert Kieffer",
4379 "email": "[email protected]"
4380 },
4381 {
4382 "name": "Christoph Tavan",
4383 "email": "[email protected]"
4384 },
4385 {
4386 "name": "AJ ONeal",
4387 "email": "[email protected]"
4388 },
4389 {
4390 "name": "Vincent Voyer",
4391 "email": "[email protected]"
4392 },
4393 {
4394 "name": "Roman Shtylman",
4395 "email": "[email protected]"
4396 }
4397 ],
4398 "homepage": "https://github.com/uuidjs/uuid#readme",
4399 "bugs": {
4400 "url": "https://github.com/uuidjs/uuid/issues"
4401 },
4402 "license": "MIT"
4403 }