Skip to content

Commit ca1afc5

Browse files
authored
[compliance] Update dependencies due to vulnerabilities (#583)
## Summary Update dependencies ## How was it tested? Ran unit tests ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
1 parent 8df8f85 commit ca1afc5

File tree

11 files changed

+1386
-1650
lines changed

11 files changed

+1386
-1650
lines changed

aisdk/ai/go.mod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ module go.jetify.com/ai
33
go 1.24.0
44

55
require (
6-
github.com/anthropics/anthropic-sdk-go v1.9.1
7-
github.com/google/jsonschema-go v0.2.0
6+
github.com/anthropics/anthropic-sdk-go v1.19.0
7+
github.com/google/jsonschema-go v0.3.0
88
github.com/k0kubun/pp/v3 v3.5.0
9-
github.com/openai/openai-go/v2 v2.1.0
10-
github.com/stretchr/testify v1.10.0
9+
github.com/openai/openai-go/v2 v2.7.1
10+
github.com/stretchr/testify v1.11.1
1111
github.com/tidwall/gjson v1.18.0
1212
go.jetify.com/pkg v0.0.0-20251107190536-8bfcb265d745
1313
go.jetify.com/sse v0.1.0
@@ -20,11 +20,11 @@ require (
2020
github.com/mattn/go-colorable v0.1.14 // indirect
2121
github.com/mattn/go-isatty v0.0.20 // indirect
2222
github.com/pmezard/go-difflib v1.0.0 // indirect
23-
github.com/tidwall/match v1.1.1 // indirect
23+
github.com/tidwall/match v1.2.0 // indirect
2424
github.com/tidwall/pretty v1.2.1 // indirect
2525
github.com/tidwall/sjson v1.2.5 // indirect
26-
golang.org/x/sys v0.35.0 // indirect
27-
golang.org/x/text v0.28.0 // indirect
26+
golang.org/x/sys v0.38.0 // indirect
27+
golang.org/x/text v0.31.0 // indirect
2828
gopkg.in/dnaeon/go-vcr.v4 v4.0.5 // indirect
2929
gopkg.in/yaml.v3 v3.0.1 // indirect
3030
)

aisdk/ai/go.sum

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
github.com/anthropics/anthropic-sdk-go v1.9.1 h1:raRhZKmayVSVZtLpLDd6IsMXvxLeeSU03/2IBTerWlg=
22
github.com/anthropics/anthropic-sdk-go v1.9.1/go.mod h1:WTz31rIUHUHqai2UslPpw5CwXrQP3geYBioRV4WOLvE=
3+
github.com/anthropics/anthropic-sdk-go v1.19.0 h1:mO6E+ffSzLRvR/YUH9KJC0uGw0uV8GjISIuzem//3KE=
4+
github.com/anthropics/anthropic-sdk-go v1.19.0/go.mod h1:WTz31rIUHUHqai2UslPpw5CwXrQP3geYBioRV4WOLvE=
35
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
46
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
57
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -9,6 +11,9 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
911
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
1012
github.com/google/jsonschema-go v0.2.0 h1:Uh19091iHC56//WOsAd1oRg6yy1P9BpSvpjOL6RcjLQ=
1113
github.com/google/jsonschema-go v0.2.0/go.mod h1:r5quNTdLOYEz95Ru18zA0ydNbBuYoo9tgaYcxEYhJVE=
14+
github.com/google/jsonschema-go v0.3.0 h1:6AH2TxVNtk3IlvkkhjrtbUc4S8AvO0Xii0DxIygDg+Q=
15+
github.com/google/jsonschema-go v0.3.0/go.mod h1:r5quNTdLOYEz95Ru18zA0ydNbBuYoo9tgaYcxEYhJVE=
16+
github.com/k0kubun/pp v3.0.1+incompatible h1:3tqvf7QgUnZ5tXO6pNAZlrvHgl6DvifjDrd9g2S9Z40=
1217
github.com/k0kubun/pp/v3 v3.5.0 h1:iYNlYA5HJAJvkD4ibuf9c8y6SHM0QFhaBuCqm1zHp0w=
1318
github.com/k0kubun/pp/v3 v3.5.0/go.mod h1:5lzno5ZZeEeTV/Ky6vs3g6d1U3WarDrH8k240vMtGro=
1419
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
@@ -21,17 +26,23 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
2126
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
2227
github.com/openai/openai-go/v2 v2.1.0 h1:DgxNaVouSn3ClzrtGozyqY6viYwxdjmWJ19liXCVcTU=
2328
github.com/openai/openai-go/v2 v2.1.0/go.mod h1:sIUkR+Cu/PMUVkSKhkk742PRURkQOCFhiwJ7eRSBqmk=
29+
github.com/openai/openai-go/v2 v2.7.1 h1:/tfvTJhfv7hTSL8mWwc5VL4WLLSDL5yn9VqVykdu9r8=
30+
github.com/openai/openai-go/v2 v2.7.1/go.mod h1:jrJs23apqJKKbT+pqtFgNKpRju/KP9zpUTZhz3GElQE=
2431
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
2532
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2633
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
2734
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
2835
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
2936
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
37+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
38+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
3039
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
3140
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
3241
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
3342
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
3443
github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
44+
github.com/tidwall/match v1.2.0 h1:0pt8FlkOwjN2fPt4bIl4BoNxb98gGHN2ObFEDkrfZnM=
45+
github.com/tidwall/match v1.2.0/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
3546
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
3647
github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4=
3748
github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
@@ -44,8 +55,12 @@ go.jetify.com/sse v0.1.0/go.mod h1:zFADPn3Z0aZJe3+PbArGMGwe3oTwHxPZIwNILoRCmU8=
4455
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
4556
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
4657
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
58+
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
59+
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
4760
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
4861
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
62+
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
63+
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
4964
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
5065
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
5166
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=

aisdk/ai/provider/openai/internal/codec/encode_tools.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,17 +212,17 @@ func encodeWebSearchTool(tool *api.ProviderDefinedTool) (responses.ToolUnionPara
212212
}
213213

214214
// Create a web search tool param directly instead of using the helper function
215-
var webSearchParam responses.WebSearchToolParam
216-
webSearchParam.Type = responses.WebSearchToolTypeWebSearchPreview
215+
var webSearchParam responses.WebSearchPreviewToolParam
216+
webSearchParam.Type = responses.WebSearchPreviewToolTypeWebSearchPreview
217217

218218
// Set search context size if provided
219219
if webSearchArgs.SearchContextSize != "" {
220-
webSearchParam.SearchContextSize = responses.WebSearchToolSearchContextSize(webSearchArgs.SearchContextSize)
220+
webSearchParam.SearchContextSize = responses.WebSearchPreviewToolSearchContextSize(webSearchArgs.SearchContextSize)
221221
}
222222

223223
// Set user location if provided
224224
if webSearchArgs.UserLocation != nil {
225-
userLocation := responses.WebSearchToolUserLocationParam{}
225+
userLocation := responses.WebSearchPreviewToolUserLocationParam{}
226226

227227
if webSearchArgs.UserLocation.City != "" {
228228
userLocation.City = openai.String(webSearchArgs.UserLocation.City)

envsec/go.mod

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,84 @@
11
module go.jetify.com/envsec
22

3-
go 1.24.0
3+
go 1.24.2
44

55
require (
6-
connectrpc.com/connect v1.18.1
6+
connectrpc.com/connect v1.19.1
77
github.com/AlecAivazis/survey/v2 v2.3.7
88
github.com/MakeNowJust/heredoc/v2 v2.0.1
9-
github.com/aws/aws-sdk-go-v2 v1.38.0
10-
github.com/aws/aws-sdk-go-v2/config v1.31.0
11-
github.com/aws/aws-sdk-go-v2/credentials v1.18.4
12-
github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.32.0
13-
github.com/aws/aws-sdk-go-v2/service/ssm v1.63.0
14-
github.com/aws/smithy-go v1.22.5
9+
github.com/aws/aws-sdk-go-v2 v1.40.0
10+
github.com/aws/aws-sdk-go-v2/config v1.32.2
11+
github.com/aws/aws-sdk-go-v2/credentials v1.19.2
12+
github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.33.14
13+
github.com/aws/aws-sdk-go-v2/service/ssm v1.67.4
14+
github.com/aws/smithy-go v1.24.0
1515
github.com/charmbracelet/lipgloss v1.1.0
1616
github.com/fatih/color v1.18.0
1717
github.com/hashicorp/go-multierror v1.1.1
1818
github.com/joho/godotenv v1.5.1
1919
github.com/muesli/termenv v0.16.0
20-
github.com/olekukonko/tablewriter v1.0.9
20+
github.com/olekukonko/tablewriter v1.1.2
2121
github.com/pkg/errors v0.9.1
22-
github.com/samber/lo v1.51.0
23-
github.com/spf13/cobra v1.9.1
22+
github.com/samber/lo v1.52.0
23+
github.com/spf13/cobra v1.10.1
2424
go.jetify.com/pkg v0.0.0-20251107190536-8bfcb265d745
25-
golang.org/x/text v0.28.0
25+
golang.org/x/text v0.31.0
2626
)
2727

2828
require (
29-
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.3 // indirect
30-
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.3 // indirect
31-
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.3 // indirect
32-
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
33-
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0 // indirect
34-
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.3 // indirect
35-
github.com/aws/aws-sdk-go-v2/service/sso v1.28.0 // indirect
36-
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.33.0 // indirect
37-
github.com/aws/aws-sdk-go-v2/service/sts v1.37.0 // indirect
29+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.14 // indirect
30+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.14 // indirect
31+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.14 // indirect
32+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 // indirect
33+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.3 // indirect
34+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.14 // indirect
35+
github.com/aws/aws-sdk-go-v2/service/signin v1.0.2 // indirect
36+
github.com/aws/aws-sdk-go-v2/service/sso v1.30.5 // indirect
37+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.10 // indirect
38+
github.com/aws/aws-sdk-go-v2/service/sts v1.41.2 // indirect
3839
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
3940
github.com/bmatcuk/doublestar/v4 v4.9.1 // indirect
40-
github.com/charmbracelet/colorprofile v0.3.2 // indirect
41-
github.com/charmbracelet/x/ansi v0.10.1 // indirect
42-
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
43-
github.com/charmbracelet/x/term v0.2.1 // indirect
44-
github.com/coreos/go-oidc/v3 v3.15.0 // indirect
41+
github.com/charmbracelet/colorprofile v0.3.3 // indirect
42+
github.com/charmbracelet/x/ansi v0.11.2 // indirect
43+
github.com/charmbracelet/x/cellbuf v0.0.14 // indirect
44+
github.com/charmbracelet/x/term v0.2.2 // indirect
45+
github.com/clipperhouse/displaywidth v0.6.1 // indirect
46+
github.com/clipperhouse/stringish v0.1.1 // indirect
47+
github.com/clipperhouse/uax29/v2 v2.3.0 // indirect
48+
github.com/coreos/go-oidc/v3 v3.17.0 // indirect
4549
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
4650
github.com/creack/pty v1.1.24 // indirect
47-
github.com/go-jose/go-jose/v4 v4.1.2 // indirect
48-
github.com/goccy/go-yaml v1.18.0 // indirect
51+
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
52+
github.com/goccy/go-yaml v1.19.0 // indirect
4953
github.com/gofrs/uuid/v5 v5.4.0 // indirect
50-
github.com/google/go-cmp v0.7.0 // indirect
51-
github.com/google/renameio/v2 v2.0.0 // indirect
54+
github.com/google/renameio/v2 v2.0.1 // indirect
5255
github.com/gosimple/slug v1.15.0 // indirect
5356
github.com/gosimple/unidecode v1.0.1 // indirect
5457
github.com/hashicorp/errwrap v1.1.0 // indirect
5558
github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 // indirect
5659
github.com/inconshreveable/mousetrap v1.1.0 // indirect
5760
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
5861
github.com/kr/text v0.2.0 // indirect
59-
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
62+
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
6063
github.com/mattn/go-colorable v0.1.14 // indirect
6164
github.com/mattn/go-isatty v0.0.20 // indirect
62-
github.com/mattn/go-runewidth v0.0.16 // indirect
65+
github.com/mattn/go-runewidth v0.0.19 // indirect
6366
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
67+
github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 // indirect
6468
github.com/olekukonko/errors v1.1.0 // indirect
65-
github.com/olekukonko/ll v0.0.9 // indirect
69+
github.com/olekukonko/ll v0.1.3 // indirect
6670
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
6771
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
6872
github.com/rivo/uniseg v0.4.7 // indirect
6973
github.com/russross/blackfriday/v2 v2.1.0 // indirect
70-
github.com/spf13/pflag v1.0.7 // indirect
74+
github.com/spf13/pflag v1.0.10 // indirect
7175
github.com/tailscale/hujson v0.0.0-20250605163823-992244df8c5a // indirect
7276
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
7377
go.jetify.com/typeid/v2 v2.0.0-alpha.3 // indirect
74-
golang.org/x/crypto v0.41.0 // indirect
7578
golang.org/x/exp v0.0.0-20250717185816-542afb5b7346 // indirect
76-
golang.org/x/oauth2 v0.30.0 // indirect
77-
golang.org/x/sys v0.35.0 // indirect
78-
golang.org/x/term v0.34.0 // indirect
79-
google.golang.org/protobuf v1.36.7 // indirect
79+
golang.org/x/oauth2 v0.33.0 // indirect
80+
golang.org/x/sys v0.38.0 // indirect
81+
golang.org/x/term v0.37.0 // indirect
82+
google.golang.org/protobuf v1.36.10 // indirect
8083
gopkg.in/yaml.v3 v3.0.1 // indirect
8184
)

0 commit comments

Comments
 (0)