PHP 8.2.30
Preview: transform.js Size: 1.46 KB
/home/byroehnu/easepay.easetack.com/node_modules/@babel/core/lib/transform.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.transform = void 0;
exports.transformAsync = transformAsync;
exports.transformSync = transformSync;
function _gensync() {
  const data = require("gensync");
  _gensync = function () {
    return data;
  };
  return data;
}
var _index = require("./config/index.js");
var _index2 = require("./transformation/index.js");
var _rewriteStackTrace = require("./errors/rewrite-stack-trace.js");
const transformRunner = _gensync()(function* transform(code, opts) {
  const config = yield* (0, _index.default)(opts);
  if (config === null) return null;
  return yield* (0, _index2.run)(config, code);
});
const transform = exports.transform = function transform(code, optsOrCallback, maybeCallback) {
  let opts;
  let callback;
  if (typeof optsOrCallback === "function") {
    callback = optsOrCallback;
    opts = undefined;
  } else {
    opts = optsOrCallback;
    callback = maybeCallback;
  }
  if (callback === undefined) {
    return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.sync)(code, opts);
  }
  (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.errback)(code, opts, callback);
};
function transformSync(...args) {
  return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.sync)(...args);
}
function transformAsync(...args) {
  return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.async)(...args);
}
0 && 0;

//# sourceMappingURL=transform.js.map

Directory Contents

Dirs: 7 × Files: 13

Name Size Perms Modified Actions
config DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
errors DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
parser DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
tools DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
vendor DIR
- drwxr-xr-x 2026-03-14 01:49:05
Edit Download
127 B lr--r--r-- 2026-03-14 01:49:05
Edit Download
5.72 KB lrw-r--r-- 2026-02-28 00:29:42
Edit Download
5.94 KB lrw-r--r-- 2026-02-28 00:29:44
Edit Download
1.38 KB lrw-r--r-- 2026-02-28 00:29:44
Edit Download
3.60 KB lrw-r--r-- 2026-02-28 00:29:44
Edit Download
1.63 KB lrw-r--r-- 2026-02-28 00:29:52
Edit Download
4.36 KB lrw-r--r-- 2026-02-28 00:29:54
Edit Download
733 B lrw-r--r-- 2026-02-28 00:29:54
Edit Download
1.51 KB lrw-r--r-- 2026-02-28 00:29:54
Edit Download
1.08 KB lrw-r--r-- 2026-02-28 00:29:54
Edit Download
3.16 KB lrw-r--r-- 2026-02-28 00:29:56
Edit Download
1.46 KB lrw-r--r-- 2026-02-28 00:29:58
Edit Download
3.90 KB lrw-r--r-- 2026-02-28 00:29:58
Edit Download

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