From d0092f7c8cf59e1528dd2a872be853ae6d9b272a Mon Sep 17 00:00:00 2001 From: "Christopher Jeffrey (JJ)" Date: Sun, 4 Feb 2024 22:16:47 -0500 Subject: [PATCH] Export missing globals for compat (#347) --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 1d4b5ea..58f331e 100644 --- a/index.js +++ b/index.js @@ -38,6 +38,11 @@ exports.constants = { MAX_STRING_LENGTH: K_STRING_MAX_LENGTH } +exports.Blob = global.Blob +exports.File = global.File +exports.atob = global.atob +exports.btoa = global.btoa + /** * If `Buffer.TYPED_ARRAY_SUPPORT`: * === true Use Uint8Array implementation (fastest) -- 2.34.1