mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-05 23:09:31 -06:00
[chore] Update all but bun libraries (#526)
* update all but bun libraries Signed-off-by: kim <grufwub@gmail.com> * remove my personal build script changes Signed-off-by: kim <grufwub@gmail.com>
This commit is contained in:
parent
e06bf9cc9a
commit
b56dae8120
350 changed files with 305366 additions and 5943 deletions
12
vendor/github.com/magiconair/properties/lex.go
generated
vendored
12
vendor/github.com/magiconair/properties/lex.go
generated
vendored
|
|
@ -128,18 +128,6 @@ func (l *lexer) acceptRun(valid string) {
|
|||
l.backup()
|
||||
}
|
||||
|
||||
// acceptRunUntil consumes a run of runes up to a terminator.
|
||||
func (l *lexer) acceptRunUntil(term rune) {
|
||||
for term != l.next() {
|
||||
}
|
||||
l.backup()
|
||||
}
|
||||
|
||||
// hasText returns true if the current parsed text is not empty.
|
||||
func (l *lexer) isNotEmpty() bool {
|
||||
return l.pos > l.start
|
||||
}
|
||||
|
||||
// lineNumber reports which line we're on, based on the position of
|
||||
// the previous item returned by nextItem. Doing it this way
|
||||
// means we don't have to worry about peek double counting.
|
||||
|
|
|
|||
9
vendor/github.com/magiconair/properties/parser.go
generated
vendored
9
vendor/github.com/magiconair/properties/parser.go
generated
vendored
|
|
@ -59,14 +59,6 @@ func (p *parser) errorf(format string, args ...interface{}) {
|
|||
panic(fmt.Errorf(format, args...))
|
||||
}
|
||||
|
||||
func (p *parser) expect(expected itemType) (token item) {
|
||||
token = p.lex.nextItem()
|
||||
if token.typ != expected {
|
||||
p.unexpected(token)
|
||||
}
|
||||
return token
|
||||
}
|
||||
|
||||
func (p *parser) expectOneOf(expected ...itemType) (token item) {
|
||||
token = p.lex.nextItem()
|
||||
for _, v := range expected {
|
||||
|
|
@ -91,5 +83,4 @@ func (p *parser) recover(errp *error) {
|
|||
}
|
||||
*errp = e.(error)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
1
vendor/github.com/magiconair/properties/properties.go
generated
vendored
1
vendor/github.com/magiconair/properties/properties.go
generated
vendored
|
|
@ -786,7 +786,6 @@ func expand(s string, keys []string, prefix, postfix string, values map[string]s
|
|||
}
|
||||
s = s[:start] + new_val + s[end+1:]
|
||||
}
|
||||
return s, nil
|
||||
}
|
||||
|
||||
// encode encodes a UTF-8 string to ISO-8859-1 and escapes some characters.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue