@vercel/go 3.0.4 → 3.1.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -18342,7 +18342,7 @@ Manually assigning 'GO111MODULE' is not recommended.
18342
18342
  } else {
18343
18343
  await buildHandlerWithGoMod(buildOptions);
18344
18344
  }
18345
- const runtime = process.env.VERCEL_USE_GO_PROVIDED_RUNTIME === "1" ? "provided.al2" : "go1.x";
18345
+ const runtime = await (0, import_build_utils2.getProvidedRuntime)();
18346
18346
  const lambda = new import_build_utils2.Lambda({
18347
18347
  files: { ...await (0, import_build_utils2.glob)("**", outDir), ...includedFiles },
18348
18348
  handler: HANDLER_FILENAME,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/go",
3
- "version": "3.0.4",
3
+ "version": "3.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/go",
@@ -23,7 +23,7 @@
23
23
  "@types/node-fetch": "^2.3.0",
24
24
  "@types/tar": "6.1.5",
25
25
  "@types/yauzl-promise": "2.1.0",
26
- "@vercel/build-utils": "7.2.5",
26
+ "@vercel/build-utils": "7.11.0",
27
27
  "async-retry": "1.3.3",
28
28
  "execa": "^1.0.0",
29
29
  "fs-extra": "^7.0.0",