Skip to content

Commit 1ef9e67

Browse files
committed
downgrade go-difflib and go-spew to tagged releases
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent b73f58a commit 1ef9e67

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

go.mod

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
github.com/containerd/platforms v1.0.0-rc.1
1616
github.com/containerd/typeurl/v2 v2.2.3
1717
github.com/creack/pty v1.1.24
18-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
18+
github.com/davecgh/go-spew v1.1.1
1919
github.com/distribution/reference v0.6.0
2020
github.com/docker/cli v27.5.0+incompatible
2121
github.com/docker/cli-docs-tool v0.9.0
@@ -138,7 +138,7 @@ require (
138138
github.com/modern-go/reflect2 v1.0.2 // indirect
139139
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
140140
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
141-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
141+
github.com/pmezard/go-difflib v1.0.0 // indirect
142142
github.com/prometheus/client_golang v1.20.5 // indirect
143143
github.com/prometheus/client_model v0.6.1 // indirect
144144
github.com/prometheus/common v0.55.0 // indirect
@@ -182,3 +182,12 @@ require (
182182
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
183183
sigs.k8s.io/yaml v1.4.0 // indirect
184184
)
185+
186+
exclude (
187+
// FIXME(thaJeztah): remoove this once kubernetes updated their dependencies to no longer need this.
188+
//
189+
// For additional details, see this PR and links mentioned in that PR:
190+
// https://github.com/kubernetes-sigs/kustomize/pull/5830#issuecomment-2569960859
191+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
192+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
193+
)

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
117117
github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s=
118118
github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE=
119119
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
120+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
120121
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
121-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
122-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
123122
github.com/denisenkom/go-mssqldb v0.0.0-20191128021309-1d7a30a10f73/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU=
124123
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
125124
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
@@ -366,9 +365,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
366365
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
367366
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=
368367
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8=
368+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
369369
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
370-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
371-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
372370
github.com/prometheus/client_golang v0.9.0-pre1.0.20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
373371
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
374372
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ github.com/cpuguy83/go-md2man/v2/md2man
223223
# github.com/creack/pty v1.1.24
224224
## explicit; go 1.18
225225
github.com/creack/pty
226-
# github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
226+
# github.com/davecgh/go-spew v1.1.1
227227
## explicit
228228
github.com/davecgh/go-spew/spew
229229
# github.com/distribution/reference v0.6.0
@@ -654,7 +654,7 @@ github.com/planetscale/vtprotobuf/generator/pattern
654654
github.com/planetscale/vtprotobuf/protohelpers
655655
github.com/planetscale/vtprotobuf/types/known/timestamppb
656656
github.com/planetscale/vtprotobuf/vtproto
657-
# github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
657+
# github.com/pmezard/go-difflib v1.0.0
658658
## explicit
659659
github.com/pmezard/go-difflib/difflib
660660
# github.com/prometheus/client_golang v1.20.5

0 commit comments

Comments
 (0)