Server IP : 150.95.80.236 / Your IP : 18.119.19.23 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/api-uat.pcu.in.th/node_modules/@babel/core/lib/ |
Upload File : |
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transformFromAst = void 0; exports.transformFromAstAsync = transformFromAstAsync; exports.transformFromAstSync = transformFromAstSync; 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 transformFromAstRunner = _gensync()(function* (ast, code, opts) { const config = yield* (0, _index.default)(opts); if (config === null) return null; if (!ast) throw new Error("No AST given"); return yield* (0, _index2.run)(config, code, ast); }); const transformFromAst = exports.transformFromAst = function transformFromAst(ast, 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)(transformFromAstRunner.sync)(ast, code, opts); } } (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.errback)(ast, code, opts, callback); }; function transformFromAstSync(...args) { return (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.sync)(...args); } function transformFromAstAsync(...args) { return (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.async)(...args); } 0 && 0; //# sourceMappingURL=transform-ast.js.map