@vercel/node 20.0.0 → 22.0.0

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 +6 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -72560,12 +72560,17 @@ async function downloadInstallAndBundle({
72560
72560
  console.log(`Skipping "install" command...`);
72561
72561
  }
72562
72562
  } else {
72563
+ const workspaceInstallTargets = Array.isArray(meta.workspaceInstallTargets) ? meta.workspaceInstallTargets.filter(
72564
+ (target) => Boolean(target && typeof target === "object")
72565
+ ) : [];
72563
72566
  await (0, import_build_utils6.runNpmInstall)(
72564
72567
  entrypointFsDirname,
72565
72568
  [],
72566
72569
  { env: spawnEnv },
72567
72570
  meta,
72568
- config.projectSettings?.createdAt
72571
+ config.projectSettings?.createdAt,
72572
+ void 0,
72573
+ { targets: workspaceInstallTargets }
72569
72574
  );
72570
72575
  }
72571
72576
  const entrypointPath = downloadedFiles[entrypoint].fsPath;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "20.0.0",
3
+ "version": "22.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
@@ -36,7 +36,7 @@
36
36
  "@vercel/static-config": "3.4.4"
37
37
  },
38
38
  "peerDependencies": {
39
- "@vercel/build-utils": "14.17.0"
39
+ "@vercel/build-utils": "14.19.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@babel/core": "7.24.4",
@@ -59,7 +59,7 @@
59
59
  "tree-kill": "1.2.2",
60
60
  "vite": "^6.4.3",
61
61
  "vitest": "^4.1.10",
62
- "@vercel/build-utils": "14.17.0",
62
+ "@vercel/build-utils": "14.19.0",
63
63
  "@vercel/functions": "3.9.11"
64
64
  },
65
65
  "scripts": {