mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-11 23:32:31 +00:00
update
This commit is contained in:
1 parent
4d9d2e3585
commit
b429b1c075
559 files changed
+195193
No files matched your search
Vendored
+17
@@ -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 };
|
||||
Reference in new issue
Block a user