@vercel/node 2.15.9 → 3.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.
@@ -23,6 +23,7 @@ async function compileUserCode(entrypointFullPath, entrypointRelativePath, isMid
23
23
  // bundling behavior: use globals (like "browser") instead
24
24
  // of "require" statements for core libraries (like "node")
25
25
  platform: 'browser',
26
+ conditions: ['edge-light', 'development'],
26
27
  // target syntax: only use syntax available on the current
27
28
  // version of node
28
29
  target: NODE_VERSION_IDENTIFIER,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "2.15.9",
3
+ "version": "3.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",
@@ -18,12 +18,12 @@
18
18
  "@edge-runtime/vm": "3.0.1",
19
19
  "@types/node": "14.18.33",
20
20
  "@types/node-fetch": "2.6.3",
21
- "@vercel/build-utils": "6.8.3",
22
- "@vercel/error-utils": "1.0.10",
23
- "@vercel/static-config": "2.0.17",
21
+ "@vercel/build-utils": "7.0.0",
22
+ "@vercel/error-utils": "2.0.0",
23
+ "@vercel/static-config": "3.0.0",
24
24
  "async-listen": "3.0.0",
25
25
  "content-type": "1.0.5",
26
- "edge-runtime": "2.4.3",
26
+ "edge-runtime": "2.4.4",
27
27
  "esbuild": "0.14.47",
28
28
  "exit-hook": "2.2.1",
29
29
  "node-fetch": "2.6.9",
@@ -49,6 +49,7 @@
49
49
  "etag": "1.8.1",
50
50
  "execa": "3.2.0",
51
51
  "fs-extra": "11.1.0",
52
+ "jest-junit": "16.0.0",
52
53
  "source-map-support": "0.5.12",
53
54
  "test-listen": "1.1.0"
54
55
  },