首次提交
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
'use strict'
|
||||
|
||||
const uuid = require('uuid')
|
||||
const crypto = require('crypto')
|
||||
module.exports = typeof crypto.randomUUID === 'function'
|
||||
? crypto.randomUUID
|
||||
: uuid.v4
|
||||
Reference in New Issue
Block a user