vercel 48.1.2 → 48.1.3
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 +10 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -144709,7 +144709,10 @@ var init_unzip = __esm({
|
|
|
144709
144709
|
|
|
144710
144710
|
// src/util/build/write-build-result.ts
|
|
144711
144711
|
async function writeBuildResult(repoRootPath, outputDir, buildResult, build2, builder, builderPkg, vercelConfig, standalone = false) {
|
|
144712
|
-
|
|
144712
|
+
let version2 = builder.version;
|
|
144713
|
+
if ("experimentalVersion" in builder && process.env.VERCEL_EXPERIMENTAL_EXPRESS_BUILD === "1" && "name" in builder && builder.name === "express") {
|
|
144714
|
+
version2 = builder.experimentalVersion;
|
|
144715
|
+
}
|
|
144713
144716
|
if (typeof version2 !== "number" || version2 === 2) {
|
|
144714
144717
|
return writeBuildResultV2(
|
|
144715
144718
|
repoRootPath,
|
|
@@ -147089,7 +147092,12 @@ async function doBuild(client2, project, buildsJson, cwd, outputDir, span, stand
|
|
|
147089
147092
|
let buildResult;
|
|
147090
147093
|
try {
|
|
147091
147094
|
buildResult = await builderSpan.trace(
|
|
147092
|
-
() =>
|
|
147095
|
+
() => {
|
|
147096
|
+
if (process.env.VERCEL_EXPERIMENTAL_EXPRESS_BUILD === "1" && "name" in builder && builder.name === "express" && "experimentalBuild" in builder && typeof builder.experimentalBuild === "function") {
|
|
147097
|
+
return builder.experimentalBuild(buildOptions);
|
|
147098
|
+
}
|
|
147099
|
+
return builder.build(buildOptions);
|
|
147100
|
+
}
|
|
147093
147101
|
);
|
|
147094
147102
|
if (buildConfig.zeroConfig && isFrontendBuilder && "output" in buildResult && !buildResult.routes) {
|
|
147095
147103
|
const framework2 = import_frameworks5.frameworkList.find(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "48.1.
|
|
3
|
+
"version": "48.1.3",
|
|
4
4
|
"preferGlobal": true,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "The command-line interface for Vercel",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@vercel/build-utils": "12.1.0",
|
|
26
26
|
"@vercel/fun": "1.1.6",
|
|
27
27
|
"@vercel/go": "3.2.3",
|
|
28
|
-
"@vercel/express": "0.0.
|
|
28
|
+
"@vercel/express": "0.0.19",
|
|
29
29
|
"@vercel/hono": "0.1.2",
|
|
30
30
|
"@vercel/h3": "0.1.2",
|
|
31
31
|
"@vercel/hydrogen": "1.2.4",
|
|
@@ -167,9 +167,9 @@
|
|
|
167
167
|
"write-json-file": "2.2.0",
|
|
168
168
|
"xdg-app-paths": "5.1.0",
|
|
169
169
|
"yauzl-promise": "2.1.3",
|
|
170
|
-
"@vercel-internals/constants": "1.0.4",
|
|
171
170
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
172
|
-
"@vercel-internals/types": "3.0.6"
|
|
171
|
+
"@vercel-internals/types": "3.0.6",
|
|
172
|
+
"@vercel-internals/constants": "1.0.4"
|
|
173
173
|
},
|
|
174
174
|
"scripts": {
|
|
175
175
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|