chore(deps): update github.com/Masterminds/semver/v3 to v3.5.0 (#8699) · updatecli/updatecli@ead73ab · GitHub
Skip to content

Commit ead73ab

Browse files
authored
chore(deps): update github.com/Masterminds/semver/v3 to v3.5.0 (#8699)
Signed-off-by: Olblak <me@olblak.com>
1 parent 742b26f commit ead73ab

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎go.mod‎

Lines changed: 1 addition & 1 deletion

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ
8282
github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE=
8383
github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=
8484
github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
85-
github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0=
86-
github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
85+
github.com/Masterminds/semver/v3 v3.5.0 h1:kQceYJfbupGfZOKZQg0kou0DgAKhzDg2NZPAwZ/2OOE=
86+
github.com/Masterminds/semver/v3 v3.5.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
8787
github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs=
8888
github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0=
8989
github.com/Masterminds/squirrel v1.5.4 h1:uUcX/aBc8O7Fg9kaISIUsHXdKuqehiXAMQTYX8afzqM=

‎pkg/plugins/autodiscovery/npm/utils_test.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func TestConvertVersionConstraintToVersion(t *testing.T) {
116116
{expectedResult: "1.0.0", version: ">=1.0.0"},
117117
{expectedResult: "1.0.0", version: "1.0.0-alpha"},
118118
{expectedResult: "1.0.0", version: "1.0.0+alpha"},
119-
{expectedResult: "", version: "1.0.0_alpha", expectedError: true, expectedErrorMsg: "parsing version constraint \"1.0.0_alpha\": improper constraint: 1.0.0_alpha"},
119+
{expectedResult: "", version: "1.0.0_alpha", expectedError: true, expectedErrorMsg: "parsing version constraint \"1.0.0_alpha\": improper constraint: \"1.0.0_alpha\""},
120120
{expectedResult: "1.0.0", version: "1.0"},
121121
{expectedResult: "1.0.0", version: "1"},
122122
{expectedResult: "1.0.0", version: "~1.0"},
@@ -125,7 +125,7 @@ func TestConvertVersionConstraintToVersion(t *testing.T) {
125125
{expectedResult: "1.0.0", version: ">=1.0.0"},
126126
{expectedResult: "1.0.0", version: "<1.0.0"},
127127
{expectedResult: "1.0.0", version: "<=1.0.0"},
128-
{expectedResult: "", version: "file://../dyl", expectedError: true, expectedErrorMsg: "parsing version constraint \"file://../dyl\": improper constraint: file://../dyl"},
128+
{expectedResult: "", version: "file://../dyl", expectedError: true, expectedErrorMsg: "parsing version constraint \"file://../dyl\": improper constraint: \"file://../dyl\""},
129129
{expectedResult: "1.0.0", version: "<1.0.0 || >= 2.3.1 < 2.4.5 || >=2.5.2 < 3.0.0"},
130130
{expectedResult: "", version: "latest"},
131131
}

‎pkg/plugins/utils/version/semver_test.go‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)