mirror of
https://github.com/actions/setup-node.git
synced 2025-12-17 14:02:35 +00:00
start
This commit is contained in:
parent
47177e86fd
commit
eac926003b
192 changed files with 14120 additions and 8 deletions
8
node_modules/uuid/lib/rng.js
generated
vendored
Normal file
8
node_modules/uuid/lib/rng.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// Unique ID creation requires a high quality random # generator. In node.js
|
||||
// this is pretty straight-forward - we use the crypto API.
|
||||
|
||||
var crypto = require('crypto');
|
||||
|
||||
module.exports = function nodeRNG() {
|
||||
return crypto.randomBytes(16);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue