@cloudflare/vite-plugin 1.13.18 → 1.13.19
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/index.js +590 -592
- package/dist/index.js.map +1 -1
- package/dist/workers/asset-worker.js +0 -5
- package/package.json +6 -6
|
@@ -5749,11 +5749,6 @@ var CustomAssetWorker = class extends worker_default {
|
|
|
5749
5749
|
const url = new URL(pathname.replace(/^\/{2,}/, "/"), UNKNOWN_HOST);
|
|
5750
5750
|
return (await this.env.__VITE_HTML_EXISTS__.fetch(url)).json();
|
|
5751
5751
|
}
|
|
5752
|
-
async unstable_canFetch(request) {
|
|
5753
|
-
const secFetchMode = request.headers.get("X-Mf-Sec-Fetch-Mode");
|
|
5754
|
-
if (secFetchMode) request.headers.set("Sec-Fetch-Mode", secFetchMode);
|
|
5755
|
-
return await super.unstable_canFetch(request);
|
|
5756
|
-
}
|
|
5757
5752
|
};
|
|
5758
5753
|
|
|
5759
5754
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/vite-plugin",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.19",
|
|
4
4
|
"description": "Cloudflare plugin for Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"get-port": "^7.1.0",
|
|
38
38
|
"picocolors": "^1.1.1",
|
|
39
39
|
"tinyglobby": "^0.2.12",
|
|
40
|
-
"unenv": "2.0.0-rc.
|
|
40
|
+
"unenv": "2.0.0-rc.24",
|
|
41
41
|
"ws": "8.18.0",
|
|
42
|
-
"@cloudflare/unenv-preset": "2.7.
|
|
43
|
-
"miniflare": "4.20251011.
|
|
44
|
-
"wrangler": "4.45.
|
|
42
|
+
"@cloudflare/unenv-preset": "2.7.9",
|
|
43
|
+
"miniflare": "4.20251011.2",
|
|
44
|
+
"wrangler": "4.45.4"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@cloudflare/workers-types": "^4.20251011.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"vite": "^6.1.0 || ^7.0.0",
|
|
63
|
-
"wrangler": "^4.45.
|
|
63
|
+
"wrangler": "^4.45.4"
|
|
64
64
|
},
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|