Commit e3c4bfb
authored
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="-w -s"</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
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
642 | | - | |
| 641 | + | |
| 642 | + | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| |||
0 commit comments