vercel 42.1.1 → 42.2.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 +9 -2
- package/package.json +10 -10
package/dist/index.js
CHANGED
@@ -46260,7 +46260,7 @@ var require_package = __commonJS2({
|
|
46260
46260
|
"../client/package.json"(exports2, module2) {
|
46261
46261
|
module2.exports = {
|
46262
46262
|
name: "@vercel/client",
|
46263
|
-
version: "15.3.
|
46263
|
+
version: "15.3.2",
|
46264
46264
|
main: "dist/index.js",
|
46265
46265
|
typings: "dist/index.d.ts",
|
46266
46266
|
homepage: "https://vercel.com",
|
@@ -46299,7 +46299,7 @@ var require_package = __commonJS2({
|
|
46299
46299
|
vitest: "2.0.1"
|
46300
46300
|
},
|
46301
46301
|
dependencies: {
|
46302
|
-
"@vercel/build-utils": "10.
|
46302
|
+
"@vercel/build-utils": "10.6.0",
|
46303
46303
|
"@vercel/error-utils": "2.0.3",
|
46304
46304
|
"@vercel/microfrontends": "1.2.2",
|
46305
46305
|
"@vercel/routing-utils": "5.0.4",
|
@@ -139324,11 +139324,13 @@ async function writeLambda(repoRootPath, outputDir, lambda, path11, functionConf
|
|
139324
139324
|
} else {
|
139325
139325
|
throw new Error('Malformed `Lambda` - no "files" present');
|
139326
139326
|
}
|
139327
|
+
const architecture = functionConfiguration?.architecture ?? lambda.architecture;
|
139327
139328
|
const memory = functionConfiguration?.memory ?? lambda.memory;
|
139328
139329
|
const maxDuration = functionConfiguration?.maxDuration ?? lambda.maxDuration;
|
139329
139330
|
const config2 = {
|
139330
139331
|
...lambda,
|
139331
139332
|
handler: (0, import_build_utils11.normalizePath)(lambda.handler),
|
139333
|
+
architecture,
|
139332
139334
|
memory,
|
139333
139335
|
maxDuration,
|
139334
139336
|
filePathMap,
|
@@ -141112,6 +141114,11 @@ async function main2(client2) {
|
|
141112
141114
|
target,
|
141113
141115
|
argv: scrubArgv(process.argv)
|
141114
141116
|
};
|
141117
|
+
if (!process.env.VERCEL_BUILD_IMAGE) {
|
141118
|
+
output_manager_default.warn(
|
141119
|
+
"Build not running on Vercel. System environment variables will not be available."
|
141120
|
+
);
|
141121
|
+
}
|
141115
141122
|
const envToUnset = /* @__PURE__ */ new Set(["VERCEL", "NOW_BUILDER"]);
|
141116
141123
|
try {
|
141117
141124
|
const envPath = (0, import_path27.join)(
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "42.
|
3
|
+
"version": "42.2.0",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -21,17 +21,17 @@
|
|
21
21
|
"node": ">= 18"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@vercel/build-utils": "10.
|
24
|
+
"@vercel/build-utils": "10.6.0",
|
25
25
|
"@vercel/fun": "1.1.6",
|
26
26
|
"@vercel/go": "3.2.1",
|
27
|
-
"@vercel/hydrogen": "1.2.
|
28
|
-
"@vercel/next": "4.
|
29
|
-
"@vercel/node": "5.
|
27
|
+
"@vercel/hydrogen": "1.2.1",
|
28
|
+
"@vercel/next": "4.8.0",
|
29
|
+
"@vercel/node": "5.2.0",
|
30
30
|
"@vercel/python": "4.7.2",
|
31
|
-
"@vercel/redwood": "2.3.
|
32
|
-
"@vercel/remix-builder": "5.4.
|
31
|
+
"@vercel/redwood": "2.3.2",
|
32
|
+
"@vercel/remix-builder": "5.4.8",
|
33
33
|
"@vercel/ruby": "2.2.0",
|
34
|
-
"@vercel/static-build": "2.7.
|
34
|
+
"@vercel/static-build": "2.7.8",
|
35
35
|
"chokidar": "4.0.0",
|
36
36
|
"jose": "5.9.6"
|
37
37
|
},
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"@types/which": "3.0.0",
|
78
78
|
"@types/write-json-file": "2.2.1",
|
79
79
|
"@types/yauzl-promise": "2.1.0",
|
80
|
-
"@vercel/client": "15.3.
|
80
|
+
"@vercel/client": "15.3.2",
|
81
81
|
"@vercel/error-utils": "2.0.3",
|
82
82
|
"@vercel/frameworks": "3.6.4",
|
83
83
|
"@vercel/fs-detectors": "5.4.1",
|
@@ -159,8 +159,8 @@
|
|
159
159
|
"write-json-file": "2.2.0",
|
160
160
|
"xdg-app-paths": "5.1.0",
|
161
161
|
"yauzl-promise": "2.1.3",
|
162
|
-
"@vercel-internals/get-package-json": "1.0.0",
|
163
162
|
"@vercel-internals/constants": "1.0.4",
|
163
|
+
"@vercel-internals/get-package-json": "1.0.0",
|
164
164
|
"@vercel-internals/types": "3.0.6"
|
165
165
|
},
|
166
166
|
"scripts": {
|