diff --git a/packages/remix-node/base64.ts b/packages/remix-node/base64.ts deleted file mode 100644 index f4d2f50ffff..00000000000 --- a/packages/remix-node/base64.ts +++ /dev/null @@ -1,7 +0,0 @@ -export function atob(a: string): string { - return Buffer.from(a, "base64").toString("binary"); -} - -export function btoa(b: string): string { - return Buffer.from(b, "binary").toString("base64"); -} diff --git a/packages/remix-node/globals.ts b/packages/remix-node/globals.ts index 2732cbe17c4..ffe717fcbfb 100644 --- a/packages/remix-node/globals.ts +++ b/packages/remix-node/globals.ts @@ -3,7 +3,6 @@ import { WritableStream as NodeWritableStream, } from "@remix-run/web-stream"; -import { atob, btoa } from "./base64"; import { Blob as NodeBlob, File as NodeFile, @@ -21,9 +20,6 @@ declare global { } interface Global { - atob: typeof atob; - btoa: typeof btoa; - Blob: typeof Blob; File: typeof File; @@ -40,9 +36,6 @@ declare global { } export function installGlobals() { - global.atob = atob; - global.btoa = btoa; - global.Blob = NodeBlob; global.File = NodeFile;