@vercel/node 2.15.6 → 2.15.8

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.
@@ -78,7 +78,7 @@ export async function createServerlessEventHandler(entrypointPath, options) {
78
78
  // @ts-expect-error
79
79
  const response = await fetch(url, {
80
80
  body: await serializeBody(request),
81
- compress: isStreaming,
81
+ compress: !isStreaming,
82
82
  headers: {
83
83
  ...request.headers,
84
84
  host: request.headers['x-forwarded-host'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "2.15.6",
3
+ "version": "2.15.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
@@ -22,6 +22,7 @@
22
22
  "@vercel/error-utils": "1.0.10",
23
23
  "@vercel/static-config": "2.0.17",
24
24
  "async-listen": "3.0.0",
25
+ "content-type": "1.0.5",
25
26
  "edge-runtime": "2.4.3",
26
27
  "esbuild": "0.14.47",
27
28
  "exit-hook": "2.2.1",
@@ -36,14 +37,13 @@
36
37
  "@babel/plugin-transform-modules-commonjs": "7.5.0",
37
38
  "@tootallnate/once": "1.1.2",
38
39
  "@types/aws-lambda": "8.10.19",
39
- "@types/content-type": "1.1.3",
40
+ "@types/content-type": "1.1.5",
40
41
  "@types/cookie": "0.3.3",
41
42
  "@types/etag": "1.8.0",
42
43
  "@types/jest": "29.5.0",
43
44
  "@types/test-listen": "1.1.0",
44
45
  "@vercel/ncc": "0.24.0",
45
46
  "@vercel/nft": "0.22.5",
46
- "content-type": "1.0.4",
47
47
  "cookie": "0.4.0",
48
48
  "cross-env": "7.0.3",
49
49
  "etag": "1.8.1",