From 40059d259d626b567e55993101215ca208e263fb Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 3 Feb 2024 02:35:55 -0500 Subject: [PATCH] Export missing globals for compat --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index b0b5129..16833a9 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)