mirror of
https://github.com/fatedier/frp.git
synced 2026-11-05 07:51:36 +08:00
deps: bump k8s.io libraries to v0.37.2 (#5602)
Upgrade k8s.io/apimachinery and k8s.io/client-go from v0.28.8 to v0.37.2, the latest stable minor, and k8s.io/utils from its 2023 pseudo-version to v0.0.0-20261023123148-ca04ba58ecab. The go and toolchain lines are unchanged. The upgrade is possible now because the annotation key check no longer imports apimachinery's util/validation package, so apimachinery's klog dependency does not reach frpc/frps; both binaries stay free of klog and client-go remains test-only. Indirect changes: sigs.k8s.io/yaml 1.3.0 -> 1.6.0 on top of go.yaml.in/yaml/v2, sigs.k8s.io/json updated to 2025-07-30, and gorilla/websocket moved by MVS from v1.5.3 to the 2025-03 pseudo-version v1.5.4-0.20250319132907-e064f32e3674, which apimachinery v0.37.2 requires. gopkg.in/yaml.v2 leaves the module graph. YAML and configuration parsing behave the same before and after: the apimachinery YAML helper produces identical output on sample documents, and frp's LoadConfigure output is byte-identical for YAML client/server configs, strict dot-field handling, and JSON input. This is not a security fix: govulncheck results are unchanged (11 reachable standard-library advisories only). Binary size changes by +368 bytes for frpc and +496 bytes for frps with embedded web assets.
This commit is contained in:
@@ -9,7 +9,7 @@ require (
|
||||
github.com/fatedier/yamux v0.3.0
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/gorilla/mux v1.8.1
|
||||
github.com/gorilla/websocket v1.5.3
|
||||
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674
|
||||
github.com/onsi/ginkgo/v2 v2.34.0
|
||||
github.com/onsi/gomega v1.44.0
|
||||
github.com/pelletier/go-toml/v2 v2.4.3
|
||||
@@ -35,9 +35,9 @@ require (
|
||||
golang.org/x/time v0.16.0
|
||||
golang.zx2c4.com/wireguard v0.0.0-20231211153847-12269c276173
|
||||
gopkg.in/ini.v1 v1.67.3
|
||||
k8s.io/apimachinery v0.28.8
|
||||
k8s.io/client-go v0.28.8
|
||||
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2
|
||||
k8s.io/apimachinery v0.37.2
|
||||
k8s.io/client-go v0.37.2
|
||||
k8s.io/utils v0.0.0-20261023123148-ca04ba58ecab
|
||||
)
|
||||
|
||||
require (
|
||||
@@ -63,13 +63,13 @@ require (
|
||||
github.com/tidwall/pretty v1.2.1 // indirect
|
||||
github.com/tjfoc/gmsm v1.4.1 // indirect
|
||||
github.com/vishvananda/netns v0.0.5 // indirect
|
||||
go.yaml.in/yaml/v2 v2.4.4 // indirect
|
||||
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
||||
golang.org/x/mod v0.41.0 // indirect
|
||||
golang.org/x/text v0.43.0 // indirect
|
||||
golang.org/x/tools v0.51.0 // indirect
|
||||
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
|
||||
google.golang.org/protobuf v1.36.12 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
||||
sigs.k8s.io/yaml v1.3.0 // indirect
|
||||
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
|
||||
sigs.k8s.io/yaml v1.6.0 // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user