diff options
author | 2022-07-06 10:59:27 +0200 | |
---|---|---|
committer | 2022-07-06 04:08:53 -0700 | |
commit | b59908d291ac5da8b104ea2e74be4757ab1e8a6d (patch) | |
tree | ead001177b73a657d0649377746857377a8a9d41 | |
parent | a22b333f2a93019498f766d44fbfd7f85a415113 (diff) | |
download | bun-b59908d291ac5da8b104ea2e74be4757ab1e8a6d.tar.gz bun-b59908d291ac5da8b104ea2e74be4757ab1e8a6d.tar.zst bun-b59908d291ac5da8b104ea2e74be4757ab1e8a6d.zip |
Fix #253 - Explicitly exported `randomUUID` from global `crypto`
-rw-r--r-- | src/node-fallbacks/crypto.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node-fallbacks/crypto.js b/src/node-fallbacks/crypto.js index f5cd99d3b..2ab82cc89 100644 --- a/src/node-fallbacks/crypto.js +++ b/src/node-fallbacks/crypto.js @@ -1 +1,4 @@ export * from "crypto-browserify"; + +const { randomUUID } = crypto; +export { randomUUID }; |