@vercel/node 2.9.0 → 2.9.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 +3 -0
  2. 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.0",
3
+ "version": "2.9.2",
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.1.0",
34
+ "@vercel/build-utils": "6.2.1",
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": "a4d16c681a7e85f64a2d78432d499c599b398bde"
67
+ "gitHead": "c1c8b454cc29de4bd306b87078f36d6416ceb90f"
68
68
  }