Skip to content

Commit 4ed97cf

Browse files
authored
Bump github.com/samber/lo from 1.47.0 to 1.49.1 (#162)
Bumps [github.com/samber/lo](https://github.com/samber/lo) from 1.47.0 to 1.49.1. <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.49.1</h2> <h2>What's Changed</h2> <ul> <li>fix(product + productby): fix empty slice behavior by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/584">samber/lo#584</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/samber/lo/compare/v1.49.0...v1.49.1">https://github.com/samber/lo/compare/v1.49.0...v1.49.1</a></p> <h2>v1.49.0</h2> <h2>What's Changed</h2> <ul> <li>feat: add SampleBy and SamplesBy by <a href="https://github.com/bramvandewalle"><code>@​bramvandewalle</code></a> in <a href="https://redirect.github.com/samber/lo/pull/516">samber/lo#516</a></li> <li>feat: Add IsNotNil by <a href="https://github.com/haoxins"><code>@​haoxins</code></a> in <a href="https://redirect.github.com/samber/lo/pull/523">samber/lo#523</a></li> <li>feat: Implement ChunkMap Function (<a href="https://redirect.github.com/samber/lo/issues/533">#533</a>) by <a href="https://github.com/oswaldom-code"><code>@​oswaldom-code</code></a> in <a href="https://redirect.github.com/samber/lo/pull/538">samber/lo#538</a></li> <li>feat: Add NewThrottle by <a href="https://github.com/Lee-Minjea"><code>@​Lee-Minjea</code></a> in <a href="https://redirect.github.com/samber/lo/pull/427">samber/lo#427</a></li> <li>feat: adding FilterSliceToMap by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/581">samber/lo#581</a></li> <li>feat: add <code>Product</code> and <code>ProductBy</code> functions by <a href="https://github.com/JohnDevitt"><code>@​JohnDevitt</code></a> in <a href="https://redirect.github.com/samber/lo/pull/566">samber/lo#566</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/bramvandewalle"><code>@​bramvandewalle</code></a> made their first contribution in <a href="https://redirect.github.com/samber/lo/pull/516">samber/lo#516</a></li> <li><a href="https://github.com/oswaldom-code"><code>@​oswaldom-code</code></a> made their first contribution in <a href="https://redirect.github.com/samber/lo/pull/538">samber/lo#538</a></li> <li><a href="https://github.com/Lee-Minjea"><code>@​Lee-Minjea</code></a> made their first contribution in <a href="https://redirect.github.com/samber/lo/pull/427">samber/lo#427</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/samber/lo/compare/v1.48.0...v1.49.0">https://github.com/samber/lo/compare/v1.48.0...v1.49.0</a></p> <h2>v1.48.0</h2> <h2>What's Changed</h2> <h3>Feature</h3> <ul> <li>feat: add (Min|Max)Index(By) by <a href="https://github.com/aria3ppp"><code>@​aria3ppp</code></a> in <a href="https://redirect.github.com/samber/lo/pull/569">samber/lo#569</a></li> <li>feat: add UniqMap by <a href="https://github.com/nicklaus-dev"><code>@​nicklaus-dev</code></a> in <a href="https://redirect.github.com/samber/lo/pull/527">samber/lo#527</a></li> <li>feat: add CrossJoin function by <a href="https://github.com/JohnDevitt"><code>@​JohnDevitt</code></a> in <a href="https://redirect.github.com/samber/lo/pull/567">samber/lo#567</a></li> <li>feat: Implement CoalesceOrEmptySlice Function by <a href="https://github.com/chg1f"><code>@​chg1f</code></a> in <a href="https://redirect.github.com/samber/lo/pull/542">samber/lo#542</a></li> <li>feat: adding WithoutNth by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/575">samber/lo#575</a></li> <li>feat: deprecate lo.Reverse and move it to lom.Reverse by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/576">samber/lo#576</a></li> <li>feat: deprecate lo.Shuffle and move it to lom.Shuffle by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://github.com/samber/lo/commit/699707a0db372bc44ca5619b6ca61c15f5dc1de6#comments">https://github.com/samber/lo/commit/699707a0db372bc44ca5619b6ca61c15f5dc1de6#comments</a></li> <li>feat: adding lo.BufferWithContext by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/580">samber/lo#580</a></li> <li>feat: add SliceToSet by <a href="https://github.com/nicklaus-dev"><code>@​nicklaus-dev</code></a> in <a href="https://redirect.github.com/samber/lo/pull/514">samber/lo#514</a></li> <li>feat: add WithoutBy by <a href="https://github.com/nicklaus-dev"><code>@​nicklaus-dev</code></a> in <a href="https://redirect.github.com/samber/lo/pull/515">samber/lo#515</a></li> <li>feat: add lom.Fill by <a href="https://github.com/samber"><code>@​samber</code></a></li> </ul> <h3>Fix</h3> <ul> <li>fix: change examples for MapKeys and MapValues by <a href="https://github.com/luxcgo"><code>@​luxcgo</code></a> in <a href="https://redirect.github.com/samber/lo/pull/341">samber/lo#341</a></li> <li>fix: order of GroupBy and PartitionBy by <a href="https://github.com/liyishuai"><code>@​liyishuai</code></a> in <a href="https://redirect.github.com/samber/lo/pull/572">samber/lo#572</a></li> </ul> <h3>Refactor</h3> <ul> <li>refactor RandomString function by <a href="https://github.com/pigwantacat"><code>@​pigwantacat</code></a> in <a href="https://redirect.github.com/samber/lo/pull/524">samber/lo#524</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/luxcgo"><code>@​luxcgo</code></a> made their first contribution in <a href="https://redirect.github.com/samber/lo/pull/341">samber/lo#341</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/samber/lo/commit/bc6d6e8b8f5515c7c58a376423923c08b6f723cd"><code>bc6d6e8</code></a> bump v1.49.1</li> <li><a href="https://github.com/samber/lo/commit/96d5482643f324a2f450da153a2431b0efd61b3a"><code>96d5482</code></a> fix(product): fix empty slice behavior (<a href="https://redirect.github.com/samber/lo/issues/583">#583</a>) (<a href="https://redirect.github.com/samber/lo/issues/584">#584</a>)</li> <li><a href="https://github.com/samber/lo/commit/2bdcacae5e8b8bce66b1049bd4ab8c11c0926529"><code>2bdcaca</code></a> doc: add example for Product and ProductBy</li> <li><a href="https://github.com/samber/lo/commit/1c1dfd9d295b6206abf8dd5d58b2233ce6ebff1e"><code>1c1dfd9</code></a> feat: add Product and ProductBy functions (<a href="https://redirect.github.com/samber/lo/issues/566">#566</a>)</li> <li><a href="https://github.com/samber/lo/commit/124d3004ded9bdca19d68ea28f701710561ae7fa"><code>124d300</code></a> feat: adding FilterSliceToMap (<a href="https://redirect.github.com/samber/lo/issues/581">#581</a>)</li> <li><a href="https://github.com/samber/lo/commit/19d8355ae84e216be311b742a30eba5bd62434c6"><code>19d8355</code></a> Merge branch 'Lee-Minjea-feat/throttle'</li> <li><a href="https://github.com/samber/lo/commit/5cd32660f67539bce86825c9f096f0ea3c38164b"><code>5cd3266</code></a> feat: adding ExampleNewThrottleBy and ExampleNewThrottleByWithCount</li> <li><a href="https://github.com/samber/lo/commit/fdd886509abb4fba371ca5673ce384880486d463"><code>fdd8865</code></a> fix: test case fixed</li> <li><a href="https://github.com/samber/lo/commit/27638ea5b726b3cb126549db614b4e9028992d2c"><code>27638ea</code></a> feat: adding NewThrottle (<a href="https://redirect.github.com/samber/lo/issues/396">#396</a>)</li> <li><a href="https://github.com/samber/lo/commit/d5876775c8ba6237cc0dae3b981f7751feac172f"><code>d587677</code></a> feat: faster ChunkEntries</li> <li>Additional commits viewable in <a href="https://github.com/samber/lo/compare/v1.47.0...v1.49.1">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.47.0&new-version=1.49.1)](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>
2 parents cb03068 + fe57bcf commit 4ed97cf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ require (
1111
github.com/onsi/ginkgo/v2 v2.22.2
1212
github.com/onsi/gomega v1.36.2
1313
github.com/pkg/errors v0.9.1
14-
github.com/samber/lo v1.47.0
14+
github.com/samber/lo v1.49.1
1515
github.com/spf13/pflag v1.0.5
16-
github.com/stretchr/testify v1.9.0
16+
github.com/stretchr/testify v1.10.0
1717
go.uber.org/zap v1.27.0
1818
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
1919
k8s.io/api v0.32.2

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0leargg
9292
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
9393
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
9494
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
95-
github.com/samber/lo v1.47.0 h1:z7RynLwP5nbyRscyvcD043DWYoOcYRv3mV8lBeqOCLc=
96-
github.com/samber/lo v1.47.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU=
95+
github.com/samber/lo v1.49.1 h1:4BIFyVfuQSEpluc7Fua+j1NolZHiEHEpaSEKdsH0tew=
96+
github.com/samber/lo v1.49.1/go.mod h1:dO6KHFzUKXgP8LDhU0oI8d2hekjXnGOu0DB8Jecxd6o=
9797
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
9898
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
9999
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -103,8 +103,8 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV
103103
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
104104
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
105105
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
106-
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
107-
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
106+
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
107+
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
108108
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
109109
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
110110
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=

0 commit comments

Comments
 (0)