miniflare 0.0.0-3d8a6522a → 0.0.0-3e2bedece
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/src/workers/assets/assets.worker.js +13 -1
- package/dist/src/workers/assets/assets.worker.js.map +1 -1
- package/dist/src/workers/assets/router.worker.js +5 -3
- package/dist/src/workers/assets/router.worker.js.map +1 -1
- package/dist/src/workers/workflows/binding.worker.js +13 -9
- package/dist/src/workers/workflows/binding.worker.js.map +1 -1
- package/package.json +5 -5
|
@@ -9241,7 +9241,19 @@ var handleRequest = async (request, configuration, exists, getByETag) => {
|
|
|
9241
9241
|
};
|
|
9242
9242
|
}
|
|
9243
9243
|
return null;
|
|
9244
|
-
}, decodePath = (pathname) => pathname.split("/").map((x) =>
|
|
9244
|
+
}, decodePath = (pathname) => pathname.split("/").map((x) => {
|
|
9245
|
+
try {
|
|
9246
|
+
return decodeURIComponent(x);
|
|
9247
|
+
} catch {
|
|
9248
|
+
return x;
|
|
9249
|
+
}
|
|
9250
|
+
}).join("/"), encodePath = (pathname) => pathname.split("/").map((x) => {
|
|
9251
|
+
try {
|
|
9252
|
+
return encodeURIComponent(x);
|
|
9253
|
+
} catch {
|
|
9254
|
+
return x;
|
|
9255
|
+
}
|
|
9256
|
+
}).join("/");
|
|
9245
9257
|
|
|
9246
9258
|
// ../workers-shared/asset-worker/src/utils/kv.ts
|
|
9247
9259
|
async function getAssetWithMetadataFromKV(assetsKVNamespace, assetKey, retries = 1) {
|