@riboseinc/anafero-cli 0.0.48 → 0.0.49
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/build-site.mjs
CHANGED
|
@@ -321710,7 +321710,7 @@ async function readPreBuiltJSBundle(sourceDirPath) {
|
|
|
321710
321710
|
);
|
|
321711
321711
|
const bundleStat = await stat4(bundlePath);
|
|
321712
321712
|
if (bundleStat.isFile()) {
|
|
321713
|
-
return readFile3(bundlePath);
|
|
321713
|
+
return await readFile3(bundlePath);
|
|
321714
321714
|
} else {
|
|
321715
321715
|
throw new Error("Pre-built entry point is not a file");
|
|
321716
321716
|
}
|
|
@@ -321740,7 +321740,6 @@ async function isPreBuilt(sourceDirPath) {
|
|
|
321740
321740
|
await readPreBuiltAssets(sourceDirPath);
|
|
321741
321741
|
return true;
|
|
321742
321742
|
} catch (e3) {
|
|
321743
|
-
console.error(e3);
|
|
321744
321743
|
return false;
|
|
321745
321744
|
}
|
|
321746
321745
|
}
|
package/dependencies.mts
CHANGED
|
@@ -331,7 +331,7 @@ Promise<Uint8Array> {
|
|
|
331
331
|
PRE_BUILT_JS_BUNDLE_FILENAME);
|
|
332
332
|
const bundleStat = await stat(bundlePath);
|
|
333
333
|
if (bundleStat.isFile()) {
|
|
334
|
-
return readFile(bundlePath);
|
|
334
|
+
return await readFile(bundlePath);
|
|
335
335
|
} else {
|
|
336
336
|
throw new Error("Pre-built entry point is not a file");
|
|
337
337
|
}
|
|
@@ -380,7 +380,6 @@ async function isPreBuilt(sourceDirPath: string): Promise<boolean> {
|
|
|
380
380
|
await readPreBuiltAssets(sourceDirPath);
|
|
381
381
|
return true;
|
|
382
382
|
} catch (e) {
|
|
383
|
-
console.error(e);
|
|
384
383
|
return false;
|
|
385
384
|
}
|
|
386
385
|
}
|
package/package.json
CHANGED
|
index 294198c..bc864d7 100644
|
|
|
Binary file
|