@vercel/node 5.6.10 → 5.6.11

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.
@@ -904,7 +904,7 @@ function getBodyParser(body, contentType) {
904
904
  try {
905
905
  const str = body.toString();
906
906
  return str ? JSON.parse(str) : {};
907
- } catch (error) {
907
+ } catch (_error) {
908
908
  throw new ApiError(400, "Invalid JSON");
909
909
  }
910
910
  }
package/dist/index.js CHANGED
@@ -70050,7 +70050,7 @@ function register(opts = {}) {
70050
70050
  compiler = require_.resolve(options.compiler || "typescript", {
70051
70051
  paths: [options.project || cwd]
70052
70052
  });
70053
- } catch (e) {
70053
+ } catch (_e) {
70054
70054
  compiler = "typescript";
70055
70055
  }
70056
70056
  const ts = require_(compiler);
@@ -71242,7 +71242,7 @@ var startDevServer = async (opts) => {
71242
71242
  if (runtime === "bun") {
71243
71243
  try {
71244
71244
  process.kill(pid, "SIGTERM");
71245
- } catch (err) {
71245
+ } catch (_err) {
71246
71246
  await treeKill(pid);
71247
71247
  }
71248
71248
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "5.6.10",
3
+ "version": "5.6.11",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
@@ -32,9 +32,9 @@
32
32
  "tsx": "4.21.0",
33
33
  "typescript": "npm:typescript@5.9.3",
34
34
  "undici": "5.28.4",
35
- "@vercel/static-config": "3.1.2",
36
35
  "@vercel/error-utils": "2.0.3",
37
- "@vercel/build-utils": "13.6.2"
36
+ "@vercel/static-config": "3.1.2",
37
+ "@vercel/build-utils": "13.6.3"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@babel/core": "7.24.4",