@hephaestus/core
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
@@ -43,3 +43,3 @@ "use strict"; | ||
const loader = (str) => __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
var _a, _b; | ||
const fd = yield fs_1.promises.stat(str); | ||
@@ -53,3 +53,3 @@ const importName = fd.isDirectory() | ||
const data = yield Promise.resolve().then(() => __importStar(require(importName))); | ||
const obj = (data.__esmModule ? data.default : data); | ||
const obj = ((_b = data.default) !== null && _b !== void 0 ? _b : data); | ||
obj.filePath = str; | ||
@@ -56,0 +56,0 @@ return obj; |
{ | ||
"name": "@hephaestus/core", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"description": "> TODO: description", | ||
@@ -32,3 +32,3 @@ "author": "Alex Taxiera <alex.taxiera@gmail.com>", | ||
}, | ||
"gitHead": "42fa1da101ca1e924ded5c11f0b87e07ab07c0ef" | ||
"gitHead": "1e007690426b6022553c93a68bc99d3b38273934" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32721