wrangler 3.114.6 → 3.114.7
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 +6 -6
- package/wrangler-dist/cli.js +14 -6
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "3.114.
|
3
|
+
"version": "3.114.7",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -58,8 +58,8 @@
|
|
58
58
|
"path-to-regexp": "6.3.0",
|
59
59
|
"unenv": "2.0.0-rc.14",
|
60
60
|
"workerd": "1.20250408.0",
|
61
|
-
"
|
62
|
-
"
|
61
|
+
"@cloudflare/kv-asset-handler": "0.3.4",
|
62
|
+
"miniflare": "3.20250408.0"
|
63
63
|
},
|
64
64
|
"devDependencies": {
|
65
65
|
"@aws-sdk/client-s3": "^3.721.0",
|
@@ -137,11 +137,11 @@
|
|
137
137
|
"xdg-app-paths": "^8.3.0",
|
138
138
|
"xxhash-wasm": "^1.0.1",
|
139
139
|
"yargs": "^17.7.2",
|
140
|
-
"@cloudflare/eslint-config-worker": "1.1.0",
|
141
140
|
"@cloudflare/cli": "1.1.1",
|
142
|
-
"@cloudflare/workers-shared": "0.15.0",
|
143
141
|
"@cloudflare/pages-shared": "0.13.16",
|
144
|
-
"@cloudflare/workers-
|
142
|
+
"@cloudflare/workers-shared": "0.15.0",
|
143
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
144
|
+
"@cloudflare/eslint-config-worker": "1.1.0"
|
145
145
|
},
|
146
146
|
"peerDependencies": {
|
147
147
|
"@cloudflare/workers-types": "^4.20250408.0"
|
package/wrangler-dist/cli.js
CHANGED
@@ -81450,7 +81450,7 @@ var import_undici3 = __toESM(require_undici());
|
|
81450
81450
|
|
81451
81451
|
// package.json
|
81452
81452
|
var name = "wrangler";
|
81453
|
-
var version = "3.114.
|
81453
|
+
var version = "3.114.7";
|
81454
81454
|
|
81455
81455
|
// src/environment-variables/misc-variables.ts
|
81456
81456
|
init_import_meta_url();
|
@@ -85236,11 +85236,13 @@ function normalizeAndValidateConfig(rawConfig, configPath, userConfigPath, args)
|
|
85236
85236
|
let activeEnv = topLevelEnv;
|
85237
85237
|
if (envName !== void 0) {
|
85238
85238
|
if (isRedirectedConfig) {
|
85239
|
-
|
85240
|
-
|
85241
|
-
|
85242
|
-
|
85243
|
-
|
85239
|
+
if (!isPagesConfig(rawConfig)) {
|
85240
|
+
diagnostics.errors.push(dedent`
|
85241
|
+
You have specified the environment "${envName}", but are using a redirected configuration, produced by a build tool such as Vite.
|
85242
|
+
You need to set the environment in your build tool, rather than via Wrangler.
|
85243
|
+
For example, if you are using Vite, refer to these docs: https://developers.cloudflare.com/workers/vite-plugin/reference/cloudflare-environments/
|
85244
|
+
`);
|
85245
|
+
}
|
85244
85246
|
} else {
|
85245
85247
|
const envDiagnostics = new Diagnostics(
|
85246
85248
|
`"env.${envName}" environment configuration`
|
@@ -147553,6 +147555,12 @@ var whoamiCommand = createCommand({
|
|
147553
147555
|
// src/utils/logPossibleBugMessage.ts
|
147554
147556
|
init_import_meta_url();
|
147555
147557
|
async function logPossibleBugMessage() {
|
147558
|
+
if (process.versions.bun) {
|
147559
|
+
logger.warn(
|
147560
|
+
`Wrangler does not support the Bun runtime. Please try this command again using Node.js via \`npm\` or \`pnpm\`. Alternatively, make sure you're not passing the \`--bun\` flag when running \`bun run wrangler ...\``
|
147561
|
+
);
|
147562
|
+
return;
|
147563
|
+
}
|
147556
147564
|
logger.log(
|
147557
147565
|
`${fgGreenColor}%s${resetColor}`,
|
147558
147566
|
"If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose"
|