@vercel/node 2.10.1 → 2.10.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 +5 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -302310,7 +302310,10 @@ const build = async ({ files, entrypoint, workPath, repoRootPath, config = {}, m
302310
302310
  else {
302311
302311
  // "nodejs" runtime is the default
302312
302312
  const shouldAddHelpers = !(config.helpers === false || process.env.NODEJS_HELPERS === '0');
302313
- const experimentalResponseStreaming = staticConfig?.experimentalResponseStreaming === true ? true : undefined;
302313
+ const supportsResponseStreaming = (staticConfig?.supportsResponseStreaming ??
302314
+ staticConfig?.experimentalResponseStreaming) === true
302315
+ ? true
302316
+ : undefined;
302314
302317
  output = new build_utils_1.NodejsLambda({
302315
302318
  files: preparedFiles,
302316
302319
  handler,
@@ -302318,7 +302321,7 @@ const build = async ({ files, entrypoint, workPath, repoRootPath, config = {}, m
302318
302321
  shouldAddHelpers,
302319
302322
  shouldAddSourcemapSupport,
302320
302323
  awsLambdaHandler,
302321
- experimentalResponseStreaming,
302324
+ supportsResponseStreaming,
302322
302325
  });
302323
302326
  }
302324
302327
  return { routes, output };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "2.10.1",
3
+ "version": "2.10.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.6.0",
34
+ "@vercel/build-utils": "6.7.0",
35
35
  "@vercel/node-bridge": "4.0.0",
36
36
  "@vercel/static-config": "2.0.14",
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": "54514a44afef48726220bc8be8d20f4fda8e8b4f"
67
+ "gitHead": "46348201b4eadb03b403f99dc5574c31d2b3926e"
68
68
  }