From 972447b7f9d209be5f525bbe6b1a2b288d45649b Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 9 Sep 2026 16:44:16 -0300 Subject: [PATCH] chore(deps): migrate `mvdan.cc/sh/moreinterp` to `mvdan.cc/sh/x` --- go.mod | 2 +- go.sum | 4 ++-- internal/execext/exec.go | 2 +- website/src/latest/blog/windows-core-utils.md | 2 +- website/src/next/blog/windows-core-utils.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 1f39087c9b..862c2eccb4 100644 --- a/go.mod +++ b/go.mod @@ -30,8 +30,8 @@ require ( go.yaml.in/yaml/v3 v3.0.4 golang.org/x/sync v0.23.0 golang.org/x/term v0.45.0 - mvdan.cc/sh/moreinterp v0.0.0-20260907224004-5864ca90e1a1 mvdan.cc/sh/v3 v3.14.1 + mvdan.cc/sh/x v0.0.0-20260907232430-b5028a3332a4 ) require ( diff --git a/go.sum b/go.sum index dc18b70aee..b62e0a4790 100644 --- a/go.sum +++ b/go.sum @@ -312,7 +312,7 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -mvdan.cc/sh/moreinterp v0.0.0-20260907224004-5864ca90e1a1 h1:fAoH8iXArbk4NoSpUB9SSbZ4ZgXvk4lu2eVtt0fYu9k= -mvdan.cc/sh/moreinterp v0.0.0-20260907224004-5864ca90e1a1/go.mod h1:Db81oQN+Dtw+YkrEY+BVIgWWZvIplgQodq20B4TZJX0= mvdan.cc/sh/v3 v3.14.1 h1:bXkhQWNHCs0KZEChF8hYS6FC+T2N9mUZLbQv9blditI= mvdan.cc/sh/v3 v3.14.1/go.mod h1:syYCoFET8w9tvevxiXUtY8/ICrU+l26jHmhJDra3Vwo= +mvdan.cc/sh/x v0.0.0-20260907232430-b5028a3332a4 h1:+ZxaDoGrbmvQFjU5M1YQtHRoEf98R7mslgvlJ3hgASk= +mvdan.cc/sh/x v0.0.0-20260907232430-b5028a3332a4/go.mod h1:j4gEzJjKcncRAMCu/GVaXCR8/b63sHi/ty4+pG+FuPU= diff --git a/internal/execext/exec.go b/internal/execext/exec.go index a418a2aa11..c5abdf9578 100644 --- a/internal/execext/exec.go +++ b/internal/execext/exec.go @@ -8,10 +8,10 @@ import ( "path/filepath" "strings" - "mvdan.cc/sh/moreinterp/coreutils" "mvdan.cc/sh/v3/expand" "mvdan.cc/sh/v3/interp" "mvdan.cc/sh/v3/syntax" + "mvdan.cc/sh/x/coreutils" "github.com/go-task/task/v3/errors" ) diff --git a/website/src/latest/blog/windows-core-utils.md b/website/src/latest/blog/windows-core-utils.md index 3650bb3657..60fa16eacf 100644 --- a/website/src/latest/blog/windows-core-utils.md +++ b/website/src/latest/blog/windows-core-utils.md @@ -134,7 +134,7 @@ project][sponsor]! https://github.com/u-root/u-root/blob/main/pkg/core/command.go [uroot-base]: https://github.com/u-root/u-root/blob/main/pkg/core/base.go [middleware]: - https://github.com/mvdan/sh/blob/master/moreinterp/coreutils/coreutils.go + https://github.com/mvdan/sh/blob/master/x/coreutils/coreutils.go [task-core-utils]: /docs/reference/environment#task-core-utils [discord]: https://discord.com/invite/6TY36E39UK [gh-issue]: https://github.com/go-task/task/issues diff --git a/website/src/next/blog/windows-core-utils.md b/website/src/next/blog/windows-core-utils.md index 3650bb3657..60fa16eacf 100644 --- a/website/src/next/blog/windows-core-utils.md +++ b/website/src/next/blog/windows-core-utils.md @@ -134,7 +134,7 @@ project][sponsor]! https://github.com/u-root/u-root/blob/main/pkg/core/command.go [uroot-base]: https://github.com/u-root/u-root/blob/main/pkg/core/base.go [middleware]: - https://github.com/mvdan/sh/blob/master/moreinterp/coreutils/coreutils.go + https://github.com/mvdan/sh/blob/master/x/coreutils/coreutils.go [task-core-utils]: /docs/reference/environment#task-core-utils [discord]: https://discord.com/invite/6TY36E39UK [gh-issue]: https://github.com/go-task/task/issues