vercel 59.1.3 → 59.1.4

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.
@@ -4,6 +4,9 @@ import { dirname as __dirname_ } from 'node:path';
4
4
  const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
+ import {
8
+ ellipsis
9
+ } from "./chunk-KDYRLN6H.js";
7
10
  import {
8
11
  ALIGNED_LABEL_WIDTH
9
12
  } from "./chunk-VE545BR3.js";
@@ -51,13 +54,7 @@ function displayPath(thread) {
51
54
  return thread.context?.path || "/";
52
55
  }
53
56
  function truncate(text, max) {
54
- const normalized = text.replace(/\s+/g, " ").trim();
55
- const segmenter = new Intl.Segmenter();
56
- const graphemes = [...segmenter.segment(normalized)];
57
- if (graphemes.length <= max) {
58
- return normalized;
59
- }
60
- return `${graphemes.slice(0, Math.max(0, max - 1)).map((s) => s.segment).join("")}\u2026`;
57
+ return ellipsis(text.replace(/\s+/g, " ").trim(), max);
61
58
  }
62
59
  function firstMessageText(thread) {
63
60
  return thread.messages[0]?.text ?? "";
@@ -0,0 +1,18 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+ import {
8
+ truncateEnd
9
+ } from "./chunk-VDJN4WKH.js";
10
+
11
+ // src/util/output/ellipsis.ts
12
+ function ellipsis(str, length) {
13
+ return truncateEnd(str, length, { omission: "\u2026" });
14
+ }
15
+
16
+ export {
17
+ ellipsis
18
+ };
@@ -4,9 +4,6 @@ import { dirname as __dirname_ } from 'node:path';
4
4
  const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
- import {
8
- truncateEnd
9
- } from "./chunk-VDJN4WKH.js";
10
7
  import {
11
8
  require_dist
12
9
  } from "./chunk-OX7KI3LF.js";
@@ -297,16 +294,10 @@ function pickCustomEnvironment(customEnvironments, customEnvironmentSlugOrId) {
297
294
  );
298
295
  }
299
296
 
300
- // src/util/output/ellipsis.ts
301
- function ellipsis(str, length) {
302
- return truncateEnd(str, length, { omission: "\u2026" });
303
- }
304
-
305
297
  export {
306
298
  readStandardInput,
307
299
  CHECKBOX_INSTRUCTIONS,
308
300
  getCustomEnvironments,
309
301
  pickCustomEnvironment,
310
- ellipsis,
311
302
  require_dist2 as require_dist
312
303
  };
@@ -10,7 +10,7 @@ import {
10
10
  renderThreadDetail,
11
11
  threadAge,
12
12
  truncate
13
- } from "./chunk-TNKRSTMB.js";
13
+ } from "./chunk-DOAYLTBJ.js";
14
14
  import {
15
15
  parseThreadArg
16
16
  } from "./chunk-E336ZXPP.js";
@@ -30,6 +30,8 @@ import {
30
30
  import {
31
31
  outputError
32
32
  } from "./chunk-P65EEFTR.js";
33
+ import "./chunk-KDYRLN6H.js";
34
+ import "./chunk-VDJN4WKH.js";
33
35
  import {
34
36
  validateJsonOutput
35
37
  } from "./chunk-KXDWXXJH.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  renderThreadRow
9
- } from "./chunk-TNKRSTMB.js";
9
+ } from "./chunk-DOAYLTBJ.js";
10
10
  import {
11
11
  handleCommentsParseError,
12
12
  inferBranch,
@@ -18,6 +18,8 @@ import {
18
18
  outputError,
19
19
  validateIntegerRangeWithDefault
20
20
  } from "./chunk-P65EEFTR.js";
21
+ import "./chunk-KDYRLN6H.js";
22
+ import "./chunk-VDJN4WKH.js";
21
23
  import {
22
24
  validateJsonOutput
23
25
  } from "./chunk-KXDWXXJH.js";
@@ -6,14 +6,16 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  CHECKBOX_INSTRUCTIONS,
9
- ellipsis,
10
9
  getCustomEnvironments,
11
10
  readStandardInput,
12
11
  require_dist as require_dist3
13
- } from "../../chunks/chunk-PD7ZUXE7.js";
12
+ } from "../../chunks/chunk-VLPLCJZC.js";
14
13
  import {
15
14
  getInvalidSubcommand
16
15
  } from "../../chunks/chunk-VGIMO3ZK.js";
16
+ import {
17
+ ellipsis
18
+ } from "../../chunks/chunk-KDYRLN6H.js";
17
19
  import {
18
20
  formatTable
19
21
  } from "../../chunks/chunk-BBSS3XIW.js";
@@ -147,15 +147,17 @@ import {
147
147
  } from "./chunks/chunk-JKQWQA2T.js";
148
148
  import {
149
149
  CHECKBOX_INSTRUCTIONS,
150
- ellipsis,
151
150
  getCustomEnvironments,
152
151
  pickCustomEnvironment,
153
152
  readStandardInput,
154
153
  require_dist as require_dist4
155
- } from "./chunks/chunk-PD7ZUXE7.js";
154
+ } from "./chunks/chunk-VLPLCJZC.js";
156
155
  import {
157
156
  getInvalidSubcommand
158
157
  } from "./chunks/chunk-VGIMO3ZK.js";
158
+ import {
159
+ ellipsis
160
+ } from "./chunks/chunk-KDYRLN6H.js";
159
161
  import {
160
162
  formatTable
161
163
  } from "./chunks/chunk-BBSS3XIW.js";
@@ -14747,7 +14749,7 @@ async function comments(client) {
14747
14749
  if (handleHelp(inspectSubcommand4))
14748
14750
  return 0;
14749
14751
  telemetry2.trackCliSubcommandInspect(subcommandOriginal);
14750
- return (await import("./chunks/inspect-FXZTQY62.js")).default(client, telemetry2);
14752
+ return (await import("./chunks/inspect-RI4K77NG.js")).default(client, telemetry2);
14751
14753
  }
14752
14754
  case "open": {
14753
14755
  if (handleHelp(openSubcommand))
@@ -14799,7 +14801,7 @@ async function comments(client) {
14799
14801
  }
14800
14802
  telemetry2.trackCliSubcommandList(subcommandOriginal);
14801
14803
  const defaultInvocation = subcommandOriginal === "default";
14802
- return (await import("./chunks/list-2WMIVJ2R.js")).default(
14804
+ return (await import("./chunks/list-G7LGVDAJ.js")).default(
14803
14805
  client,
14804
14806
  telemetry2,
14805
14807
  defaultInvocation
package/dist/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const version = "59.1.3";
1
+ export const version = "59.1.4";
2
2
  export const buildLabel = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "59.1.3",
3
+ "version": "59.1.4",
4
4
  "type": "module",
5
5
  "preferGlobal": true,
6
6
  "license": "Apache-2.0",
@@ -41,8 +41,8 @@
41
41
  "@vercel/cli-config": "0.2.3",
42
42
  "@vercel/container": "0.2.0",
43
43
  "@vercel/detect-agent": "1.2.5",
44
- "@vercel/elysia": "0.1.115",
45
44
  "@vercel/express": "0.1.129",
45
+ "@vercel/elysia": "0.1.115",
46
46
  "@vercel/fastify": "0.1.118",
47
47
  "@vercel/go": "3.11.0",
48
48
  "@vercel/h3": "0.1.124",
@@ -206,16 +206,16 @@
206
206
  "@vercel-internals/get-package-json": "1.0.0",
207
207
  "@vercel-internals/types": "3.0.6",
208
208
  "@vercel/client": "18.2.12",
209
+ "@vercel/error-utils": "2.2.1",
209
210
  "@vercel/frameworks": "3.31.0",
210
211
  "@vercel/fs-detectors": "6.15.8",
211
- "@vercel/routing-utils": "6.5.0",
212
- "@vercel/error-utils": "2.2.1"
212
+ "@vercel/routing-utils": "6.5.0"
213
213
  },
214
214
  "optionalDependencies": {
215
- "@vercel/vc-native-darwin-arm64": "59.1.3",
216
- "@vercel/vc-native-darwin-x64": "59.1.3",
217
- "@vercel/vc-native-linux-arm64": "59.1.3",
218
- "@vercel/vc-native-linux-x64": "59.1.3"
215
+ "@vercel/vc-native-darwin-arm64": "59.1.4",
216
+ "@vercel/vc-native-darwin-x64": "59.1.4",
217
+ "@vercel/vc-native-linux-arm64": "59.1.4",
218
+ "@vercel/vc-native-linux-x64": "59.1.4"
219
219
  },
220
220
  "scripts": {
221
221
  "test": "node scripts/test.mjs --run",