Skip to content

Commit 82d59ef

Browse files
authored
chore(deps): Bump semver package version from v1 to v3 (#625)
Signed-off-by: Jinsu Park <dev.umijs@gmail.com>
1 parent 420bd97 commit 82d59ef

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/argoproj-labs/argocd-image-updater
33
go 1.20
44

55
require (
6-
github.com/Masterminds/semver v1.5.0
6+
github.com/Masterminds/semver/v3 v3.2.1
77
github.com/argoproj/argo-cd/v2 v2.7.9
88
github.com/argoproj/gitops-engine v0.7.1-0.20230607163028-425d65e07695
99
github.com/argoproj/pkg v0.13.7-0.20230627120311-a4dd357b057e
@@ -42,7 +42,6 @@ require (
4242
github.com/Azure/go-autorest/logger v0.2.1 // indirect
4343
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
4444
github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd // indirect
45-
github.com/Masterminds/semver/v3 v3.2.0 // indirect
4645
github.com/Microsoft/go-winio v0.6.1 // indirect
4746
github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect
4847
github.com/acomagu/bufpipe v1.0.4 // indirect

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,8 @@ github.com/GoogleCloudPlatform/k8s-cloud-provider v1.16.1-0.20210702024009-ea616
420420
github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab/go.mod h1:3VYc5hodBMJ5+l/7J4xAyMeuM2PNuepvHlGs8yilUCA=
421421
github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd h1:sjQovDkwrZp8u+gxLtPgKGjk5hCxuy2hrRejBTA9xFU=
422422
github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd/go.mod h1:64YHyfSL2R96J44Nlwm39UHepQbyR5q10x7iYa1ks2E=
423-
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
424-
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
425-
github.com/Masterminds/semver/v3 v3.2.0 h1:3MEsd0SM6jqZojhjLWWeBY+Kcjy9i6MQAeY7YgDP83g=
426-
github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
423+
github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0=
424+
github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
427425
github.com/Microsoft/go-winio v0.4.15/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
428426
github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
429427
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=

pkg/image/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/argoproj-labs/argocd-image-updater/pkg/options"
88
"github.com/argoproj-labs/argocd-image-updater/pkg/tag"
99

10-
"github.com/Masterminds/semver"
10+
"github.com/Masterminds/semver/v3"
1111
)
1212

1313
// VersionSortMode defines the method to sort a list of tags

pkg/tag/semver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package tag
22

3-
import "github.com/Masterminds/semver"
3+
import "github.com/Masterminds/semver/v3"
44

55
// semverCollection is a replacement for semver.Collection that breaks version
66
// comparison ties through a lexical comparison of the original version strings.

pkg/tag/tag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/argoproj-labs/argocd-image-updater/pkg/log"
1010

11-
"github.com/Masterminds/semver"
11+
"github.com/Masterminds/semver/v3"
1212
)
1313

1414
// ImageTag is a representation of an image tag with metadata

0 commit comments

Comments
 (0)