wrangler 3.87.0 → 3.89.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.
- package/config-schema.json +20 -0
- package/package.json +7 -7
- package/wrangler-dist/cli.d.ts +9 -2
- package/wrangler-dist/cli.js +74728 -74037
package/config-schema.json
CHANGED
@@ -1090,6 +1090,26 @@
|
|
1090
1090
|
"head_sampling_rate": {
|
1091
1091
|
"description": "The sampling rate",
|
1092
1092
|
"type": "number"
|
1093
|
+
},
|
1094
|
+
"logs": {
|
1095
|
+
"additionalProperties": false,
|
1096
|
+
"properties": {
|
1097
|
+
"enabled": {
|
1098
|
+
"type": "boolean"
|
1099
|
+
},
|
1100
|
+
"head_sampling_rate": {
|
1101
|
+
"description": "The sampling rate",
|
1102
|
+
"type": "number"
|
1103
|
+
},
|
1104
|
+
"invocation_logs": {
|
1105
|
+
"description": "Set to false to disable invocation logs",
|
1106
|
+
"type": "boolean"
|
1107
|
+
}
|
1108
|
+
},
|
1109
|
+
"required": [
|
1110
|
+
"enabled"
|
1111
|
+
],
|
1112
|
+
"type": "object"
|
1093
1113
|
}
|
1094
1114
|
},
|
1095
1115
|
"required": [
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.89.0",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -63,12 +63,12 @@
|
|
63
63
|
"resolve.exports": "^2.0.2",
|
64
64
|
"selfsigned": "^2.0.1",
|
65
65
|
"source-map": "^0.6.1",
|
66
|
-
"unenv": "npm:unenv-nightly@2.0.0-
|
66
|
+
"unenv": "npm:unenv-nightly@2.0.0-20241111-080453-894aa31",
|
67
67
|
"workerd": "1.20241106.1",
|
68
68
|
"xxhash-wasm": "^1.0.1",
|
69
69
|
"@cloudflare/kv-asset-handler": "0.3.4",
|
70
|
-
"
|
71
|
-
"
|
70
|
+
"@cloudflare/workers-shared": "0.7.1",
|
71
|
+
"miniflare": "3.20241106.1"
|
72
72
|
},
|
73
73
|
"devDependencies": {
|
74
74
|
"@cloudflare/types": "6.18.4",
|
@@ -139,10 +139,10 @@
|
|
139
139
|
"ws": "^8.18.0",
|
140
140
|
"xdg-app-paths": "^8.3.0",
|
141
141
|
"yargs": "^17.7.2",
|
142
|
+
"@cloudflare/cli": "1.1.1",
|
143
|
+
"@cloudflare/pages-shared": "^0.11.69",
|
142
144
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
143
|
-
"@cloudflare/
|
144
|
-
"@cloudflare/workers-tsconfig": "0.0.0",
|
145
|
-
"@cloudflare/cli": "1.1.1"
|
145
|
+
"@cloudflare/workers-tsconfig": "0.0.0"
|
146
146
|
},
|
147
147
|
"peerDependencies": {
|
148
148
|
"@cloudflare/workers-types": "^4.20241106.0"
|
package/wrangler-dist/cli.d.ts
CHANGED
@@ -1469,7 +1469,7 @@ declare type Entry = {
|
|
1469
1469
|
/** A worker's entrypoint */
|
1470
1470
|
file: string;
|
1471
1471
|
/** A worker's directory. Usually where the wrangler.toml file is located */
|
1472
|
-
|
1472
|
+
projectRoot: string;
|
1473
1473
|
/** Is this a module worker or a service worker? */
|
1474
1474
|
format: CfScriptFormat;
|
1475
1475
|
/** The directory that contains all of a `--no-bundle` worker's modules. Usually `${directory}/src`. Defaults to path.dirname(file) */
|
@@ -2933,6 +2933,13 @@ declare interface Observability {
|
|
2933
2933
|
enabled: boolean;
|
2934
2934
|
/** The sampling rate */
|
2935
2935
|
head_sampling_rate?: number;
|
2936
|
+
logs?: {
|
2937
|
+
enabled: boolean;
|
2938
|
+
/** The sampling rate */
|
2939
|
+
head_sampling_rate?: number;
|
2940
|
+
/** Set to false to disable invocation logs */
|
2941
|
+
invocation_logs?: boolean;
|
2942
|
+
};
|
2936
2943
|
}
|
2937
2944
|
|
2938
2945
|
declare interface PagesConfigFields {
|
@@ -26052,7 +26059,7 @@ declare interface StartDevWorkerInput {
|
|
26052
26059
|
|
26053
26060
|
declare type StartDevWorkerOptions = Omit<StartDevWorkerInput, "assets"> & {
|
26054
26061
|
/** A worker's directory. Usually where the wrangler.toml file is located */
|
26055
|
-
|
26062
|
+
projectRoot: string;
|
26056
26063
|
build: StartDevWorkerInput["build"] & {
|
26057
26064
|
nodejsCompatMode: NodeJSCompatMode;
|
26058
26065
|
format: CfScriptFormat;
|