(options)
| 404 | } |
| 405 | |
| 406 | function randomUUID(options) { |
| 407 | if (options !== undefined) |
| 408 | validateObject(options, 'options'); |
| 409 | const { |
| 410 | disableEntropyCache = false, |
| 411 | } = options || kEmptyObject; |
| 412 | |
| 413 | validateBoolean(disableEntropyCache, 'options.disableEntropyCache'); |
| 414 | |
| 415 | return disableEntropyCache ? getUnbufferedUUID() : getBufferedUUID(); |
| 416 | } |
| 417 | |
| 418 | function writeTimestamp(buf, offset) { |
| 419 | const now = DateNow(); |
no test coverage detected
searching dependent graphs…