mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 10:42:24 -05:00 
			
		
		
		
	[chore]: Bump github.com/tdewolff/minify/v2 from 2.12.6 to 2.12.7 (#1927)
This commit is contained in:
		
					parent
					
						
							
								33ccb716fc
							
						
					
				
			
			
				commit
				
					
						120743d3bf
					
				
			
		
					 4 changed files with 7 additions and 5 deletions
				
			
		
							
								
								
									
										4
									
								
								vendor/github.com/tdewolff/minify/v2/common.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/tdewolff/minify/v2/common.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -34,7 +34,9 @@ func Mediatype(b []byte) []byte { | |||
| 		} else if c == '"' { | ||||
| 			inString = !inString | ||||
| 			if inString { | ||||
| 				parse.ToLower(b[lastString:i]) | ||||
| 				if i-lastString < 1024 { // ToLower may otherwise slow down minification greatly | ||||
| 					parse.ToLower(b[lastString:i]) | ||||
| 				} | ||||
| 			} else { | ||||
| 				lastString = j + (i + 1 - start) | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue