vercel 50.3.0 → 50.3.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.
- package/dist/index.js +193 -3
- package/package.json +21 -20
package/dist/index.js
CHANGED
|
@@ -50311,7 +50311,7 @@ var require_package = __commonJS2({
|
|
|
50311
50311
|
"../client/package.json"(exports2, module2) {
|
|
50312
50312
|
module2.exports = {
|
|
50313
50313
|
name: "@vercel/client",
|
|
50314
|
-
version: "17.2.
|
|
50314
|
+
version: "17.2.21",
|
|
50315
50315
|
main: "dist/index.js",
|
|
50316
50316
|
typings: "dist/index.d.ts",
|
|
50317
50317
|
homepage: "https://vercel.com",
|
|
@@ -80543,6 +80543,191 @@ var require_frameworks = __commonJS2({
|
|
|
80543
80543
|
dependency: "h3",
|
|
80544
80544
|
getOutputDirName: async () => "public"
|
|
80545
80545
|
},
|
|
80546
|
+
{
|
|
80547
|
+
name: "Koa",
|
|
80548
|
+
slug: "koa",
|
|
80549
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/koa.svg",
|
|
80550
|
+
tagline: "Expressive middleware for Node.js using ES2017 async functions",
|
|
80551
|
+
description: "Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.",
|
|
80552
|
+
website: "https://koajs.com",
|
|
80553
|
+
useRuntime: { src: "index.js", use: "@vercel/koa" },
|
|
80554
|
+
defaultRoutes: [
|
|
80555
|
+
{
|
|
80556
|
+
handle: "filesystem"
|
|
80557
|
+
},
|
|
80558
|
+
{
|
|
80559
|
+
src: "/(.*)",
|
|
80560
|
+
dest: "/"
|
|
80561
|
+
}
|
|
80562
|
+
],
|
|
80563
|
+
detectors: {
|
|
80564
|
+
every: [{ matchPackage: "koa" }],
|
|
80565
|
+
some: [
|
|
80566
|
+
{
|
|
80567
|
+
path: "app.cjs",
|
|
80568
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80569
|
+
},
|
|
80570
|
+
{
|
|
80571
|
+
path: "app.js",
|
|
80572
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80573
|
+
},
|
|
80574
|
+
{
|
|
80575
|
+
path: "app.mjs",
|
|
80576
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80577
|
+
},
|
|
80578
|
+
{
|
|
80579
|
+
path: "app.mts",
|
|
80580
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80581
|
+
},
|
|
80582
|
+
{
|
|
80583
|
+
path: "app.ts",
|
|
80584
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80585
|
+
},
|
|
80586
|
+
{
|
|
80587
|
+
path: "app.cts",
|
|
80588
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80589
|
+
},
|
|
80590
|
+
{
|
|
80591
|
+
path: "index.cjs",
|
|
80592
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80593
|
+
},
|
|
80594
|
+
{
|
|
80595
|
+
path: "index.js",
|
|
80596
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80597
|
+
},
|
|
80598
|
+
{
|
|
80599
|
+
path: "index.mjs",
|
|
80600
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80601
|
+
},
|
|
80602
|
+
{
|
|
80603
|
+
path: "index.mts",
|
|
80604
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80605
|
+
},
|
|
80606
|
+
{
|
|
80607
|
+
path: "index.ts",
|
|
80608
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80609
|
+
},
|
|
80610
|
+
{
|
|
80611
|
+
path: "index.cts",
|
|
80612
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80613
|
+
},
|
|
80614
|
+
{
|
|
80615
|
+
path: "server.cjs",
|
|
80616
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80617
|
+
},
|
|
80618
|
+
{
|
|
80619
|
+
path: "server.js",
|
|
80620
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80621
|
+
},
|
|
80622
|
+
{
|
|
80623
|
+
path: "server.mjs",
|
|
80624
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80625
|
+
},
|
|
80626
|
+
{
|
|
80627
|
+
path: "server.mts",
|
|
80628
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80629
|
+
},
|
|
80630
|
+
{
|
|
80631
|
+
path: "server.ts",
|
|
80632
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80633
|
+
},
|
|
80634
|
+
{
|
|
80635
|
+
path: "server.cts",
|
|
80636
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80637
|
+
},
|
|
80638
|
+
{
|
|
80639
|
+
path: "src/index.cjs",
|
|
80640
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80641
|
+
},
|
|
80642
|
+
{
|
|
80643
|
+
path: "src/index.js",
|
|
80644
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80645
|
+
},
|
|
80646
|
+
{
|
|
80647
|
+
path: "src/index.mjs",
|
|
80648
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80649
|
+
},
|
|
80650
|
+
{
|
|
80651
|
+
path: "src/index.mts",
|
|
80652
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80653
|
+
},
|
|
80654
|
+
{
|
|
80655
|
+
path: "src/index.ts",
|
|
80656
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80657
|
+
},
|
|
80658
|
+
{
|
|
80659
|
+
path: "src/index.cts",
|
|
80660
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80661
|
+
},
|
|
80662
|
+
{
|
|
80663
|
+
path: "src/app.cjs",
|
|
80664
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80665
|
+
},
|
|
80666
|
+
{
|
|
80667
|
+
path: "src/app.js",
|
|
80668
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80669
|
+
},
|
|
80670
|
+
{
|
|
80671
|
+
path: "src/app.mjs",
|
|
80672
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80673
|
+
},
|
|
80674
|
+
{
|
|
80675
|
+
path: "src/app.mts",
|
|
80676
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80677
|
+
},
|
|
80678
|
+
{
|
|
80679
|
+
path: "src/app.ts",
|
|
80680
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80681
|
+
},
|
|
80682
|
+
{
|
|
80683
|
+
path: "src/app.cts",
|
|
80684
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80685
|
+
},
|
|
80686
|
+
{
|
|
80687
|
+
path: "src/server.cjs",
|
|
80688
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80689
|
+
},
|
|
80690
|
+
{
|
|
80691
|
+
path: "src/server.js",
|
|
80692
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80693
|
+
},
|
|
80694
|
+
{
|
|
80695
|
+
path: "src/server.mjs",
|
|
80696
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80697
|
+
},
|
|
80698
|
+
{
|
|
80699
|
+
path: "src/server.mts",
|
|
80700
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80701
|
+
},
|
|
80702
|
+
{
|
|
80703
|
+
path: "src/server.ts",
|
|
80704
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80705
|
+
},
|
|
80706
|
+
{
|
|
80707
|
+
path: "src/server.cts",
|
|
80708
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
80709
|
+
}
|
|
80710
|
+
]
|
|
80711
|
+
},
|
|
80712
|
+
settings: {
|
|
80713
|
+
installCommand: {
|
|
80714
|
+
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
|
|
80715
|
+
},
|
|
80716
|
+
buildCommand: {
|
|
80717
|
+
placeholder: "None",
|
|
80718
|
+
value: null
|
|
80719
|
+
},
|
|
80720
|
+
devCommand: {
|
|
80721
|
+
placeholder: "None",
|
|
80722
|
+
value: null
|
|
80723
|
+
},
|
|
80724
|
+
outputDirectory: {
|
|
80725
|
+
value: "N/A"
|
|
80726
|
+
}
|
|
80727
|
+
},
|
|
80728
|
+
dependency: "koa",
|
|
80729
|
+
getOutputDirName: async () => "public"
|
|
80730
|
+
},
|
|
80546
80731
|
{
|
|
80547
80732
|
name: "NestJS",
|
|
80548
80733
|
slug: "nestjs",
|
|
@@ -130485,6 +130670,10 @@ async function bisect(client2) {
|
|
|
130485
130670
|
output_manager_default.error(`Good and Bad deployments must be from the same Project`);
|
|
130486
130671
|
return 1;
|
|
130487
130672
|
}
|
|
130673
|
+
if (badDeployment.url === goodDeployment.url) {
|
|
130674
|
+
output_manager_default.error(`Good and Bad deployments must be different`);
|
|
130675
|
+
return 1;
|
|
130676
|
+
}
|
|
130488
130677
|
if (badDeployment.createdAt < goodDeployment.createdAt) {
|
|
130489
130678
|
output_manager_default.error(`Good deployment must be older than the Bad deployment`);
|
|
130490
130679
|
return 1;
|
|
@@ -137856,6 +138045,7 @@ async function setMonorepoDefaultSettings(cwd, workPath, projectSettings) {
|
|
|
137856
138045
|
if (result === null) {
|
|
137857
138046
|
return;
|
|
137858
138047
|
}
|
|
138048
|
+
projectSettings.monorepoManager = result.monorepoManager;
|
|
137859
138049
|
const { monorepoManager, ...commands2 } = result;
|
|
137860
138050
|
output_manager_default.log(
|
|
137861
138051
|
`Detected ${(0, import_title3.default)(monorepoManager)}. Adjusting default settings...`
|
|
@@ -150275,7 +150465,7 @@ async function doBuild(client2, project, buildsJson, cwd, outputDir, span, stand
|
|
|
150275
150465
|
try {
|
|
150276
150466
|
buildResult = await builderSpan.trace(
|
|
150277
150467
|
async () => {
|
|
150278
|
-
if (shouldUseExperimentalBackends(buildConfig.framework) && builderPkg.name !== "@vercel/static") {
|
|
150468
|
+
if (shouldUseExperimentalBackends(buildConfig.framework) && builderPkg.name !== "@vercel/static" && isBackendBuilder2(build2)) {
|
|
150279
150469
|
const experimentalBackendBuilder = await import("@vercel/backends");
|
|
150280
150470
|
return experimentalBackendBuilder.build(buildOptions);
|
|
150281
150471
|
}
|
|
@@ -191060,7 +191250,7 @@ function handleCommandTypo({
|
|
|
191060
191250
|
const suggestion = did_you_mean_default(command, availableCommands, threshold);
|
|
191061
191251
|
if (suggestion) {
|
|
191062
191252
|
output_manager_default.error(
|
|
191063
|
-
|
|
191253
|
+
`${param(command)} is not a valid target directory or subcommand. Did you mean ${param(suggestion)}?`
|
|
191064
191254
|
);
|
|
191065
191255
|
return true;
|
|
191066
191256
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "50.3.
|
|
3
|
+
"version": "50.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,30 +23,31 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@vercel/blob": "1.0.2",
|
|
26
|
-
"@vercel/fun": "1.2.
|
|
26
|
+
"@vercel/fun": "1.2.1",
|
|
27
27
|
"chokidar": "4.0.0",
|
|
28
28
|
"esbuild": "0.27.0",
|
|
29
29
|
"form-data": "^4.0.0",
|
|
30
30
|
"jose": "5.9.6",
|
|
31
|
-
"@vercel/
|
|
32
|
-
"@vercel/
|
|
31
|
+
"@vercel/build-utils": "13.2.7",
|
|
32
|
+
"@vercel/backends": "0.0.20",
|
|
33
33
|
"@vercel/detect-agent": "1.0.0",
|
|
34
|
-
"@vercel/
|
|
35
|
-
"@vercel/
|
|
36
|
-
"@vercel/fastify": "0.1.
|
|
34
|
+
"@vercel/express": "0.1.25",
|
|
35
|
+
"@vercel/elysia": "0.1.18",
|
|
36
|
+
"@vercel/fastify": "0.1.21",
|
|
37
37
|
"@vercel/go": "3.3.0",
|
|
38
|
-
"@vercel/h3": "0.1.
|
|
39
|
-
"@vercel/hono": "0.2.
|
|
40
|
-
"@vercel/hydrogen": "1.3.
|
|
41
|
-
"@vercel/
|
|
42
|
-
"@vercel/
|
|
43
|
-
"@vercel/node": "5.5.
|
|
38
|
+
"@vercel/h3": "0.1.27",
|
|
39
|
+
"@vercel/hono": "0.2.21",
|
|
40
|
+
"@vercel/hydrogen": "1.3.4",
|
|
41
|
+
"@vercel/koa": "0.1.1",
|
|
42
|
+
"@vercel/nestjs": "0.2.22",
|
|
43
|
+
"@vercel/node": "5.5.19",
|
|
44
|
+
"@vercel/next": "4.15.13",
|
|
44
45
|
"@vercel/python": "6.1.6",
|
|
45
|
-
"@vercel/redwood": "2.4.
|
|
46
|
-
"@vercel/remix-builder": "5.5.
|
|
46
|
+
"@vercel/redwood": "2.4.7",
|
|
47
|
+
"@vercel/remix-builder": "5.5.7",
|
|
47
48
|
"@vercel/ruby": "2.2.4",
|
|
48
49
|
"@vercel/rust": "1.0.4",
|
|
49
|
-
"@vercel/static-build": "2.8.
|
|
50
|
+
"@vercel/static-build": "2.8.18"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"@alex_neo/jest-expect-message": "1.0.5",
|
|
@@ -172,11 +173,11 @@
|
|
|
172
173
|
"yauzl-promise": "2.1.3",
|
|
173
174
|
"@vercel-internals/constants": "1.0.4",
|
|
174
175
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
175
|
-
"@vercel/error-utils": "2.0.3",
|
|
176
176
|
"@vercel-internals/types": "3.0.6",
|
|
177
|
-
"@vercel/client": "17.2.
|
|
178
|
-
"@vercel/
|
|
179
|
-
"@vercel/
|
|
177
|
+
"@vercel/client": "17.2.21",
|
|
178
|
+
"@vercel/error-utils": "2.0.3",
|
|
179
|
+
"@vercel/frameworks": "3.15.5",
|
|
180
|
+
"@vercel/fs-detectors": "5.7.13",
|
|
180
181
|
"@vercel/routing-utils": "5.3.2"
|
|
181
182
|
},
|
|
182
183
|
"scripts": {
|