@vercel/node 5.1.7 → 5.1.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.
Files changed (2) hide show
  1. package/dist/index.js +10 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -70164,7 +70164,14 @@ async function downloadInstallAndBundle({
70164
70164
  meta
70165
70165
  );
70166
70166
  const spawnOpts = (0, import_build_utils3.getSpawnOptions)(meta, nodeVersion);
70167
- await (0, import_build_utils3.runNpmInstall)(entrypointFsDirname, [], spawnOpts, meta, nodeVersion);
70167
+ await (0, import_build_utils3.runNpmInstall)(
70168
+ entrypointFsDirname,
70169
+ [],
70170
+ spawnOpts,
70171
+ meta,
70172
+ nodeVersion,
70173
+ config.projectSettings?.createdAt
70174
+ );
70168
70175
  const entrypointPath = downloadedFiles[entrypoint].fsPath;
70169
70176
  return { entrypointPath, entrypointFsDirname, nodeVersion, spawnOpts };
70170
70177
  }
@@ -70400,7 +70407,8 @@ var build = async ({
70400
70407
  entrypointFsDirname,
70401
70408
  // Don't consider "build" script since its intended for frontend code
70402
70409
  ["vercel-build", "now-build"],
70403
- spawnOpts
70410
+ spawnOpts,
70411
+ config.projectSettings?.createdAt
70404
70412
  );
70405
70413
  const isMiddleware = config.middleware === true;
70406
70414
  let isEdgeFunction = isMiddleware;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "5.1.7",
3
+ "version": "5.1.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
@@ -17,7 +17,7 @@
17
17
  "@edge-runtime/primitives": "4.1.0",
18
18
  "@edge-runtime/vm": "3.2.0",
19
19
  "@types/node": "16.18.11",
20
- "@vercel/build-utils": "10.1.0",
20
+ "@vercel/build-utils": "10.2.0",
21
21
  "@vercel/error-utils": "2.0.3",
22
22
  "@vercel/nft": "0.27.10",
23
23
  "@vercel/static-config": "3.0.0",