mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 09:42:26 -05:00
Update dependencies (#333)
This commit is contained in:
parent
ce22e03f9d
commit
182b4eea73
848 changed files with 377869 additions and 107280 deletions
18
vendor/github.com/vmihailenco/msgpack/v5/.golangci.yml
generated
vendored
18
vendor/github.com/vmihailenco/msgpack/v5/.golangci.yml
generated
vendored
|
|
@ -1,18 +0,0 @@
|
|||
run:
|
||||
concurrency: 8
|
||||
deadline: 5m
|
||||
tests: false
|
||||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- gochecknoglobals
|
||||
- gocognit
|
||||
- godox
|
||||
- wsl
|
||||
- funlen
|
||||
- gochecknoinits
|
||||
- gomnd
|
||||
- nlreturn
|
||||
- goerr113
|
||||
- exhaustive
|
||||
- nestif
|
||||
52
vendor/github.com/vmihailenco/msgpack/v5/CHANGELOG.md
generated
vendored
52
vendor/github.com/vmihailenco/msgpack/v5/CHANGELOG.md
generated
vendored
|
|
@ -1,3 +1,51 @@
|
|||
# Changelog
|
||||
## [5.3.5](https://github.com/vmihailenco/msgpack/compare/v5.3.4...v5.3.5) (2021-10-22)
|
||||
|
||||
See https://msgpack.uptrace.dev/changelog/
|
||||
|
||||
|
||||
## v5
|
||||
|
||||
### Added
|
||||
|
||||
- `DecodeMap` is split into `DecodeMap`, `DecodeTypedMap`, and `DecodeUntypedMap`.
|
||||
- New msgpack extensions API.
|
||||
|
||||
### Changed
|
||||
|
||||
- `Reset*` functions also reset flags.
|
||||
- `SetMapDecodeFunc` is renamed to `SetMapDecoder`.
|
||||
- `StructAsArray` is renamed to `UseArrayEncodedStructs`.
|
||||
- `SortMapKeys` is renamed to `SetSortMapKeys`.
|
||||
|
||||
### Removed
|
||||
|
||||
- `UseJSONTag` is removed. Use `SetCustomStructTag("json")` instead.
|
||||
|
||||
## v4
|
||||
|
||||
- Encode, Decode, Marshal, and Unmarshal are changed to accept single argument. EncodeMulti and
|
||||
DecodeMulti are added as replacement.
|
||||
- Added EncodeInt8/16/32/64 and EncodeUint8/16/32/64.
|
||||
- Encoder changed to preserve type of numbers instead of chosing most compact encoding. The old
|
||||
behavior can be achieved with Encoder.UseCompactEncoding.
|
||||
|
||||
## v3.3
|
||||
|
||||
- `msgpack:",inline"` tag is restored to force inlining structs.
|
||||
|
||||
## v3.2
|
||||
|
||||
- Decoding extension types returns pointer to the value instead of the value. Fixes #153
|
||||
|
||||
## v3
|
||||
|
||||
- gopkg.in is not supported any more. Update import path to github.com/vmihailenco/msgpack.
|
||||
- Msgpack maps are decoded into map[string]interface{} by default.
|
||||
- EncodeSliceLen is removed in favor of EncodeArrayLen. DecodeSliceLen is removed in favor of
|
||||
DecodeArrayLen.
|
||||
- Embedded structs are automatically inlined where possible.
|
||||
- Time is encoded using extension as described in https://github.com/msgpack/msgpack/pull/209. Old
|
||||
format is supported as well.
|
||||
- EncodeInt8/16/32/64 is replaced with EncodeInt. EncodeUint8/16/32/64 is replaced with EncodeUint.
|
||||
There should be no performance differences.
|
||||
- DecodeInterface can now return int8/16/32 and uint8/16/32.
|
||||
- PeekCode returns codes.Code instead of byte.
|
||||
|
|
|
|||
3
vendor/github.com/vmihailenco/msgpack/v5/Makefile
generated
vendored
3
vendor/github.com/vmihailenco/msgpack/v5/Makefile
generated
vendored
|
|
@ -1,7 +1,6 @@
|
|||
all:
|
||||
test:
|
||||
go test ./...
|
||||
go test ./... -short -race
|
||||
go test ./... -run=NONE -bench=. -benchmem
|
||||
env GOOS=linux GOARCH=386 go test ./...
|
||||
go vet
|
||||
golangci-lint run
|
||||
|
|
|
|||
9
vendor/github.com/vmihailenco/msgpack/v5/README.md
generated
vendored
9
vendor/github.com/vmihailenco/msgpack/v5/README.md
generated
vendored
|
|
@ -13,6 +13,11 @@
|
|||
- [Reference](https://pkg.go.dev/github.com/vmihailenco/msgpack/v5)
|
||||
- [Examples](https://pkg.go.dev/github.com/vmihailenco/msgpack/v5#pkg-examples)
|
||||
|
||||
Other projects you may like:
|
||||
|
||||
- [Bun](https://bun.uptrace.dev) - fast and simple SQL client for PostgreSQL, MySQL, and SQLite.
|
||||
- [BunRouter](https://bunrouter.uptrace.dev/) - fast and flexible HTTP router for Go.
|
||||
|
||||
## Features
|
||||
|
||||
- Primitives, arrays, maps, structs, time.Time and interface{}.
|
||||
|
|
@ -79,7 +84,3 @@ func ExampleMarshal() {
|
|||
// Output: bar
|
||||
}
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
- [Fast and flexible ORM for sql.DB](https://bun.uptrace.dev)
|
||||
|
|
|
|||
1
vendor/github.com/vmihailenco/msgpack/v5/commitlint.config.js
generated
vendored
Normal file
1
vendor/github.com/vmihailenco/msgpack/v5/commitlint.config.js
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
module.exports = { extends: ['@commitlint/config-conventional'] }
|
||||
3
vendor/github.com/vmihailenco/msgpack/v5/decode.go
generated
vendored
3
vendor/github.com/vmihailenco/msgpack/v5/decode.go
generated
vendored
|
|
@ -341,6 +341,9 @@ func (d *Decoder) DecodeBool() (bool, error) {
|
|||
}
|
||||
|
||||
func (d *Decoder) bool(c byte) (bool, error) {
|
||||
if c == msgpcode.Nil {
|
||||
return false, nil
|
||||
}
|
||||
if c == msgpcode.False {
|
||||
return false, nil
|
||||
}
|
||||
|
|
|
|||
7
vendor/github.com/vmihailenco/msgpack/v5/encode_map.go
generated
vendored
7
vendor/github.com/vmihailenco/msgpack/v5/encode_map.go
generated
vendored
|
|
@ -17,11 +17,12 @@ func encodeMapValue(e *Encoder, v reflect.Value) error {
|
|||
return err
|
||||
}
|
||||
|
||||
for _, key := range v.MapKeys() {
|
||||
if err := e.EncodeValue(key); err != nil {
|
||||
iter := v.MapRange()
|
||||
for iter.Next() {
|
||||
if err := e.EncodeValue(iter.Key()); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := e.EncodeValue(v.MapIndex(key)); err != nil {
|
||||
if err := e.EncodeValue(iter.Value()); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
vendor/github.com/vmihailenco/msgpack/v5/package.json
generated
vendored
Normal file
4
vendor/github.com/vmihailenco/msgpack/v5/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "msgpack",
|
||||
"version": "5.3.5"
|
||||
}
|
||||
6
vendor/github.com/vmihailenco/msgpack/v5/version.go
generated
vendored
Normal file
6
vendor/github.com/vmihailenco/msgpack/v5/version.go
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package msgpack
|
||||
|
||||
// Version is the current release version.
|
||||
func Version() string {
|
||||
return "5.3.5"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue