mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 19:22:25 -05:00 
			
		
		
		
	[chore]: Bump github.com/gin-contrib/cors from 1.4.0 to 1.5.0 (#2388)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								e4e0a5e3f6
							
						
					
				
			
			
				commit
				
					
						66b77acb1c
					
				
			
		
					 169 changed files with 173005 additions and 56262 deletions
				
			
		
							
								
								
									
										6
									
								
								vendor/github.com/go-playground/validator/v10/regexes.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/github.com/go-playground/validator/v10/regexes.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -68,6 +68,9 @@ const ( | |||
| 	cveRegexString                   = `^CVE-(1999|2\d{3})-(0[^0]\d{2}|0\d[^0]\d{1}|0\d{2}[^0]|[1-9]{1}\d{3,})$` // CVE Format Id https://cve.mitre.org/cve/identifiers/syntaxchange.html | ||||
| 	mongodbRegexString               = "^[a-f\\d]{24}$" | ||||
| 	cronRegexString                  = `(@(annually|yearly|monthly|weekly|daily|hourly|reboot))|(@every (\d+(ns|us|µs|ms|s|m|h))+)|((((\d+,)+\d+|(\d+(\/|-)\d+)|\d+|\*) ?){5,7})` | ||||
| 	spicedbIDRegexString             = `^(([a-zA-Z0-9/_|\-=+]{1,})|\*)$` | ||||
| 	spicedbPermissionRegexString     = "^([a-z][a-z0-9_]{1,62}[a-z0-9])?$" | ||||
| 	spicedbTypeRegexString           = "^([a-z][a-z0-9_]{1,61}[a-z0-9]/)?[a-z][a-z0-9_]{1,62}[a-z0-9]$" | ||||
| ) | ||||
| 
 | ||||
| var ( | ||||
|  | @ -134,4 +137,7 @@ var ( | |||
| 	cveRegex                   = regexp.MustCompile(cveRegexString) | ||||
| 	mongodbRegex               = regexp.MustCompile(mongodbRegexString) | ||||
| 	cronRegex                  = regexp.MustCompile(cronRegexString) | ||||
| 	spicedbIDRegex             = regexp.MustCompile(spicedbIDRegexString) | ||||
| 	spicedbPermissionRegex     = regexp.MustCompile(spicedbPermissionRegexString) | ||||
| 	spicedbTypeRegex           = regexp.MustCompile(spicedbTypeRegexString) | ||||
| ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue