@vercel/node 8.1.2 → 9.0.1

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
@@ -72009,7 +72009,7 @@ function registerNativeCompiler(options, cwd, compilerVersion) {
72009
72009
  function runCompiler(compiler, tempConfigFile) {
72010
72010
  return new Promise((resolvePromise, reject) => {
72011
72011
  const child = (0, import_child_process.spawn)(
72012
- process.execPath,
72012
+ (0, import_build_utils.getNodeExecPath)(),
72013
72013
  [compiler, "--project", tempConfigFile],
72014
72014
  {
72015
72015
  cwd,
@@ -73157,7 +73157,10 @@ async function forkDevServer(options) {
73157
73157
  }),
73158
73158
  stdio: options.printLogs ? "pipe" : void 0
73159
73159
  };
73160
- child = (0, import_child_process2.fork)(devServerPath, [], forkOptions);
73160
+ child = (0, import_child_process2.fork)(devServerPath, [], {
73161
+ ...forkOptions,
73162
+ execPath: (0, import_build_utils8.getNodeExecPath)()
73163
+ });
73161
73164
  }
73162
73165
  if (options.printLogs) {
73163
73166
  child.stdout?.on("data", (data) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "8.1.2",
3
+ "version": "9.0.1",
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.3"
37
37
  },
38
38
  "peerDependencies": {
39
- "@vercel/build-utils": "14.5.1"
39
+ "@vercel/build-utils": "14.6.1"
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.5.1",
62
+ "@vercel/build-utils": "14.6.1",
63
63
  "@vercel/functions": "3.9.5"
64
64
  },
65
65
  "scripts": {