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 };