PHP 8.2.30
Preview: utils.cjs Size: 670 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@babel/preset-env/lib/polyfills/utils.cjs

exports.getImportSource = function ({
  node
}) {
  if (node.specifiers.length === 0) return node.source.value;
};
exports.getRequireSource = function ({
  node
}) {
  if (node.type !== "ExpressionStatement") return;
  const {
    expression
  } = node;
  if (expression.type === "CallExpression" && expression.callee.type === "Identifier" && expression.callee.name === "require" && expression.arguments.length === 1 && expression.arguments[0].type === "StringLiteral") {
    return expression.arguments[0].value;
  }
};
exports.isPolyfillSource = function (source) {
  return source === "@babel/polyfill" || source === "core-js";
};

//# sourceMappingURL=utils.cjs.map

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
524 B lrw-r--r-- 2026-02-28 00:28:48
Edit Download
1.32 KB lrw-r--r-- 2026-02-28 00:28:50
Edit Download
2.16 KB lrw-r--r-- 2026-02-28 00:28:52
Edit Download
4.37 KB lrw-r--r-- 2026-02-28 00:28:54
Edit Download
1.17 KB lrw-r--r-- 2026-02-28 00:28:56
Edit Download
2.97 KB lrw-r--r-- 2026-02-28 00:28:56
Edit Download
670 B lrw-r--r-- 2026-02-28 00:28:58
Edit Download
1.80 KB lrw-r--r-- 2026-02-28 00:28:58
Edit Download

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