Skip to content

Commit eb3432a

Browse files
authored
Merge pull request #752 from saschagrunert/semver-v4
Switch to `github.com/blang/semver/v4`
2 parents f9745d3 + 62ac333 commit eb3432a

File tree

13 files changed

+76
-223
lines changed

13 files changed

+76
-223
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/opencontainers/runtime-tools
33
go 1.16
44

55
require (
6-
github.com/blang/semver v3.5.0+incompatible
6+
github.com/blang/semver/v4 v4.0.0
77
github.com/google/uuid v1.3.0
88
github.com/hashicorp/go-multierror v1.1.1
99
github.com/mndrix/tap-go v0.0.0-20171203230836-629fa407e90b

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/blang/semver v3.5.0+incompatible h1:CGxCgetQ64DKk7rdZ++Vfnb1+ogGNnB17OJKJXD2Cfs=
2-
github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
1+
github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=
2+
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
33
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
44
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
55
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

validate/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"unicode"
1717
"unicode/utf8"
1818

19-
"github.com/blang/semver"
19+
"github.com/blang/semver/v4"
2020
"github.com/hashicorp/go-multierror"
2121
rspec "github.com/opencontainers/runtime-spec/specs-go"
2222
osFilepath "github.com/opencontainers/runtime-tools/filepath"

vendor/github.com/blang/semver/README.md

Lines changed: 0 additions & 191 deletions
This file was deleted.

vendor/github.com/blang/semver/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.
File renamed without changes.

vendor/github.com/blang/semver/v4/go.mod

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

vendor/github.com/blang/semver/range.go renamed to vendor/github.com/blang/semver/v4/range.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/blang/semver/semver.go renamed to vendor/github.com/blang/semver/v4/semver.go

Lines changed: 65 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)