Skip to content

Commit ea8ca00

Browse files
authored
fix(deps): Update module github.com/samber/lo to v1.51.0 (#2265)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/samber/lo](https://redirect.github.com/samber/lo) | require | minor | `v1.49.1` -> `v1.51.0` | --- ### Release Notes <details> <summary>samber/lo (github.com/samber/lo)</summary> ### [`v1.51.0`](https://redirect.github.com/samber/lo/releases/tag/v1.51.0) [Compare Source](https://redirect.github.com/samber/lo/compare/v1.50.0...v1.51.0) #### What's Changed - Fixed the error in the usage example of lo.Latest in readme.md by [@&#8203;ghosx](https://redirect.github.com/ghosx) in [https://github.com/samber/lo/pull/627](https://redirect.github.com/samber/lo/pull/627) - feat(assertions): add `Assert` and `Assertf` by [@&#8203;your-diary](https://redirect.github.com/your-diary) in [https://github.com/samber/lo/pull/638](https://redirect.github.com/samber/lo/pull/638) #### Doc - docs: Add a more precise description to the Ellipsis function by [@&#8203;mengxunQAQ](https://redirect.github.com/mengxunQAQ) in [https://github.com/samber/lo/pull/635](https://redirect.github.com/samber/lo/pull/635) - docs: Fix description for LastOrEmpty and LastOr by [@&#8203;vaihtovirta](https://redirect.github.com/vaihtovirta) in [https://github.com/samber/lo/pull/636](https://redirect.github.com/samber/lo/pull/636) - docs: fix wrong variable name for mutable map example by [@&#8203;sunjayaali](https://redirect.github.com/sunjayaali) in [https://github.com/samber/lo/pull/637](https://redirect.github.com/samber/lo/pull/637) #### Dependencies - fix(ci): correct cleanup deps - remove all \*\_test.go files using find by [@&#8203;d-enk](https://redirect.github.com/d-enk) in [https://github.com/samber/lo/pull/630](https://redirect.github.com/samber/lo/pull/630) - Revert "chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0" by [@&#8203;samber](https://redirect.github.com/samber) in [https://github.com/samber/lo/pull/626](https://redirect.github.com/samber/lo/pull/626) - chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/625](https://redirect.github.com/samber/lo/pull/625) - chore(deps): bump golangci/golangci-lint-action from 7 to 8 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/628](https://redirect.github.com/samber/lo/pull/628) #### New Contributors - [@&#8203;ghosx](https://redirect.github.com/ghosx) made their first contribution in [https://github.com/samber/lo/pull/627](https://redirect.github.com/samber/lo/pull/627) - [@&#8203;mengxunQAQ](https://redirect.github.com/mengxunQAQ) made their first contribution in [https://github.com/samber/lo/pull/635](https://redirect.github.com/samber/lo/pull/635) - [@&#8203;vaihtovirta](https://redirect.github.com/vaihtovirta) made their first contribution in [https://github.com/samber/lo/pull/636](https://redirect.github.com/samber/lo/pull/636) - [@&#8203;your-diary](https://redirect.github.com/your-diary) made their first contribution in [https://github.com/samber/lo/pull/638](https://redirect.github.com/samber/lo/pull/638) **Full Changelog**: samber/lo@v1.50.0...v1.51.0 ### [`v1.50.0`](https://redirect.github.com/samber/lo/releases/tag/v1.50.0) [Compare Source](https://redirect.github.com/samber/lo/compare/v1.49.1...v1.50.0) #### What's Changed Here is the 50th minor version !! 🔥🥂 ##### New methods - Implemented GroupByMap by [@&#8203;maryum375](https://redirect.github.com/maryum375) in [https://github.com/samber/lo/pull/443](https://redirect.github.com/samber/lo/pull/443) - feat: Add NthOr and NthOrEmpty functions by [@&#8203;edvardsanta](https://redirect.github.com/edvardsanta) in [https://github.com/samber/lo/pull/611](https://redirect.github.com/samber/lo/pull/611) - feat: adding FilterMapToSlice by [@&#8203;samber](https://redirect.github.com/samber) in [https://github.com/samber/lo/pull/623](https://redirect.github.com/samber/lo/pull/623) - feat(mutable): adding Map, MapI, Filter, FilterI by [@&#8203;samber](https://redirect.github.com/samber) in [https://github.com/samber/lo/pull/577](https://redirect.github.com/samber/lo/pull/577) - Add ElementsMatch, ElementsMatchBy by [@&#8203;senago](https://redirect.github.com/senago) in [https://github.com/samber/lo/pull/589](https://redirect.github.com/samber/lo/pull/589) ##### Improvements - Perf(slice): Optimize iteration function parameters and add test cases by [@&#8203;shuqingzai](https://redirect.github.com/shuqingzai) in [https://github.com/samber/lo/pull/587](https://redirect.github.com/samber/lo/pull/587) - Preallocate result in FilterMap by [@&#8203;renbou](https://redirect.github.com/renbou) in [https://github.com/samber/lo/pull/622](https://redirect.github.com/samber/lo/pull/622) ##### Documentation - docs: modify mutable.shuffle example code and Go Playground links by [@&#8203;ebina4yaka](https://redirect.github.com/ebina4yaka) in [https://github.com/samber/lo/pull/595](https://redirect.github.com/samber/lo/pull/595) - fix: Issue 605 (README for Ternary() by [@&#8203;peterhoward42](https://redirect.github.com/peterhoward42) in [https://github.com/samber/lo/pull/606](https://redirect.github.com/samber/lo/pull/606) - docs: add play link for ChunkEntries example in README by [@&#8203;oswaldom-code](https://redirect.github.com/oswaldom-code) in [https://github.com/samber/lo/pull/600](https://redirect.github.com/samber/lo/pull/600) - doc: update CoalesceXXX demo and result by [@&#8203;jialeicui](https://redirect.github.com/jialeicui) in [https://github.com/samber/lo/pull/594](https://redirect.github.com/samber/lo/pull/594) - docs: fix typo in readme by [@&#8203;ahmedabdou14](https://redirect.github.com/ahmedabdou14) in [https://github.com/samber/lo/pull/620](https://redirect.github.com/samber/lo/pull/620) ##### Dependencies - chore(deps): bump golang.org/x/text from 0.21.0 to 0.22.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/590](https://redirect.github.com/samber/lo/pull/590) - chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/618](https://redirect.github.com/samber/lo/pull/618) - chore(deps): bump golangci/golangci-lint-action from 6 to 7 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/samber/lo/pull/616](https://redirect.github.com/samber/lo/pull/616) #### New Contributors - [@&#8203;maryum375](https://redirect.github.com/maryum375) made their first contribution in [https://github.com/samber/lo/pull/443](https://redirect.github.com/samber/lo/pull/443) - [@&#8203;shuqingzai](https://redirect.github.com/shuqingzai) made their first contribution in [https://github.com/samber/lo/pull/587](https://redirect.github.com/samber/lo/pull/587) - [@&#8203;ebina4yaka](https://redirect.github.com/ebina4yaka) made their first contribution in [https://github.com/samber/lo/pull/595](https://redirect.github.com/samber/lo/pull/595) - [@&#8203;jialeicui](https://redirect.github.com/jialeicui) made their first contribution in [https://github.com/samber/lo/pull/594](https://redirect.github.com/samber/lo/pull/594) - [@&#8203;peterhoward42](https://redirect.github.com/peterhoward42) made their first contribution in [https://github.com/samber/lo/pull/606](https://redirect.github.com/samber/lo/pull/606) - [@&#8203;edvardsanta](https://redirect.github.com/edvardsanta) made their first contribution in [https://github.com/samber/lo/pull/611](https://redirect.github.com/samber/lo/pull/611) - [@&#8203;ahmedabdou14](https://redirect.github.com/ahmedabdou14) made their first contribution in [https://github.com/samber/lo/pull/620](https://redirect.github.com/samber/lo/pull/620) - [@&#8203;renbou](https://redirect.github.com/renbou) made their first contribution in [https://github.com/samber/lo/pull/622](https://redirect.github.com/samber/lo/pull/622) **Full Changelog**: samber/lo@v1.49.1...v1.50.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->
1 parent 139b9ef commit ea8ca00

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/simple_plugin/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ require (
5555
github.com/oapi-codegen/runtime v1.1.2 // indirect
5656
github.com/pierrec/lz4/v4 v4.1.22 // indirect
5757
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
58-
github.com/samber/lo v1.49.1 // indirect
58+
github.com/samber/lo v1.51.0 // indirect
5959
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
6060
github.com/spf13/cobra v1.9.1 // indirect
6161
github.com/spf13/pflag v1.0.6 // indirect

examples/simple_plugin/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0=
141141
github.com/rs/zerolog v1.34.0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY=
142142
github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ=
143143
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
144-
github.com/samber/lo v1.49.1 h1:4BIFyVfuQSEpluc7Fua+j1NolZHiEHEpaSEKdsH0tew=
145-
github.com/samber/lo v1.49.1/go.mod h1:dO6KHFzUKXgP8LDhU0oI8d2hekjXnGOu0DB8Jecxd6o=
144+
github.com/samber/lo v1.51.0 h1:kysRYLbHy/MB7kQZf5DSN50JHmMsNEdeY24VzJFu7wI=
145+
github.com/samber/lo v1.51.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0=
146146
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ=
147147
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU=
148148
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ require (
2222
github.com/invopop/jsonschema v0.13.0
2323
github.com/mitchellh/hashstructure/v2 v2.0.2
2424
github.com/rs/zerolog v1.34.0
25-
github.com/samber/lo v1.49.1
25+
github.com/samber/lo v1.51.0
2626
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
2727
github.com/spf13/cobra v1.9.1
2828
github.com/stretchr/testify v1.10.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0=
144144
github.com/rs/zerolog v1.34.0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY=
145145
github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ=
146146
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
147-
github.com/samber/lo v1.49.1 h1:4BIFyVfuQSEpluc7Fua+j1NolZHiEHEpaSEKdsH0tew=
148-
github.com/samber/lo v1.49.1/go.mod h1:dO6KHFzUKXgP8LDhU0oI8d2hekjXnGOu0DB8Jecxd6o=
147+
github.com/samber/lo v1.51.0 h1:kysRYLbHy/MB7kQZf5DSN50JHmMsNEdeY24VzJFu7wI=
148+
github.com/samber/lo v1.51.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0=
149149
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ=
150150
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU=
151151
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=

0 commit comments

Comments
 (0)