vercel 51.6.1 → 51.8.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.
Files changed (64) hide show
  1. package/dist/chunks/{add-JALB3DKU.js → add-6TAGTCM2.js} +7 -7
  2. package/dist/chunks/{chunk-Z66S4G43.js → chunk-45TDB64X.js} +1 -1
  3. package/dist/chunks/{chunk-U73MZTAR.js → chunk-5VQMJCHT.js} +3 -3
  4. package/dist/chunks/{chunk-QFP6FEBN.js → chunk-6WHQFFN2.js} +1 -1
  5. package/dist/chunks/{chunk-FY3TMBQS.js → chunk-AQ4L3FS4.js} +1 -1
  6. package/dist/chunks/{chunk-DAOAZ2VQ.js → chunk-BHDZCUTT.js} +1 -1
  7. package/dist/chunks/{chunk-PVZBM6NU.js → chunk-BJQTGP42.js} +1 -1
  8. package/dist/chunks/{chunk-CHUU7VXC.js → chunk-BNVEZBEW.js} +75 -68
  9. package/dist/chunks/{chunk-MUJZV257.js → chunk-BQI2CW7A.js} +6 -6
  10. package/dist/chunks/{chunk-DED5G3HZ.js → chunk-CRZM5WM2.js} +1 -1
  11. package/dist/chunks/{chunk-MGJMZIIT.js → chunk-CUCRUPRY.js} +1 -1
  12. package/dist/chunks/{chunk-RW7LIX2Y.js → chunk-DQPDIHII.js} +2 -2
  13. package/dist/chunks/{chunk-LUCCJW67.js → chunk-DVQ4SIWF.js} +1 -1
  14. package/dist/chunks/{chunk-DF4AVQY3.js → chunk-G6RXZLQ2.js} +2 -2
  15. package/dist/chunks/{chunk-WCTFUOSJ.js → chunk-GE6G37P4.js} +1 -1
  16. package/dist/chunks/{chunk-3N3AYMMW.js → chunk-H2PHTCJL.js} +30 -17
  17. package/dist/chunks/{chunk-HUPHOH2F.js → chunk-HRVQZZ3Q.js} +1 -1
  18. package/dist/chunks/{chunk-553A6UFX.js → chunk-IHOJDWAH.js} +6 -6
  19. package/dist/chunks/{chunk-FH2OHGXG.js → chunk-KM6BIRA3.js} +3 -3
  20. package/dist/chunks/{chunk-LUJPLXGG.js → chunk-KUY7VLTK.js} +2 -2
  21. package/dist/chunks/{chunk-C7UTFMYF.js → chunk-LDXYSGPZ.js} +2 -2
  22. package/dist/chunks/{chunk-34IM6J7A.js → chunk-N5IS4YW4.js} +2 -2
  23. package/dist/chunks/{chunk-4X7GBE5B.js → chunk-R4ZPBOD7.js} +23 -23
  24. package/dist/chunks/{chunk-VDM5O3P6.js → chunk-RFMC2QXQ.js} +3 -3
  25. package/dist/chunks/{chunk-BBW6EGBQ.js → chunk-SKXUP3WW.js} +1 -1
  26. package/dist/chunks/{chunk-7L4XVUFK.js → chunk-TAOVG4PS.js} +2 -2
  27. package/dist/chunks/{chunk-UG4457SI.js → chunk-U7MQBM3F.js} +70 -57
  28. package/dist/chunks/{chunk-WYRFA4PX.js → chunk-UBOSX7RM.js} +2 -2
  29. package/dist/chunks/{chunk-QHXUBID6.js → chunk-UP2QQYRS.js} +3 -3
  30. package/dist/chunks/{chunk-XLKXWNRG.js → chunk-UWKTUK3W.js} +1 -1
  31. package/dist/chunks/{chunk-MCTAPJSL.js → chunk-VGWGLBUC.js} +1 -1
  32. package/dist/chunks/{chunk-CGTXAXZ4.js → chunk-XKHLPA6V.js} +3 -1
  33. package/dist/chunks/{chunk-5KFTN63Q.js → chunk-Y3HAJQCS.js} +4 -4
  34. package/dist/chunks/{compile-vercel-config-V2SHBZFW.js → compile-vercel-config-3LQ66C4J.js} +3 -3
  35. package/dist/chunks/{delete-5RI2PRIT.js → delete-57Y647IJ.js} +5 -5
  36. package/dist/chunks/{disable-JPKO7VCV.js → disable-E7QAIMBG.js} +5 -5
  37. package/dist/chunks/{discard-KXGXXDNX.js → discard-6JNSEHUD.js} +5 -5
  38. package/dist/chunks/{edit-VFUE5PVU.js → edit-XKOVDTOO.js} +6 -6
  39. package/dist/chunks/{enable-V2AX2FXX.js → enable-HXRMVTBB.js} +5 -5
  40. package/dist/chunks/{export-BG3TOT6G.js → export-MRADQNKX.js} +5 -5
  41. package/dist/chunks/{inspect-3QVCZVKV.js → inspect-AOOSX4VO.js} +7 -7
  42. package/dist/chunks/{list-Y2YMJWEY.js → list-LQ4BDCK7.js} +5 -5
  43. package/dist/chunks/{list-CWTYXKB5.js → list-YIDM3OOG.js} +8 -8
  44. package/dist/chunks/{ls-SY2CP56I.js → ls-7GZP6WNF.js} +7 -7
  45. package/dist/chunks/{publish-75IJ4PZS.js → publish-VPLDS2W7.js} +5 -5
  46. package/dist/chunks/{query-MLMGNGL2.js → query-SRFELIAP.js} +6 -6
  47. package/dist/chunks/{reorder-757V4BF5.js → reorder-UWAXWRXX.js} +5 -5
  48. package/dist/chunks/{restore-KV44XHFS.js → restore-YHQNMAGI.js} +5 -5
  49. package/dist/chunks/{rm-3EGKFLKW.js → rm-HA373E4I.js} +7 -7
  50. package/dist/chunks/{rule-inspect-AYUGCLVJ.js → rule-inspect-WMR7SVJY.js} +7 -7
  51. package/dist/chunks/{rules-FUFDJOIP.js → rules-CPRD5HRH.js} +7 -7
  52. package/dist/chunks/{schema-CI2XUYTW.js → schema-AGVIOWAU.js} +7 -7
  53. package/dist/chunks/{types-M7LVCA3E.js → types-QNN5CDCB.js} +3 -3
  54. package/dist/chunks/{update-6EM4XIDW.js → update-K5GTSDIT.js} +7 -7
  55. package/dist/commands/build/index.js +24 -15
  56. package/dist/commands/deploy/index.js +21 -21
  57. package/dist/commands/dev/index.js +35 -29
  58. package/dist/commands/env/index.js +146 -33
  59. package/dist/commands/link/index.js +17 -17
  60. package/dist/commands/list/index.js +8 -8
  61. package/dist/commands-bulk.js +215 -115
  62. package/dist/index.js +20 -20
  63. package/dist/version.mjs +1 -1
  64. package/package.json +18 -18
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  table
9
- } from "./chunk-WCTFUOSJ.js";
9
+ } from "./chunk-GE6G37P4.js";
10
10
  import {
11
11
  require_strip_ansi
12
- } from "./chunk-VDM5O3P6.js";
12
+ } from "./chunk-RFMC2QXQ.js";
13
13
  import {
14
14
  require_source
15
15
  } from "./chunk-S7KYDPEM.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_string_width
9
- } from "./chunk-VDM5O3P6.js";
9
+ } from "./chunk-RFMC2QXQ.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getLocalPathConfig
9
- } from "./chunk-LUJPLXGG.js";
9
+ } from "./chunk-KUY7VLTK.js";
10
10
  import {
11
11
  table
12
- } from "./chunk-WCTFUOSJ.js";
12
+ } from "./chunk-GE6G37P4.js";
13
13
  import {
14
14
  VERCEL_DIR_PROJECT,
15
15
  VERCEL_DIR_README,
@@ -17,6 +17,7 @@ import {
17
17
  compileVercelConfig,
18
18
  createProject,
19
19
  detectProjects,
20
+ findSourceVercelConfigFile,
20
21
  getLinkedProject,
21
22
  getProjectByNameOrId,
22
23
  getServicesConfigWriteBlocker,
@@ -36,10 +37,10 @@ import {
36
37
  selectAndParseRemoteUrl,
37
38
  selectOrg,
38
39
  writeServicesConfig
39
- } from "./chunk-UG4457SI.js";
40
+ } from "./chunk-U7MQBM3F.js";
40
41
  import {
41
42
  printError
42
- } from "./chunk-VDM5O3P6.js";
43
+ } from "./chunk-RFMC2QXQ.js";
43
44
  import {
44
45
  CantParseJSONFile,
45
46
  ProjectNotFound,
@@ -262,10 +263,12 @@ function displayDetectedServices(services) {
262
263
  output_manager_default.print(`${tableOutput}
263
264
  `);
264
265
  }
265
- function displayServicesConfigNote() {
266
- output_manager_default.print(`
267
- ${chalk2.dim("Services are configured via vercel.json.")}
268
- `);
266
+ function displayServicesConfigNote(configFileName = "vercel.json") {
267
+ output_manager_default.print(
268
+ `
269
+ ${chalk2.dim(`Services are configured via ${configFileName}.`)}
270
+ `
271
+ );
269
272
  }
270
273
  function displayServiceErrors(errors) {
271
274
  for (const error of errors) {
@@ -433,7 +436,7 @@ var settingMap = {
433
436
  framework: "Framework"
434
437
  };
435
438
  var settingKeys = Object.keys(settingMap).sort();
436
- async function editProjectSettings(client, projectSettings, framework, autoConfirm, localConfigurationOverrides) {
439
+ async function editProjectSettings(client, projectSettings, framework, autoConfirm, localConfigurationOverrides, configFileName = "vercel.json") {
437
440
  const settings = Object.assign(
438
441
  {
439
442
  buildCommand: null,
@@ -452,7 +455,8 @@ async function editProjectSettings(client, projectSettings, framework, autoConfi
452
455
  if (localConfigValue)
453
456
  settings[setting] = localConfigValue;
454
457
  }
455
- output_manager_default.print("Local settings detected in vercel.json:\n");
458
+ output_manager_default.print(`Local settings detected in ${configFileName}:
459
+ `);
456
460
  for (const setting of settingKeys) {
457
461
  const override = localConfigurationOverrides[setting];
458
462
  if (override) {
@@ -595,14 +599,14 @@ async function getServicesSetupState(workPath) {
595
599
  inferredServicesWriteBlocker
596
600
  };
597
601
  }
598
- function displayConfiguredServicesSetup(detectServicesResult) {
602
+ function displayConfiguredServicesSetup(detectServicesResult, configFileName = "vercel.json") {
599
603
  if (detectServicesResult.services.length > 0) {
600
604
  displayDetectedServices(detectServicesResult.services);
601
605
  }
602
606
  if (detectServicesResult.errors.length > 0) {
603
607
  displayServiceErrors(detectServicesResult.errors);
604
608
  }
605
- displayServicesConfigNote();
609
+ displayServicesConfigNote(configFileName);
606
610
  }
607
611
  function formatDetectedServicesSummary(services) {
608
612
  if (services.length === 0) {
@@ -687,8 +691,11 @@ async function promptForInferredServicesSetup({
687
691
  if (choice?.type !== "services") {
688
692
  return choice;
689
693
  }
690
- await writeServicesConfig(workPath, inferred.config);
691
- output_manager_default.log("Added services configuration to vercel.json.");
694
+ const { configFileName } = await writeServicesConfig(
695
+ workPath,
696
+ inferred.config
697
+ );
698
+ output_manager_default.log(`Added services configuration to ${configFileName}.`);
692
699
  return { type: "services" };
693
700
  }
694
701
 
@@ -932,6 +939,7 @@ async function setupAndLink(client, path2, {
932
939
  }
933
940
  config.currentTeam = org.type === "team" ? org.id : void 0;
934
941
  const rootServicesSetup = await getServicesSetupState(path2);
942
+ const configFileName = await findSourceVercelConfigFile(path2) ?? "vercel.json";
935
943
  try {
936
944
  let settings = {};
937
945
  let pathWithRootDirectory = path2;
@@ -948,7 +956,10 @@ async function setupAndLink(client, path2, {
948
956
  });
949
957
  }
950
958
  if (rootServicesSetup.hasConfiguredServices) {
951
- displayConfiguredServicesSetup(rootServicesSetup.detectServicesResult);
959
+ displayConfiguredServicesSetup(
960
+ rootServicesSetup.detectServicesResult,
961
+ configFileName
962
+ );
952
963
  settings.framework = "services";
953
964
  } else if (rootInferredServicesChoice?.type === "services") {
954
965
  settings.framework = "services";
@@ -984,7 +995,8 @@ async function setupAndLink(client, path2, {
984
995
  }
985
996
  if (selectedRootServicesSetup?.hasConfiguredServices) {
986
997
  displayConfiguredServicesSetup(
987
- selectedRootServicesSetup.detectServicesResult
998
+ selectedRootServicesSetup.detectServicesResult,
999
+ configFileName
988
1000
  );
989
1001
  settings.framework = "services";
990
1002
  } else if (selectedRootInferredServicesChoice?.type === "services") {
@@ -1022,7 +1034,8 @@ async function setupAndLink(client, path2, {
1022
1034
  {},
1023
1035
  framework,
1024
1036
  autoConfirm,
1025
- localConfigurationOverrides
1037
+ localConfigurationOverrides,
1038
+ configFileName
1026
1039
  );
1027
1040
  }
1028
1041
  }
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-FH2OHGXG.js";
10
+ } from "./chunk-KM6BIRA3.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-ZQKJVHXY.js";
@@ -6,24 +6,24 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-QFP6FEBN.js";
9
+ } from "./chunk-6WHQFFN2.js";
10
10
  import {
11
11
  ensureLink
12
- } from "./chunk-U73MZTAR.js";
12
+ } from "./chunk-5VQMJCHT.js";
13
13
  import {
14
14
  autoInstallVercelPlugin,
15
15
  pullCommand
16
- } from "./chunk-WYRFA4PX.js";
16
+ } from "./chunk-UBOSX7RM.js";
17
17
  import {
18
18
  help
19
- } from "./chunk-C7UTFMYF.js";
19
+ } from "./chunk-LDXYSGPZ.js";
20
20
  import {
21
21
  VERCEL_DIR,
22
22
  VERCEL_DIR_PROJECT,
23
23
  envPullCommandLogic,
24
24
  humanizePath,
25
25
  parseTarget
26
- } from "./chunk-UG4457SI.js";
26
+ } from "./chunk-U7MQBM3F.js";
27
27
  import {
28
28
  TelemetryClient
29
29
  } from "./chunk-U3WLEFHU.js";
@@ -34,7 +34,7 @@ import {
34
34
  getFlagsSpecification,
35
35
  parseArguments,
36
36
  printError
37
- } from "./chunk-VDM5O3P6.js";
37
+ } from "./chunk-RFMC2QXQ.js";
38
38
  import {
39
39
  emoji,
40
40
  output_manager_default,
@@ -10,17 +10,17 @@ import {
10
10
  } from "./chunk-E3NE4SKN.js";
11
11
  import {
12
12
  getLinkedProject
13
- } from "./chunk-UG4457SI.js";
13
+ } from "./chunk-U7MQBM3F.js";
14
14
  import {
15
15
  buildCommandWithYes,
16
16
  outputAgentError
17
- } from "./chunk-CGTXAXZ4.js";
17
+ } from "./chunk-XKHLPA6V.js";
18
18
  import {
19
19
  getFlagsSpecification,
20
20
  getGlobalFlagsOnlyFromArgs,
21
21
  parseArguments,
22
22
  printError
23
- } from "./chunk-VDM5O3P6.js";
23
+ } from "./chunk-RFMC2QXQ.js";
24
24
  import {
25
25
  getCommandName,
26
26
  getCommandNamePlain
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-UG4457SI.js";
10
+ } from "./chunk-U7MQBM3F.js";
11
11
  import {
12
12
  getArgs
13
- } from "./chunk-VDM5O3P6.js";
13
+ } from "./chunk-RFMC2QXQ.js";
14
14
  import {
15
15
  ConflictingConfigFiles,
16
16
  InvalidLocalConfig
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  noBorderChars,
9
9
  require_cli_table3
10
- } from "./chunk-WCTFUOSJ.js";
10
+ } from "./chunk-GE6G37P4.js";
11
11
  import {
12
12
  require_dist
13
13
  } from "./chunk-U3WLEFHU.js";
14
14
  import {
15
15
  globalCommandOptions
16
- } from "./chunk-VDM5O3P6.js";
16
+ } from "./chunk-RFMC2QXQ.js";
17
17
  import {
18
18
  require_source
19
19
  } from "./chunk-S7KYDPEM.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IB5L4LKZ.js";
10
10
  import {
11
11
  require_execa
12
- } from "./chunk-FY3TMBQS.js";
12
+ } from "./chunk-AQ4L3FS4.js";
13
13
  import {
14
14
  VERCEL_DIR,
15
15
  readJSONFile,
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-UG4457SI.js";
21
+ } from "./chunk-U7MQBM3F.js";
22
22
  import {
23
23
  CantParseJSONFile,
24
24
  cmd,
@@ -6,29 +6,29 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  routesCommand
9
- } from "./chunk-DED5G3HZ.js";
9
+ } from "./chunk-CRZM5WM2.js";
10
10
  import {
11
11
  metricsCommand
12
- } from "./chunk-DAOAZ2VQ.js";
12
+ } from "./chunk-BHDZCUTT.js";
13
13
  import {
14
14
  devCommand
15
- } from "./chunk-PVZBM6NU.js";
15
+ } from "./chunk-BJQTGP42.js";
16
16
  import {
17
17
  activityCommand
18
- } from "./chunk-XLKXWNRG.js";
18
+ } from "./chunk-UWKTUK3W.js";
19
19
  import {
20
20
  alertsCommand
21
- } from "./chunk-7L4XVUFK.js";
21
+ } from "./chunk-TAOVG4PS.js";
22
22
  import {
23
23
  listCommand
24
- } from "./chunk-MCTAPJSL.js";
24
+ } from "./chunk-VGWGLBUC.js";
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-WYRFA4PX.js";
28
+ } from "./chunk-UBOSX7RM.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-UG4457SI.js";
31
+ } from "./chunk-U7MQBM3F.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -37,7 +37,7 @@ import {
37
37
  limitOption,
38
38
  nextOption,
39
39
  yesOption
40
- } from "./chunk-VDM5O3P6.js";
40
+ } from "./chunk-RFMC2QXQ.js";
41
41
  import {
42
42
  packageName
43
43
  } from "./chunk-ECRBC4HL.js";
@@ -2234,7 +2234,7 @@ var systemBypassListSubcommand = {
2234
2234
  var systemBypassAddSubcommand = {
2235
2235
  name: "add",
2236
2236
  aliases: [],
2237
- description: "Add a system bypass rule to allow a specific IP address to skip firewall checks",
2237
+ description: "Add a system bypass rule to allow a specific IP address to skip firewall checks. Takes effect immediately (no publish required)",
2238
2238
  arguments: [{ name: "ip", required: true }],
2239
2239
  options: [
2240
2240
  {
@@ -2267,7 +2267,7 @@ var systemBypassAddSubcommand = {
2267
2267
  var systemBypassRemoveSubcommand = {
2268
2268
  name: "remove",
2269
2269
  aliases: ["rm"],
2270
- description: "Remove a system bypass rule so the IP is no longer exempt from firewall checks",
2270
+ description: "Remove a system bypass rule so the IP is no longer exempt from firewall checks. Takes effect immediately (no publish required)",
2271
2271
  arguments: [{ name: "ip", required: true }],
2272
2272
  options: [
2273
2273
  {
@@ -2336,7 +2336,7 @@ var ipBlocksListSubcommand = {
2336
2336
  var ipBlocksBlockSubcommand = {
2337
2337
  name: "block",
2338
2338
  aliases: [],
2339
- description: "Block an IP address or CIDR range from accessing your project",
2339
+ description: "Block an IP address or CIDR range from accessing your project. Stages a draft change \u2014 run `publish` to make it live",
2340
2340
  arguments: [{ name: "ip", required: true }],
2341
2341
  options: [
2342
2342
  {
@@ -2373,7 +2373,7 @@ var ipBlocksBlockSubcommand = {
2373
2373
  var ipBlocksUnblockSubcommand = {
2374
2374
  name: "unblock",
2375
2375
  aliases: ["rm"],
2376
- description: "Remove an IP blocking rule to allow the address to access your project again",
2376
+ description: "Remove an IP blocking rule to allow the address to access your project again. Stages a draft change \u2014 run `publish` to make it live",
2377
2377
  arguments: [{ name: "id-or-ip", required: true }],
2378
2378
  options: [
2379
2379
  {
@@ -2486,7 +2486,7 @@ var rulesInspectSubcommand = {
2486
2486
  var rulesAddSubcommand = {
2487
2487
  name: "add",
2488
2488
  aliases: [],
2489
- description: "Create a new custom firewall rule using AI, an interactive builder, JSON, or command-line flags",
2489
+ description: "Create a new custom firewall rule using AI, an interactive builder, JSON, or command-line flags. Stages a draft change \u2014 run `publish` to make it live",
2490
2490
  arguments: [{ name: "name", required: false }],
2491
2491
  options: [
2492
2492
  {
@@ -2622,7 +2622,7 @@ var rulesAddSubcommand = {
2622
2622
  var rulesEditSubcommand = {
2623
2623
  name: "edit",
2624
2624
  aliases: [],
2625
- description: "Edit an existing custom firewall rule using AI, an interactive editor, JSON, or command-line flags",
2625
+ description: "Edit an existing custom firewall rule using AI, an interactive editor, JSON, or command-line flags. Stages a draft change \u2014 run `publish` to make it live",
2626
2626
  arguments: [{ name: "name-or-id", required: true }],
2627
2627
  options: [
2628
2628
  {
@@ -2772,7 +2772,7 @@ var rulesEditSubcommand = {
2772
2772
  var rulesEnableSubcommand = {
2773
2773
  name: "enable",
2774
2774
  aliases: [],
2775
- description: "Enable a disabled custom firewall rule",
2775
+ description: "Enable a disabled custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
2776
2776
  arguments: [{ name: "name-or-id", required: true }],
2777
2777
  options: [yesOption],
2778
2778
  examples: [
@@ -2785,7 +2785,7 @@ var rulesEnableSubcommand = {
2785
2785
  var rulesDisableSubcommand = {
2786
2786
  name: "disable",
2787
2787
  aliases: [],
2788
- description: "Disable a custom firewall rule without removing it",
2788
+ description: "Disable a custom firewall rule without removing it. Stages a draft change \u2014 run `publish` to make it live",
2789
2789
  arguments: [{ name: "name-or-id", required: true }],
2790
2790
  options: [yesOption],
2791
2791
  examples: [
@@ -2798,7 +2798,7 @@ var rulesDisableSubcommand = {
2798
2798
  var rulesRemoveSubcommand = {
2799
2799
  name: "remove",
2800
2800
  aliases: ["rm", "delete"],
2801
- description: "Remove a custom firewall rule",
2801
+ description: "Remove a custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
2802
2802
  arguments: [{ name: "name-or-id", required: true }],
2803
2803
  options: [yesOption],
2804
2804
  examples: [
@@ -2811,7 +2811,7 @@ var rulesRemoveSubcommand = {
2811
2811
  var rulesReorderSubcommand = {
2812
2812
  name: "reorder",
2813
2813
  aliases: ["move"],
2814
- description: "Change the priority order of a custom firewall rule",
2814
+ description: "Change the priority order of a custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
2815
2815
  arguments: [{ name: "name-or-id", required: true }],
2816
2816
  options: [
2817
2817
  {
@@ -2886,7 +2886,7 @@ var rulesSubcommand = {
2886
2886
  var attackModeEnableSubcommand = {
2887
2887
  name: "enable",
2888
2888
  aliases: [],
2889
- description: "Enable attack mode \u2014 all visitors will be shown a verification challenge before accessing your site",
2889
+ description: "Enable attack mode \u2014 all visitors will be shown a verification challenge before accessing your site. Takes effect immediately (no publish required)",
2890
2890
  arguments: [],
2891
2891
  options: [
2892
2892
  {
@@ -2912,7 +2912,7 @@ var attackModeEnableSubcommand = {
2912
2912
  var attackModeDisableSubcommand = {
2913
2913
  name: "disable",
2914
2914
  aliases: [],
2915
- description: "Disable attack mode \u2014 visitors will no longer be challenged",
2915
+ description: "Disable attack mode \u2014 visitors will no longer be challenged. Takes effect immediately (no publish required)",
2916
2916
  arguments: [],
2917
2917
  options: [yesOption],
2918
2918
  examples: [
@@ -2943,7 +2943,7 @@ var attackModeSubcommand = {
2943
2943
  var systemMitigationsPauseSubcommand = {
2944
2944
  name: "pause",
2945
2945
  aliases: [],
2946
- description: "Pause automatic DDoS protection and system-level traffic filtering for 24 hours",
2946
+ description: "Pause automatic DDoS protection and system-level traffic filtering for 24 hours. Takes effect immediately (no publish required)",
2947
2947
  arguments: [],
2948
2948
  options: [yesOption],
2949
2949
  examples: [
@@ -2956,7 +2956,7 @@ var systemMitigationsPauseSubcommand = {
2956
2956
  var systemMitigationsResumeSubcommand = {
2957
2957
  name: "resume",
2958
2958
  aliases: [],
2959
- description: "Resume automatic DDoS protection and system-level traffic filtering",
2959
+ description: "Resume automatic DDoS protection and system-level traffic filtering. Takes effect immediately (no publish required)",
2960
2960
  arguments: [],
2961
2961
  options: [yesOption],
2962
2962
  examples: [
@@ -594,9 +594,9 @@ export {
594
594
  getCommandNameWithGlobalFlags,
595
595
  getArgs,
596
596
  parseArguments,
597
+ require_strip_ansi,
598
+ require_string_width,
597
599
  responseError,
598
600
  toEnumerableError,
599
- printError,
600
- require_strip_ansi,
601
- require_string_width
601
+ printError
602
602
  };
@@ -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-UG4457SI.js";
9
+ } from "./chunk-U7MQBM3F.js";
10
10
  import {
11
11
  packageName
12
12
  } from "./chunk-ECRBC4HL.js";
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  rulesAggregateCommand
9
- } from "./chunk-LUCCJW67.js";
9
+ } from "./chunk-DVQ4SIWF.js";
10
10
  import {
11
11
  formatOption,
12
12
  limitOption
13
- } from "./chunk-VDM5O3P6.js";
13
+ } from "./chunk-RFMC2QXQ.js";
14
14
  import {
15
15
  packageName
16
16
  } from "./chunk-ECRBC4HL.js";