vercel 44.6.5 → 44.7.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.
- package/dist/index.js +36 -3
- 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",
|
|
@@ -116390,6 +116391,14 @@ var require_frameworks = __commonJS2({
|
|
|
116390
116391
|
detectors: {
|
|
116391
116392
|
every: [{ matchPackage: "hono" }],
|
|
116392
116393
|
some: [
|
|
116394
|
+
{
|
|
116395
|
+
path: "server.ts",
|
|
116396
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
116397
|
+
},
|
|
116398
|
+
{
|
|
116399
|
+
path: "server.js",
|
|
116400
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
116401
|
+
},
|
|
116393
116402
|
{
|
|
116394
116403
|
path: "index.ts",
|
|
116395
116404
|
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
@@ -116398,6 +116407,10 @@ var require_frameworks = __commonJS2({
|
|
|
116398
116407
|
path: "index.js",
|
|
116399
116408
|
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
116400
116409
|
},
|
|
116410
|
+
{
|
|
116411
|
+
path: "index.mjs",
|
|
116412
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
116413
|
+
},
|
|
116401
116414
|
{
|
|
116402
116415
|
path: "src/index.ts",
|
|
116403
116416
|
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
@@ -116405,6 +116418,10 @@ var require_frameworks = __commonJS2({
|
|
|
116405
116418
|
{
|
|
116406
116419
|
path: "src/index.js",
|
|
116407
116420
|
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
116421
|
+
},
|
|
116422
|
+
{
|
|
116423
|
+
path: "src/index.mjs",
|
|
116424
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
116408
116425
|
}
|
|
116409
116426
|
]
|
|
116410
116427
|
},
|
|
@@ -119740,7 +119757,10 @@ var require_filesystem = __commonJS2({
|
|
|
119740
119757
|
}
|
|
119741
119758
|
}
|
|
119742
119759
|
if (options?.potentialFiles) {
|
|
119743
|
-
const
|
|
119760
|
+
const filesInReaddirDir = options.potentialFiles.filter(
|
|
119761
|
+
(path11) => (0, import_path41.basename)(path11) === path11
|
|
119762
|
+
);
|
|
119763
|
+
const filesThatDoNotExist = filesInReaddirDir.filter(
|
|
119744
119764
|
(path11) => !directoryFiles.has(path11)
|
|
119745
119765
|
);
|
|
119746
119766
|
for (const filePath of filesThatDoNotExist) {
|
|
@@ -145097,9 +145117,20 @@ async function editProjectSettings(client2, projectSettings, framework, autoConf
|
|
|
145097
145117
|
settings.framework = null;
|
|
145098
145118
|
return settings;
|
|
145099
145119
|
}
|
|
145120
|
+
const styledFramework = (frameworkName) => {
|
|
145121
|
+
const frameworkStyle = {
|
|
145122
|
+
text: frameworkName,
|
|
145123
|
+
color: import_chalk48.default.blue
|
|
145124
|
+
};
|
|
145125
|
+
if (frameworkName === "Hono") {
|
|
145126
|
+
frameworkStyle.text = "\u{1F525} Hono";
|
|
145127
|
+
frameworkStyle.color = import_chalk48.default.hex("#FFA500");
|
|
145128
|
+
}
|
|
145129
|
+
return import_chalk48.default.bold(frameworkStyle.color(frameworkStyle.text));
|
|
145130
|
+
};
|
|
145100
145131
|
output_manager_default.print(
|
|
145101
145132
|
!framework.slug ? `No framework detected. Default Project Settings:
|
|
145102
|
-
` : `Auto-detected Project Settings (${
|
|
145133
|
+
` : `Auto-detected Project Settings (${styledFramework(framework.name)}):
|
|
145103
145134
|
`
|
|
145104
145135
|
);
|
|
145105
145136
|
settings.framework = framework.slug;
|
|
@@ -184554,7 +184585,9 @@ var main16 = async () => {
|
|
|
184554
184585
|
});
|
|
184555
184586
|
return 1;
|
|
184556
184587
|
}
|
|
184557
|
-
output_manager_default.error(
|
|
184588
|
+
output_manager_default.error(
|
|
184589
|
+
`Not able to load user because of unexpected error: ${(0, import_error_utils38.errorToString)(err)}`
|
|
184590
|
+
);
|
|
184558
184591
|
return 1;
|
|
184559
184592
|
}
|
|
184560
184593
|
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.
|
|
3
|
+
"version": "44.7.0",
|
|
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.
|
|
28
|
+
"@vercel/hono": "0.0.8",
|
|
29
29
|
"@vercel/hydrogen": "1.2.3",
|
|
30
|
-
"@vercel/next": "4.
|
|
31
|
-
"@vercel/node": "5.3.
|
|
30
|
+
"@vercel/next": "4.11.0",
|
|
31
|
+
"@vercel/node": "5.3.10",
|
|
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.
|
|
86
|
-
"@vercel/fs-detectors": "5.4.
|
|
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",
|