wrangler 4.146.0 → 4.148.0

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.
@@ -125,6 +125,7 @@ function createDevOptions(parsedArgs) {
125
125
  containerEngine: undefined,
126
126
  tunnel: undefined,
127
127
  tunnelName: undefined,
128
+ tunnelAllowedMail: undefined,
128
129
  envFile: undefined,
129
130
  onReady: undefined,
130
131
  };
@@ -4237,6 +4237,11 @@
4237
4237
  "description": "How to handle requests that do not match an asset.",
4238
4238
  "markdownDescription": "How to handle requests that do not match an asset."
4239
4239
  },
4240
+ "base_path": {
4241
+ "type": "string",
4242
+ "description": "The public URL prefix under which the application is served, e.g. `/subpath/`.",
4243
+ "markdownDescription": "The public URL prefix under which the application is served, e.g. `/subpath/`."
4244
+ },
4240
4245
  "run_worker_first": {
4241
4246
  "anyOf": [
4242
4247
  {
@@ -4404,19 +4409,19 @@
4404
4409
  "type": "object",
4405
4410
  "properties": {
4406
4411
  "logpush": {
4407
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4412
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4408
4413
  },
4409
4414
  "observability": {
4410
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4415
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4411
4416
  },
4412
4417
  "limits": {
4413
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4418
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4414
4419
  },
4415
4420
  "placement": {
4416
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4421
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4417
4422
  },
4418
4423
  "cache": {
4419
- "$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-614002004818536"
4424
+ "$ref": "#/definitions/interface-769040647-14867-25229-769040647-0-615212004818536"
4420
4425
  },
4421
4426
  "define": {
4422
4427
  "type": "object",
@@ -5781,7 +5786,7 @@
5781
5786
  "description": "Configuration for Worker Previews.\n\nThis defines the settings used when creating Preview deployments. Previews are branches of your Worker's main instance used to test features during feature development outside of production.\n\nThe `previews` block contains any intentionally divergent configuration intended solely for Previews, including:\n- All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)\n- Select inheritable properties: `logpush`, `observability`, `limits`, `placement`, `cache`",
5782
5787
  "markdownDescription": "Configuration for Worker Previews.\n\nThis defines the settings used when creating Preview deployments.\nPreviews are branches of your Worker's main instance used to test features\nduring feature development outside of production.\n\nThe `previews` block contains any intentionally divergent configuration intended solely for Previews, including:\n- All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)\n- Select inheritable properties: `logpush`, `observability`, `limits`, `placement`, `cache`"
5783
5788
  },
5784
- "interface-769040647-14860-25222-769040647-0-614002004818536": {
5789
+ "interface-769040647-14867-25229-769040647-0-615212004818536": {
5785
5790
  "type": "object",
5786
5791
  "properties": {
5787
5792
  "name": {
@@ -6533,7 +6538,8 @@
6533
6538
  "type": "string",
6534
6539
  "enum": [
6535
6540
  "eu",
6536
- "fedramp"
6541
+ "fedramp",
6542
+ "us"
6537
6543
  ],
6538
6544
  "description": "Restrict containers to compliance boundaries.",
6539
6545
  "markdownDescription": "Restrict containers to compliance boundaries."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.146.0",
3
+ "version": "4.148.0",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "assembly",
@@ -71,17 +71,17 @@
71
71
  "esbuild": "0.28.1",
72
72
  "path-to-regexp": "6.3.0",
73
73
  "unenv": "2.0.0-rc.24",
74
- "workerd": "1.20261001.1",
74
+ "workerd": "1.20261006.1",
75
75
  "@cloudflare/kv-asset-handler": "0.5.0",
76
- "@cloudflare/unenv-preset": "2.16.2",
77
- "miniflare": "5.20261001.0-alpha"
76
+ "miniflare": "5.20261006.0-alpha",
77
+ "@cloudflare/unenv-preset": "2.16.2"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@aws-sdk/client-s3": "^3.721.0",
81
81
  "@aws-sdk/s3-request-presigner": "^3.721.0",
82
82
  "@bomb.sh/tab": "^0.0.12",
83
83
  "@cloudflare/types": "6.18.4",
84
- "@cloudflare/workers-types": "^5.20261001.1",
84
+ "@cloudflare/workers-types": "^5.20261006.1",
85
85
  "@cspotcode/source-map-support": "0.8.1",
86
86
  "@netlify/build-info": "10.5.1",
87
87
  "@sentry/node": "^7.86.0",
@@ -161,25 +161,25 @@
161
161
  "yaml": "^2.8.1",
162
162
  "yargs": "^17.7.2",
163
163
  "zod": "4.4.3",
164
- "@cloudflare/autoconfig": "0.7.4",
165
- "@cloudflare/build-output-utils": "0.8.4",
166
- "@cloudflare/cli-shared-helpers": "0.2.2",
167
- "@cloudflare/config": "0.22.0",
168
- "@cloudflare/containers-shared": "0.21.2",
169
- "@cloudflare/deploy-helpers": "0.19.1",
164
+ "@cloudflare/autoconfig": "0.7.6",
165
+ "@cloudflare/build-output-utils": "0.8.6",
166
+ "@cloudflare/cli-shared-helpers": "0.2.4",
167
+ "@cloudflare/config": "0.24.0",
168
+ "@cloudflare/containers-shared": "0.21.4",
170
169
  "@cloudflare/pages-functions": "0.1.0",
171
- "@cloudflare/pages-shared": "^0.13.193",
172
- "@cloudflare/remote-bindings": "0.0.42",
173
- "@cloudflare/runtime-types": "0.1.7",
170
+ "@cloudflare/deploy-helpers": "0.20.0",
171
+ "@cloudflare/pages-shared": "^0.13.194",
172
+ "@cloudflare/remote-bindings": "0.0.44",
173
+ "@cloudflare/runtime-types": "0.1.8",
174
174
  "@cloudflare/shared-ast-primitives": "1.1.0",
175
- "@cloudflare/workers-auth": "0.11.1",
175
+ "@cloudflare/workers-auth": "0.13.0",
176
176
  "@cloudflare/workers-shared": "0.20.0",
177
177
  "@cloudflare/workers-tsconfig": "0.0.0",
178
- "@cloudflare/workers-utils": "0.45.1",
178
+ "@cloudflare/workers-utils": "0.47.0",
179
179
  "@cloudflare/workflows-shared": "0.15.0"
180
180
  },
181
181
  "peerDependencies": {
182
- "@cloudflare/workers-types": "^5.20261001.1"
182
+ "@cloudflare/workers-types": "^5.20261006.1"
183
183
  },
184
184
  "peerDependenciesMeta": {
185
185
  "@cloudflare/workers-types": {
@@ -688,6 +688,7 @@ declare const dev: {
688
688
  types: boolean | undefined;
689
689
  tunnel: boolean | undefined;
690
690
  tunnelName: string | undefined;
691
+ tunnelAllowedMail: string[] | undefined;
691
692
  experimentalNewConfig: boolean;
692
693
  _: (string | number)[];
693
694
  $0: string;
@@ -1478,7 +1479,7 @@ type ContainerApp = {
1478
1479
  /**
1479
1480
  * Restrict containers to compliance boundaries.
1480
1481
  */
1481
- jurisdiction?: "eu" | "fedramp";
1482
+ jurisdiction?: "eu" | "fedramp" | "us";
1482
1483
  /**
1483
1484
  * @hidden
1484
1485
  */
@@ -2948,6 +2949,10 @@ type Assets = {
2948
2949
  html_handling?: "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | "none";
2949
2950
  /** How to handle requests that do not match an asset. */
2950
2951
  not_found_handling?: "single-page-application" | "404-page" | "none";
2952
+ /**
2953
+ * The public URL prefix under which the application is served, e.g. `/subpath/`.
2954
+ */
2955
+ base_path?: string;
2951
2956
  /**
2952
2957
  * Matches will be routed to the User Worker, and matches to negative rules will go to the Asset Worker.
2953
2958
  *