@vercel/node 2.9.0 → 2.9.1
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 +3 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -301237,6 +301237,9 @@ const build = async ({ files, entrypoint, workPath, repoRootPath, config = {}, m
|
|
301237
301237
|
if (!ALLOWED_RUNTIMES.includes(staticConfig.runtime)) {
|
301238
301238
|
throw new Error(`Unsupported "runtime" property in \`config\`: ${JSON.stringify(staticConfig.runtime)} (must be one of: ${JSON.stringify(ALLOWED_RUNTIMES)})`);
|
301239
301239
|
}
|
301240
|
+
if (staticConfig.runtime === 'nodejs') {
|
301241
|
+
console.log(`Detected unused static config runtime "nodejs" in "${entrypointPath}"`);
|
301242
|
+
}
|
301240
301243
|
isEdgeFunction = utils_1.isEdgeRuntime(staticConfig.runtime);
|
301241
301244
|
}
|
301242
301245
|
const cron = staticConfig?.cron;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/node",
|
3
|
-
"version": "2.9.
|
3
|
+
"version": "2.9.1",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"dependencies": {
|
32
32
|
"@edge-runtime/vm": "2.0.0",
|
33
33
|
"@types/node": "14.18.33",
|
34
|
-
"@vercel/build-utils": "6.
|
34
|
+
"@vercel/build-utils": "6.2.0",
|
35
35
|
"@vercel/node-bridge": "3.1.10",
|
36
36
|
"@vercel/static-config": "2.0.12",
|
37
37
|
"edge-runtime": "2.0.0",
|
@@ -64,5 +64,5 @@
|
|
64
64
|
"test-listen": "1.1.0",
|
65
65
|
"ts-morph": "12.0.0"
|
66
66
|
},
|
67
|
-
"gitHead": "
|
67
|
+
"gitHead": "a585969dd3b77a4ed36d6a2ca11b34f9050489f1"
|
68
68
|
}
|