1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-25 22:36:53 +08:00

Vendor Update ()

* update github.com/PuerkitoBio/goquery

* update github.com/alecthomas/chroma

* update github.com/blevesearch/bleve/v2

* update github.com/caddyserver/certmagic

* update github.com/go-enry/go-enry/v2

* update github.com/go-git/go-billy/v5

* update github.com/go-git/go-git/v5

* update github.com/go-redis/redis/v8

* update github.com/go-testfixtures/testfixtures/v3

* update github.com/jaytaylor/html2text

* update github.com/json-iterator/go

* update github.com/klauspost/compress

* update github.com/markbates/goth

* update github.com/mattn/go-isatty

* update github.com/mholt/archiver/v3

* update github.com/microcosm-cc/bluemonday

* update github.com/minio/minio-go/v7

* update github.com/prometheus/client_golang

* update github.com/unrolled/render

* update github.com/xanzy/go-gitlab

* update github.com/yuin/goldmark

* update github.com/yuin/goldmark-highlighting

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
6543
2021-06-10 16:44:25 +02:00
committed by GitHub
parent f088dc4ea1
commit 86e2789960
819 changed files with 38072 additions and 34969 deletions
go.modgo.sum
vendor
github.com
Microsoft/go-winio
ProtonMail/go-crypto
PuerkitoBio/goquery
RoaringBitmap/roaring
acomagu/bufpipe
alecthomas/chroma
MakefileREADME.mdgo.modgo.sumiterator.go
lexers
a
b
c
circular
d
e
f
g
h
i
internal
j
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
regexp.gostyle.go
styles
andybalholm
bits-and-blooms/bitset
blevesearch
caddyserver/certmagic
go-enry/go-enry/v2
go-git
go-redis/redis/v8
go-testfixtures/testfixtures/v3
hashicorp/go-retryablehttp
json-iterator/go
klauspost
lib/pq
libdns/libdns
mattn
microcosm-cc/bluemonday
miekg/dns
pierrec/lz4/v4
prometheus
rs/xid
unrolled/render
willf/bitset
xanzy/go-gitlab
yuin
go.etcd.io/bbolt
go.opentelemetry.io/otel
go.uber.org
golang.org/x
crypto
net
oauth2
sys
cpu
unix
README.mdasm_aix_ppc64.sasm_bsd_386.sasm_bsd_arm.sasm_linux_386.sasm_linux_amd64.sasm_linux_arm.sasm_linux_arm64.sasm_linux_mips64x.sasm_linux_mipsx.sasm_linux_ppc64x.sasm_linux_riscv64.sasm_linux_s390x.sasm_openbsd_mips64.sasm_solaris_amd64.sfdset.gomkall.shmkerrors.shsyscall_darwin.1_13.gosyscall_darwin.gosyscall_darwin_386.gosyscall_darwin_arm.gosyscall_darwin_libSystem.gosyscall_illumos.gosyscall_linux.gosyscall_linux_386.gosyscall_linux_amd64.gosyscall_linux_arm.gosyscall_linux_arm64.gosyscall_linux_mips64x.gosyscall_linux_mipsx.gosyscall_linux_ppc.gosyscall_linux_ppc64x.gosyscall_linux_riscv64.gosyscall_linux_s390x.gosyscall_linux_sparc64.gosyscall_zos_s390x.gozerrors_darwin_386.gozerrors_darwin_arm.gozerrors_linux.gozerrors_linux_386.gozerrors_linux_amd64.gozerrors_linux_arm.gozerrors_linux_arm64.gozerrors_linux_mips.gozerrors_linux_mips64.gozerrors_linux_mips64le.gozerrors_linux_mipsle.gozerrors_linux_ppc.gozerrors_linux_ppc64.gozerrors_linux_ppc64le.gozerrors_linux_riscv64.gozerrors_linux_s390x.gozerrors_linux_sparc64.gozerrors_zos_s390x.gozsyscall_darwin_386.1_13.gozsyscall_darwin_386.1_13.szsyscall_darwin_386.gozsyscall_darwin_386.szsyscall_darwin_amd64.1_13.gozsyscall_darwin_amd64.1_13.szsyscall_darwin_amd64.gozsyscall_darwin_amd64.szsyscall_darwin_arm.1_13.gozsyscall_darwin_arm.1_13.szsyscall_darwin_arm.gozsyscall_darwin_arm.szsyscall_darwin_arm64.1_13.gozsyscall_darwin_arm64.1_13.szsyscall_darwin_arm64.gozsyscall_darwin_arm64.szsyscall_zos_s390x.gozsysnum_darwin_386.gozsysnum_darwin_arm.gozsysnum_linux_386.gozsysnum_linux_amd64.gozsysnum_linux_arm.gozsysnum_linux_arm64.gozsysnum_linux_mips.gozsysnum_linux_mips64.gozsysnum_linux_mips64le.gozsysnum_linux_mipsle.gozsysnum_linux_ppc.gozsysnum_linux_ppc64.gozsysnum_linux_ppc64le.gozsysnum_linux_riscv64.gozsysnum_linux_s390x.gozsysnum_linux_sparc64.goztypes_darwin_386.goztypes_darwin_amd64.goztypes_darwin_arm.goztypes_darwin_arm64.goztypes_illumos_amd64.goztypes_linux.goztypes_linux_386.goztypes_linux_amd64.goztypes_linux_arm.goztypes_linux_arm64.goztypes_linux_mips.goztypes_linux_mips64.goztypes_linux_mips64le.goztypes_linux_mipsle.goztypes_linux_ppc.goztypes_linux_ppc64.goztypes_linux_ppc64le.goztypes_linux_riscv64.goztypes_linux_s390x.goztypes_linux_sparc64.goztypes_openbsd_386.goztypes_openbsd_amd64.goztypes_openbsd_arm.goztypes_openbsd_arm64.goztypes_openbsd_mips64.goztypes_zos_s390x.go
windows
time/rate
modules.txt

@ -78,7 +78,7 @@ func (d Data) Render(w io.Writer, v interface{}) error {
d.Head.Write(hw)
}
w.Write(v.([]byte))
_, _ = w.Write(v.([]byte))
return nil
}
@ -99,7 +99,7 @@ func (h HTML) Render(w io.Writer, binding interface{}) error {
if hw, ok := w.(http.ResponseWriter); ok {
h.Head.Write(hw)
}
buf.WriteTo(w)
_, _ = buf.WriteTo(w)
return nil
}
@ -125,9 +125,9 @@ func (j JSON) Render(w io.Writer, v interface{}) error {
// Unescape HTML if needed.
if j.UnEscapeHTML {
result = bytes.Replace(result, []byte("\\u003c"), []byte("<"), -1)
result = bytes.Replace(result, []byte("\\u003e"), []byte(">"), -1)
result = bytes.Replace(result, []byte("\\u0026"), []byte("&"), -1)
result = bytes.ReplaceAll(result, []byte("\\u003c"), []byte("<"))
result = bytes.ReplaceAll(result, []byte("\\u003e"), []byte(">"))
result = bytes.ReplaceAll(result, []byte("\\u0026"), []byte("&"))
}
// JSON marshaled fine, write out the result.
@ -135,9 +135,9 @@ func (j JSON) Render(w io.Writer, v interface{}) error {
j.Head.Write(hw)
}
if len(j.Prefix) > 0 {
w.Write(j.Prefix)
_, _ = w.Write(j.Prefix)
}
w.Write(result)
_, _ = w.Write(result)
return nil
}
@ -146,7 +146,7 @@ func (j JSON) renderStreamingJSON(w io.Writer, v interface{}) error {
j.Head.Write(hw)
}
if len(j.Prefix) > 0 {
w.Write(j.Prefix)
_, _ = w.Write(j.Prefix)
}
return json.NewEncoder(w).Encode(v)
@ -170,13 +170,13 @@ func (j JSONP) Render(w io.Writer, v interface{}) error {
if hw, ok := w.(http.ResponseWriter); ok {
j.Head.Write(hw)
}
w.Write([]byte(j.Callback + "("))
w.Write(result)
w.Write([]byte(");"))
_, _ = w.Write([]byte(j.Callback + "("))
_, _ = w.Write(result)
_, _ = w.Write([]byte(");"))
// If indenting, append a new line.
if j.Indent {
w.Write([]byte("\n"))
_, _ = w.Write([]byte("\n"))
}
return nil
}
@ -191,7 +191,7 @@ func (t Text) Render(w io.Writer, v interface{}) error {
t.Head.Write(hw)
}
w.Write([]byte(v.(string)))
_, _ = w.Write([]byte(v.(string)))
return nil
}
@ -215,8 +215,8 @@ func (x XML) Render(w io.Writer, v interface{}) error {
x.Head.Write(hw)
}
if len(x.Prefix) > 0 {
w.Write(x.Prefix)
_, _ = w.Write(x.Prefix)
}
w.Write(result)
_, _ = w.Write(result)
return nil
}