This commit is contained in:
thePR0M3TH3AN committed 2026-01-30 17:09:51 -05:00
1 parent 4d9d2e3585
commit b429b1c075
559 files changed
+195193

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { Buffer } from "https://cdn.jsdelivr.net/npm/[email protected]/+esm";
const globalScope = typeof globalThis !== "undefined" ? globalThis : window;
if (globalScope && !globalScope.Buffer) {
globalScope.Buffer = Buffer;
}
if (globalScope && !globalScope.global) {
globalScope.global = globalScope;
}
if (globalScope && !globalScope.process) {
globalScope.process = { env: {} };
}
export { Buffer };