@lls/offline 24.28.0-53f60b88 → 24.28.0-635f1b73
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.
|
@@ -429,7 +429,7 @@ var tryOnline = async (request, event) => {
|
|
|
429
429
|
if (isValidZipName(request.url) && !isValidS3Zip(responseFromNetwork)) {
|
|
430
430
|
throw new Error(`zip is invalid: got ${responseFromNetwork.headers.get("Content-Length")} bytes`);
|
|
431
431
|
}
|
|
432
|
-
const cached = request.method === "
|
|
432
|
+
const cached = request.method === "HEAD" ? Promise.resolve() : putInCache(request, responseFromNetwork.clone());
|
|
433
433
|
if (request.url.endsWith(".zip")) {
|
|
434
434
|
await cached;
|
|
435
435
|
event.waitUntil(Promise.resolve());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lls/offline",
|
|
3
|
-
"version": "24.28.0-
|
|
3
|
+
"version": "24.28.0-635f1b73",
|
|
4
4
|
"description": "offline",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vite": "7.0.7",
|
|
54
54
|
"vite-tsconfig-paths": "5.1.4",
|
|
55
55
|
"zod": "3.25.50",
|
|
56
|
-
"@lls/vitescripts": "24.28.0-
|
|
56
|
+
"@lls/vitescripts": "24.28.0-635f1b73"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"redux-persist": "6.0.0"
|