(size = 21)
| 359 | const urlAlphabet = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"; |
| 360 | |
| 361 | const uuid = (size = 21) => { |
| 362 | let id = ""; |
| 363 | let i = size; |
| 364 | |
| 365 | while (i--) { |
| 366 | // `| 0` is more compact and faster than `Math.floor()`. |
| 367 | id += urlAlphabet[(Math.random() * 64) | 0]; |
| 368 | } |
| 369 | |
| 370 | return id; |
| 371 | }; |
| 372 | |
| 373 | const EXPERIMENTAL_WARNING_RE = |
| 374 | /^\(node:\d+\) ExperimentalWarning:.*\n(?:\(Use `node --trace-warnings \.\.\.` to show where the warning was created\)\n?)?/gm; |
no outgoing calls
no test coverage detected