wrangler 4.40.0 → 4.40.1
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "4.40.
|
3
|
+
"version": "4.40.1",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -138,12 +138,12 @@
|
|
138
138
|
"xdg-app-paths": "^8.3.0",
|
139
139
|
"xxhash-wasm": "^1.0.1",
|
140
140
|
"yargs": "^17.7.2",
|
141
|
-
"@cloudflare/containers-shared": "0.2.10",
|
142
141
|
"@cloudflare/cli": "1.1.2",
|
142
|
+
"@cloudflare/containers-shared": "0.2.10",
|
143
143
|
"@cloudflare/eslint-config-shared": "1.1.0",
|
144
|
+
"@cloudflare/pages-shared": "^0.13.75",
|
144
145
|
"@cloudflare/workers-shared": "0.18.8",
|
145
|
-
"@cloudflare/workers-tsconfig": "0.0.0"
|
146
|
-
"@cloudflare/pages-shared": "^0.13.75"
|
146
|
+
"@cloudflare/workers-tsconfig": "0.0.0"
|
147
147
|
},
|
148
148
|
"peerDependencies": {
|
149
149
|
"@cloudflare/workers-types": "^4.20250924.0"
|
package/wrangler-dist/cli.js
CHANGED
@@ -93842,7 +93842,7 @@ var name, version;
|
|
93842
93842
|
var init_package = __esm({
|
93843
93843
|
"package.json"() {
|
93844
93844
|
name = "wrangler";
|
93845
|
-
version = "4.40.
|
93845
|
+
version = "4.40.1";
|
93846
93846
|
}
|
93847
93847
|
});
|
93848
93848
|
|
@@ -158457,7 +158457,14 @@ var init_secret = __esm({
|
|
158457
158457
|
`\u{1F300} Deleting the secret ${args.key} on the Worker ${scriptName}${args.env && !isLegacyEnv(config) ? ` (${args.env})` : ""}`
|
158458
158458
|
);
|
158459
158459
|
const url4 = !args.env || isLegacyEnv(config) ? `/accounts/${accountId}/workers/scripts/${scriptName}/secrets` : `/accounts/${accountId}/workers/services/${scriptName}/environments/${args.env}/secrets`;
|
158460
|
-
await fetchResult(
|
158460
|
+
await fetchResult(
|
158461
|
+
config,
|
158462
|
+
`${url4}/${encodeURIComponent(args.key)}`,
|
158463
|
+
{ method: "DELETE" },
|
158464
|
+
new URLSearchParams({
|
158465
|
+
url_encoded: "true"
|
158466
|
+
})
|
158467
|
+
);
|
158461
158468
|
sendMetricsEvent("delete encrypted variable", {
|
158462
158469
|
sendMetrics: config.send_metrics
|
158463
158470
|
});
|
@@ -224990,9 +224997,36 @@ var init_BundlerController = __esm({
|
|
224990
224997
|
data: void 0
|
224991
224998
|
});
|
224992
224999
|
}
|
224993
|
-
void this.#startCustomBuild(event.config)
|
224994
|
-
|
224995
|
-
|
225000
|
+
void this.#startCustomBuild(event.config).catch((err) => {
|
225001
|
+
logger.error("Failed to run custom build:", err);
|
225002
|
+
this.emitErrorEvent({
|
225003
|
+
type: "error",
|
225004
|
+
reason: "Failed to run custom build",
|
225005
|
+
cause: castErrorCause(err),
|
225006
|
+
source: "BundlerController",
|
225007
|
+
data: { config: event.config }
|
225008
|
+
});
|
225009
|
+
});
|
225010
|
+
void this.#startBundle(event.config).catch((err) => {
|
225011
|
+
logger.error("Failed to start bundler:", err);
|
225012
|
+
this.emitErrorEvent({
|
225013
|
+
type: "error",
|
225014
|
+
reason: "Failed to start bundler",
|
225015
|
+
cause: castErrorCause(err),
|
225016
|
+
source: "BundlerController",
|
225017
|
+
data: { config: event.config }
|
225018
|
+
});
|
225019
|
+
});
|
225020
|
+
void this.#ensureWatchingAssets(event.config).catch((err) => {
|
225021
|
+
logger.error("Failed to watch assets:", err);
|
225022
|
+
this.emitErrorEvent({
|
225023
|
+
type: "error",
|
225024
|
+
reason: "Failed to watch assets",
|
225025
|
+
cause: castErrorCause(err),
|
225026
|
+
source: "BundlerController",
|
225027
|
+
data: { config: event.config }
|
225028
|
+
});
|
225029
|
+
});
|
224996
225030
|
}
|
224997
225031
|
async teardown() {
|
224998
225032
|
logger.debug("BundlerController teardown beginning...");
|
@@ -225391,7 +225425,7 @@ If you are trying to develop Pages and Workers together, please use \`wrangler p
|
|
225391
225425
|
script: input.entrypoint,
|
225392
225426
|
moduleRoot: input.build?.moduleRoot,
|
225393
225427
|
// getEntry only needs to know if assets was specified.
|
225394
|
-
// The
|
225428
|
+
// The actual value is not relevant here, which is why not passing
|
225395
225429
|
// the entire Assets object is fine.
|
225396
225430
|
assets: input?.assets
|
225397
225431
|
},
|