@vercel/node 1.15.4 → 2.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.
- package/dist/index.js +1 -2
- package/dist/typescript.js +0 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -104106,7 +104106,7 @@ async function compile(workPath, baseDir, entrypointPath, config, nodeVersion) {
|
|
|
104106
104106
|
},
|
|
104107
104107
|
});
|
|
104108
104108
|
for (const warning of warnings) {
|
|
104109
|
-
if (warning
|
|
104109
|
+
if (warning?.stack) {
|
|
104110
104110
|
build_utils_1.debug(warning.stack.replace('Error: ', 'Warning: '));
|
|
104111
104111
|
}
|
|
104112
104112
|
}
|
|
@@ -104672,7 +104672,6 @@ function fixConfig(config, nodeVersionMajor = 12) {
|
|
|
104672
104672
|
delete config.compilerOptions.emitDeclarationOnly;
|
|
104673
104673
|
delete config.compilerOptions.tsBuildInfoFile;
|
|
104674
104674
|
delete config.compilerOptions.incremental;
|
|
104675
|
-
// Target esnext output by default (instead of ES3).
|
|
104676
104675
|
// This will prevent TS from polyfill/downlevel emit.
|
|
104677
104676
|
if (config.compilerOptions.target === undefined) {
|
|
104678
104677
|
// See https://github.com/tsconfig/bases/tree/main/bases
|
package/dist/typescript.js
CHANGED
|
@@ -322,7 +322,6 @@ function fixConfig(config, nodeVersionMajor = 12) {
|
|
|
322
322
|
delete config.compilerOptions.emitDeclarationOnly;
|
|
323
323
|
delete config.compilerOptions.tsBuildInfoFile;
|
|
324
324
|
delete config.compilerOptions.incremental;
|
|
325
|
-
// Target esnext output by default (instead of ES3).
|
|
326
325
|
// This will prevent TS from polyfill/downlevel emit.
|
|
327
326
|
if (config.compilerOptions.target === undefined) {
|
|
328
327
|
// See https://github.com/tsconfig/bases/tree/main/bases
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@types/node": "*",
|
|
34
|
-
"@vercel/node-bridge": "
|
|
34
|
+
"@vercel/node-bridge": "3.0.0",
|
|
35
35
|
"ts-node": "8.9.1",
|
|
36
36
|
"typescript": "4.3.4"
|
|
37
37
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@types/etag": "1.8.0",
|
|
46
46
|
"@types/jest": "27.4.1",
|
|
47
47
|
"@types/test-listen": "1.1.0",
|
|
48
|
-
"@vercel/build-utils": "
|
|
48
|
+
"@vercel/build-utils": "4.0.0",
|
|
49
49
|
"@vercel/ncc": "0.24.0",
|
|
50
50
|
"@vercel/nft": "0.19.1",
|
|
51
51
|
"content-type": "1.0.4",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"source-map-support": "0.5.12",
|
|
56
56
|
"test-listen": "1.1.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "de0d2fba0b32588726a2799015eaff4e6bb65ffb"
|
|
59
59
|
}
|