Skip to content

Commit f966f05

Browse files
author
yuuangzhang
committed
fix: esm.js
1 parent 80f6cf0 commit f966f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ See the accompanying LICENSE file for terms.
66

77
'use strict';
88

9-
var randomBytes = require('randombytes');
9+
var randomBytes = require('crypto').randomBytes
1010

1111
// Generate an internal UID to make the regexp pattern harder to guess.
1212
var UID_LENGTH = 16;

0 commit comments

Comments
 (0)