@vercel/node 5.5.2 → 5.5.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -70376,7 +70376,8 @@ async function compile2(workPath, baseDir, entrypointPath, config, meta, nodeVer
70376
70376
  shouldAddSourcemapSupport = true;
70377
70377
  return source;
70378
70378
  }
70379
- const conditions = isEdgeFunction ? ["edge-light", "browser", "module", "import", "require"] : void 0;
70379
+ const isBun = (0, import_build_utils3.isBunVersion)(nodeVersion);
70380
+ const conditions = isEdgeFunction ? ["edge-light", "browser", "module", "import", "require"] : isBun ? ["bun"] : void 0;
70380
70381
  const { fileList, esmFileList, warnings } = await (0, import_nft.nodeFileTrace)(
70381
70382
  [...inputFiles],
70382
70383
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "5.5.2",
3
+ "version": "5.5.4",
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": "12.2.2",
20
+ "@vercel/build-utils": "12.2.4",
21
21
  "@vercel/error-utils": "2.0.3",
22
22
  "@vercel/nft": "0.30.1",
23
23
  "@vercel/static-config": "3.1.2",