diff options
| author | 2023-08-28 07:12:40 +0000 | |
|---|---|---|
| committer | 2023-08-28 07:12:40 +0000 | |
| commit | 2ec313a21fee25f5022e748315ea5e7d587384f6 (patch) | |
| tree | 649b04a17d7fd5ac0d0e02148b3643c6e36e75e3 | |
| parent | [chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.6 to 0.3.0 (#2165) (diff) | |
| download | gotosocial-2ec313a21fee25f5022e748315ea5e7d587384f6.tar.xz | |
[chore]: Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#2166)
| -rw-r--r-- | go.mod | 2 | ||||
| -rw-r--r-- | go.sum | 4 | ||||
| -rw-r--r-- | vendor/github.com/google/uuid/.travis.yml | 9 | ||||
| -rw-r--r-- | vendor/github.com/google/uuid/CHANGELOG.md | 10 | ||||
| -rw-r--r-- | vendor/github.com/google/uuid/CONTRIBUTING.md | 16 | ||||
| -rw-r--r-- | vendor/github.com/google/uuid/README.md | 10 | ||||
| -rw-r--r-- | vendor/github.com/google/uuid/node_js.go | 2 | ||||
| -rw-r--r-- | vendor/github.com/google/uuid/uuid.go | 10 | ||||
| -rw-r--r-- | vendor/modules.txt | 2 | 
9 files changed, 43 insertions, 22 deletions
@@ -28,7 +28,7 @@ require (  	github.com/gin-gonic/gin v1.9.1  	github.com/go-fed/httpsig v1.1.0  	github.com/go-playground/form/v4 v4.2.1 -	github.com/google/uuid v1.3.0 +	github.com/google/uuid v1.3.1  	github.com/gorilla/feeds v1.1.1  	github.com/gorilla/websocket v1.5.0  	github.com/h2non/filetype v1.1.3 @@ -318,8 +318,8 @@ github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 h1:Xim43kblpZXfIBQsbu  github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=  github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=  github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=  github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=  github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=  github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= diff --git a/vendor/github.com/google/uuid/.travis.yml b/vendor/github.com/google/uuid/.travis.yml deleted file mode 100644 index d8156a60b..000000000 --- a/vendor/github.com/google/uuid/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: go - -go: -  - 1.4.3 -  - 1.5.3 -  - tip - -script: -  - go test -v ./... diff --git a/vendor/github.com/google/uuid/CHANGELOG.md b/vendor/github.com/google/uuid/CHANGELOG.md new file mode 100644 index 000000000..2bd78667a --- /dev/null +++ b/vendor/github.com/google/uuid/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## [1.3.1](https://github.com/google/uuid/compare/v1.3.0...v1.3.1) (2023-08-18) + + +### Bug Fixes + +* Use .EqualFold() to parse urn prefixed UUIDs ([#118](https://github.com/google/uuid/issues/118)) ([574e687](https://github.com/google/uuid/commit/574e6874943741fb99d41764c705173ada5293f0)) + +## Changelog diff --git a/vendor/github.com/google/uuid/CONTRIBUTING.md b/vendor/github.com/google/uuid/CONTRIBUTING.md index 04fdf09f1..556688872 100644 --- a/vendor/github.com/google/uuid/CONTRIBUTING.md +++ b/vendor/github.com/google/uuid/CONTRIBUTING.md @@ -2,6 +2,22 @@  We definitely welcome patches and contribution to this project! +### Tips + +Commits must be formatted according to the [Conventional Commits Specification](https://www.conventionalcommits.org). + +Always try to include a test case! If it is not possible or not necessary, +please explain why in the pull request description. + +### Releasing + +Commits that would precipitate a SemVer change, as desrcibed in the Conventional +Commits Specification, will trigger [`release-please`](https://github.com/google-github-actions/release-please-action) +to create a release candidate pull request. Once submitted, `release-please` +will create a release. + +For tips on how to work with `release-please`, see its documentation. +  ### Legal requirements  In order to protect both you and ourselves, you will need to sign the diff --git a/vendor/github.com/google/uuid/README.md b/vendor/github.com/google/uuid/README.md index f765a46f9..3e9a61889 100644 --- a/vendor/github.com/google/uuid/README.md +++ b/vendor/github.com/google/uuid/README.md @@ -1,6 +1,6 @@ -# uuid  +# uuid  The uuid package generates and inspects UUIDs based on -[RFC 4122](http://tools.ietf.org/html/rfc4122) +[RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122)  and DCE 1.1: Authentication and Security Services.   This package is based on the github.com/pborman/uuid package (previously named @@ -9,10 +9,12 @@ a UUID is a 16 byte array rather than a byte slice.  One loss due to this  change is the ability to represent an invalid UUID (vs a NIL UUID).  ###### Install -`go get github.com/google/uuid` +```sh +go get github.com/google/uuid +```  ###### Documentation  -[](http://godoc.org/github.com/google/uuid) +[](https://pkg.go.dev/github.com/google/uuid)  Full `go doc` style documentation for the package can be viewed online without  installing this package by using the GoDoc site here:  diff --git a/vendor/github.com/google/uuid/node_js.go b/vendor/github.com/google/uuid/node_js.go index 24b78edc9..b2a0bc871 100644 --- a/vendor/github.com/google/uuid/node_js.go +++ b/vendor/github.com/google/uuid/node_js.go @@ -7,6 +7,6 @@  package uuid  // getHardwareInterface returns nil values for the JS version of the code. -// This remvoves the "net" dependency, because it is not used in the browser. +// This removes the "net" dependency, because it is not used in the browser.  // Using the "net" library inflates the size of the transpiled JS code by 673k bytes.  func getHardwareInterface(name string) (string, []byte) { return "", nil } diff --git a/vendor/github.com/google/uuid/uuid.go b/vendor/github.com/google/uuid/uuid.go index a57207aeb..a56138cc4 100644 --- a/vendor/github.com/google/uuid/uuid.go +++ b/vendor/github.com/google/uuid/uuid.go @@ -69,7 +69,7 @@ func Parse(s string) (UUID, error) {  	// urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  	case 36 + 9: -		if strings.ToLower(s[:9]) != "urn:uuid:" { +		if !strings.EqualFold(s[:9], "urn:uuid:") {  			return uuid, fmt.Errorf("invalid urn prefix: %q", s[:9])  		}  		s = s[9:] @@ -101,7 +101,8 @@ func Parse(s string) (UUID, error) {  		9, 11,  		14, 16,  		19, 21, -		24, 26, 28, 30, 32, 34} { +		24, 26, 28, 30, 32, 34, +	} {  		v, ok := xtob(s[x], s[x+1])  		if !ok {  			return uuid, errors.New("invalid UUID format") @@ -117,7 +118,7 @@ func ParseBytes(b []byte) (UUID, error) {  	switch len(b) {  	case 36: // xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  	case 36 + 9: // urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -		if !bytes.Equal(bytes.ToLower(b[:9]), []byte("urn:uuid:")) { +		if !bytes.EqualFold(b[:9], []byte("urn:uuid:")) {  			return uuid, fmt.Errorf("invalid urn prefix: %q", b[:9])  		}  		b = b[9:] @@ -145,7 +146,8 @@ func ParseBytes(b []byte) (UUID, error) {  		9, 11,  		14, 16,  		19, 21, -		24, 26, 28, 30, 32, 34} { +		24, 26, 28, 30, 32, 34, +	} {  		v, ok := xtob(b[x], b[x+1])  		if !ok {  			return uuid, errors.New("invalid UUID format") diff --git a/vendor/modules.txt b/vendor/modules.txt index 2e64bcd6a..d4d15f1a0 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -272,7 +272,7 @@ github.com/golang/protobuf/ptypes  github.com/golang/protobuf/ptypes/any  github.com/golang/protobuf/ptypes/duration  github.com/golang/protobuf/ptypes/timestamp -# github.com/google/uuid v1.3.0 +# github.com/google/uuid v1.3.1  ## explicit  github.com/google/uuid  # github.com/gorilla/context v1.1.1  | 
