@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.
- package/dist/dev-server.js +4 -65
- package/dist/index.js +7675 -12510
- package/dist/typescript.js +4 -2
- package/package.json +6 -6
package/dist/typescript.js
CHANGED
@@ -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
|
-
//
|
362
|
-
config.compilerOptions.module
|
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
|
+
"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.
|
35
|
-
"@vercel/node-bridge": "3.1.
|
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": "
|
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.
|
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": "
|
64
|
+
"gitHead": "721cd3afcbff994fa96704b4eb79e5f6da7ab73c"
|
65
65
|
}
|