mirror of
https://gitlab.com/vyla-entertainment/TV.git
synced 2026-11-09 17:47:20 -05:00
8 lines
307 B
JavaScript
8 lines
307 B
JavaScript
import { Buffer } from 'buffer';
|
|
globalThis.Buffer = globalThis.Buffer || Buffer;
|
|
globalThis.process = globalThis.process || { env: {} };
|
|
if (!AbortSignal.timeout) {
|
|
AbortSignal.timeout = ms => { const c = new AbortController(); setTimeout(() => c.abort(), ms); return c.signal; };
|
|
}
|
|
export { Buffer };
|