diff --git a/go.mod b/go.mod index def4eb681..90027fdd7 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/Masterminds/goutils v1.1.1 - github.com/Masterminds/semver v1.5.0 + github.com/Masterminds/semver/v3 v3.2.1 github.com/Shopify/ejson v1.4.1 github.com/aws/aws-sdk-go v1.44.220 github.com/docker/libkv v0.2.2-0.20180912205406-458977154600 diff --git a/go.sum b/go.sum index b6dd3fa35..e920e8520 100644 --- a/go.sum +++ b/go.sum @@ -478,9 +478,9 @@ github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXY github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= -github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= +github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0= +github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= diff --git a/version/gen/vgen.go b/version/gen/vgen.go index c6c1913b3..25df7e1e1 100644 --- a/version/gen/vgen.go +++ b/version/gen/vgen.go @@ -8,7 +8,7 @@ import ( "os/exec" "strings" - "github.com/Masterminds/semver" + "github.com/Masterminds/semver/v3" ) func main() { diff --git a/version/gen/vgen_test.go b/version/gen/vgen_test.go index 2bbc3e3a8..a9c360e69 100644 --- a/version/gen/vgen_test.go +++ b/version/gen/vgen_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "github.com/Masterminds/semver" + "github.com/Masterminds/semver/v3" "github.com/stretchr/testify/require" )