[chore] Update bun and sqlite dependencies (#478)

* update bun + sqlite versions

* step bun to v1.1.3
This commit is contained in:
tobi 2022-04-24 12:26:22 +02:00 committed by GitHub
commit 88979b35d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
246 changed files with 409690 additions and 148967 deletions

View file

@ -713,7 +713,10 @@ func init() {
num, err := strconv.ParseInt(fields[1], 10, 32)
if err != nil {
panic(err)
// If we find lines that don't match the expected format we skip over them.
// The expected format is <protocol> <number> <aliases> ...
// As we're using strings.Fields for splitting the line, failures can happen if the protocol field contains white spaces.
continue
}
protoent := &Protoent{
@ -748,7 +751,10 @@ func init() {
portproto := strings.SplitN(fields[1], "/", 2)
port, err := strconv.ParseInt(portproto[0], 10, 32)
if err != nil {
panic(err)
// If we find lines that don't match the expected format we skip over them.
// The expected format is <service-name> <port>/<protocol> [aliases ...]
// As we're using strings.Fields for splitting the line, failures can happen if the service name field contains white spaces.
continue
}
proto := portproto[1]