hyperframes 0.5.0-alpha.1 → 0.5.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js
CHANGED
|
@@ -54,7 +54,7 @@ var VERSION;
|
|
|
54
54
|
var init_version = __esm({
|
|
55
55
|
"src/version.ts"() {
|
|
56
56
|
"use strict";
|
|
57
|
-
VERSION = true ? "0.5.0-alpha.
|
|
57
|
+
VERSION = true ? "0.5.0-alpha.2" : "0.0.0-dev";
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -31581,13 +31581,13 @@ function createFileServer2(options) {
|
|
|
31581
31581
|
let filePath = null;
|
|
31582
31582
|
if (compiledDir) {
|
|
31583
31583
|
const candidate = join30(compiledDir, relativePath);
|
|
31584
|
-
if (existsSync29(candidate) && isPathInside(candidate, compiledDir
|
|
31584
|
+
if (existsSync29(candidate) && isPathInside(candidate, compiledDir) && statSync10(candidate).isFile()) {
|
|
31585
31585
|
filePath = candidate;
|
|
31586
31586
|
}
|
|
31587
31587
|
}
|
|
31588
31588
|
if (!filePath) {
|
|
31589
31589
|
const candidate = join30(projectDir, relativePath);
|
|
31590
|
-
if (existsSync29(candidate) && isPathInside(candidate, projectDir
|
|
31590
|
+
if (existsSync29(candidate) && isPathInside(candidate, projectDir) && statSync10(candidate).isFile()) {
|
|
31591
31591
|
filePath = candidate;
|
|
31592
31592
|
}
|
|
31593
31593
|
}
|