vercel 44.6.6 → 44.7.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 (2) hide show
  1. package/dist/index.js +58 -8
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -116374,6 +116374,7 @@ var require_frameworks = __commonJS2({
116374
116374
  name: "Hono",
116375
116375
  slug: "hono",
116376
116376
  logo: "https://api-frameworks.vercel.sh/framework-logos/hono.svg",
116377
+ demo: "https://hono.vercel.dev",
116377
116378
  tagline: "Web framework built on Web Standards",
116378
116379
  description: "Fast, lightweight, built on Web Standards. Support for any JavaScript runtime.",
116379
116380
  website: "https://hono.dev",
@@ -116391,11 +116392,19 @@ var require_frameworks = __commonJS2({
116391
116392
  every: [{ matchPackage: "hono" }],
116392
116393
  some: [
116393
116394
  {
116394
- path: "server.ts",
116395
+ path: "index.cjs",
116395
116396
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116396
116397
  },
116397
116398
  {
116398
- path: "server.js",
116399
+ path: "index.js",
116400
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116401
+ },
116402
+ {
116403
+ path: "index.mjs",
116404
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116405
+ },
116406
+ {
116407
+ path: "index.mts",
116399
116408
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116400
116409
  },
116401
116410
  {
@@ -116403,16 +116412,44 @@ var require_frameworks = __commonJS2({
116403
116412
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116404
116413
  },
116405
116414
  {
116406
- path: "index.js",
116415
+ path: "server.cjs",
116407
116416
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116408
116417
  },
116409
116418
  {
116410
- path: "src/index.ts",
116419
+ path: "server.js",
116420
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116421
+ },
116422
+ {
116423
+ path: "server.mjs",
116424
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116425
+ },
116426
+ {
116427
+ path: "server.mts",
116428
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116429
+ },
116430
+ {
116431
+ path: "server.ts",
116432
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116433
+ },
116434
+ {
116435
+ path: "src/index.cjs",
116411
116436
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116412
116437
  },
116413
116438
  {
116414
116439
  path: "src/index.js",
116415
116440
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116441
+ },
116442
+ {
116443
+ path: "src/index.mjs",
116444
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116445
+ },
116446
+ {
116447
+ path: "src/index.mts",
116448
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116449
+ },
116450
+ {
116451
+ path: "src/index.ts",
116452
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
116416
116453
  }
116417
116454
  ]
116418
116455
  },
@@ -145108,9 +145145,20 @@ async function editProjectSettings(client2, projectSettings, framework, autoConf
145108
145145
  settings.framework = null;
145109
145146
  return settings;
145110
145147
  }
145148
+ const styledFramework = (frameworkName) => {
145149
+ const frameworkStyle = {
145150
+ text: frameworkName,
145151
+ color: import_chalk48.default.blue
145152
+ };
145153
+ if (frameworkName === "Hono") {
145154
+ frameworkStyle.text = "\u{1F525} Hono";
145155
+ frameworkStyle.color = import_chalk48.default.hex("#FFA500");
145156
+ }
145157
+ return import_chalk48.default.bold(frameworkStyle.color(frameworkStyle.text));
145158
+ };
145111
145159
  output_manager_default.print(
145112
145160
  !framework.slug ? `No framework detected. Default Project Settings:
145113
- ` : `Auto-detected Project Settings (${import_chalk48.default.bold(framework.name)}):
145161
+ ` : `Auto-detected Project Settings (${styledFramework(framework.name)}):
145114
145162
  `
145115
145163
  );
145116
145164
  settings.framework = framework.slug;
@@ -176234,7 +176282,7 @@ async function getResources(client2, teamId) {
176234
176282
  const searchParams = new URLSearchParams();
176235
176283
  searchParams.set("teamId", teamId);
176236
176284
  const storesResponse = await client2.fetch(
176237
- `/v1/storage/stores?teamId=${searchParams}`,
176285
+ `/v1/storage/stores?${searchParams}`,
176238
176286
  {
176239
176287
  json: true
176240
176288
  }
@@ -183615,7 +183663,7 @@ init_errors_ts();
183615
183663
  init_errors_ts();
183616
183664
 
183617
183665
  // src/util/constants.ts
183618
- var SENTRY_DSN = void 0;
183666
+ var SENTRY_DSN = "https://26a24e59ba954011919a524b341b6ab5@sentry.io/1323225";
183619
183667
 
183620
183668
  // src/index.ts
183621
183669
  init_get_update_command();
@@ -184565,7 +184613,9 @@ var main16 = async () => {
184565
184613
  });
184566
184614
  return 1;
184567
184615
  }
184568
- output_manager_default.error("Not able to load user");
184616
+ output_manager_default.error(
184617
+ `Not able to load user because of unexpected error: ${(0, import_error_utils38.errorToString)(err)}`
184618
+ );
184569
184619
  return 1;
184570
184620
  }
184571
184621
  if (user.id === scope || user.email === scope || user.username === scope) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "44.6.6",
3
+ "version": "44.7.2",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -25,10 +25,10 @@
25
25
  "@vercel/build-utils": "11.0.0",
26
26
  "@vercel/fun": "1.1.6",
27
27
  "@vercel/go": "3.2.2",
28
- "@vercel/hono": "0.0.6",
28
+ "@vercel/hono": "0.0.9",
29
29
  "@vercel/hydrogen": "1.2.3",
30
- "@vercel/next": "4.10.10",
31
- "@vercel/node": "5.3.8",
30
+ "@vercel/next": "4.11.0",
31
+ "@vercel/node": "5.3.11",
32
32
  "@vercel/python": "5.0.0",
33
33
  "@vercel/redwood": "2.3.4",
34
34
  "@vercel/remix-builder": "5.4.10",
@@ -82,8 +82,8 @@
82
82
  "@types/yauzl-promise": "2.1.0",
83
83
  "@vercel/client": "15.3.13",
84
84
  "@vercel/error-utils": "2.0.3",
85
- "@vercel/frameworks": "3.7.5",
86
- "@vercel/fs-detectors": "5.4.11",
85
+ "@vercel/frameworks": "3.7.6",
86
+ "@vercel/fs-detectors": "5.4.12",
87
87
  "@vercel/routing-utils": "5.1.1",
88
88
  "@vitest/expect": "2.1.3",
89
89
  "ajv": "6.12.3",