mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore]: Bump github.com/tdewolff/minify/v2 from 2.12.6 to 2.12.7 (#1927)
This commit is contained in:
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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user