Skip to content

Commit e3c4bfb

Browse files
Bump mvdan.cc/sh/v3 from 3.13.0 to 3.13.1 (#1099)
Bumps [mvdan.cc/sh/v3](https://github.com/mvdan/sh) from 3.13.0 to 3.13.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mvdan/sh/releases">mvdan.cc/sh/v3's releases</a>.</em></p> <blockquote> <h2>v3.13.1</h2> <ul> <li><strong>cmd/shfmt</strong> <ul> <li>Add support for <code>[[zsh]]</code> in EditorConfig files</li> <li>Detect the shell variant from filenames like <code>.zshrc</code> and <code>.bash_profile</code></li> <li>Fix <code>--apply-ignore</code> when used with explicit args - <a href="https://redirect.github.com/mvdan/sh/issues/1310">#1310</a></li> </ul> </li> <li><strong>syntax</strong> <ul> <li>Revert an accidental change to how array subscripts are formatted - <a href="https://redirect.github.com/mvdan/sh/issues/1314">#1314</a></li> <li>Never join <code>;;</code> with the previous line when formatting - <a href="https://redirect.github.com/mvdan/sh/issues/1289">#1289</a></li> <li>Fix a bug where <code>$1[foo]</code> was parsed as a subscript in Zsh - <a href="https://redirect.github.com/mvdan/sh/issues/1288">#1288</a></li> <li>Correctly parse <code>$!</code> in double quotes in Zsh - <a href="https://redirect.github.com/mvdan/sh/issues/1298">#1298</a></li> <li>Allow indexing into special parameters in Zsh - <a href="https://redirect.github.com/mvdan/sh/issues/1299">#1299</a></li> <li>Allow parameter expansions with empty names in Zsh - <a href="https://redirect.github.com/mvdan/sh/issues/1280">#1280</a></li> </ul> </li> <li><strong>interp</strong> <ul> <li>Test against Bash 5.3 and fix three new discrepancies</li> <li>Fix a few bugs related to <code>nameref</code> variables</li> <li>Avoid panics when user input encounters unimplemented features</li> </ul> </li> </ul> <p>Consider <a href="https://github.com/sponsors/mvdan">becoming a sponsor</a> if you benefit from the work that went into this release!</p> <p>Binaries built on <code>go version go1.26.1 linux/amd64</code> with:</p> <p>CGO_ENABLED=0 go build -trimpath -ldflags=&quot;-w -s&quot;</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mvdan/sh/blob/master/CHANGELOG.md">mvdan.cc/sh/v3's changelog</a>.</em></p> <blockquote> <h2>[3.13.1] - 2026-03-09</h2> <ul> <li><strong>cmd/shfmt</strong> <ul> <li>Add support for <code>[[zsh]]</code> in EditorConfig files</li> <li>Detect the shell variant from filenames like <code>.zshrc</code> and <code>.bash_profile</code></li> <li>Fix <code>--apply-ignore</code> when used with explicit args - <a href="https://redirect.github.com/mvdan/sh/issues/1310">#1310</a></li> </ul> </li> <li><strong>syntax</strong> <ul> <li>Revert an accidental change to how array subscripts are formatted - <a href="https://redirect.github.com/mvdan/sh/issues/1314">#1314</a></li> <li>Never join <code>;;</code> with the previous line when formatting - <a href="https://redirect.github.com/mvdan/sh/issues/1289">#1289</a></li> <li>Fix a bug where <code>$1[foo]</code> was parsed as a subscript in Zsh - <a href="https://redirect.github.com/mvdan/sh/issues/1288">#1288</a></li> <li>Correctly parse <code>$!</code> in double quotes in Zsh - <a href="https://redirect.github.com/mvdan/sh/issues/1298">#1298</a></li> <li>Allow indexing into special parameters in Zsh - <a href="https://redirect.github.com/mvdan/sh/issues/1299">#1299</a></li> <li>Allow parameter expansions with empty names in Zsh - <a href="https://redirect.github.com/mvdan/sh/issues/1280">#1280</a></li> </ul> </li> <li><strong>interp</strong> <ul> <li>Test against Bash 5.3 and fix three new discrepancies</li> <li>Fix a few bugs related to <code>nameref</code> variables</li> <li>Avoid panics when user input encounters unimplemented features</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mvdan/sh/commit/2f3f5e36d9b0f8f14c998d50aa20a28832205ae8"><code>2f3f5e3</code></a> CHANGELOG: add entry for v3.13.1</li> <li><a href="https://github.com/mvdan/sh/commit/1b77144c5544377aa31cf6783657abf4c3aed5fe"><code>1b77144</code></a> CHANGELOG: add late entry for v3.13.0</li> <li><a href="https://github.com/mvdan/sh/commit/4fe0cc2930242a0e3f5cb8b3f8b772fd488e5d9c"><code>4fe0cc2</code></a> README: bring output in caveats examples up to date</li> <li><a href="https://github.com/mvdan/sh/commit/d2b044b49dc9d83f3c69d22276277375607f9f55"><code>d2b044b</code></a> syntax: only make index expressions compact when it's a comma</li> <li><a href="https://github.com/mvdan/sh/commit/156923041be611433c2123dfda2484f50ed7421c"><code>1569230</code></a> syntax: add test cases for issue <a href="https://redirect.github.com/mvdan/sh/issues/1314">#1314</a></li> <li><a href="https://github.com/mvdan/sh/commit/e97b2b0b78d60a7f6566c85dfff2ab9a19437bcd"><code>e97b2b0</code></a> interp: avoid the last panics which can be triggered by users</li> <li><a href="https://github.com/mvdan/sh/commit/f299f47648b86e8fd5791f8987b1234d071fa964"><code>f299f47</code></a> cmd/shfmt: --apply-ignore should not skip explicit args based on extension</li> <li><a href="https://github.com/mvdan/sh/commit/2315483a6fdb9368c6166fca3ea9e72eb4fa80aa"><code>2315483</code></a> interp: fix a few nameref bugs</li> <li><a href="https://github.com/mvdan/sh/commit/7e3be04e5b025475676a40d0852c28ca862dc0a7"><code>7e3be04</code></a> interp: test with Bash 5.3 and fix three bugs uncovered by it</li> <li><a href="https://github.com/mvdan/sh/commit/8852860d9a18dd3cf0c7f959438a1a13afd3958a"><code>8852860</code></a> pattern: tokenize patterns rune by rune</li> <li>Additional commits viewable in <a href="https://github.com/mvdan/sh/compare/v3.13.0...v3.13.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 9dc6792 commit e3c4bfb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ require (
7070
google.golang.org/api v0.274.0
7171
google.golang.org/genproto/googleapis/rpc v0.0.0-20260406154035-8fb7ec149431
7272
google.golang.org/protobuf v1.36.11
73-
mvdan.cc/sh/v3 v3.13.0
73+
mvdan.cc/sh/v3 v3.13.1
7474
oras.land/oras-go/v2 v2.6.0
7575
sigs.k8s.io/kustomize/kyaml v0.21.1
7676
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,8 @@ k8s.io/kube-openapi v0.0.0-20260330154417-16be699c7b31 h1:V+sn9a/1fEYDGwnllCmqXB
638638
k8s.io/kube-openapi v0.0.0-20260330154417-16be699c7b31/go.mod h1:uGBT7iTA6c6MvqUvSXIaYZo9ukscABYi2btjhvgKGZ0=
639639
mvdan.cc/gofumpt v0.7.0 h1:bg91ttqXmi9y2xawvkuMXyvAA/1ZGJqYAEGjXuP0JXU=
640640
mvdan.cc/gofumpt v0.7.0/go.mod h1:txVFJy/Sc/mvaycET54pV8SW8gWxTlUuGHVEcncmNUo=
641-
mvdan.cc/sh/v3 v3.13.0 h1:dSfq/MVsY4w0Vsi6Lbs0IcQquMVqLdKLESAOZjuHdLg=
642-
mvdan.cc/sh/v3 v3.13.0/go.mod h1:KV1GByGPc/Ho0X1E6Uz9euhsIQEj4hwyKnodLlFLoDM=
641+
mvdan.cc/sh/v3 v3.13.1 h1:DP3TfgZhDkT7lerUdnp6PTGKyxxzz6T+cOlY/xEvfWk=
642+
mvdan.cc/sh/v3 v3.13.1/go.mod h1:lXJ8SexMvEVcHCoDvAGLZgFJ9Wsm2sulmoNEXGhYZD0=
643643
oras.land/oras-go/v2 v2.6.0 h1:X4ELRsiGkrbeox69+9tzTu492FMUu7zJQW6eJU+I2oc=
644644
oras.land/oras-go/v2 v2.6.0/go.mod h1:magiQDfG6H1O9APp+rOsvCPcW1GD2MM7vgnKY0Y+u1o=
645645
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=

0 commit comments

Comments
 (0)