mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 18:52:25 -05:00 
			
		
		
		
	[chore]: Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#2166)
This commit is contained in:
		
					parent
					
						
							
								e6407ec95c
							
						
					
				
			
			
				commit
				
					
						2ec313a21f
					
				
			
		
					 9 changed files with 43 additions and 22 deletions
				
			
		
							
								
								
									
										9
									
								
								vendor/github.com/google/uuid/.travis.yml
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								vendor/github.com/google/uuid/.travis.yml
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -1,9 +0,0 @@ | |||
| language: go | ||||
| 
 | ||||
| go: | ||||
|   - 1.4.3 | ||||
|   - 1.5.3 | ||||
|   - tip | ||||
| 
 | ||||
| script: | ||||
|   - go test -v ./... | ||||
							
								
								
									
										10
									
								
								vendor/github.com/google/uuid/CHANGELOG.md
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/google/uuid/CHANGELOG.md
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -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 | ||||
							
								
								
									
										16
									
								
								vendor/github.com/google/uuid/CONTRIBUTING.md
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/google/uuid/CONTRIBUTING.md
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -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 | ||||
|  |  | |||
							
								
								
									
										10
									
								
								vendor/github.com/google/uuid/README.md
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/google/uuid/README.md
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -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:  | ||||
|  |  | |||
							
								
								
									
										2
									
								
								vendor/github.com/google/uuid/node_js.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/google/uuid/node_js.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -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 } | ||||
|  |  | |||
							
								
								
									
										10
									
								
								vendor/github.com/google/uuid/uuid.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/google/uuid/uuid.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -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") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue