one-more-token 0.5.0 → 0.5.1
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/main.js +2 -3
- package/package.json +1 -1
- package/web-dist/assets/Chart-CwtBbQZ6.js +17 -46220
- package/web-dist/assets/index-AM5Hgs3S.js +22 -27885
- package/web-dist/assets/index-BPnFUN7Y.css +1 -1232
- package/web-dist/index.html +2 -2
package/dist/main.js
CHANGED
|
@@ -29035,7 +29035,7 @@ var init_store4 = __esm({
|
|
|
29035
29035
|
|
|
29036
29036
|
// src/web/static.ts
|
|
29037
29037
|
import { readFile as readFile3, stat } from "node:fs/promises";
|
|
29038
|
-
import { join as join11, normalize as normalize4 } from "node:path";
|
|
29038
|
+
import { join as join11, normalize as normalize4, sep as sep2 } from "node:path";
|
|
29039
29039
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
29040
29040
|
function contentTypeOf(path) {
|
|
29041
29041
|
const dot = path.lastIndexOf(".");
|
|
@@ -29053,7 +29053,7 @@ async function readWebFile(dist, urlPath) {
|
|
|
29053
29053
|
if (urlPath.includes("\0")) return null;
|
|
29054
29054
|
const root2 = normalize4(dist);
|
|
29055
29055
|
const target = normalize4(join11(root2, urlPath === "/" ? "index.html" : urlPath));
|
|
29056
|
-
if (!target.startsWith(root2)) return null;
|
|
29056
|
+
if (!target.startsWith(root2 + sep2)) return null;
|
|
29057
29057
|
const file2 = await exists(target) ? target : join11(root2, "index.html");
|
|
29058
29058
|
if (!await exists(file2)) return null;
|
|
29059
29059
|
return { contentType: contentTypeOf(file2), body: await readFile3(file2, "utf8") };
|
|
@@ -31255,7 +31255,6 @@ var init_start = __esm({
|
|
|
31255
31255
|
init_app();
|
|
31256
31256
|
init_service7();
|
|
31257
31257
|
init_options();
|
|
31258
|
-
init_scheduler2();
|
|
31259
31258
|
init_server();
|
|
31260
31259
|
init_static();
|
|
31261
31260
|
EXIT_OK = 0;
|