@vercel/node 2.8.3 → 2.8.5

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.
@@ -358,8 +358,10 @@ function fixConfig(config, nodeVersionMajor = 12) {
358
358
  if (config.compilerOptions.esModuleInterop === undefined) {
359
359
  config.compilerOptions.esModuleInterop = true;
360
360
  }
361
- // Target CommonJS, always!
362
- config.compilerOptions.module = 'CommonJS';
361
+ // If not specified, the default Node.js module is CommonJS.
362
+ if (config.compilerOptions.module === undefined) {
363
+ config.compilerOptions.module = 'CommonJS';
364
+ }
363
365
  return config;
364
366
  }
365
367
  exports.fixConfig = fixConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "2.8.3",
3
+ "version": "2.8.5",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
@@ -31,14 +31,14 @@
31
31
  "dependencies": {
32
32
  "@edge-runtime/vm": "2.0.0",
33
33
  "@types/node": "14.18.33",
34
- "@vercel/build-utils": "5.7.3",
35
- "@vercel/node-bridge": "3.1.2",
34
+ "@vercel/build-utils": "5.7.4",
35
+ "@vercel/node-bridge": "3.1.3",
36
36
  "@vercel/static-config": "2.0.6",
37
37
  "edge-runtime": "2.0.0",
38
38
  "esbuild": "0.14.47",
39
39
  "exit-hook": "2.2.1",
40
40
  "node-fetch": "2.6.7",
41
- "ts-node": "8.9.1",
41
+ "ts-node": "10.9.1",
42
42
  "typescript": "4.3.4"
43
43
  },
44
44
  "devDependencies": {
@@ -53,7 +53,7 @@
53
53
  "@types/node-fetch": "^2.6.1",
54
54
  "@types/test-listen": "1.1.0",
55
55
  "@vercel/ncc": "0.24.0",
56
- "@vercel/nft": "0.22.1",
56
+ "@vercel/nft": "0.22.5",
57
57
  "content-type": "1.0.4",
58
58
  "cookie": "0.4.0",
59
59
  "etag": "1.8.1",
@@ -61,5 +61,5 @@
61
61
  "source-map-support": "0.5.12",
62
62
  "test-listen": "1.1.0"
63
63
  },
64
- "gitHead": "d6cccd70f28969eec48b484b0e74b0942de9b6cd"
64
+ "gitHead": "721cd3afcbff994fa96704b4eb79e5f6da7ab73c"
65
65
  }