vercel 50.3.1 → 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.
Files changed (2) hide show
  1. package/dist/index.js +187 -2
  2. package/package.json +20 -19
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.20",
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",
@@ -150280,7 +150465,7 @@ async function doBuild(client2, project, buildsJson, cwd, outputDir, span, stand
150280
150465
  try {
150281
150466
  buildResult = await builderSpan.trace(
150282
150467
  async () => {
150283
- if (shouldUseExperimentalBackends(buildConfig.framework) && builderPkg.name !== "@vercel/static") {
150468
+ if (shouldUseExperimentalBackends(buildConfig.framework) && builderPkg.name !== "@vercel/static" && isBackendBuilder2(build2)) {
150284
150469
  const experimentalBackendBuilder = await import("@vercel/backends");
150285
150470
  return experimentalBackendBuilder.build(buildOptions);
150286
150471
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "50.3.1",
3
+ "version": "50.3.2",
4
4
  "type": "module",
5
5
  "preferGlobal": true,
6
6
  "license": "Apache-2.0",
@@ -28,25 +28,26 @@
28
28
  "esbuild": "0.27.0",
29
29
  "form-data": "^4.0.0",
30
30
  "jose": "5.9.6",
31
- "@vercel/backends": "0.0.19",
31
+ "@vercel/build-utils": "13.2.7",
32
+ "@vercel/backends": "0.0.20",
32
33
  "@vercel/detect-agent": "1.0.0",
33
- "@vercel/elysia": "0.1.17",
34
- "@vercel/express": "0.1.24",
35
- "@vercel/fastify": "0.1.20",
34
+ "@vercel/express": "0.1.25",
35
+ "@vercel/elysia": "0.1.18",
36
+ "@vercel/fastify": "0.1.21",
36
37
  "@vercel/go": "3.3.0",
37
- "@vercel/h3": "0.1.26",
38
- "@vercel/hono": "0.2.20",
39
- "@vercel/build-utils": "13.2.6",
40
- "@vercel/hydrogen": "1.3.3",
41
- "@vercel/next": "4.15.12",
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",
42
45
  "@vercel/python": "6.1.6",
43
- "@vercel/nestjs": "0.2.21",
44
- "@vercel/redwood": "2.4.6",
45
- "@vercel/node": "5.5.18",
46
- "@vercel/remix-builder": "5.5.6",
46
+ "@vercel/redwood": "2.4.7",
47
+ "@vercel/remix-builder": "5.5.7",
48
+ "@vercel/ruby": "2.2.4",
47
49
  "@vercel/rust": "1.0.4",
48
- "@vercel/static-build": "2.8.17",
49
- "@vercel/ruby": "2.2.4"
50
+ "@vercel/static-build": "2.8.18"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@alex_neo/jest-expect-message": "1.0.5",
@@ -173,10 +174,10 @@
173
174
  "@vercel-internals/constants": "1.0.4",
174
175
  "@vercel-internals/get-package-json": "1.0.0",
175
176
  "@vercel-internals/types": "3.0.6",
176
- "@vercel/client": "17.2.20",
177
- "@vercel/frameworks": "3.15.4",
177
+ "@vercel/client": "17.2.21",
178
178
  "@vercel/error-utils": "2.0.3",
179
- "@vercel/fs-detectors": "5.7.12",
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": {