wrangler 4.153.0 → 4.154.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/package.json +9 -9
- package/wrangler-dist/cli.js +14 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.154.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"assembly",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"unenv": "2.0.0-rc.24",
|
|
74
74
|
"workerd": "1.20261023.1",
|
|
75
75
|
"@cloudflare/kv-asset-handler": "0.5.0",
|
|
76
|
-
"
|
|
77
|
-
"
|
|
76
|
+
"miniflare": "5.20261023.1-beta",
|
|
77
|
+
"@cloudflare/unenv-preset": "2.16.2"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
@@ -167,17 +167,17 @@
|
|
|
167
167
|
"@cloudflare/autoconfig": "0.8.1",
|
|
168
168
|
"@cloudflare/build-output-utils": "0.9.5",
|
|
169
169
|
"@cloudflare/cli-shared-helpers": "0.2.9",
|
|
170
|
+
"@cloudflare/deploy-helpers": "0.24.1",
|
|
170
171
|
"@cloudflare/config": "0.28.1",
|
|
171
172
|
"@cloudflare/containers-shared": "0.23.3",
|
|
172
|
-
"@cloudflare/deploy-helpers": "0.24.0",
|
|
173
|
-
"@cloudflare/pages-shared": "^0.13.202",
|
|
174
173
|
"@cloudflare/pages-functions": "0.1.2",
|
|
175
|
-
"@cloudflare/
|
|
176
|
-
"@cloudflare/
|
|
177
|
-
"@cloudflare/
|
|
174
|
+
"@cloudflare/pages-shared": "^0.13.203",
|
|
175
|
+
"@cloudflare/remote-bindings": "0.0.54",
|
|
176
|
+
"@cloudflare/runtime-types": "0.1.17",
|
|
178
177
|
"@cloudflare/shared-ast-primitives": "1.1.0",
|
|
179
|
-
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
180
178
|
"@cloudflare/workers-shared": "0.20.2",
|
|
179
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
180
|
+
"@cloudflare/workers-auth": "0.15.1",
|
|
181
181
|
"@cloudflare/workers-utils": "0.49.0",
|
|
182
182
|
"@cloudflare/workflows-shared": "0.15.3"
|
|
183
183
|
},
|
package/wrangler-dist/cli.js
CHANGED
|
@@ -68187,7 +68187,7 @@ var name, version2;
|
|
|
68187
68187
|
var init_package = __esm({
|
|
68188
68188
|
"package.json"() {
|
|
68189
68189
|
name = "wrangler";
|
|
68190
|
-
version2 = "4.
|
|
68190
|
+
version2 = "4.154.0";
|
|
68191
68191
|
}
|
|
68192
68192
|
});
|
|
68193
68193
|
|
|
@@ -186719,7 +186719,7 @@ async function startRemoteProxySession(bindings2, options) {
|
|
|
186719
186719
|
cliDisplayName: options.cliDisplayName,
|
|
186720
186720
|
entrypointSource: ProxyServerWorker_default,
|
|
186721
186721
|
compatibilityDate: "2025-04-28",
|
|
186722
|
-
compatibilityFlags: [],
|
|
186722
|
+
compatibilityFlags: ["enhanced_error_serialization"],
|
|
186723
186723
|
complianceRegion: options.complianceRegion,
|
|
186724
186724
|
bindings: rawBindings,
|
|
186725
186725
|
auth: getRemoteBindingsAuthHook(options.auth, void 0, void 0, options.logger),
|
|
@@ -186872,7 +186872,7 @@ var init_dist14 = __esm({
|
|
|
186872
186872
|
init_wrapper();
|
|
186873
186873
|
init_create_worker_upload_form();
|
|
186874
186874
|
import_undici14 = __toESM(require_undici(), 1);
|
|
186875
|
-
version3 = "0.0.
|
|
186875
|
+
version3 = "0.0.54";
|
|
186876
186876
|
NoDefaultValueProvided2 = class extends UserError {
|
|
186877
186877
|
static {
|
|
186878
186878
|
__name(this, "NoDefaultValueProvided");
|
|
@@ -213640,6 +213640,15 @@ async function resolveTriggers(config2, input2) {
|
|
|
213640
213640
|
return [...devRoutes, ...queueConsumers, ...crons, ...connectHandlers];
|
|
213641
213641
|
}
|
|
213642
213642
|
async function resolveConfig(config2, input2, previousName, newConfigEnabled) {
|
|
213643
|
+
if (input2.dev?.registry) {
|
|
213644
|
+
input2 = {
|
|
213645
|
+
...input2,
|
|
213646
|
+
dev: {
|
|
213647
|
+
...input2.dev,
|
|
213648
|
+
registry: miniflare.resolveDevRegistryPath(input2.dev.registry)
|
|
213649
|
+
}
|
|
213650
|
+
};
|
|
213651
|
+
}
|
|
213643
213652
|
if (config2.pages_build_output_dir && input2.dev?.multiworkerPrimary === false) {
|
|
213644
213653
|
throw new UserError(
|
|
213645
213654
|
`You cannot use a Pages project as a service binding target.
|
|
@@ -301052,7 +301061,8 @@ function useLocalStore(args) {
|
|
|
301052
301061
|
}
|
|
301053
301062
|
async function usingLocalFlagshipAPI(persistTo, config2, appId, callback2) {
|
|
301054
301063
|
const workerName = config2.name ?? "worker";
|
|
301055
|
-
|
|
301064
|
+
const registryPath = miniflare.resolveDevRegistryPath(getRegistryPath());
|
|
301065
|
+
if (Object.hasOwn(miniflare.getWorkerRegistry(registryPath), workerName)) {
|
|
301056
301066
|
throw new UserError(
|
|
301057
301067
|
`Cannot use local Flagship commands while a dev session for '${workerName}' is running. Stop the dev session and retry.`,
|
|
301058
301068
|
{ telemetryMessage: "flagship local store dev session active" }
|