vercel 48.5.0 → 48.6.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.
Files changed (2) hide show
  1. package/dist/index.js +17 -6
  2. package/package.json +13 -13
package/dist/index.js CHANGED
@@ -49550,7 +49550,7 @@ var require_package = __commonJS2({
49550
49550
  "../client/package.json"(exports2, module2) {
49551
49551
  module2.exports = {
49552
49552
  name: "@vercel/client",
49553
- version: "17.0.4",
49553
+ version: "17.1.0",
49554
49554
  main: "dist/index.js",
49555
49555
  typings: "dist/index.d.ts",
49556
49556
  homepage: "https://vercel.com",
@@ -49589,7 +49589,7 @@ var require_package = __commonJS2({
49589
49589
  vitest: "2.0.1"
49590
49590
  },
49591
49591
  dependencies: {
49592
- "@vercel/build-utils": "12.1.3",
49592
+ "@vercel/build-utils": "12.2.0",
49593
49593
  "@vercel/error-utils": "2.0.3",
49594
49594
  "@vercel/microfrontends": "1.2.2",
49595
49595
  "@vercel/routing-utils": "5.2.0",
@@ -120639,6 +120639,9 @@ var require_detect_builders = __commonJS2({
120639
120639
  config2.excludeFiles = func.excludeFiles;
120640
120640
  }
120641
120641
  }
120642
+ if (options.bunVersion) {
120643
+ config2.bunVersion = options.bunVersion;
120644
+ }
120642
120645
  const builder = {
120643
120646
  use,
120644
120647
  src: fileName,
@@ -120695,6 +120698,9 @@ var require_detect_builders = __commonJS2({
120695
120698
  if (projectSettings.outputDirectory) {
120696
120699
  config2.outputDirectory = projectSettings.outputDirectory;
120697
120700
  }
120701
+ if (options.bunVersion) {
120702
+ config2.bunVersion = options.bunVersion;
120703
+ }
120698
120704
  if (pkg && (framework === void 0 || framework !== "storybook" && createdAt < Date.parse("2020-03-01"))) {
120699
120705
  const deps = {
120700
120706
  ...pkg.dependencies,
@@ -120815,7 +120821,7 @@ var require_detect_builders = __commonJS2({
120815
120821
  }
120816
120822
  if (frontendBuilder && (0, import_is_official_runtime.isOfficialRuntime)("next", frontendBuilder.use)) {
120817
120823
  for (const fnKey of unusedFunctions.values()) {
120818
- if (fnKey.startsWith("pages/") || fnKey.startsWith("src/pages") || fnKey.startsWith("app/") || fnKey.startsWith("src/app/")) {
120824
+ if (fnKey.startsWith("pages/") || fnKey.startsWith("src/pages") || fnKey.startsWith("app/") || fnKey.startsWith("src/app/") || fnKey.startsWith("middleware") || fnKey.startsWith("src/middleware")) {
120819
120825
  unusedFunctions.delete(fnKey);
120820
120826
  } else {
120821
120827
  return {
@@ -146798,7 +146804,8 @@ var init_validate_config = __esm({
146798
146804
  trailingSlash: import_routing_utils.trailingSlashSchema,
146799
146805
  functions: import_build_utils12.functionsSchema,
146800
146806
  images: imagesSchema,
146801
- crons: cronsSchema
146807
+ crons: cronsSchema,
146808
+ bunVersion: { type: "string" }
146802
146809
  }
146803
146810
  };
146804
146811
  ajv = new import_ajv2.default();
@@ -148307,8 +148314,12 @@ async function doBuild(client2, project, buildsJson, cwd, outputDir, span, stand
148307
148314
  devCommand: projectSettings.devCommand ?? void 0,
148308
148315
  buildCommand: projectSettings.buildCommand ?? void 0,
148309
148316
  framework: projectSettings.framework,
148310
- nodeVersion: projectSettings.nodeVersion
148311
- } : build2.config || {};
148317
+ nodeVersion: projectSettings.nodeVersion,
148318
+ bunVersion: localConfig.bunVersion ?? void 0
148319
+ } : {
148320
+ ...build2.config || {},
148321
+ bunVersion: localConfig.bunVersion ?? void 0
148322
+ };
148312
148323
  const builderSpan = span.child("vc.builder", {
148313
148324
  name: builderPkg.name
148314
148325
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "48.5.0",
3
+ "version": "48.6.0",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -22,20 +22,20 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@vercel/blob": "1.0.2",
25
- "@vercel/build-utils": "12.1.3",
25
+ "@vercel/build-utils": "12.2.0",
26
26
  "@vercel/fun": "1.1.6",
27
27
  "@vercel/go": "3.2.3",
28
- "@vercel/express": "0.0.26",
29
- "@vercel/hono": "0.1.7",
30
- "@vercel/h3": "0.1.6",
31
- "@vercel/hydrogen": "1.2.4",
32
- "@vercel/next": "4.13.4",
33
- "@vercel/node": "5.4.1",
28
+ "@vercel/express": "0.1.0",
29
+ "@vercel/hono": "0.2.0",
30
+ "@vercel/h3": "0.1.7",
31
+ "@vercel/hydrogen": "1.3.0",
32
+ "@vercel/next": "4.14.0",
33
+ "@vercel/node": "5.5.0",
34
34
  "@vercel/python": "5.0.10",
35
- "@vercel/redwood": "2.3.6",
36
- "@vercel/remix-builder": "5.4.13",
35
+ "@vercel/redwood": "2.4.0",
36
+ "@vercel/remix-builder": "5.5.0",
37
37
  "@vercel/ruby": "2.2.1",
38
- "@vercel/static-build": "2.7.26",
38
+ "@vercel/static-build": "2.8.0",
39
39
  "chokidar": "4.0.0",
40
40
  "jose": "5.9.6",
41
41
  "@vercel/detect-agent": "1.0.0"
@@ -83,10 +83,10 @@
83
83
  "@types/which": "3.0.0",
84
84
  "@types/write-json-file": "2.2.1",
85
85
  "@types/yauzl-promise": "2.1.0",
86
- "@vercel/client": "17.0.4",
86
+ "@vercel/client": "17.1.0",
87
87
  "@vercel/error-utils": "2.0.3",
88
88
  "@vercel/frameworks": "3.14.0",
89
- "@vercel/fs-detectors": "5.6.4",
89
+ "@vercel/fs-detectors": "5.7.0",
90
90
  "@vercel/routing-utils": "5.2.0",
91
91
  "@vitest/expect": "2.1.3",
92
92
  "ajv": "6.12.3",