PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@commitlint/load/node_modules/cosmiconfig/dist

Просмотр файла: canUseDynamicImport.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.canUseDynamicImport = canUseDynamicImport;

/* istanbul ignore file -- @preserve */
let result;

function canUseDynamicImport() {
  if (result === undefined) {
    try {
      new Function('id', 'return import(id);');
      result = true;
    } catch (e) {
      result = false;
    }
  }

  return result;
}
//# sourceMappingURL=canUseDynamicImport.js.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!