@vercel/node 2.15.4 → 2.15.6

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.
@@ -56,7 +56,10 @@ async function compileUserCode(entrypointFullPath, entrypointRelativePath, isMid
56
56
  "use strict";var regeneratorRuntime;
57
57
 
58
58
  // user code
59
- ${compiledFile.text};
59
+ (() => {
60
+ ${compiledFile.text};
61
+ })();
62
+
60
63
  const userModule = module.exports;
61
64
 
62
65
  // request metadata
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/node",
3
- "version": "2.15.4",
3
+ "version": "2.15.6",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
@@ -18,7 +18,7 @@
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.1",
21
+ "@vercel/build-utils": "6.8.2",
22
22
  "@vercel/error-utils": "1.0.10",
23
23
  "@vercel/static-config": "2.0.17",
24
24
  "async-listen": "3.0.0",