Skip to content

Commit

Permalink
[TT-13741] [release-5.7] exp/modcheck: Update go.mod dependencies (#6796
Browse files Browse the repository at this point in the history
)

### **User description**
<details open>
<summary><a href="https://tyktech.atlassian.net/browse/TT-13741"
title="TT-13741" target="_blank">TT-13741</a></summary>
  <br />
  <table>
    <tr>
      <th>Summary</th>
      <td>CVE checks for 5.3.9 and 5.7.1</td>
    </tr>
    <tr>
      <th>Type</th>
      <td>
<img alt="Task"
src="https://tyktech.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium"
/>
        Task
      </td>
    </tr>
    <tr>
      <th>Status</th>
      <td>In Dev</td>
    </tr>
    <tr>
      <th>Points</th>
      <td>N/A</td>
    </tr>
    <tr>
      <th>Labels</th>
      <td>-</td>
    </tr>
  </table>
</details>
<!--
  do not remove this marker as it will break jira-lint's functionality.
  added_by_jira_lint
-->

---

Triggered by: titpetric
JIRA: https://tyktech.atlassian.net/browse/TT-13741

| IMPORT | VERSION | LATEST | WARNINGS | CVES |
|:---|:---|:---|:---|:---|
| getkin/kin-openapi | v0.115.0 | v0.128.0 | Held back from upgrade | |
| pires/go-proxyproto | v0.7.0 | v0.8.0 | | 0 of 1 |
| robertkrimen/otto | v0.4.0 | v0.5.1 | | |
| stretchr/testify | v1.9.0 | v1.10.0 | | |
| valyala/fasthttp | v1.55.0 | v1.58.0 | | 0 of 1 |
| golang.org/x/crypto | v0.29.0 | v0.31.0 | | 0 of 11 |
| golang.org/x/net | v0.31.0 | v0.33.0 | | 0 of 17 |
| golang.org/x/sync | v0.9.0 | v0.10.0 | | |
| google.golang.org/grpc | v1.67.1 | v1.69.2 | | 0 of 2 |
| google.golang.org/protobuf | v1.35.1 | v1.36.0 | | 0 of 2 |
| redis/go-redis/v9 | v9.6.1 | v9.7.0 | | |
| IBM/sarama | v1.43.1 | v1.43.3 | | |
| goccy/go-json | v0.10.3 | v0.10.4 | | |
| nats-io/nats.go | v1.37.0 | v1.38.0 | | |
| newrelic/go-agent | v2.13.0 +incompatible | v3.35.1+incompatible |
Held back from upgrade | |
| testcontainers/testcontainers-go | v0.33.0 | v0.34.0 | | |
| testcontainers/testcontainers-go/modules/kafka | v0.33.0 | v0.34.0 | |
|
| testcontainers/testcontainers-go/modules/nats | v0.33.0 | v0.34.0 | |
|
| go.opentelemetry.io/otel | v1.32.0 | v1.33.0 | Held back from upgrade
| |
| go.opentelemetry.io/otel/trace | v1.32.0 | v1.33.0 | Held back from
upgrade | |
| go.uber.org/mock | v0.4.0 | v0.5.0 | | |
| golang.org/x/oauth2 | v0.23.0 | v0.24.0 | | |

<details>
  <summary>Steps performed</summary>

  ~~~
  + go get github.com/pires/[email protected]
go: upgraded github.com/pires/go-proxyproto v0.7.0 => v0.8.0
+ go get github.com/robertkrimen/[email protected]
go: upgraded github.com/robertkrimen/otto v0.4.0 => v0.5.1
+ go get github.com/stretchr/[email protected]
go: upgraded github.com/stretchr/testify v1.9.0 => v1.10.0
+ go get github.com/valyala/[email protected]
go: upgraded github.com/valyala/fasthttp v1.55.0 => v1.58.0
+ go get golang.org/x/[email protected]
go: upgraded golang.org/x/crypto v0.29.0 => v0.31.0
go: upgraded golang.org/x/sync v0.9.0 => v0.10.0
go: upgraded golang.org/x/sys v0.27.0 => v0.28.0
go: upgraded golang.org/x/text v0.20.0 => v0.21.0
+ go get golang.org/x/[email protected]
go: upgraded golang.org/x/net v0.31.0 => v0.33.0
+ go get golang.org/x/[email protected]
+ go get google.golang.org/[email protected]
go: upgraded google.golang.org/grpc v1.67.1 => v1.69.2
+ go get google.golang.org/[email protected]
go: upgraded google.golang.org/protobuf v1.35.1 => v1.36.0
+ go get github.com/redis/go-redis/[email protected]
go: upgraded github.com/redis/go-redis/v9 v9.6.1 => v9.7.0
+ go get github.com/IBM/[email protected]
go: upgraded github.com/IBM/sarama v1.43.1 => v1.43.3
go: upgraded github.com/eapache/go-resiliency v1.6.0 => v1.7.0
+ go get github.com/goccy/[email protected]
go: upgraded github.com/goccy/go-json v0.10.3 => v0.10.4
+ go get github.com/nats-io/[email protected]
go: upgraded github.com/nats-io/nats.go v1.37.0 => v1.38.0
go: upgraded github.com/nats-io/nkeys v0.4.7 => v0.4.9
+ go get github.com/testcontainers/[email protected]
go: upgraded github.com/cpuguy83/dockercfg v0.3.1 => v0.3.2
go: upgraded github.com/testcontainers/testcontainers-go v0.33.0 =>
v0.34.0
+ go get
github.com/testcontainers/testcontainers-go/modules/[email protected]
go: module github.com/testcontainers/[email protected] found,
but does not contain package
github.com/testcontainers/testcontainers-go/modules/kafka
+ go get
github.com/testcontainers/testcontainers-go/modules/[email protected]
go: module github.com/testcontainers/[email protected] found,
but does not contain package
github.com/testcontainers/testcontainers-go/modules/nats
+ go get go.uber.org/[email protected]
go: upgraded go.uber.org/mock v0.4.0 => v0.5.0
+ go get golang.org/x/[email protected]
go: upgraded golang.org/x/oauth2 v0.23.0 => v0.24.0
  ~~~
</details>

<details>
  <summary>go mod tidy output</summary>

  ```
  
  ```
</details>


___

### **PR Type**
dependencies


___

### **Description**
- Updated `go.mod` to upgrade multiple dependencies to their latest
versions, improving compatibility, security, and functionality.
- Updated `go.sum` to reflect the checksum changes corresponding to the
updated dependencies in `go.mod`.
- Key dependency upgrades include:
  - `github.com/pires/go-proxyproto` from v0.7.0 to v0.8.0.
  - `github.com/robertkrimen/otto` from v0.4.0 to v0.5.1.
  - `github.com/stretchr/testify` from v1.9.0 to v1.10.0.
  - `golang.org/x/crypto` from v0.29.0 to v0.31.0.
  - `google.golang.org/grpc` from v1.67.1 to v1.69.2.
  - `golang.org/x/net` from v0.31.0 to v0.33.0.
  - `golang.org/x/sync` from v0.9.0 to v0.10.0.
  - `golang.org/x/text` from v0.20.0 to v0.21.0.



___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Dependencies</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>go.mod</strong><dd><code>Update dependencies in go.mod
to latest versions</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

go.mod

<li>Updated multiple dependencies to newer versions.<br> <li> Improved
compatibility and security by upgrading libraries.<br> <li> Adjusted
indirect dependencies to align with direct dependency <br>updates.<br>


</details>


  </td>
<td><a
href="https://github.com/TykTechnologies/tyk/pull/6796/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6">+21/-21</a>&nbsp;
</td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>go.sum</strong><dd><code>Update go.sum checksums for
dependency updates</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

go.sum

<li>Updated checksums for dependencies in line with go.mod changes.<br>
<li> Ensured integrity and consistency of dependency versions.<br>


</details>


  </td>
<td><a
href="https://github.com/TykTechnologies/tyk/pull/6796/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63">+46/-44</a>&nbsp;
</td>

</tr>
</table></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information

Co-authored-by: titpetric <[email protected]>
  • Loading branch information
buger and titpetric authored Dec 19, 2024
1 parent 809fb6c commit 178b853
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 65 deletions.
42 changes: 21 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,23 @@ require (
github.com/openzipkin/zipkin-go v0.4.3
github.com/oschwald/maxminddb-golang v1.13.1
github.com/paulbellamy/ratecounter v0.2.0
github.com/pires/go-proxyproto v0.7.0
github.com/pires/go-proxyproto v0.8.0
github.com/pmylund/go-cache v2.1.0+incompatible
github.com/robertkrimen/otto v0.4.0
github.com/robertkrimen/otto v0.5.1
github.com/rs/cors v1.11.1
github.com/sirupsen/logrus v1.9.3
github.com/spf13/afero v1.11.0
github.com/stretchr/testify v1.9.0 // test
github.com/stretchr/testify v1.10.0 // test
github.com/uber/jaeger-client-go v2.30.1-0.20220110192849-8d8e8fcfd04d+incompatible
github.com/valyala/fasthttp v1.55.0 // test
github.com/valyala/fasthttp v1.58.0 // test
github.com/vmihailenco/msgpack v4.0.4+incompatible
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/crypto v0.29.0
golang.org/x/net v0.31.0
golang.org/x/sync v0.9.0
google.golang.org/grpc v1.67.1
golang.org/x/crypto v0.31.0
golang.org/x/net v0.33.0
golang.org/x/sync v0.10.0
google.golang.org/grpc v1.69.2
google.golang.org/grpc/examples v0.0.0-20220317213542-f95b001a48df // test
google.golang.org/protobuf v1.35.1
google.golang.org/protobuf v1.36.0
gopkg.in/vmihailenco/msgpack.v2 v2.9.2
gopkg.in/xmlpath.v2 v2.0.0-20150820204837-860cbeca3ebc
gopkg.in/yaml.v3 v3.0.1
Expand All @@ -78,29 +78,29 @@ require (
require (
github.com/TykTechnologies/exp/pkg/limiters v0.0.0-20231219151617-0c4f9315fe5c
github.com/go-redsync/redsync/v4 v4.13.0
github.com/redis/go-redis/v9 v9.6.1
github.com/redis/go-redis/v9 v9.7.0
)

require (
github.com/IBM/sarama v1.43.1
github.com/IBM/sarama v1.43.3
github.com/Jeffail/gabs/v2 v2.7.0
github.com/TykTechnologies/graphql-go-tools/v2 v2.0.0-20240509085643-e95cdc317e1d
github.com/TykTechnologies/kin-openapi v0.90.0
github.com/TykTechnologies/opentelemetry v0.0.22
github.com/alecthomas/kingpin/v2 v2.4.0
github.com/go-redis/redismock/v9 v9.2.0
github.com/goccy/go-json v0.10.3
github.com/goccy/go-json v0.10.4
github.com/google/go-cmp v0.6.0
github.com/nats-io/nats.go v1.37.0
github.com/nats-io/nats.go v1.38.0
github.com/newrelic/go-agent v2.13.0+incompatible
github.com/testcontainers/testcontainers-go v0.33.0
github.com/testcontainers/testcontainers-go v0.34.0
github.com/testcontainers/testcontainers-go/modules/kafka v0.33.0
github.com/testcontainers/testcontainers-go/modules/nats v0.33.0
github.com/warpstreamlabs/bento v1.4.0
go.opentelemetry.io/otel v1.32.0
go.opentelemetry.io/otel/trace v1.32.0
go.uber.org/mock v0.4.0
golang.org/x/oauth2 v0.23.0
go.uber.org/mock v0.5.0
golang.org/x/oauth2 v0.24.0
gopkg.in/yaml.v2 v2.4.0
)

Expand Down Expand Up @@ -133,7 +133,7 @@ require (
github.com/containerd/containerd v1.7.18 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/containerd/platforms v0.2.1 // indirect
github.com/cpuguy83/dockercfg v0.3.1 // indirect
github.com/cpuguy83/dockercfg v0.3.2 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
Expand All @@ -142,7 +142,7 @@ require (
github.com/docker/go-connections v0.5.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/eapache/go-resiliency v1.6.0 // indirect
github.com/eapache/go-resiliency v1.7.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/eclipse/paho.mqtt.golang v1.4.3 // indirect
Expand Down Expand Up @@ -227,7 +227,7 @@ require (
github.com/morikuni/aec v1.0.0 // indirect
github.com/mpvl/unique v0.0.0-20150818121801-cbe035fff7de // indirect
github.com/nats-io/jwt/v2 v2.7.2 // indirect
github.com/nats-io/nkeys v0.4.7 // indirect
github.com/nats-io/nkeys v0.4.9 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/nats-io/stan.go v0.10.4 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
Expand Down Expand Up @@ -287,8 +287,8 @@ require (
go.uber.org/zap v1.27.0 // indirect
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.7.0 // indirect
golang.org/x/tools v0.27.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
Expand Down
Loading

0 comments on commit 178b853

Please sign in to comment.