@webqit/webflo 0.20.59 → 0.20.60
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/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"vanila-javascript"
|
|
13
13
|
],
|
|
14
14
|
"homepage": "https://webqit.io/tooling/webflo",
|
|
15
|
-
"version": "0.20.
|
|
15
|
+
"version": "0.20.60",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@octokit/webhooks": "^7.15.1",
|
|
49
49
|
"@webqit/backpack": "^0.1.12",
|
|
50
|
-
"@webqit/fetch-plus": "^0.1.
|
|
50
|
+
"@webqit/fetch-plus": "^0.1.30",
|
|
51
51
|
"@webqit/keyval": "^0.2.17",
|
|
52
52
|
"@webqit/observer": "^3.8.14",
|
|
53
53
|
"@webqit/oohtml-ssr": "^2.2.4",
|
|
@@ -277,6 +277,7 @@ export class AppRuntime {
|
|
|
277
277
|
const streams = requestRange.reduce((streams, range) => {
|
|
278
278
|
if (!streams) return;
|
|
279
279
|
const [start, end] = range.resolveAgainst(stats.size); // Resolve offsets
|
|
280
|
+
console.log('_______', range, stats.size, [start, end]);
|
|
280
281
|
const currentStart = (streams[streams.length - 1]?.end || -1) + 1;
|
|
281
282
|
if (!range.canResolveAgainst(currentStart, stats.size)) return; // Only after rendering()
|
|
282
283
|
return streams.concat({ start, end, stream: readStream({ start, end }) });
|
|
@@ -138,7 +138,6 @@ export class WebfloServer extends AppRuntime {
|
|
|
138
138
|
if (revalidate
|
|
139
139
|
|| !this.#buildContexts[realm]) {
|
|
140
140
|
await this.#buildContexts[realm]?.dispose();
|
|
141
|
-
console.info('Building routes...');
|
|
142
141
|
|
|
143
142
|
const entryPoints = await $glob(`${routeDirs[realm]}/**/handler{,.${realm}}.js`, { absolute: true })
|
|
144
143
|
.then((files) => files.map((f) => f.replace(/\\/g, '/')));
|