@vercel/go 3.2.2 → 3.2.3

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 +4 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -17056,8 +17056,9 @@ var import_yauzl_promise = __toESM(require_lib6());
17056
17056
  var import_xdg_app_paths = __toESM(require_xdg_app_paths());
17057
17057
  var streamPipeline = (0, import_util.promisify)(import_stream.pipeline);
17058
17058
  var versionMap = /* @__PURE__ */ new Map([
17059
- ["1.23", "1.23.2"],
17060
- ["1.22", "1.22.8"],
17059
+ ["1.24", "1.24.5"],
17060
+ ["1.23", "1.23.11"],
17061
+ ["1.22", "1.22.12"],
17061
17062
  ["1.21", "1.21.13"],
17062
17063
  ["1.20", "1.20.14"],
17063
17064
  ["1.19", "1.19.13"],
@@ -17355,7 +17356,7 @@ function parseGoModVersion(content) {
17355
17356
  );
17356
17357
  const toolchain = toolchainMatches ? toolchainMatches[1] : void 0;
17357
17358
  if (major >= GO_MIN_MAJOR_VERSION && minor >= GO_MIN_MINOR_VERSION) {
17358
- if (patch) {
17359
+ if (patch || patch === 0) {
17359
17360
  return {
17360
17361
  go: `${major}.${minor}.${patch}`,
17361
17362
  toolchain
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/go",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
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": "10.6.7",
26
+ "@vercel/build-utils": "11.0.0",
27
27
  "async-retry": "1.3.3",
28
28
  "execa": "^1.0.0",
29
29
  "fs-extra": "^7.0.0",