Skip to content

Commit

Permalink
chore: bump github.com/samber/lo from 1.39.0 to 1.44.0 (#490)
Browse files Browse the repository at this point in the history
Bumps [github.com/samber/lo](https://github.com/samber/lo) from 1.39.0
to 1.44.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/samber/lo/releases">github.com/samber/lo's
releases</a>.</em></p>
<blockquote>
<h2>v1.44.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: Add slice Splice an element or multiple elements at index i.
by <a href="https://github.com/wenlingang"><code>@​wenlingang</code></a>
in <a
href="https://redirect.github.com/samber/lo/pull/371">samber/lo#371</a></li>
<li>feat: Make Filter() preserve type. by <a
href="https://github.com/FGasper"><code>@​FGasper</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/365">samber/lo#365</a></li>
<li>feat: Added DropByIndex helper for slice by <a
href="https://github.com/phith0n"><code>@​phith0n</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/398">samber/lo#398</a></li>
<li>feat: upgrade to math/rand/v2 by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/483">samber/lo#483</a></li>
<li>chore: remove <code>golang.org/x/exp</code> since it doesn't follow
go 1 compatibility promise by <a
href="https://github.com/trim21"><code>@​trim21</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/478">samber/lo#478</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/wenlingang"><code>@​wenlingang</code></a> made
their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/371">samber/lo#371</a></li>
<li><a href="https://github.com/jason-zhj"><code>@​jason-zhj</code></a>
made their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/376">samber/lo#376</a></li>
<li><a href="https://github.com/FGasper"><code>@​FGasper</code></a> made
their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/365">samber/lo#365</a></li>
<li><a href="https://github.com/phith0n"><code>@​phith0n</code></a> made
their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/398">samber/lo#398</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/samber/lo/compare/v1.43.0...v1.44.0">https://github.com/samber/lo/compare/v1.43.0...v1.44.0</a></p>
<h2>v1.43.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: adding HasKey by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/477">samber/lo#477</a></li>
<li>feat: adding lo.WaitFor by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/269">samber/lo#269</a></li>
<li>improvement: Optimize the performance of union method, avoid
repeated expansion by <a
href="https://github.com/cwb2819259"><code>@​cwb2819259</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/397">samber/lo#397</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/cwb2819259"><code>@​cwb2819259</code></a> made
their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/397">samber/lo#397</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/samber/lo/compare/v1.42.0...v1.43.0">https://github.com/samber/lo/compare/v1.42.0...v1.43.0</a></p>
<h2>v1.42.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: add Nil by <a
href="https://github.com/gubtos"><code>@​gubtos</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/383">samber/lo#383</a></li>
<li>feat: Add First and FirstOrZeroValue functions by <a
href="https://github.com/Alireza-Kiani"><code>@​Alireza-Kiani</code></a>
in <a
href="https://redirect.github.com/samber/lo/pull/451">samber/lo#451</a></li>
<li>feat: adding LastOrEmpty and LastOr by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/474">samber/lo#474</a></li>
<li>feat: Feature/contains iterate by index by <a
href="https://github.com/lennon-guan"><code>@​lennon-guan</code></a> in
<a
href="https://redirect.github.com/samber/lo/pull/428">samber/lo#428</a></li>
<li>feat: speed up loops by reducing allocations by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/475">samber/lo#475</a></li>
<li>doc: inconsistent expression in README.md by <a
href="https://github.com/rolancia"><code>@​rolancia</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/406">samber/lo#406</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/gubtos"><code>@​gubtos</code></a> made
their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/383">samber/lo#383</a></li>
<li><a
href="https://github.com/Alireza-Kiani"><code>@​Alireza-Kiani</code></a>
made their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/451">samber/lo#451</a></li>
<li><a href="https://github.com/rolancia"><code>@​rolancia</code></a>
made their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/406">samber/lo#406</a></li>
<li><a
href="https://github.com/lennon-guan"><code>@​lennon-guan</code></a>
made their first contribution in <a
href="https://redirect.github.com/samber/lo/pull/428">samber/lo#428</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/samber/lo/compare/v1.41.0...v1.42.0">https://github.com/samber/lo/compare/v1.41.0...v1.42.0</a></p>
<h2>v1.41.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: adding Elipse by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/470">samber/lo#470</a></li>
<li>feat: adding CoalesceOrEmpty by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/469">samber/lo#469</a></li>
<li>feat: adding Earliest and Latest by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/468">samber/lo#468</a></li>
<li>feat: adding duration by <a
href="https://github.com/samber"><code>@​samber</code></a> in <a
href="https://redirect.github.com/samber/lo/pull/471">samber/lo#471</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/samber/lo/blob/master/CHANGELOG.md">github.com/samber/lo's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p><a href="https://github.com/samber"><code>@​samber</code></a>: I
sometimes forget to update this file. Ping me on <a
href="https://twitter.com/samuelberthe">Twitter</a> or open an issue in
case of error. We need to keep a clear changelog for easier lib
upgrade.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/samber/lo/commit/7c4fdccffb8c6c7dc1746809509134e4a85fe69e"><code>7c4fdcc</code></a>
bump v1.44.0</li>
<li><a
href="https://github.com/samber/lo/commit/3b29b7d9187951ebf48a9a11a056f558412ad184"><code>3b29b7d</code></a>
feat: upgrade to math/rand/v2 (<a
href="https://redirect.github.com/samber/lo/issues/483">#483</a>)</li>
<li><a
href="https://github.com/samber/lo/commit/0a145c7cc7305066d372d78fa2033e4e29eb202d"><code>0a145c7</code></a>
style: replace interface{} by any</li>
<li><a
href="https://github.com/samber/lo/commit/9405c90405a48e99f67e8a50d954be007e92d9a5"><code>9405c90</code></a>
chore: adding issue template (<a
href="https://redirect.github.com/samber/lo/issues/481">#481</a>)</li>
<li><a
href="https://github.com/samber/lo/commit/52e17faeec8735e02740ca5dfed5be896d808e5a"><code>52e17fa</code></a>
Added DropByIndex helper for slice (<a
href="https://redirect.github.com/samber/lo/issues/398">#398</a>)</li>
<li><a
href="https://github.com/samber/lo/commit/93686db8b55c90f67a2ededadf2d1197a059c321"><code>93686db</code></a>
feat: preserve type alias of slices and maps (see <a
href="https://redirect.github.com/samber/lo/issues/365">#365</a>)</li>
<li><a
href="https://github.com/samber/lo/commit/3ba93a16ccb34c6b82f8c2ab07a2044a5b0d1a21"><code>3ba93a1</code></a>
feat: preserve type alias of slices and maps (see <a
href="https://redirect.github.com/samber/lo/issues/365">#365</a>)</li>
<li><a
href="https://github.com/samber/lo/commit/de419c75716f5cb8eeba88176f4791a64bddd5ab"><code>de419c7</code></a>
Make Filter() preserve type. (<a
href="https://redirect.github.com/samber/lo/issues/365">#365</a>)</li>
<li><a
href="https://github.com/samber/lo/commit/2ec43f41f4d8de149c116986b347d9b32c75a2f4"><code>2ec43f4</code></a>
Revert &quot;Add new method Concat (<a
href="https://redirect.github.com/samber/lo/issues/376">#376</a>)&quot;
(<a
href="https://redirect.github.com/samber/lo/issues/479">#479</a>)</li>
<li><a
href="https://github.com/samber/lo/commit/940ded8b0352a4ea374d5b435d3a4f73480ef94b"><code>940ded8</code></a>
Add new method Concat (<a
href="https://redirect.github.com/samber/lo/issues/376">#376</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/samber/lo/compare/v1.39.0...v1.44.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/samber/lo&package-manager=go_modules&previous-version=1.39.0&new-version=1.44.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Heba <31887807+helayoty@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Heba <31887807+helayoty@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and helayoty authored Jul 3, 2024
1 parent 766b944 commit b4778e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/go-logr/logr v1.4.2
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/samber/lo v1.39.0
github.com/samber/lo v1.44.0
github.com/stretchr/testify v1.9.0
gopkg.in/yaml.v2 v2.4.0
gotest.tools v2.2.0+incompatible
Expand Down Expand Up @@ -88,9 +88,9 @@ require (
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/term v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.21.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/api v0.180.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be // indirect
Expand Down
14 changes: 6 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA=
github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA=
github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8=
github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
github.com/samber/lo v1.44.0 h1:5il56KxRE+GHsm1IR+sZ/6J42NODigFiqCWpSc2dybA=
github.com/samber/lo v1.44.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
Expand Down Expand Up @@ -603,8 +601,8 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down Expand Up @@ -652,8 +650,8 @@ golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc
golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw=
golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down

0 comments on commit b4778e7

Please sign in to comment.