@vercel/go 3.0.5 → 3.1.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 +5 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -17908,9 +17908,10 @@ var import_yauzl_promise = __toESM(require_lib6());
17908
17908
  var import_xdg_app_paths = __toESM(require_xdg_app_paths());
17909
17909
  var streamPipeline = (0, import_util.promisify)(import_stream.pipeline);
17910
17910
  var versionMap = /* @__PURE__ */ new Map([
17911
- ["1.21", "1.21.1"],
17912
- ["1.20", "1.20.2"],
17913
- ["1.19", "1.19.6"],
17911
+ ["1.22", "1.22.2"],
17912
+ ["1.21", "1.21.8"],
17913
+ ["1.20", "1.20.14"],
17914
+ ["1.19", "1.19.13"],
17914
17915
  ["1.18", "1.18.10"],
17915
17916
  ["1.17", "1.17.13"],
17916
17917
  ["1.16", "1.16.15"],
@@ -18342,7 +18343,7 @@ Manually assigning 'GO111MODULE' is not recommended.
18342
18343
  } else {
18343
18344
  await buildHandlerWithGoMod(buildOptions);
18344
18345
  }
18345
- const runtime = "provided.al2";
18346
+ const runtime = await (0, import_build_utils2.getProvidedRuntime)();
18346
18347
  const lambda = new import_build_utils2.Lambda({
18347
18348
  files: { ...await (0, import_build_utils2.glob)("**", outDir), ...includedFiles },
18348
18349
  handler: HANDLER_FILENAME,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/go",
3
- "version": "3.0.5",
3
+ "version": "3.1.1",
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.4.1",
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",