mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 01:12:24 -05:00 
			
		
		
		
	[chore]: Bump github.com/tdewolff/minify/v2 from 2.21.1 to 2.21.2 (#3567)
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.21.1 to 2.21.2. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.21.1...v2.21.2) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								301543616b
							
						
					
				
			
			
				commit
				
					
						ae1a98558a
					
				
			
		
					 7 changed files with 21 additions and 18 deletions
				
			
		
							
								
								
									
										4
									
								
								go.mod
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								go.mod
									
										
									
									
									
								
							|  | @ -68,7 +68,7 @@ require ( | ||||||
| 	github.com/superseriousbusiness/activity v1.9.0-gts | 	github.com/superseriousbusiness/activity v1.9.0-gts | ||||||
| 	github.com/superseriousbusiness/httpsig v1.2.0-SSB | 	github.com/superseriousbusiness/httpsig v1.2.0-SSB | ||||||
| 	github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8 | 	github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8 | ||||||
| 	github.com/tdewolff/minify/v2 v2.21.1 | 	github.com/tdewolff/minify/v2 v2.21.2 | ||||||
| 	github.com/technologize/otel-go-contrib v1.1.1 | 	github.com/technologize/otel-go-contrib v1.1.1 | ||||||
| 	github.com/tetratelabs/wazero v1.8.1 | 	github.com/tetratelabs/wazero v1.8.1 | ||||||
| 	github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 | 	github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 | ||||||
|  | @ -213,7 +213,7 @@ require ( | ||||||
| 	github.com/subosito/gotenv v1.6.0 // indirect | 	github.com/subosito/gotenv v1.6.0 // indirect | ||||||
| 	github.com/superseriousbusiness/go-jpeg-image-structure/v2 v2.0.0-20220321154430-d89a106fdabe // indirect | 	github.com/superseriousbusiness/go-jpeg-image-structure/v2 v2.0.0-20220321154430-d89a106fdabe // indirect | ||||||
| 	github.com/superseriousbusiness/go-png-image-structure/v2 v2.0.1-SSB // indirect | 	github.com/superseriousbusiness/go-png-image-structure/v2 v2.0.1-SSB // indirect | ||||||
| 	github.com/tdewolff/parse/v2 v2.7.18 // indirect | 	github.com/tdewolff/parse/v2 v2.7.19 // indirect | ||||||
| 	github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect | 	github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect | ||||||
| 	github.com/toqueteos/webbrowser v1.2.0 // indirect | 	github.com/toqueteos/webbrowser v1.2.0 // indirect | ||||||
| 	github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | 	github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | ||||||
|  |  | ||||||
							
								
								
									
										8
									
								
								go.sum
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								go.sum
									
										
									
										generated
									
									
									
								
							|  | @ -539,10 +539,10 @@ github.com/superseriousbusiness/httpsig v1.2.0-SSB h1:BinBGKbf2LSuVT5+MuH0XynHN9 | ||||||
| github.com/superseriousbusiness/httpsig v1.2.0-SSB/go.mod h1:+rxfATjFaDoDIVaJOTSP0gj6UrbicaYPEptvCLC9F28= | github.com/superseriousbusiness/httpsig v1.2.0-SSB/go.mod h1:+rxfATjFaDoDIVaJOTSP0gj6UrbicaYPEptvCLC9F28= | ||||||
| github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8 h1:nTIhuP157oOFcscuoK1kCme1xTeGIzztSw70lX9NrDQ= | github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8 h1:nTIhuP157oOFcscuoK1kCme1xTeGIzztSw70lX9NrDQ= | ||||||
| github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8/go.mod h1:uYC/W92oVRJ49Vh1GcvTqpeFqHi+Ovrl2sMllQWRAEo= | github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8/go.mod h1:uYC/W92oVRJ49Vh1GcvTqpeFqHi+Ovrl2sMllQWRAEo= | ||||||
| github.com/tdewolff/minify/v2 v2.21.1 h1:AAf5iltw6+KlUvjRNPAPrANIXl3XEJNBBzuZom5iCAM= | github.com/tdewolff/minify/v2 v2.21.2 h1:VfTvmGVtBYhMTlUAeHtXM7XOsW0JT/6uMwUPPqgUs9k= | ||||||
| github.com/tdewolff/minify/v2 v2.21.1/go.mod h1:PoqFH8ugcuTUvKqVM9vOqXw4msxvuhL/DTmV5ZXhSCI= | github.com/tdewolff/minify/v2 v2.21.2/go.mod h1:Olje3eHdBnrMjINKffDsil/3NV98Iv7MhWf7556WQVg= | ||||||
| github.com/tdewolff/parse/v2 v2.7.18 h1:uSqjEMT2lwCj5oifBHDcWU2kN1pbLrRENgFWDJa57eI= | github.com/tdewolff/parse/v2 v2.7.19 h1:7Ljh26yj+gdLFEq/7q9LT4SYyKtwQX4ocNrj45UCePg= | ||||||
| github.com/tdewolff/parse/v2 v2.7.18/go.mod h1:3FbJWZp3XT9OWVN3Hmfp0p/a08v4h8J9W1aghka0soA= | github.com/tdewolff/parse/v2 v2.7.19/go.mod h1:3FbJWZp3XT9OWVN3Hmfp0p/a08v4h8J9W1aghka0soA= | ||||||
| github.com/tdewolff/test v1.0.11-0.20231101010635-f1265d231d52/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE= | github.com/tdewolff/test v1.0.11-0.20231101010635-f1265d231d52/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE= | ||||||
| github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739 h1:IkjBCtQOOjIn03u/dMQK9g+Iw9ewps4mCl1nB8Sscbo= | github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739 h1:IkjBCtQOOjIn03u/dMQK9g+Iw9ewps4mCl1nB8Sscbo= | ||||||
| github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8= | github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8= | ||||||
|  |  | ||||||
							
								
								
									
										5
									
								
								vendor/github.com/tdewolff/parse/v2/buffer/lexer.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/tdewolff/parse/v2/buffer/lexer.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -2,7 +2,6 @@ package buffer | ||||||
| 
 | 
 | ||||||
| import ( | import ( | ||||||
| 	"io" | 	"io" | ||||||
| 	"io/ioutil" |  | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var nullBuffer = []byte{0} | var nullBuffer = []byte{0} | ||||||
|  | @ -18,7 +17,7 @@ type Lexer struct { | ||||||
| 	restore func() | 	restore func() | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // NewLexer returns a new Lexer for a given io.Reader, and uses ioutil.ReadAll to read it into a byte slice. | // NewLexer returns a new Lexer for a given io.Reader, and uses io.ReadAll to read it into a byte slice. | ||||||
| // If the io.Reader implements Bytes, that is used instead. | // If the io.Reader implements Bytes, that is used instead. | ||||||
| // It will append a NULL at the end of the buffer. | // It will append a NULL at the end of the buffer. | ||||||
| func NewLexer(r io.Reader) *Lexer { | func NewLexer(r io.Reader) *Lexer { | ||||||
|  | @ -30,7 +29,7 @@ func NewLexer(r io.Reader) *Lexer { | ||||||
| 			b = buffer.Bytes() | 			b = buffer.Bytes() | ||||||
| 		} else { | 		} else { | ||||||
| 			var err error | 			var err error | ||||||
| 			b, err = ioutil.ReadAll(r) | 			b, err = io.ReadAll(r) | ||||||
| 			if err != nil { | 			if err != nil { | ||||||
| 				return &Lexer{ | 				return &Lexer{ | ||||||
| 					buf: nullBuffer, | 					buf: nullBuffer, | ||||||
|  |  | ||||||
							
								
								
									
										10
									
								
								vendor/github.com/tdewolff/parse/v2/common.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/tdewolff/parse/v2/common.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -317,9 +317,13 @@ func replaceEntities(b []byte, i int, entitiesMap map[string][]byte, revEntities | ||||||
| 		} | 		} | ||||||
| 	} else { | 	} else { | ||||||
| 		for ; j < len(b) && j-i-1 <= MaxEntityLength && b[j] != ';'; j++ { | 		for ; j < len(b) && j-i-1 <= MaxEntityLength && b[j] != ';'; j++ { | ||||||
|  | 			if !(b[j] >= '0' && b[j] <= '9' || b[j] >= 'a' && b[j] <= 'z' || b[j] >= 'A' && b[j] <= 'Z') { | ||||||
|  | 				// invalid character reference character | ||||||
|  | 				break | ||||||
|  | 			} | ||||||
| 		} | 		} | ||||||
| 		if j <= i+1 || len(b) <= j { | 		if len(b) <= j || j == i+1 || b[j] != ';' { | ||||||
| 			return b, j - 1 | 			return b, i | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		var ok bool | 		var ok bool | ||||||
|  | @ -399,7 +403,7 @@ func ReplaceMultipleWhitespaceAndEntities(b []byte, entitiesMap map[string][]byt | ||||||
| 	if j == 0 { | 	if j == 0 { | ||||||
| 		return b | 		return b | ||||||
| 	} else if j == 1 { // only if starts with whitespace | 	} else if j == 1 { // only if starts with whitespace | ||||||
| 		b[k-1] = b[0] | 		b[k-1] = b[0] // move newline to end of whitespace | ||||||
| 		return b[k-1:] | 		return b[k-1:] | ||||||
| 	} else if k < len(b) { | 	} else if k < len(b) { | ||||||
| 		j += copy(b[j:], b[k:]) | 		j += copy(b[j:], b[k:]) | ||||||
|  |  | ||||||
							
								
								
									
										3
									
								
								vendor/github.com/tdewolff/parse/v2/html/lex.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/github.com/tdewolff/parse/v2/html/lex.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -362,7 +362,8 @@ func (l *Lexer) shiftBogusComment() []byte { | ||||||
| 
 | 
 | ||||||
| func (l *Lexer) shiftStartTag() (TokenType, []byte) { | func (l *Lexer) shiftStartTag() (TokenType, []byte) { | ||||||
| 	for { | 	for { | ||||||
| 		if c := l.r.Peek(0); (c < 'a' || 'z' < c) && (c < 'A' || 'Z' < c) && (c < '0' || '9' < c) && c != '-' { | 		// spec says only a-zA-Z0-9, but we're lenient here | ||||||
|  | 		if c := l.r.Peek(0); c == ' ' || c == '>' || c == '/' && l.r.Peek(1) == '>' || c == '\t' || c == '\n' || c == '\r' || c == '\f' || c == 0 && l.r.Err() != nil || 0 < len(l.tmplBegin) && l.at(l.tmplBegin...) { | ||||||
| 			break | 			break | ||||||
| 		} | 		} | ||||||
| 		l.r.Move(1) | 		l.r.Move(1) | ||||||
|  |  | ||||||
							
								
								
									
										5
									
								
								vendor/github.com/tdewolff/parse/v2/input.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/tdewolff/parse/v2/input.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -2,7 +2,6 @@ package parse | ||||||
| 
 | 
 | ||||||
| import ( | import ( | ||||||
| 	"io" | 	"io" | ||||||
| 	"io/ioutil" |  | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var nullBuffer = []byte{0} | var nullBuffer = []byte{0} | ||||||
|  | @ -18,7 +17,7 @@ type Input struct { | ||||||
| 	restore func() | 	restore func() | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // NewInput returns a new Input for a given io.Input and uses ioutil.ReadAll to read it into a byte slice. | // NewInput returns a new Input for a given io.Input and uses io.ReadAll to read it into a byte slice. | ||||||
| // If the io.Input implements Bytes, that is used instead. It will append a NULL at the end of the buffer. | // If the io.Input implements Bytes, that is used instead. It will append a NULL at the end of the buffer. | ||||||
| func NewInput(r io.Reader) *Input { | func NewInput(r io.Reader) *Input { | ||||||
| 	var b []byte | 	var b []byte | ||||||
|  | @ -29,7 +28,7 @@ func NewInput(r io.Reader) *Input { | ||||||
| 			b = buffer.Bytes() | 			b = buffer.Bytes() | ||||||
| 		} else { | 		} else { | ||||||
| 			var err error | 			var err error | ||||||
| 			b, err = ioutil.ReadAll(r) | 			b, err = io.ReadAll(r) | ||||||
| 			if err != nil { | 			if err != nil { | ||||||
| 				return &Input{ | 				return &Input{ | ||||||
| 					buf: nullBuffer, | 					buf: nullBuffer, | ||||||
|  |  | ||||||
							
								
								
									
										4
									
								
								vendor/modules.txt
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/modules.txt
									
										
									
									
										vendored
									
									
								
							|  | @ -832,11 +832,11 @@ github.com/superseriousbusiness/oauth2/v4/generates | ||||||
| github.com/superseriousbusiness/oauth2/v4/manage | github.com/superseriousbusiness/oauth2/v4/manage | ||||||
| github.com/superseriousbusiness/oauth2/v4/models | github.com/superseriousbusiness/oauth2/v4/models | ||||||
| github.com/superseriousbusiness/oauth2/v4/server | github.com/superseriousbusiness/oauth2/v4/server | ||||||
| # github.com/tdewolff/minify/v2 v2.21.1 | # github.com/tdewolff/minify/v2 v2.21.2 | ||||||
| ## explicit; go 1.18 | ## explicit; go 1.18 | ||||||
| github.com/tdewolff/minify/v2 | github.com/tdewolff/minify/v2 | ||||||
| github.com/tdewolff/minify/v2/html | github.com/tdewolff/minify/v2/html | ||||||
| # github.com/tdewolff/parse/v2 v2.7.18 | # github.com/tdewolff/parse/v2 v2.7.19 | ||||||
| ## explicit; go 1.13 | ## explicit; go 1.13 | ||||||
| github.com/tdewolff/parse/v2 | github.com/tdewolff/parse/v2 | ||||||
| github.com/tdewolff/parse/v2/buffer | github.com/tdewolff/parse/v2/buffer | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue