@vercel/go 2.2.5 → 2.2.7

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -18184,11 +18184,9 @@ Learn more: https://vercel.com/docs/runtimes#official-runtimes/go`);
18184
18184
  copyDevServer(analyzed.functionName, tmpPackage),
18185
18185
  ]);
18186
18186
  const portFile = path_1.join(TMP, `vercel-dev-port-${Math.random().toString(32).substring(2)}`);
18187
- const env = {
18188
- ...process.env,
18189
- ...meta.env,
18187
+ const env = build_utils_1.cloneEnv(process.env, meta.env, {
18190
18188
  VERCEL_DEV_PORT_FILE: portFile,
18191
- };
18189
+ });
18192
18190
  const tmpRelative = `.${path_1.sep}${entrypointDir}`;
18193
18191
  const child = child_process_1.spawn('go', ['run', tmpRelative], {
18194
18192
  cwd: tmp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/go",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/go",
@@ -35,7 +35,7 @@
35
35
  "@types/jest": "28.1.6",
36
36
  "@types/node-fetch": "^2.3.0",
37
37
  "@types/tar": "^4.0.0",
38
- "@vercel/build-utils": "5.4.2",
38
+ "@vercel/build-utils": "5.4.4",
39
39
  "@vercel/ncc": "0.24.0",
40
40
  "async-retry": "1.3.1",
41
41
  "execa": "^1.0.0",
@@ -45,5 +45,5 @@
45
45
  "tar": "4.4.6",
46
46
  "typescript": "4.3.4"
47
47
  },
48
- "gitHead": "d5537500d8957985c1ffb3798659a611cc2e5d5d"
48
+ "gitHead": "27f4034bdce427953fea094b1c4dfbfb00342b54"
49
49
  }