Skip to content

Commit 3fe11a8

Browse files
chore(deps): update module github.com/spf13/cast to v1.9.1 (#6861)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/spf13/cast](https://redirect.github.com/spf13/cast) | `v1.8.0` -> `v1.9.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fcast/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fspf13%2fcast/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fspf13%2fcast/v1.8.0/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fcast/v1.8.0/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>spf13/cast (github.com/spf13/cast)</summary> ### [`v1.9.1`](https://redirect.github.com/spf13/cast/releases/tag/v1.9.1) [Compare Source](https://redirect.github.com/spf13/cast/compare/v1.9.0...v1.9.1) #### What's Changed - fix: indirection of typed nils by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/273](https://redirect.github.com/spf13/cast/pull/273) **Full Changelog**: spf13/cast@v1.9.0...v1.9.1 ### [`v1.9.0`](https://redirect.github.com/spf13/cast/releases/tag/v1.9.0) [Compare Source](https://redirect.github.com/spf13/cast/compare/v1.8.0...v1.9.0) #### Notable new features 🎉 - Casting *from* type aliases is now supported for basic types - Added generic functions: `To`/`ToE`, `Must`, `ToNumber`/`ToNumberE` - Increased test coverage - Converting float numbers from string is now supported #### What's Changed - build(deps): bump github/codeql-action from 3.28.17 to 3.28.18 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/spf13/cast/pull/248](https://redirect.github.com/spf13/cast/pull/248) - build(deps): bump actions/dependency-review-action from 4.6.0 to 4.7.1 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/spf13/cast/pull/247](https://redirect.github.com/spf13/cast/pull/247) - build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/spf13/cast/pull/245](https://redirect.github.com/spf13/cast/pull/245) - refactor: move number parsing to generic functions by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/250](https://redirect.github.com/spf13/cast/pull/250) - Improve ToString/ToStringE performance by [@&#8203;ganigeorgiev](https://redirect.github.com/ganigeorgiev) in [https://github.com/spf13/cast/pull/244](https://redirect.github.com/spf13/cast/pull/244) - Split caste.go into smaller files by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/251](https://redirect.github.com/spf13/cast/pull/251) - refactor: remove unused initial int conversion by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/253](https://redirect.github.com/spf13/cast/pull/253) - Generate code to make maintenance easier by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/252](https://redirect.github.com/spf13/cast/pull/252) - feat: add To and ToNumber functions by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/255](https://redirect.github.com/spf13/cast/pull/255) - build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/spf13/cast/pull/243](https://redirect.github.com/spf13/cast/pull/243) - Move tests next to their implementation by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/256](https://redirect.github.com/spf13/cast/pull/256) - Refactor number tests by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/257](https://redirect.github.com/spf13/cast/pull/257) - feat: return 0 when casting an empty string to a number by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/259](https://redirect.github.com/spf13/cast/pull/259) - Support converting string float numbers to integer types by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/261](https://redirect.github.com/spf13/cast/pull/261) - Test improvements by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/262](https://redirect.github.com/spf13/cast/pull/262) - Improvements by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/263](https://redirect.github.com/spf13/cast/pull/263) - refactor: return indirection result from indirect function by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/264](https://redirect.github.com/spf13/cast/pull/264) - Slice improvements by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/265](https://redirect.github.com/spf13/cast/pull/265) - refactor: move error message to a constant by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/267](https://redirect.github.com/spf13/cast/pull/267) - chore: improve map cast functions by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/269](https://redirect.github.com/spf13/cast/pull/269) - Resolve aliases by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/271](https://redirect.github.com/spf13/cast/pull/271) #### New Contributors - [@&#8203;ganigeorgiev](https://redirect.github.com/ganigeorgiev) made their first contribution in [https://github.com/spf13/cast/pull/244](https://redirect.github.com/spf13/cast/pull/244) **Full Changelog**: spf13/cast@v1.8.0...v1.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent ceb8daa commit 3fe11a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ require (
182182
github.com/sourcegraph/conc v0.3.0 // indirect
183183
github.com/sourcegraph/go-diff v0.7.0 // indirect
184184
github.com/spf13/afero v1.14.0 // indirect
185-
github.com/spf13/cast v1.8.0 // indirect
185+
github.com/spf13/cast v1.9.1 // indirect
186186
github.com/spf13/cobra v1.9.1 // indirect
187187
github.com/spf13/pflag v1.0.6 // indirect
188188
github.com/spf13/viper v1.20.1 // indirect

internal/tools/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCp
421421
github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs=
422422
github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA=
423423
github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo=
424-
github.com/spf13/cast v1.8.0 h1:gEN9K4b8Xws4EX0+a0reLmhq8moKn7ntRlQYgjPeCDk=
425-
github.com/spf13/cast v1.8.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
424+
github.com/spf13/cast v1.9.1 h1:LxnjuHJpEjFUlBvGDef9duW2jIfjfm9a2f4tCgyvsEw=
425+
github.com/spf13/cast v1.9.1/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
426426
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
427427
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
428428
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=

0 commit comments

Comments
 (0)