vercel 53.0.1 → 53.1.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.
@@ -19593,10 +19593,7 @@ Please ensure that ${cmd(err.path)} is properly installed`;
19593
19593
  if (!this.services || this.services.length === 0) {
19594
19594
  return false;
19595
19595
  }
19596
- if (this.services.length > 1) {
19597
- return true;
19598
- }
19599
- return this.services[0].type !== "web";
19596
+ return true;
19600
19597
  }
19601
19598
  async exit(code = 1) {
19602
19599
  await this.stop(code);
@@ -870,9 +870,7 @@ async function add(client, argv) {
870
870
  }
871
871
  if (policyOn) {
872
872
  for (const choice of choices) {
873
- if (choice.value === "development") {
874
- choice.disabled = "(disallowed)";
875
- } else if (choice.value === "production" || choice.value === "preview") {
873
+ if (choice.value === "production" || choice.value === "preview") {
876
874
  choice.checked = true;
877
875
  }
878
876
  }
@@ -983,22 +981,6 @@ async function add(client, argv) {
983
981
  }
984
982
  const hasDevelopment = envTargets.includes("development");
985
983
  const hasSensitiveCapable = envTargets.some((t) => t !== "development");
986
- if (policyOn && hasDevelopment) {
987
- const msg = `Your team has enabled the Sensitive Environment Variables Policy and the Development Environment does not support sensitive values. https://vercel.com/docs/environment-variables/sensitive-environment-variables#environment-variables-policy`;
988
- if (client.nonInteractive) {
989
- outputAgentError(
990
- client,
991
- {
992
- status: "error",
993
- reason: "development_disallowed_by_team_policy",
994
- message: msg
995
- },
996
- 1
997
- );
998
- }
999
- output_manager_default.error(msg);
1000
- return 1;
1001
- }
1002
984
  if (forceSensitive && hasDevelopment) {
1003
985
  const msg = `--sensitive is not allowed with the Development Environment. Sensitive Environment Variables are only supported on Production and Preview.`;
1004
986
  if (client.nonInteractive) {
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "53.0.1";
1
+ export const version = "53.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "53.0.1",
3
+ "version": "53.1.0",
4
4
  "type": "module",
5
5
  "preferGlobal": true,
6
6
  "license": "Apache-2.0",
@@ -34,25 +34,25 @@
34
34
  "sandbox": "2.5.6",
35
35
  "@vercel/prepare-flags-definitions": "0.2.1",
36
36
  "@vercel/build-utils": "13.21.0",
37
- "@vercel/backends": "0.3.0",
38
- "@vercel/elysia": "0.1.73",
39
- "@vercel/express": "0.1.83",
40
37
  "@vercel/detect-agent": "1.2.3",
38
+ "@vercel/express": "0.1.83",
39
+ "@vercel/elysia": "0.1.73",
40
+ "@vercel/backends": "0.3.0",
41
41
  "@vercel/fastify": "0.1.76",
42
42
  "@vercel/go": "3.6.0",
43
43
  "@vercel/h3": "0.1.82",
44
44
  "@vercel/hono": "0.2.76",
45
- "@vercel/koa": "0.1.56",
46
- "@vercel/nestjs": "0.2.77",
47
45
  "@vercel/hydrogen": "1.3.7",
46
+ "@vercel/koa": "0.1.56",
48
47
  "@vercel/next": "4.17.0",
49
48
  "@vercel/node": "5.7.15",
49
+ "@vercel/nestjs": "0.2.77",
50
50
  "@vercel/python": "6.37.0",
51
51
  "@vercel/redwood": "2.4.13",
52
52
  "@vercel/remix-builder": "5.8.0",
53
53
  "@vercel/ruby": "2.3.2",
54
- "@vercel/static-build": "2.9.22",
55
- "@vercel/rust": "1.2.0"
54
+ "@vercel/rust": "1.2.0",
55
+ "@vercel/static-build": "2.9.22"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@alex_neo/jest-expect-message": "1.0.5",
@@ -181,12 +181,12 @@
181
181
  "yauzl-promise": "2.1.3",
182
182
  "@vercel-internals/constants": "1.0.4",
183
183
  "@vercel-internals/get-package-json": "1.0.0",
184
- "@vercel/client": "17.4.0",
185
184
  "@vercel-internals/types": "3.0.6",
186
- "@vercel/frameworks": "3.25.0",
187
185
  "@vercel/error-utils": "2.1.0",
186
+ "@vercel/client": "17.4.0",
187
+ "@vercel/routing-utils": "6.2.0",
188
188
  "@vercel/fs-detectors": "6.1.0",
189
- "@vercel/routing-utils": "6.2.0"
189
+ "@vercel/frameworks": "3.25.0"
190
190
  },
191
191
  "scripts": {
192
192
  "test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",