vendor: update github.com/valyala/fastjson from v1.5.0 to v1.5.1

This commit is contained in:
Aliaksandr Valialkin 2020-04-21 00:03:50 +03:00
parent 78ff5f2aa5
commit 01e33be34a
4 changed files with 5 additions and 5 deletions

2
go.mod
View file

@ -11,7 +11,7 @@ require (
github.com/golang/snappy v0.0.1
github.com/klauspost/compress v1.10.4
github.com/valyala/fasthttp v1.10.0
github.com/valyala/fastjson v1.5.0
github.com/valyala/fastjson v1.5.1
github.com/valyala/fastrand v1.0.0
github.com/valyala/gozstd v1.7.0
github.com/valyala/histogram v1.0.1

4
go.sum
View file

@ -146,8 +146,8 @@ github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyC
github.com/valyala/fasthttp v1.2.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s=
github.com/valyala/fasthttp v1.10.0 h1:OcUaVkFSir/TK5oHYpsxBDzCgUcwCm+Ns8GnouOmcGw=
github.com/valyala/fasthttp v1.10.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w=
github.com/valyala/fastjson v1.5.0 h1:DGrb4wEYso2HdGLyLmNoyNCQnCWfjd8yhghPv5/5YQg=
github.com/valyala/fastjson v1.5.0/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY=
github.com/valyala/fastjson v1.5.1 h1:SXaQZVSwLjZOVhDEhjiCcDtnX0Feu7Z7A1+C5atpoHM=
github.com/valyala/fastjson v1.5.1/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY=
github.com/valyala/fastrand v1.0.0 h1:LUKT9aKer2dVQNUi3waewTbKV+7H17kvWFNKs2ObdkI=
github.com/valyala/fastrand v1.0.0/go.mod h1:HWqCzkrkg6QXT8V2EXWvXCoow7vLwOFN002oeRzjapQ=
github.com/valyala/gozstd v1.7.0 h1:Ljh5c9zboqLhwTI33al32R72iCZfn0mCbVGcFWbGwRQ=

View file

@ -183,7 +183,7 @@ func ParseBestEffort(s string) float64 {
}
break
}
if i <= k {
if i < k {
return 0
}
// Convert the entire mantissa to a float at once to avoid rounding errors.

2
vendor/modules.txt vendored
View file

@ -97,7 +97,7 @@ github.com/valyala/bytebufferpool
github.com/valyala/fasthttp
github.com/valyala/fasthttp/fasthttputil
github.com/valyala/fasthttp/stackless
# github.com/valyala/fastjson v1.5.0
# github.com/valyala/fastjson v1.5.1
github.com/valyala/fastjson
github.com/valyala/fastjson/fastfloat
# github.com/valyala/fastrand v1.0.0