vercel 54.12.0 → 54.12.2

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.
Files changed (50) hide show
  1. package/dist/chunks/{add-4F6CBPSE.js → add-SYDJV2T4.js} +4 -4
  2. package/dist/chunks/{chunk-OBWYK3NL.js → chunk-2OG4XEO7.js} +1 -1
  3. package/dist/chunks/{chunk-DITVV3KE.js → chunk-4643KU3X.js} +1 -1
  4. package/dist/chunks/{chunk-NLEBTR3S.js → chunk-4XUOV2X3.js} +1 -1
  5. package/dist/chunks/{chunk-NZDGG7W3.js → chunk-AYYWS2SR.js} +1 -1
  6. package/dist/chunks/{chunk-2WND2XFN.js → chunk-BKBME5J7.js} +1 -1
  7. package/dist/chunks/{chunk-IDTFK3CR.js → chunk-EF7I74B3.js} +1 -6
  8. package/dist/chunks/{chunk-APC5GMBX.js → chunk-EWCHYBUM.js} +1 -1
  9. package/dist/chunks/{chunk-WNYUBBFH.js → chunk-H2V3VLCZ.js} +2 -2
  10. package/dist/chunks/{chunk-FJP2X2TE.js → chunk-HFZBZ5RL.js} +2 -2
  11. package/dist/chunks/{chunk-IOV7PLXQ.js → chunk-HZCLVVUY.js} +4 -4
  12. package/dist/chunks/{chunk-7IAMAKFC.js → chunk-KY27SDWY.js} +1 -1
  13. package/dist/chunks/{chunk-HVYPWTJQ.js → chunk-MPJHH4XH.js} +27 -5
  14. package/dist/chunks/{chunk-ZYNF76YT.js → chunk-MVNPVHFE.js} +340 -53
  15. package/dist/chunks/{chunk-42PRZ45G.js → chunk-OBN3CMNI.js} +4 -4
  16. package/dist/chunks/{chunk-B744TFL4.js → chunk-RWBYP6J5.js} +1 -1
  17. package/dist/chunks/{chunk-JRPLGVXQ.js → chunk-S6JBHRRQ.js} +1 -1
  18. package/dist/chunks/{chunk-LGWH2KFI.js → chunk-TUDFOYDC.js} +3 -3
  19. package/dist/chunks/{chunk-HYFP6VVA.js → chunk-VX2CL5SM.js} +2 -2
  20. package/dist/chunks/{chunk-ADBU633H.js → chunk-X4M2XSJZ.js} +1 -1
  21. package/dist/chunks/{compile-vercel-config-CGU7GBYQ.js → compile-vercel-config-ANNU2HBR.js} +1 -1
  22. package/dist/chunks/{delete-XKC6CE3R.js → delete-CSL7GQUM.js} +2 -2
  23. package/dist/chunks/{disable-F2RLDMXX.js → disable-WRZTPAJJ.js} +2 -2
  24. package/dist/chunks/{discard-N4MILEID.js → discard-L2YVL23C.js} +2 -2
  25. package/dist/chunks/{edit-PMIBPG7J.js → edit-VXYNQVBR.js} +3 -3
  26. package/dist/chunks/{enable-AON5KGOT.js → enable-OWXV2G3V.js} +2 -2
  27. package/dist/chunks/{export-OQKO5JVC.js → export-6KAIMGH6.js} +2 -2
  28. package/dist/chunks/{inspect-7TLOVORH.js → inspect-UZ5CC3HV.js} +3 -3
  29. package/dist/chunks/{list-SCOE3N4I.js → list-7BYAGN5B.js} +3 -3
  30. package/dist/chunks/{list-RJHF6SWM.js → list-PHVOL64I.js} +2 -2
  31. package/dist/chunks/{ls-CFTCULV5.js → ls-5QIP5PDC.js} +4 -4
  32. package/dist/chunks/{publish-6VOT42HN.js → publish-6KB6TNYM.js} +2 -2
  33. package/dist/chunks/{query-OHEBAPTS.js → query-2PCHFFUA.js} +2 -2
  34. package/dist/chunks/{reorder-GMIEF42H.js → reorder-AN4IH7VE.js} +2 -2
  35. package/dist/chunks/{restore-JY2JCHOY.js → restore-CA72EKHV.js} +2 -2
  36. package/dist/chunks/{rm-FQB3M5YP.js → rm-ZEX7PISI.js} +4 -4
  37. package/dist/chunks/{rule-inspect-2JWJRPGL.js → rule-inspect-ZMHGGEUM.js} +4 -4
  38. package/dist/chunks/{rules-MULKOWZ5.js → rules-XNQ4LDXH.js} +6 -6
  39. package/dist/chunks/{schema-4YC2WD3R.js → schema-Q2JNER6Z.js} +2 -2
  40. package/dist/chunks/{update-T4SXDA7F.js → update-WMWLJRV2.js} +4 -4
  41. package/dist/commands/build/index.js +9 -9
  42. package/dist/commands/deploy/index.js +10 -10
  43. package/dist/commands/dev/index.js +8 -8
  44. package/dist/commands/env/index.js +4 -4
  45. package/dist/commands/link/index.js +7 -7
  46. package/dist/commands/list/index.js +3 -3
  47. package/dist/commands-bulk.js +156 -97
  48. package/dist/index.js +8 -8
  49. package/dist/version.mjs +1 -1
  50. package/package.json +19 -19
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-7IAMAKFC.js";
13
- import "./chunk-HYFP6VVA.js";
12
+ } from "./chunk-KY27SDWY.js";
13
+ import "./chunk-VX2CL5SM.js";
14
14
  import "./chunk-5SYDEK2N.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -21,8 +21,8 @@ import {
21
21
  import {
22
22
  AGENT_REASON
23
23
  } from "./chunk-LJ5WXXG6.js";
24
- import "./chunk-ADBU633H.js";
25
- import "./chunk-IDTFK3CR.js";
24
+ import "./chunk-X4M2XSJZ.js";
25
+ import "./chunk-EF7I74B3.js";
26
26
  import "./chunk-J5273CSE.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-IDTFK3CR.js";
9
+ } from "./chunk-EF7I74B3.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-IDTFK3CR.js";
21
+ } from "./chunk-EF7I74B3.js";
22
22
  import {
23
23
  CantParseJSONFile,
24
24
  cmd,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-IDTFK3CR.js";
9
+ } from "./chunk-EF7I74B3.js";
10
10
  import {
11
11
  packageName
12
12
  } from "./chunk-LN6B7ZI3.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-LJ5WXXG6.js";
11
11
  import {
12
12
  getLinkedProject
13
- } from "./chunk-IDTFK3CR.js";
13
+ } from "./chunk-EF7I74B3.js";
14
14
  import {
15
15
  buildCommandWithYes,
16
16
  outputAgentError
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-IDTFK3CR.js";
9
+ } from "./chunk-EF7I74B3.js";
10
10
  import {
11
11
  projectOption,
12
12
  yesOption
@@ -17863,11 +17863,6 @@ var require_frameworks = __commonJS({
17863
17863
  useRuntime: { src: "package.json", use: "@vercel/backends" },
17864
17864
  ignoreRuntimes: ["@vercel/node"],
17865
17865
  detectors: {
17866
- every: [
17867
- {
17868
- path: "package.json"
17869
- }
17870
- ],
17871
17866
  some: [
17872
17867
  {
17873
17868
  path: "server.cjs"
@@ -37330,7 +37325,7 @@ var require_package = __commonJS({
37330
37325
  "../client/package.json"(exports, module) {
37331
37326
  module.exports = {
37332
37327
  name: "@vercel/client",
37333
- version: "17.5.14",
37328
+ version: "17.5.15",
37334
37329
  main: "dist/index.js",
37335
37330
  typings: "dist/index.d.ts",
37336
37331
  homepage: "https://vercel.com",
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-IDTFK3CR.js";
10
+ } from "./chunk-EF7I74B3.js";
11
11
  import {
12
12
  parseArguments
13
13
  } from "./chunk-6IQZVQV6.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-V5P25P7F.js";
10
10
  import {
11
11
  getLocalPathConfig
12
- } from "./chunk-APC5GMBX.js";
12
+ } from "./chunk-EWCHYBUM.js";
13
13
  import {
14
14
  DEFAULT_VERCEL_CONFIG_FILENAME,
15
15
  VERCEL_CONFIG_EXTENSIONS,
@@ -36,7 +36,7 @@ import {
36
36
  useKeypress,
37
37
  usePrefix,
38
38
  useState
39
- } from "./chunk-IDTFK3CR.js";
39
+ } from "./chunk-EF7I74B3.js";
40
40
  import {
41
41
  require_load_json_file
42
42
  } from "./chunk-J5273CSE.js";
@@ -7,12 +7,12 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  printProjectNotFoundError,
9
9
  setupAndLink
10
- } from "./chunk-LGWH2KFI.js";
10
+ } from "./chunk-TUDFOYDC.js";
11
11
  import {
12
12
  getLinkedProject,
13
13
  param,
14
14
  resolveProjectCwd
15
- } from "./chunk-IDTFK3CR.js";
15
+ } from "./chunk-EF7I74B3.js";
16
16
  import {
17
17
  buildCommandWithYes,
18
18
  outputActionRequired
@@ -9,7 +9,7 @@ import {
9
9
  printIndications,
10
10
  require_dist as require_dist2,
11
11
  sleep
12
- } from "./chunk-WNYUBBFH.js";
12
+ } from "./chunk-H2V3VLCZ.js";
13
13
  import {
14
14
  suggestNextCommands
15
15
  } from "./chunk-LKBI43XK.js";
@@ -19,10 +19,10 @@ import {
19
19
  } from "./chunk-TCF6MGBY.js";
20
20
  import {
21
21
  CommandTimeout
22
- } from "./chunk-HVYPWTJQ.js";
22
+ } from "./chunk-MPJHH4XH.js";
23
23
  import {
24
24
  getScope
25
- } from "./chunk-ADBU633H.js";
25
+ } from "./chunk-X4M2XSJZ.js";
26
26
  import {
27
27
  getProjectByNameOrId,
28
28
  param,
@@ -31,7 +31,7 @@ import {
31
31
  require_pluralize,
32
32
  showPluginTipIfNeeded,
33
33
  ua_default
34
- } from "./chunk-IDTFK3CR.js";
34
+ } from "./chunk-EF7I74B3.js";
35
35
  import {
36
36
  require_ms,
37
37
  stamp_default
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveAlertsScope
9
- } from "./chunk-HYFP6VVA.js";
9
+ } from "./chunk-VX2CL5SM.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -25,10 +25,10 @@ import {
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-2WND2XFN.js";
28
+ } from "./chunk-BKBME5J7.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-IDTFK3CR.js";
31
+ } from "./chunk-EF7I74B3.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -641,6 +641,14 @@ var aliasCommand = {
641
641
  };
642
642
 
643
643
  // src/commands/api/command.ts
644
+ var specUrlOption = {
645
+ name: "spec-url",
646
+ shorthand: null,
647
+ type: String,
648
+ argument: "URL",
649
+ deprecated: false,
650
+ description: "Fetch endpoints from a custom OpenAPI spec URL instead of the public Vercel spec"
651
+ };
644
652
  var listSubcommand2 = {
645
653
  name: "list",
646
654
  aliases: ["ls"],
@@ -648,6 +656,7 @@ var listSubcommand2 = {
648
656
  arguments: [],
649
657
  options: [
650
658
  formatOption,
659
+ specUrlOption,
651
660
  {
652
661
  name: "refresh",
653
662
  shorthand: null,
@@ -664,6 +673,10 @@ var listSubcommand2 = {
664
673
  {
665
674
  name: "List all endpoints as JSON",
666
675
  value: `${packageName} api ls --format json`
676
+ },
677
+ {
678
+ name: "List endpoints from a custom OpenAPI spec",
679
+ value: `${packageName} api ls --spec-url https://openapi-internal.vercel.sh --refresh`
667
680
  }
668
681
  ]
669
682
  };
@@ -761,6 +774,7 @@ var apiCommand = {
761
774
  deprecated: false,
762
775
  description: "Force refresh the cached OpenAPI spec"
763
776
  },
777
+ specUrlOption,
764
778
  {
765
779
  name: "generate",
766
780
  shorthand: null,
@@ -809,6 +823,10 @@ var apiCommand = {
809
823
  {
810
824
  name: "Interactive mode (select endpoint)",
811
825
  value: `${packageName} api`
826
+ },
827
+ {
828
+ name: "Interactive mode with a custom OpenAPI spec",
829
+ value: `${packageName} api --spec-url https://openapi-internal.vercel.sh --refresh`
812
830
  }
813
831
  ]
814
832
  };
@@ -1357,7 +1375,7 @@ var createSubcommand2 = {
1357
1375
  type: String,
1358
1376
  argument: "JSON",
1359
1377
  deprecated: false,
1360
- description: "JSON object for non-managed connector creation. When set, posts directly to the connector create API."
1378
+ description: "JSON object for non-managed connector creation. When set, posts directly to the connector create API. Pass `@<path>` to read from a file or `@-` to read from stdin \u2014 recommended for secrets (e.g. client secrets), which leak into shell history when passed inline."
1361
1379
  },
1362
1380
  {
1363
1381
  name: "connector-type",
@@ -1415,8 +1433,12 @@ var createSubcommand2 = {
1415
1433
  value: `${packageName} connect create mcp.linear.app --name linear --data '{"clientId":"abc123"}'`
1416
1434
  },
1417
1435
  {
1418
- name: "Create a non-managed connector with an explicit connector type",
1419
- value: `${packageName} connect create slack --name my-bot --connector-type slack --data '{"appId":"A123","appName":"my-bot","clientId":"abc","clientSecret":"secret"}'`
1436
+ name: "Create a non-managed connector, reading credentials from a file (keeps secrets out of shell history)",
1437
+ value: `${packageName} connect create slack --name my-bot --connector-type slack --data @slack-app.json`
1438
+ },
1439
+ {
1440
+ name: "Create a non-managed connector, reading credentials from stdin",
1441
+ value: `cat slack-app.json | ${packageName} connect create slack --name my-bot --connector-type slack --data @-`
1420
1442
  },
1421
1443
  {
1422
1444
  name: "Output as JSON",