PHP 8.2.30
Preview: polyfill.mjs Size: 535 B
//opt/alt/alt-nodejs19/root/lib/node_modules/npm/node_modules/abort-controller/polyfill.mjs

/*globals self, window */
import * as ac from "./dist/abort-controller"

/*eslint-disable @mysticatea/prettier */
const g =
    typeof self !== "undefined" ? self :
    typeof window !== "undefined" ? window :
    typeof global !== "undefined" ? global :
    /* otherwise */ undefined
/*eslint-enable @mysticatea/prettier */

if (g) {
    if (typeof g.AbortController === "undefined") {
        g.AbortController = ac.AbortController
    }
    if (typeof g.AbortSignal === "undefined") {
        g.AbortSignal = ac.AbortSignal
    }
}

Directory Contents

Dirs: 1 × Files: 6

Name Size Perms Modified Actions
dist DIR
- drwxr-xr-x 2024-03-03 22:54:11
Edit Download
394 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
337 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
1.05 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
2.85 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
558 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
535 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).