@vercel/go 2.2.31 → 2.3.1

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 +3 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -20097,6 +20097,7 @@ const path_1 = __webpack_require__(5622);
20097
20097
  const string_argv_1 = __importDefault(__webpack_require__(2534));
20098
20098
  const build_utils_1 = __webpack_require__(3445);
20099
20099
  const versionMap = new Map([
20100
+ ['1.19', '1.19.5'],
20100
20101
  ['1.18', '1.18.1'],
20101
20102
  ['1.17', '1.17.3'],
20102
20103
  ['1.16', '1.16.10'],
@@ -20766,9 +20767,10 @@ Learn more: https://vercel.com/docs/runtimes#official-runtimes/go`);
20766
20767
  });
20767
20768
  const executable = `./vercel-dev-server-go${process.platform === 'win32' ? '.exe' : ''}`;
20768
20769
  build_utils_1.debug(`SPAWNING go build -o ${executable} ./... CWD=${tmp}`);
20769
- child_process_1.spawnSync('go', ['build', '-o', executable, './...'], {
20770
+ child_process_1.execFileSync('go', ['build', '-o', executable, './...'], {
20770
20771
  cwd: tmp,
20771
20772
  env,
20773
+ stdio: 'inherit',
20772
20774
  });
20773
20775
  build_utils_1.debug(`SPAWNING ${executable} CWD=${tmp}`);
20774
20776
  const child = child_process_1.spawn(executable, [], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/go",
3
- "version": "2.2.31",
3
+ "version": "2.3.1",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/go",
@@ -36,7 +36,7 @@
36
36
  "@types/node": "14.18.33",
37
37
  "@types/node-fetch": "^2.3.0",
38
38
  "@types/tar": "^4.0.0",
39
- "@vercel/build-utils": "6.0.0",
39
+ "@vercel/build-utils": "6.1.0",
40
40
  "@vercel/ncc": "0.24.0",
41
41
  "async-retry": "1.3.1",
42
42
  "execa": "^1.0.0",
@@ -46,5 +46,5 @@
46
46
  "tar": "4.4.6",
47
47
  "typescript": "4.3.4"
48
48
  },
49
- "gitHead": "25f6595d3698546ba69c7fe9f601a906167fef3f"
49
+ "gitHead": "a4d16c681a7e85f64a2d78432d499c599b398bde"
50
50
  }