From 370e4b8b8d9f1e308804af4646689c889f326b22 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 2 Jul 2024 11:36:19 -0700
Subject: [PATCH] Update module github.com/samber/lo to v1.44.0 (#33853)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/samber/lo](https://togithub.com/samber/lo) | `v1.39.0` ->
`v1.44.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsamber%2flo/v1.44.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsamber%2flo/v1.44.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsamber%2flo/v1.39.0/v1.44.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsamber%2flo/v1.39.0/v1.44.0?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
samber/lo (github.com/samber/lo)
### [`v1.44.0`](https://togithub.com/samber/lo/releases/tag/v1.44.0)
[Compare
Source](https://togithub.com/samber/lo/compare/v1.43.0...v1.44.0)
#### What's Changed
- feat: Add slice Splice an element or multiple elements at index i. by
[@wenlingang](https://togithub.com/wenlingang) in
[https://github.com/samber/lo/pull/371](https://togithub.com/samber/lo/pull/371)
- feat: Make Filter() preserve type. by
[@FGasper](https://togithub.com/FGasper) in
[https://github.com/samber/lo/pull/365](https://togithub.com/samber/lo/pull/365)
- feat: Added DropByIndex helper for slice by
[@phith0n](https://togithub.com/phith0n) in
[https://github.com/samber/lo/pull/398](https://togithub.com/samber/lo/pull/398)
- feat: upgrade to math/rand/v2 by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/483](https://togithub.com/samber/lo/pull/483)
- chore: remove `golang.org/x/exp` since it doesn't follow go 1
compatibility promise by [@trim21](https://togithub.com/trim21)
in
[https://github.com/samber/lo/pull/478](https://togithub.com/samber/lo/pull/478)
#### New Contributors
- [@wenlingang](https://togithub.com/wenlingang) made their first
contribution in
[https://github.com/samber/lo/pull/371](https://togithub.com/samber/lo/pull/371)
- [@jason-zhj](https://togithub.com/jason-zhj) made their first
contribution in
[https://github.com/samber/lo/pull/376](https://togithub.com/samber/lo/pull/376)
- [@FGasper](https://togithub.com/FGasper) made their first
contribution in
[https://github.com/samber/lo/pull/365](https://togithub.com/samber/lo/pull/365)
- [@phith0n](https://togithub.com/phith0n) made their first
contribution in
[https://github.com/samber/lo/pull/398](https://togithub.com/samber/lo/pull/398)
**Full Changelog**:
https://github.com/samber/lo/compare/v1.43.0...v1.44.0
### [`v1.43.0`](https://togithub.com/samber/lo/releases/tag/v1.43.0)
[Compare
Source](https://togithub.com/samber/lo/compare/v1.42.0...v1.43.0)
#### What's Changed
- feat: adding HasKey by [@samber](https://togithub.com/samber)
in
[https://github.com/samber/lo/pull/477](https://togithub.com/samber/lo/pull/477)
- feat: adding lo.WaitFor by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/269](https://togithub.com/samber/lo/pull/269)
- improvement: Optimize the performance of union method, avoid repeated
expansion by [@cwb2819259](https://togithub.com/cwb2819259) in
[https://github.com/samber/lo/pull/397](https://togithub.com/samber/lo/pull/397)
#### New Contributors
- [@cwb2819259](https://togithub.com/cwb2819259) made their first
contribution in
[https://github.com/samber/lo/pull/397](https://togithub.com/samber/lo/pull/397)
**Full Changelog**:
https://github.com/samber/lo/compare/v1.42.0...v1.43.0
### [`v1.42.0`](https://togithub.com/samber/lo/releases/tag/v1.42.0)
[Compare
Source](https://togithub.com/samber/lo/compare/v1.41.0...v1.42.0)
#### What's Changed
- feat: add Nil by [@gubtos](https://togithub.com/gubtos) in
[https://github.com/samber/lo/pull/383](https://togithub.com/samber/lo/pull/383)
- feat: Add First and FirstOrZeroValue functions by
[@Alireza-Kiani](https://togithub.com/Alireza-Kiani) in
[https://github.com/samber/lo/pull/451](https://togithub.com/samber/lo/pull/451)
- feat: adding LastOrEmpty and LastOr by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/474](https://togithub.com/samber/lo/pull/474)
- feat: Feature/contains iterate by index by
[@lennon-guan](https://togithub.com/lennon-guan) in
[https://github.com/samber/lo/pull/428](https://togithub.com/samber/lo/pull/428)
- feat: speed up loops by reducing allocations by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/475](https://togithub.com/samber/lo/pull/475)
- doc: inconsistent expression in README.md by
[@rolancia](https://togithub.com/rolancia) in
[https://github.com/samber/lo/pull/406](https://togithub.com/samber/lo/pull/406)
#### New Contributors
- [@gubtos](https://togithub.com/gubtos) made their first
contribution in
[https://github.com/samber/lo/pull/383](https://togithub.com/samber/lo/pull/383)
- [@Alireza-Kiani](https://togithub.com/Alireza-Kiani) made their
first contribution in
[https://github.com/samber/lo/pull/451](https://togithub.com/samber/lo/pull/451)
- [@rolancia](https://togithub.com/rolancia) made their first
contribution in
[https://github.com/samber/lo/pull/406](https://togithub.com/samber/lo/pull/406)
- [@lennon-guan](https://togithub.com/lennon-guan) made their
first contribution in
[https://github.com/samber/lo/pull/428](https://togithub.com/samber/lo/pull/428)
**Full Changelog**:
https://github.com/samber/lo/compare/v1.41.0...v1.42.0
### [`v1.41.0`](https://togithub.com/samber/lo/releases/tag/v1.41.0)
[Compare
Source](https://togithub.com/samber/lo/compare/v1.40.0...v1.41.0)
#### What's Changed
- feat: adding Elipse by [@samber](https://togithub.com/samber)
in
[https://github.com/samber/lo/pull/470](https://togithub.com/samber/lo/pull/470)
- feat: adding CoalesceOrEmpty by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/469](https://togithub.com/samber/lo/pull/469)
- feat: adding Earliest and Latest by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/468](https://togithub.com/samber/lo/pull/468)
- feat: adding duration by [@samber](https://togithub.com/samber)
in
[https://github.com/samber/lo/pull/471](https://togithub.com/samber/lo/pull/471)
- feat: adding FilterReject by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/472](https://togithub.com/samber/lo/pull/472)
- feat: adding RejectMap by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/473](https://togithub.com/samber/lo/pull/473)
**Full Changelog**:
https://github.com/samber/lo/compare/v1.34.0...v1.41.0
### [`v1.40.0`](https://togithub.com/samber/lo/releases/tag/v1.40.0)
[Compare
Source](https://togithub.com/samber/lo/compare/v1.39.0...v1.40.0)
#### What's Changed
##### Improvements
- Use map indexing to speed up PickByKeys and OmitByKeys by
[@ericleb010](https://togithub.com/ericleb010) in
[https://github.com/samber/lo/pull/447](https://togithub.com/samber/lo/pull/447)
- ToSlicePtr: reduce allocations and improving speed by
[@yanmhlv](https://togithub.com/yanmhlv) in
[https://github.com/samber/lo/pull/465](https://togithub.com/samber/lo/pull/465)
- Feat: Adding zipby + unzipby by
[@samber](https://togithub.com/samber) in
[https://github.com/samber/lo/pull/449](https://togithub.com/samber/lo/pull/449)
- feat: add string conversion functions by
[@eiixy](https://togithub.com/eiixy) in
[https://github.com/samber/lo/pull/466](https://togithub.com/samber/lo/pull/466)
- Adding Mean and MeanBy by
[@usman1100](https://togithub.com/usman1100) in
[https://github.com/samber/lo/pull/414](https://togithub.com/samber/lo/pull/414)
##### Doc & style
- Fix typos by [@szepeviktor](https://togithub.com/szepeviktor)
in
[https://github.com/samber/lo/pull/384](https://togithub.com/samber/lo/pull/384)
- fix: instantiate typo by
[@testwill](https://togithub.com/testwill) in
[https://github.com/samber/lo/pull/374](https://togithub.com/samber/lo/pull/374)
- Fix typo in README.md by
[@eltociear](https://togithub.com/eltociear) in
[https://github.com/samber/lo/pull/369](https://togithub.com/samber/lo/pull/369)
- docs: update description for FindOrElse by
[@slomek](https://togithub.com/slomek) in
[https://github.com/samber/lo/pull/370](https://togithub.com/samber/lo/pull/370)
- style: no extra any type parameter by
[@d-enk](https://togithub.com/d-enk) in
[https://github.com/samber/lo/pull/429](https://togithub.com/samber/lo/pull/429)
- Fix IsNil link for pkg.go.dev by
[@invzhi](https://togithub.com/invzhi) in
[https://github.com/samber/lo/pull/418](https://togithub.com/samber/lo/pull/418)
- Docs: should use type int64 for lo.FlatMap in example by
[@apriil15](https://togithub.com/apriil15) in
[https://github.com/samber/lo/pull/435](https://togithub.com/samber/lo/pull/435)
##### CI
- CI: tests on multi go versions by
[@jiro4989](https://togithub.com/jiro4989) in
[https://github.com/samber/lo/pull/445](https://togithub.com/samber/lo/pull/445)
#### New Contributors
- [@szepeviktor](https://togithub.com/szepeviktor) made their
first contribution in
[https://github.com/samber/lo/pull/384](https://togithub.com/samber/lo/pull/384)
- [@testwill](https://togithub.com/testwill) made their first
contribution in
[https://github.com/samber/lo/pull/374](https://togithub.com/samber/lo/pull/374)
- [@eltociear](https://togithub.com/eltociear) made their first
contribution in
[https://github.com/samber/lo/pull/369](https://togithub.com/samber/lo/pull/369)
- [@slomek](https://togithub.com/slomek) made their first
contribution in
[https://github.com/samber/lo/pull/370](https://togithub.com/samber/lo/pull/370)
- [@ericleb010](https://togithub.com/ericleb010) made their first
contribution in
[https://github.com/samber/lo/pull/447](https://togithub.com/samber/lo/pull/447)
- [@yanmhlv](https://togithub.com/yanmhlv) made their first
contribution in
[https://github.com/samber/lo/pull/465](https://togithub.com/samber/lo/pull/465)
- [@eiixy](https://togithub.com/eiixy) made their first
contribution in
[https://github.com/samber/lo/pull/466](https://togithub.com/samber/lo/pull/466)
- [@jiro4989](https://togithub.com/jiro4989) made their first
contribution in
[https://github.com/samber/lo/pull/445](https://togithub.com/samber/lo/pull/445)
- [@d-enk](https://togithub.com/d-enk) made their first
contribution in
[https://github.com/samber/lo/pull/429](https://togithub.com/samber/lo/pull/429)
- [@usman1100](https://togithub.com/usman1100) made their first
contribution in
[https://github.com/samber/lo/pull/414](https://togithub.com/samber/lo/pull/414)
- [@invzhi](https://togithub.com/invzhi) made their first
contribution in
[https://github.com/samber/lo/pull/418](https://togithub.com/samber/lo/pull/418)
- [@apriil15](https://togithub.com/apriil15) made their first
contribution in
[https://github.com/samber/lo/pull/435](https://togithub.com/samber/lo/pull/435)
**Full Changelog**:
https://github.com/samber/lo/compare/v1.39.0...v1.40.0
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (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.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Yang Song
---
exporter/kineticaexporter/go.mod | 5 ++---
exporter/kineticaexporter/go.sum | 10 ++++------
2 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/exporter/kineticaexporter/go.mod b/exporter/kineticaexporter/go.mod
index 6edd06c3756a..917c72f6f2aa 100644
--- a/exporter/kineticaexporter/go.mod
+++ b/exporter/kineticaexporter/go.mod
@@ -5,7 +5,7 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/kineticadb/kinetica-api-go v0.0.5
- github.com/samber/lo v1.39.0
+ github.com/samber/lo v1.44.0
github.com/stretchr/testify v1.9.0
github.com/wk8/go-ordered-map/v2 v2.1.8
go.opentelemetry.io/collector/component v0.104.0
@@ -62,10 +62,9 @@ require (
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
- golang.org/x/exp v0.0.0-20240409090435-93d18d7e34b8 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.21.0 // indirect
- golang.org/x/text v0.15.0 // indirect
+ golang.org/x/text v0.16.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
diff --git a/exporter/kineticaexporter/go.sum b/exporter/kineticaexporter/go.sum
index f810b1b1728f..4b1e3cbc4a88 100644
--- a/exporter/kineticaexporter/go.sum
+++ b/exporter/kineticaexporter/go.sum
@@ -77,8 +77,8 @@ github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI
github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA=
-github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA=
+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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
@@ -142,8 +142,6 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
-golang.org/x/exp v0.0.0-20240409090435-93d18d7e34b8 h1:ESSUROHIBHg7USnszlcdmjBEwdMj9VUvU+OPk4yl2mc=
-golang.org/x/exp v0.0.0-20240409090435-93d18d7e34b8/go.mod h1:/lliqkxwWAhPjf5oSOIJup2XcqJaw8RGS6k3TGEc7GI=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
@@ -190,8 +188,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
-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.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=
golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=