Skip to content

Commit d0092f7

Browse files
authored
Export missing globals for compat (#347)
1 parent c7eee05 commit d0092f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ exports.constants = {
3838
MAX_STRING_LENGTH: K_STRING_MAX_LENGTH
3939
}
4040

41+
exports.Blob = global.Blob
42+
exports.File = global.File
43+
exports.atob = global.atob
44+
exports.btoa = global.btoa
45+
4146
/**
4247
* If `Buffer.TYPED_ARRAY_SUPPORT`:
4348
* === true Use Uint8Array implementation (fastest)

0 commit comments

Comments
 (0)