@absolutejs/absolute 0.19.0-beta.744 → 0.19.0-beta.745
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/build.js +2 -5
- package/dist/build.js.map +3 -3
- package/dist/index.js +6 -9
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46932,14 +46932,11 @@ var mimeTypes, getMimeType = (filePath) => {
|
|
|
46932
46932
|
continue;
|
|
46933
46933
|
newIdentities.set(stripHash(webPath), webPath);
|
|
46934
46934
|
}
|
|
46935
|
-
const liveWebPaths = new Set(newIdentities.values());
|
|
46936
46935
|
const staleKeys = [...store.keys()].filter((existingPath) => {
|
|
46937
46936
|
if (existingPath.includes("/chunk-"))
|
|
46938
46937
|
return false;
|
|
46939
46938
|
const replacement = newIdentities.get(stripHash(existingPath));
|
|
46940
|
-
|
|
46941
|
-
return replacement !== existingPath;
|
|
46942
|
-
return !liveWebPaths.has(existingPath);
|
|
46939
|
+
return replacement !== undefined && replacement !== existingPath;
|
|
46943
46940
|
});
|
|
46944
46941
|
staleKeys.forEach((key) => store.delete(key));
|
|
46945
46942
|
for (const webPath of newIdentities.values()) {
|
|
@@ -50226,9 +50223,9 @@ var STORE_KEY = "__elysiaStore", getGlobalValue = (key) => Reflect.get(globalThi
|
|
|
50226
50223
|
const pathname = resolveRequestPathname(request);
|
|
50227
50224
|
if (moduleServerHandler) {
|
|
50228
50225
|
const moduleResponse = await moduleServerHandler(pathname);
|
|
50229
|
-
if (
|
|
50230
|
-
return;
|
|
50231
|
-
|
|
50226
|
+
if (moduleResponse) {
|
|
50227
|
+
return resolveModuleResponse(moduleResponse, request.headers.get("If-None-Match"));
|
|
50228
|
+
}
|
|
50232
50229
|
}
|
|
50233
50230
|
const bytes = lookupAsset(hmrState2.assetStore, pathname);
|
|
50234
50231
|
if (!bytes) {
|
|
@@ -50242,7 +50239,7 @@ var STORE_KEY = "__elysiaStore", getGlobalValue = (key) => Reflect.get(globalThi
|
|
|
50242
50239
|
});
|
|
50243
50240
|
}, hmr = (hmrState2, manifest, moduleServerHandler) => new Elysia2({ name: "absolutejs-hmr" }).onStart(({ store }) => {
|
|
50244
50241
|
restoreStore(store);
|
|
50245
|
-
}).
|
|
50242
|
+
}).onRequest(async ({ request }) => {
|
|
50246
50243
|
if (globalThis.__reactModuleRef) {
|
|
50247
50244
|
await bridgeReactInternals();
|
|
50248
50245
|
}
|
|
@@ -58541,5 +58538,5 @@ export {
|
|
|
58541
58538
|
ANGULAR_INIT_TIMEOUT_MS
|
|
58542
58539
|
};
|
|
58543
58540
|
|
|
58544
|
-
//# debugId=
|
|
58541
|
+
//# debugId=01DB8BB408B0E96D64756E2164756E21
|
|
58545
58542
|
//# sourceMappingURL=index.js.map
|