Skip to content

chore(deps): bump mvdan.cc/sh/v3 from 3.13.0 to 3.13.1#89

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/mvdan.cc/sh/v3-3.13.1
Open

chore(deps): bump mvdan.cc/sh/v3 from 3.13.0 to 3.13.1#89
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/mvdan.cc/sh/v3-3.13.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2026

Bumps mvdan.cc/sh/v3 from 3.13.0 to 3.13.1.

Release notes

Sourced from mvdan.cc/sh/v3's releases.

v3.13.1

  • cmd/shfmt
    • Add support for [[zsh]] in EditorConfig files
    • Detect the shell variant from filenames like .zshrc and .bash_profile
    • Fix --apply-ignore when used with explicit args - #1310
  • syntax
    • Revert an accidental change to how array subscripts are formatted - #1314
    • Never join ;; with the previous line when formatting - #1289
    • Fix a bug where $1[foo] was parsed as a subscript in Zsh - #1288
    • Correctly parse $! in double quotes in Zsh - #1298
    • Allow indexing into special parameters in Zsh - #1299
    • Allow parameter expansions with empty names in Zsh - #1280
  • interp
    • Test against Bash 5.3 and fix three new discrepancies
    • Fix a few bugs related to nameref variables
    • Avoid panics when user input encounters unimplemented features

Consider becoming a sponsor if you benefit from the work that went into this release!

Binaries built on go version go1.26.1 linux/amd64 with:

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s"

Changelog

Sourced from mvdan.cc/sh/v3's changelog.

[3.13.1] - 2026-03-09

  • cmd/shfmt
    • Add support for [[zsh]] in EditorConfig files
    • Detect the shell variant from filenames like .zshrc and .bash_profile
    • Fix --apply-ignore when used with explicit args - #1310
  • syntax
    • Revert an accidental change to how array subscripts are formatted - #1314
    • Never join ;; with the previous line when formatting - #1289
    • Fix a bug where $1[foo] was parsed as a subscript in Zsh - #1288
    • Correctly parse $! in double quotes in Zsh - #1298
    • Allow indexing into special parameters in Zsh - #1299
    • Allow parameter expansions with empty names in Zsh - #1280
  • interp
    • Test against Bash 5.3 and fix three new discrepancies
    • Fix a few bugs related to nameref variables
    • Avoid panics when user input encounters unimplemented features
Commits
  • 2f3f5e3 CHANGELOG: add entry for v3.13.1
  • 1b77144 CHANGELOG: add late entry for v3.13.0
  • 4fe0cc2 README: bring output in caveats examples up to date
  • d2b044b syntax: only make index expressions compact when it's a comma
  • 1569230 syntax: add test cases for issue #1314
  • e97b2b0 interp: avoid the last panics which can be triggered by users
  • f299f47 cmd/shfmt: --apply-ignore should not skip explicit args based on extension
  • 2315483 interp: fix a few nameref bugs
  • 7e3be04 interp: test with Bash 5.3 and fix three bugs uncovered by it
  • 8852860 pattern: tokenize patterns rune by rune
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mvdan.cc/sh/v3](https://github.com/mvdan/sh) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/mvdan/sh/releases)
- [Changelog](https://github.com/mvdan/sh/blob/master/CHANGELOG.md)
- [Commits](mvdan/sh@v3.13.0...v3.13.1)

---
updated-dependencies:
- dependency-name: mvdan.cc/sh/v3
  dependency-version: 3.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants