vanzy-protect
Version:
Epic Obfuscator Yeahhh
15 lines (14 loc) • 548 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.attachComments = void 0;
const deasync = require("deasync");
function callbackedImport(name, cb) {
Promise.resolve().then(() => require(name)).then(m => cb(undefined, m))
.catch(e => cb(e, undefined));
}
const syncImport = deasync(callbackedImport);
const attachCommentsModule = syncImport('estree-util-attach-comments');
function attachComments(tree) {
return attachCommentsModule.attachComments(tree);
}
exports.attachComments = attachComments;