From 0469abd4a9c9270a1fdc962969e36e63699af8b4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 21:51:33 +0100 Subject: upgrade dependencies --- node_modules/randomfill/index.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 node_modules/randomfill/index.js (limited to 'node_modules/randomfill/index.js') diff --git a/node_modules/randomfill/index.js b/node_modules/randomfill/index.js new file mode 100644 index 000000000..e2b5f7a70 --- /dev/null +++ b/node_modules/randomfill/index.js @@ -0,0 +1,7 @@ +var crypto = require('crypto') +if (typeof crypto.randomFill === 'function' && typeof crypto.randomFillSync === 'function') { + exports.randomFill = crypto.randomFill + exports.randomFillSync = crypto.randomFillSync +} else { + module.exports = require('./browser') +} -- cgit v1.2.3