Update go-version v1.2.3 -> v1.2.4 (#13169)
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
parent
12a1f914f4
commit
b222dbc1d1
6 changed files with 17 additions and 11 deletions
2
go.mod
2
go.mod
|
@ -129,4 +129,4 @@ require (
|
||||||
xorm.io/xorm v1.0.5
|
xorm.io/xorm v1.0.5
|
||||||
)
|
)
|
||||||
|
|
||||||
replace github.com/hashicorp/go-version => github.com/6543/go-version v1.2.3
|
replace github.com/hashicorp/go-version => github.com/6543/go-version v1.2.4
|
||||||
|
|
4
go.sum
4
go.sum
|
@ -71,8 +71,8 @@ gitea.com/macaron/toolbox v0.0.0-20190822013122-05ff0fc766b7 h1:N9QFoeNsUXLhl14m
|
||||||
gitea.com/macaron/toolbox v0.0.0-20190822013122-05ff0fc766b7/go.mod h1:kgsbFPPS4P+acDYDOPDa3N4IWWOuDJt5/INKRUz7aks=
|
gitea.com/macaron/toolbox v0.0.0-20190822013122-05ff0fc766b7/go.mod h1:kgsbFPPS4P+acDYDOPDa3N4IWWOuDJt5/INKRUz7aks=
|
||||||
gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s=
|
gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s=
|
||||||
gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod h1:EXuID2Zs0pAQhH8yz+DNjUbjppKQzKFAn28TMYPB6IU=
|
gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod h1:EXuID2Zs0pAQhH8yz+DNjUbjppKQzKFAn28TMYPB6IU=
|
||||||
github.com/6543/go-version v1.2.3 h1:uF30BawMhoQLzqBeCwhFcWM6HVxlzMHe/zXbzJeKP+o=
|
github.com/6543/go-version v1.2.4 h1:MPsSnqNrM0HwA9tnmWNnsMdQMg4/u4fflARjwomoof4=
|
||||||
github.com/6543/go-version v1.2.3/go.mod h1:fcfWh4zkneEgGXe8JJptiGwp8l6JgJJgS7oTw6P83So=
|
github.com/6543/go-version v1.2.4/go.mod h1:oqFAHCwtLVUTLdhQmVZWYvaHXTdsbB4SY85at64SQEo=
|
||||||
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c h1:/IBSNwUN8+eKzUzbJPqhK839ygXJ82sde8x3ogr6R28=
|
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c h1:/IBSNwUN8+eKzUzbJPqhK839ygXJ82sde8x3ogr6R28=
|
||||||
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU=
|
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU=
|
||||||
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
|
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
|
||||||
|
|
4
vendor/github.com/hashicorp/go-version/README.md
generated
vendored
4
vendor/github.com/hashicorp/go-version/README.md
generated
vendored
|
@ -1,6 +1,6 @@
|
||||||
# Versioning Library for Go
|
# Versioning Library for Go
|
||||||
[![Build Status](https://circleci.com/gh/hashicorp/go-version/tree/master.svg?style=svg)](https://circleci.com/gh/hashicorp/go-version/tree/master)
|
![Build Status](https://github.com/6543/go-version/workflows/Release/badge.svg)
|
||||||
[![GoDoc](https://godoc.org/github.com/hashicorp/go-version?status.svg)](https://godoc.org/github.com/hashicorp/go-version)
|
[![GoDoc](https://godoc.org/github.com/6543/go-version?status.svg)](https://godoc.org/github.com/6543/go-version)
|
||||||
|
|
||||||
go-version is a library for parsing versions and version constraints,
|
go-version is a library for parsing versions and version constraints,
|
||||||
and verifying versions against a set of constraints. go-version
|
and verifying versions against a set of constraints. go-version
|
||||||
|
|
2
vendor/github.com/hashicorp/go-version/go.mod
generated
vendored
2
vendor/github.com/hashicorp/go-version/go.mod
generated
vendored
|
@ -1 +1,3 @@
|
||||||
module github.com/6543/go-version
|
module github.com/6543/go-version
|
||||||
|
|
||||||
|
go 1.15
|
||||||
|
|
12
vendor/github.com/hashicorp/go-version/version.go
generated
vendored
12
vendor/github.com/hashicorp/go-version/version.go
generated
vendored
|
@ -18,10 +18,14 @@ var (
|
||||||
// The raw regular expression string used for testing the validity
|
// The raw regular expression string used for testing the validity
|
||||||
// of a version.
|
// of a version.
|
||||||
const (
|
const (
|
||||||
VersionRegexpRaw string = `[vV]?([0-9]+(\.[0-9]+)*?)` +
|
VersionRegexpRaw string = `[vV]?` + // Optional [vV] prefix
|
||||||
`(-([0-9]+[0-9A-Za-z\-~]*(\.[0-9A-Za-z\-~]+)*)|(-?([A-Za-z\-~]+[0-9A-Za-z\-~]*(\.[0-9A-Za-z\-~]+)*)))?` +
|
`([0-9]+(\.[0-9]+)*?)` + // ( MajorNum ( '.' MinorNums ) *? )
|
||||||
`(\+([0-9A-Za-z\-~]+(\.[0-9A-Za-z\-~]+)*))?` +
|
`(-` + // Followed by (optionally): ( '-'
|
||||||
`([\+\.\-~]g[0-9A-Fa-f]{10}$)?` +
|
`([0-9]+[0-9A-Za-z\-~]*(\.[0-9A-Za-z\-~]+)*)` + // Either ( PreNum String ( '.' OtherString ) * )
|
||||||
|
`|` +
|
||||||
|
`([-\.]?([A-Za-z\-~]+[0-9A-Za-z\-~]*(\.[0-9A-Za-z\-~]+)*)))?` + // Or ( ['-' '.' ] ? ( AlphaHyphenTilde String * ( '.' String ) * ))) ?
|
||||||
|
`(\+([0-9A-Za-z\-~]+(\.[0-9A-Za-z\-~]+)*))?` + // and more Optionally: ( '+' String ( '.' String ) * )
|
||||||
|
`([\+\.\-~]g[0-9A-Fa-f]{10}$)?` + // Optionally a: ( Punct 'g' Sha )
|
||||||
`?`
|
`?`
|
||||||
|
|
||||||
// SemverRegexpRaw requires a separator between version and prerelease
|
// SemverRegexpRaw requires a separator between version and prerelease
|
||||||
|
|
4
vendor/modules.txt
vendored
4
vendor/modules.txt
vendored
|
@ -444,7 +444,7 @@ github.com/hashicorp/go-cleanhttp
|
||||||
# github.com/hashicorp/go-retryablehttp v0.6.7
|
# github.com/hashicorp/go-retryablehttp v0.6.7
|
||||||
## explicit
|
## explicit
|
||||||
github.com/hashicorp/go-retryablehttp
|
github.com/hashicorp/go-retryablehttp
|
||||||
# github.com/hashicorp/go-version v1.2.1 => github.com/6543/go-version v1.2.3
|
# github.com/hashicorp/go-version v1.2.1 => github.com/6543/go-version v1.2.4
|
||||||
## explicit
|
## explicit
|
||||||
github.com/hashicorp/go-version
|
github.com/hashicorp/go-version
|
||||||
# github.com/hashicorp/hcl v1.0.0
|
# github.com/hashicorp/hcl v1.0.0
|
||||||
|
@ -1002,4 +1002,4 @@ xorm.io/xorm/log
|
||||||
xorm.io/xorm/names
|
xorm.io/xorm/names
|
||||||
xorm.io/xorm/schemas
|
xorm.io/xorm/schemas
|
||||||
xorm.io/xorm/tags
|
xorm.io/xorm/tags
|
||||||
# github.com/hashicorp/go-version => github.com/6543/go-version v1.2.3
|
# github.com/hashicorp/go-version => github.com/6543/go-version v1.2.4
|
||||||
|
|
Loading…
Reference in a new issue