PHP 8.2.30
Preview: index.cjs Size: 1.28 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@babel/register/lib/worker/index.cjs

"use strict";

function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
const babel = require("./babel-core.cjs");
const handleMessage = require("./handle-message.cjs");
const workerThreads = require("worker_threads");
workerThreads.parentPort.addListener("message", _asyncToGenerator(function* ({
  signal,
  port,
  action,
  payload
}) {
  let response;
  try {
    if (babel.init) yield babel.init;
    response = {
      result: yield handleMessage(action, payload)
    };
  } catch (error) {
    response = {
      error,
      errorData: Object.assign({}, error)
    };
  }
  try {
    port.postMessage(response);
  } catch (_unused) {
    port.postMessage({
      error: new Error("Cannot serialize worker response")
    });
  } finally {
    port.close();
    Atomics.store(signal, 0, 1);
    Atomics.notify(signal, 0);
  }
}));

//# sourceMappingURL=index.cjs.map

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
540 B lrw-r--r-- 2026-02-28 00:28:36
Edit Download
1.53 KB lrw-r--r-- 2026-02-28 00:28:38
Edit Download
2.56 KB lrw-r--r-- 2026-02-28 00:28:38
Edit Download
6.60 KB lrw-r--r-- 2026-02-28 00:28:40
Edit Download
640 B lrw-r--r-- 2026-02-28 00:28:42
Edit Download
1.60 KB lrw-r--r-- 2026-02-28 00:28:42
Edit Download
1.28 KB lrw-r--r-- 2026-02-28 00:28:44
Edit Download
2.27 KB lrw-r--r-- 2026-02-28 00:28:44
Edit Download
3.66 KB lrw-r--r-- 2026-02-28 00:28:48
Edit Download
8.11 KB lrw-r--r-- 2026-02-28 00:28:50
Edit Download

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