@vercel/node 5.0.2 → 5.0.4

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.
@@ -593,7 +593,8 @@ import { readFileSync } from "fs";
593
593
 
594
594
  // src/utils.ts
595
595
  import { debug, streamToBuffer } from "@vercel/build-utils";
596
- import { pathToRegexp } from "path-to-regexp";
596
+ import { pathToRegexp as pathToRegexpCurrent } from "path-to-regexp";
597
+ import { pathToRegexp as pathToRegexpUpdated } from "path-to-regexp-updated";
597
598
  import { extname } from "path";
598
599
  var WAIT_UNTIL_TIMEOUT = 10;
599
600
  var WAIT_UNTIL_TIMEOUT_MS = 10 * 1e3;
@@ -841,6 +842,7 @@ async function createEdgeEventHandler(entrypointFullPath, entrypointRelativePath
841
842
  const body = await serializeBody(request);
842
843
  if (body !== void 0 && body.length) {
843
844
  request.headers["content-length"] = String(body.length);
845
+ request.headers["transfer-encoding"] = void 0;
844
846
  }
845
847
  const url = new URL(request.url ?? "/", server.url);
846
848
  const response = await undiciRequest(url, {