diff --git a/build/js-transpiled/main.js b/build/js-transpiled/main.js index f5110266..b8e17021 100644 --- a/build/js-transpiled/main.js +++ b/build/js-transpiled/main.js @@ -6,6 +6,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); +require("regenerator-runtime/runtime"); + var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _fsExtra = _interopRequireDefault(require("fs-extra")); @@ -47,6 +49,7 @@ function _main() { case 0: stdio.beginDiagnostics(); // Dump some diagnostics messages, parsed out by the plugin. + stdio.info("Using process versions: ".concat(JSON.stringify(process.versions))); stdio.info("Using editor text temp file: ".concat(constants.USING_EDITOR_TEXT_TEMP_FILE)); stdio.info("Global file rules: ".concat(constants.GLOBAL_FILE_RULES_JSON)); stdio.info("Respecting .editorconfig files: ".concat(constants.RESPECT_EDITORCONFIG_FILES)); @@ -59,43 +62,43 @@ function _main() { stdio.info("Config extra lookup paths: ".concat(constants.CONFIG_EXTRA_LOOKUP_PATHS)); pathsToLook = putils.getPotentialConfigDirs(); stdio.info("Computed extra lookup paths for .jsbeautifyrc: ".concat(JSON.stringify(pathsToLook))); - _context.next = 15; + _context.next = 16; return cutils.parseDefaultJsbeautifyConfig(); - case 15: + case 16: baseConfig = _context.sent; - _context.next = 18; + _context.next = 19; return cutils.extendJsbeautifyConfigFromFolders(pathsToLook, baseConfig); - case 18: + case 19: extendedConfig = _context.sent; - _context.next = 21; + _context.next = 22; return cutils.extendJsbeautifyConfigFromEditorConfigInFolders(pathsToLook, extendedConfig); - case 21: + case 22: extendedConfig2 = _context.sent; finalConfig = cutils.finalizeJsbeautifyConfig(extendedConfig2); stdio.info("Computed prettify options: ".concat(JSON.stringify(finalConfig))); if (!(constants.USING_EDITOR_TEXT_TEMP_FILE === 'True')) { - _context.next = 30; + _context.next = 31; break; } - _context.next = 27; + _context.next = 28; return _fsExtra.default.readFile(constants.EDITOR_TEXT_TEMP_FILE_PATH, { encoding: 'utf8' }); - case 27: + case 28: _context.t0 = _context.sent; - _context.next = 31; + _context.next = 32; break; - case 30: + case 31: _context.t0 = constants.EDITOR_TEXT_TEMP_FILE_CONTENTS; - case 31: + case 32: bufferContents = _context.t0; if (futils.isCSS()) { @@ -130,7 +133,7 @@ function _main() { stdio.endPrettifiedCode(); } - case 33: + case 34: case "end": return _context.stop(); } @@ -141,4 +144,4 @@ function _main() { } main(); -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1haW4uanMiXSwibmFtZXMiOlsicHJvY2VzcyIsIm9uIiwiZXJyIiwic3RkaW8iLCJtYWluIiwiYmVnaW5EaWFnbm9zdGljcyIsImluZm8iLCJjb25zdGFudHMiLCJVU0lOR19FRElUT1JfVEVYVF9URU1QX0ZJTEUiLCJHTE9CQUxfRklMRV9SVUxFU19KU09OIiwiUkVTUEVDVF9FRElUT1JDT05GSUdfRklMRVMiLCJFRElUT1JfRklMRV9TWU5UQVgiLCJFRElUT1JfSU5ERU5UX1NJWkUiLCJFRElUT1JfSU5ERU5UX1dJVEhfVEFCUyIsIkVESVRPUl9URVhUX1RFTVBfRklMRV9QQVRIIiwiRURJVE9SX1RFWFRfVEVNUF9GSUxFX0NPTlRFTlRTIiwiT1JJR0lOQUxfRklMRV9QQVRIIiwiQ09ORklHX0VYVFJBX0xPT0tVUF9QQVRIUyIsInBhdGhzVG9Mb29rIiwicHV0aWxzIiwiZ2V0UG90ZW50aWFsQ29uZmlnRGlycyIsIkpTT04iLCJzdHJpbmdpZnkiLCJjdXRpbHMiLCJwYXJzZURlZmF1bHRKc2JlYXV0aWZ5Q29uZmlnIiwiYmFzZUNvbmZpZyIsImV4dGVuZEpzYmVhdXRpZnlDb25maWdGcm9tRm9sZGVycyIsImV4dGVuZGVkQ29uZmlnIiwiZXh0ZW5kSnNiZWF1dGlmeUNvbmZpZ0Zyb21FZGl0b3JDb25maWdJbkZvbGRlc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04gZmlsZS4nKTtcbiAgICBzdGRpby5lbmREaWFnbm9zdGljcygpO1xuICAgIHN0ZGlvLmJlZ2luUHJldHRpZmllZENvZGUoKTtcbiAgICBzdGRpby5vdXQoYmVhdXRpZnkuanMoYnVmZmVyQ29udGVudHMsIGZpbmFsQ29uZmlnLmpzb24pKTtcbiAgICBzdGRpby5lbmRQcmV0dGlmaWVkQ29kZSgpO1xuICB9IGVsc2UgaWYgKGZ1dGlscy5pc0pTKGJ1ZmZlckNvbnRlbnRzKSkge1xuICAgIHN0ZGlvLmluZm8oJ0F0dGVtcHRpbmcgdG8gcHJldHRpZnkgd2hhdCBzZWVtcyB0byBiZSBhIEpTIGZpbGUuJyk7XG4gICAgc3RkaW8uZW5kRGlhZ25vc3RpY3MoKTtcbiAgICBzdGRpby5iZWdpblByZXR0aWZpZWRDb2RlKCk7XG4gICAgc3RkaW8ub3V0KGJlYXV0aWZ5LmpzKGJ1ZmZlckNvbnRlbnRzLCBmaW5hbENvbmZpZy5qcykpO1xuICAgIHN0ZGlvLmVuZFByZXR0aWZpZWRDb2RlKCk7XG4gIH0gZWxzZSB7XG4gICAgc3RkaW8uaW5mbygnVW5zdXBwb3J0ZWQgZmlsZSB0eXBlJyk7XG4gICAgc3RkaW8uZW5kRGlhZ25vc3RpY3MoKTtcbiAgICBzdGRpby5iZWdpblByZXR0aWZpZWRDb2RlKCk7XG4gICAgc3RkaW8ub3V0KGJ1ZmZlckNvbnRlbnRzKTtcbiAgICBzdGRpby5lbmRQcmV0dGlmaWVkQ29kZSgpO1xuICB9XG59XG5cbm1haW4oKTtcbiJdLCJmaWxlIjoibWFpbi5qcyJ9 diff --git a/build/js-transpiled/shared/spawn.js b/build/js-transpiled/shared/spawn.js index 7552693c..1ae5a8bb 100644 --- a/build/js-transpiled/shared/spawn.js +++ b/build/js-transpiled/shared/spawn.js @@ -9,6 +9,8 @@ exports.default = void 0; var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread")); +require("core-js/modules/es6.promise"); + var _child_process = _interopRequireDefault(require("child_process")); /* @@ -42,4 +44,4 @@ var _default = function _default(command, args) { }; exports.default = _default; -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNoYXJlZC9zcGF3bi5qcyJdLCJuYW1lcyI6WyJjb21tYW5kIiwiYXJncyIsIm9wdGlvbnMiLCJQcm9taXNlIiwicmVzb2x2ZSIsInJlamVjdCIsInN0ZGlvIiwicHJvY2VzcyIsInBsYXRmb3JtIiwiY2hpbGQiLCJjcCIsInNwYXduIiwib24iLCJlcnIiLCJjb2RlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQVlBOztBQVpBOzs7Ozs7Ozs7OztlQWNlLGtCQUFDQSxPQUFELEVBQVVDLElBQVY7QUFBQSxNQUFnQkMsT0FBaEIsdUVBQTBCLEVBQTFCO0FBQUEsU0FBaUMsSUFBSUMsT0FBSixDQUFZLFVBQUNDLE9BQUQsRUFBVUMsTUFBVixFQUFxQjtBQUMvRSxRQUFNQyxLQUFLLEdBQUdDLE9BQU8sQ0FBQ0MsUUFBUixLQUFxQixPQUFyQixHQUNWLFFBRFUsR0FFVixTQUZKOztBQUlBLFFBQU1DLEtBQUssR0FBR0MsdUJBQUdDLEtBQUgsQ0FBU1gsT0FBVCxFQUFrQkMsSUFBbEI7QUFBMEJLLE1BQUFBLEtBQUssRUFBTEE7QUFBMUIsT0FBb0NKLE9BQXBDLEVBQWQ7O0FBRUFPLElBQUFBLEtBQUssQ0FBQ0csRUFBTixDQUFTLE9BQVQsRUFBa0IsVUFBQ0MsR0FBRCxFQUFTO0FBQ3pCUixNQUFBQSxNQUFNLENBQUNRLEdBQUQsQ0FBTjtBQUNELEtBRkQ7QUFJQUosSUFBQUEsS0FBSyxDQUFDRyxFQUFOLENBQVMsTUFBVCxFQUFpQixVQUFDRSxJQUFELEVBQVU7QUFDekJWLE1BQUFBLE9BQU8sQ0FBQ1UsSUFBRCx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ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLlxuKi9cblxuaW1wb3J0IGNwIGZyb20gJ2NoaWxkX3Byb2Nlc3MnO1xuXG5leHBvcnQgZGVmYXVsdCAoY29tbWFuZCwgYXJncywgb3B0aW9ucyA9IHt9KSA9PiBuZXcgUHJvbWlzZSgocmVzb2x2ZSwgcmVqZWN0KSA9PiB7XG4gIGNvbnN0IHN0ZGlvID0gcHJvY2Vzcy5wbGF0Zm9ybSA9PT0gJ3dpbjMyJ1xuICAgID8gJ2lnbm9yZSdcbiAgICA6ICdpbmhlcml0JztcblxuICBjb25zdCBjaGlsZCA9IGNwLnNwYXduKGNvbW1hbmQsIGFyZ3MsIHsgc3RkaW8sIC4uLm9wdGlvbnMgfSk7XG5cbiAgY2hpbGQub24oJ2Vycm9yJywgKGVycikgPT4ge1xuICAgIHJlamVjdChlcnIpO1xuICB9KTtcblxuICBjaGlsZC5vbignZXhpdCcsIChjb2RlKSA9PiB7XG4gICAgcmVzb2x2ZShjb2RlKTtcbiAgfSk7XG5cbiAgcmV0dXJuIGNoaWxkO1xufSk7XG4iXSwiZmlsZSI6InNoYXJlZC9zcGF3bi5qcyJ9 diff --git a/build/js-transpiled/utils/configUtils.js b/build/js-transpiled/utils/configUtils.js index d6dcbf93..78cfdbbf 100644 --- a/build/js-transpiled/utils/configUtils.js +++ b/build/js-transpiled/utils/configUtils.js @@ -11,8 +11,12 @@ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/obje var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); +require("core-js/modules/es7.object.entries"); + var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); +require("regenerator-runtime/runtime"); + var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _path = _interopRequireDefault(require("path")); @@ -363,4 +367,4 @@ var finalizeJsbeautifyConfig = function finalizeJsbeautifyConfig(jsbeautifyConfi }; exports.finalizeJsbeautifyConfig = finalizeJsbeautifyConfig; -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInV0aWxzL2NvbmZpZ1V0aWxzLmpzIl0sIm5hbWVzIjpbInBhcnNlSnNiZWF1dGlmeUNvbmZpZyIsImZpbGVQYXRoIiwic2FuaXRpemVKc2JlYXV0aWZ5Q29uZmlnIiwicGFyc2VEZWZhdWx0SnNiZWF1dGlmeUNvbmZpZyIsInBhdGgiLCJqb2luIiwiUk9PVF9ESVIiLCJleHRlbmRKc2JlYXV0aWZ5Q29uZmlnIiwibmV3SnNiZWF1dGlmeUNvbmZpZyIsIm9sZEpzYmVhdXRpZnlDb25maWciLCJvbGRDbG9uZWRKc2JlYXV0aWZ5Q29uZmlnIiwiT2JqZWN0IiwiZW50cmllcyIsImZpbGVUeXBlIiwibmV3RmlsZVNldHRpbmdzIiwiZ2xvYlN0cmluZyIsIm5ld0dsb2JDb25maWciLCJjdXN0b20iLCJFcnJvciIsImV4dGVuZEpzYmVhdXRpZnlDb25maWdGcm9tRmlsZSIsImV4dGVuZEpzYmVhdXRpZnlDb25maWdGcm9tRWRpdG9yQ29uZmlnRmlsZSIsIm5ld0VkaXRvckNvbmZpZyIsImV4dGVuZEpzYmVhdXRpZnlDb25maWdGcm9tRm9sZGVycyIsImZvbGRlclBhdGhzIiwiZmlsZXNUb0NoZWNrIiwibWFwIiwiZiIsInByb21pc2VBcnJheXMiLCJmaWx0ZXIiLCJmcyIsInBhdGhFeGlzdHMiLCJuZXdKc2JlYXV0aWZ5Q29uZmlnUGF0aCIsImV4dGVuZEpzYmVhdXRpZnlDb25maWdGcm9tRWRpdG9yQ29uZmlnSW5Gb2xkZXJzIiwibmV3RWRpdG9yQ29uZmlnUGF0aCIsImV4dGVuZEpzYmVhdXRpZnlDb25maWdXaXRoQ3VycmVudEZpbGVNYXRjaFJ1bGVzIiwian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LmpzIn0= diff --git a/build/js-transpiled/utils/editorconfigUtils.js b/build/js-transpiled/utils/editorconfigUtils.js index 25cf0d96..f47bf7b0 100644 --- a/build/js-transpiled/utils/editorconfigUtils.js +++ b/build/js-transpiled/utils/editorconfigUtils.js @@ -11,6 +11,8 @@ exports.parseEditorConfigFile = exports.parseEditorConfig = void 0; var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); +require("regenerator-runtime/runtime"); + var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _fsExtra = _interopRequireDefault(require("fs-extra")); @@ -94,4 +96,4 @@ function () { }(); exports.parseEditorConfigFile = parseEditorConfigFile; -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInV0aWxzL2VkaXRvcmNvbmZpZ1V0aWxzLmpzIl0sIm5hbWVzIjpbInBhcnNlRWRpdG9yQ29uZmlnIiwic3RyaW5nIiwiZWRpdG9yY29uZmlnIiwicGFyc2UiLCJlIiwic3RkaW8iLCJpbmZvIiwidW5kZWZpbmVkIiwicGFyc2VFZGl0b3JDb25maWdGaWxlIiwiZmlsZVBhdGgiLCJmcyIsInJlYWRGaWxlIiwiZW5jb2RpbmciLCJjb250ZW50cyIsInBhcnNlZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBSUE7O0FBQ0E7O0FBRUE7O0FBUEE7OztBQVNBO0FBQ0E7QUFDTyxJQUFNQSxpQkFBaUIsR0FBRyxTQUFwQkEsaUJBQW9CLENBQUNDLE1BQUQsRUFBWTtBQUMzQyxNQUFJO0FBQ0YsV0FBT0MsNEJBQWFDLEtBQWIsQ0FBbUJGLE1BQW5CLENBQVA7QUFDRCxHQUZELENBRUUsT0FBT0csQ0FBUCxFQUFVO0FBQ1ZDLElBQUFBLEtBQUssQ0FBQ0MsSUFBTixDQUFXLCtCQUFYLEVBQTRDTCxNQUE1QztBQUNBLFdBQU9NLF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pc24ndCBtYWxmb3JtZWQsIG90aGVyd2lzZSBzaWxlbnRseSBmYWlscyBhbmQgcmV0dXJucyB1bmRlZmluZWQuXG5leHBvcnQgY29uc3QgcGFyc2VFZGl0b3JDb25maWdGaWxlID0gYXN5bmMgKGZpbGVQYXRoKSA9PiB7XG4gIHN0ZGlvLmluZm8oJ0F0dGVtcHRpbmcgdG8gcGFyc2UgZmlsZTonLCBmaWxlUGF0aCk7XG4gIGxldCBjb250ZW50cztcbiAgdHJ5IHtcbiAgICBjb250ZW50cyA9IGF3YWl0IGZzLnJlYWRGaWxlKGZpbGVQYXRoLCB7IGVuY29kaW5nOiAndXRmOCcgfSk7XG4gIH0gY2F0Y2ggKGUpIHtcbiAgICBzdGRpby5pbmZvKCdGYWlsZWQgdG8gcmVhZCBmaWxlOicsIGZpbGVQYXRoKTtcbiAgICByZXR1cm4gdW5kZWZpbmVkO1xuICB9XG4gIGNvbnN0IHBhcnNlZCA9IHBhcnNlRWRpdG9yQ29uZmlnKGNvbnRlbnRzKTtcbiAgaWYgKHBhcnNlZCA9PT0gdW5kZWZpbmVkKSB7XG4gICAgc3RkaW8uaW5mbygnRmFpbGVkIHRvIHBhcnNlIGZpbGU6JywgZmlsZVBhdGgpO1xuICAgIHJldHVybiB1bmRlZmluZWQ7XG4gIH1cbiAgcmV0dXJuIHBhcnNlZDtcbn07XG4iXSwiZmlsZSI6InV0aWxzL2VkaXRvcmNvbmZpZ1V0aWxzLmpzIn0= diff --git a/build/js-transpiled/utils/fileUtils.js b/build/js-transpiled/utils/fileUtils.js index 44d37d94..17fdb4fd 100644 --- a/build/js-transpiled/utils/fileUtils.js +++ b/build/js-transpiled/utils/fileUtils.js @@ -7,6 +7,20 @@ Object.defineProperty(exports, "__esModule", { }); exports.isMatchingGlob = exports.isJS = exports.isJSON = exports.isHTML = exports.isCSS = void 0; +require("core-js/modules/es7.array.includes"); + +require("core-js/modules/es6.string.includes"); + +require("core-js/modules/es6.regexp.constructor"); + +require("core-js/modules/es6.regexp.match"); + +require("core-js/modules/es7.symbol.async-iterator"); + +require("core-js/modules/es6.symbol"); + +require("core-js/modules/web.dom.iterable"); + var _path = require("path"); var _minimatch = _interopRequireDefault(require("minimatch")); @@ -212,4 +226,4 @@ var isMatchingGlob = function isMatchingGlob(globString) { }; exports.isMatchingGlob = isMatchingGlob; -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInV0aWxzL2ZpbGVVdGlscy5qcyJdLCJuYW1lcyI6WyJHTE9CQUxfRklMRV9SVUxFUyIsIkdMT0JBTF9GSUxFX1JVTEVTX0pTT04iLCJoYXNEaXNhbGxvd2VkRmlsZVBhdGhQYXR0ZXJuIiwiZmlsZVR5cGUiLCJmaWxlUGF0aCIsImRpc2FsbG93ZWRfZmlsZV9wYXR0ZXJucyIsInBhdHRlcm4iLCJtYXRjaCIsIlJlZ0V4cCIsImhhc0FsbG93ZWRGaWxlRXh0ZW5zaW9uIiwiZXhwZWN0ZWRUeXBlIiwiYWxsb3dlZF9maWxlX2V4dGVuc2lvbnMiLCJleHRlbnNpb24iLCJoYXNBbGxvd2VkRmlsZVN5bnRheCIsImZpbGVTeW50YXgiLCJhbGxvd2VkX2ZpbGVfc3ludGF4ZXMiLCJ0b0xvd2VyQ2FzZSIsImluY2x1ZGVzIiwiaXNDU1MiLCJpc1NhdmVkRmlsZSIsIk9SSUdJTkFMX0ZJTEVfUEFUSCIsInVzZUVkaXRvckZpbGVTeW50YXhGb3JEZXRlcm1pbmluZ0ZpbGVUeXBlIiwiRURJVE9SX0ZJTEVfU1lOVEFYIiwiaXNBbGxvd2VkRXh0ZW5zaW9uIiwiaXNBbGxvd2VkU3ludGF4IiwiaXNEaXNhbGxvd2VkRmlsZVBhdHRlcm4iLCJpc0hUTUwiLCJidWZmZXJDb250ZW50cyIsImlzTWF5YmVIdG1sIiwiaXNKU09OIiwiaXNNYXliZUpzb24iLCJpc0pTIiwiaXNNYXliZUpzIiwiaX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iBhIGZpbGUgcGF0aCBtYXRjaGVzIGEgcGFydGljdWxhciBnbG9iIHN0cmluZy5cbmV4cG9ydCBjb25zdCBpc01hdGNoaW5nR2xvYiA9IChnbG9iU3RyaW5nKSA9PiB7XG4gIC8vIElmIGZpbGUgdW5zYXZlZCwgcmVqZWN0IGdsb2IgbWF0Y2hpbmc7XG4gIGlmIChPUklHSU5BTF9GSUxFX1BBVEggPT09ICc/Jykge1xuICAgIHJldHVybiBmYWxzZTtcbiAgfVxuICByZXR1cm4gKFxuICAgIG1pbmltYXRjaChPUklHSU5BTF9GSUxFX1BBVEgsIGdsb2JTdHJpbmcpXG4gICAgfHwgbWluaW1hdGNoKGJhc2VuYW1lKE9SSUdJTkFMX0ZJTEVfUEFUSCksIGdsb2JTdHJpbmcpXG4gICk7XG59O1xuIl0sImZpbGUiOiJ1dGlscy9maWxlVXRpbHMuanMifQ== diff --git a/build/js-transpiled/utils/jsonUtils.js b/build/js-transpiled/utils/jsonUtils.js index d4c6d511..321b07de 100644 --- a/build/js-transpiled/utils/jsonUtils.js +++ b/build/js-transpiled/utils/jsonUtils.js @@ -11,6 +11,8 @@ exports.parseJSON5File = exports.parseJSON5 = void 0; var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); +require("regenerator-runtime/runtime"); + var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); var _fsExtra = _interopRequireDefault(require("fs-extra")); @@ -94,4 +96,4 @@ function () { }(); exports.parseJSON5File = parseJSON5File; -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInV0aWxzL2pzb25VdGlscy5qcyJdLCJuYW1lcyI6WyJwYXJzZUpTT041Iiwic3RyaW5nIiwiSlNPTjUiLCJwYXJzZSIsImUiLCJzdGRpbyIsImluZm8iLCJ1bmRlZmluZWQiLCJwYXJzZUpTT041RmlsZSIsImZpbGVQYXRoIiwiZnMiLCJyZWFkRmlsZSIsImVu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5kZWZpbmVkO1xuICB9XG59O1xuXG4vLyBQYXJzZXMgYSBqc29uIGZpbGUgYXQgYSBnaXZlbiBwYXRoIGFuZCByZXR1cm5zIGFuIG9iamVjdCBpZiBpdCBleGlzdHNcbi8vIGFuZCBpc24ndCBtYWxmb3JtZWQsIG90aGVyd2lzZSBzaWxlbnRseSBmYWlscyBhbmQgcmV0dXJucyB1bmRlZmluZWQuXG5leHBvcnQgY29uc3QgcGFyc2VKU09ONUZpbGUgPSBhc3luYyAoZmlsZVBhdGgpID0+IHtcbiAgc3RkaW8uaW5mbygnQXR0ZW1wdGluZyB0byBwYXJzZSBmaWxlOicsIGZpbGVQYXRoKTtcbiAgbGV0IGNvbnRlbnRzO1xuICB0cnkge1xuICAgIGNvbnRlbnRzID0gYXdhaXQgZnMucmVhZEZpbGUoZmlsZVBhdGgsIHsgZW5jb2Rpbmc6ICd1dGY4JyB9KTtcbiAgfSBjYXRjaCAoZSkge1xuICAgIHN0ZGlvLmluZm8oJ0ZhaWxlZCB0byByZWFkIGZpbGU6JywgZmlsZVBhdGgpO1xuICAgIHJldHVybiB1bmRlZmluZWQ7XG4gIH1cbiAgY29uc3QgcGFyc2VkID0gcGFyc2VKU09ONShjb250ZW50cyk7XG4gIGlmIChwYXJzZWQgPT09IHVuZGVmaW5lZCkge1xuICAgIHN0ZGlvLmluZm8oJ0ZhaWxlZCB0byBwYXJzZSBmaWxlOicsIGZpbGVQYXRoKTtcbiAgICByZXR1cm4gdW5kZWZpbmVkO1xuICB9XG4gIHJldHVybiBwYXJzZWQ7XG59O1xuIl0sImZpbGUiOiJ1dGlscy9qc29uVXRpbHMuanMifQ== diff --git a/build/js-transpiled/utils/pathUtils.js b/build/js-transpiled/utils/pathUtils.js index a1001736..bd98c06a 100644 --- a/build/js-transpiled/utils/pathUtils.js +++ b/build/js-transpiled/utils/pathUtils.js @@ -9,6 +9,8 @@ exports.getPotentialConfigDirs = exports.getAncestorPaths = void 0; var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); +require("core-js/modules/es6.regexp.split"); + var _path = _interopRequireDefault(require("path")); var _paths = require("./paths"); @@ -41,4 +43,4 @@ var getPotentialConfigDirs = function getPotentialConfigDirs() { }; exports.getPotentialConfigDirs = getPotentialConfigDirs; -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInV0aWxzL3BhdGhVdGlscy5qcyJdLCJuYW1lcyI6WyJnZXRBbmNlc3RvclBhdGhzIiwiZ2l2ZW5QYXRoIiwicGF0aFBhcnRzIiwicGF0aCIsInJlc29sdmUiLCJzcGxpdCIsIlBBVEhfU0VQIiwibWFwIiwidmFsdWUiLCJrZXkiLCJzbGljZSIsImpvaW4iLCJnZXRQb3RlbnRpYWxDb25maWdEaXJzIiwicG90ZW50aWFsQ29uZmlnRGlycyIsImRpcm5hbWUiLCJPUklHSU5BTF9GSUxFX1BBVEgiLCJyZXZlcnNlIiwicHVzaCIsIlVTRVJfSE9NRV9ESVIiLCJDT05GSUdfRVhUUkFfTE9PS1VQX1BBVEhTIiwiZmlsdGVyIiwiQm9vbGVhbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFJQTs7QUFFQTs7QUFDQTs7QUFQQTs7O0FBU0E7QUFDTyxJQUFNQSxnQkFBZ0IsR0FBRyxTQUFuQkEsZ0JBQW1CLENBQUNDLFNBQUQsRUFBZTtBQUM3QyxNQUFNQyxTQUFTLEdBQUdDLGNBQUtDLE9BQUwsQ0FBYUgsU0FBYixFQUF3QkksS0FBeEIsQ0FBOEJDLGVBQTlCLENBQWxCOztBQUNBLFNBQU9KLFNBQVMsQ0FBQ0ssR0FBVixDQUFjLFVBQUNDLEtBQUQsRUFBUUMsR0FBUjtBQUFBLFdBQWdCUCxTQUFTLENBQUNRLEtBQVYsQ0FBZ0IsQ0FBaEIsRUFBbUJELEdBQUcsR0FBRyxDQUF6QixFQUE0QkUsSUFBNUIsQ0FBaU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