aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-21 15:41:42 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-21 15:41:42 +0800
commit9bebe3f1e6c340e5132ee4053c65dcad74328c42 (patch)
tree22a7e9c215e70c668474a3919b10f877dbc06b28
parentRename httpRouter (diff)
downloadforge-9bebe3f1e6c340e5132ee4053c65dcad74328c42.tar.gz
forge-9bebe3f1e6c340e5132ee4053c65dcad74328c42.tar.zst
forge-9bebe3f1e6c340e5132ee4053c65dcad74328c42.zip
Bump dependencies
-rw-r--r--go.mod6
-rw-r--r--go.sum17
-rw-r--r--http_handle_repo_commit.go2
3 files changed, 12 insertions, 13 deletions
diff --git a/go.mod b/go.mod
index 87046fa..c6c5267 100644
--- a/go.mod
+++ b/go.mod
@@ -11,9 +11,9 @@ require (
github.com/jackc/pgx/v5 v5.7.2
github.com/microcosm-cc/bluemonday v1.0.27
github.com/niklasfasching/go-org v1.7.0
- github.com/tdewolff/minify/v2 v2.21.3
+ github.com/tdewolff/minify/v2 v2.22.3
github.com/yuin/goldmark v1.7.8
- go.lindenii.runxiyu.org/lindenii-common v0.0.0-20250220024148-a3640b47317b
+ go.lindenii.runxiyu.org/lindenii-common v0.0.0-20250321065842-f1247b104a0d
golang.org/x/crypto v0.36.0
)
@@ -39,7 +39,7 @@ require (
github.com/pjbgf/sha1cd v0.3.2 // indirect
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
github.com/skeema/knownhosts v1.3.1 // indirect
- github.com/tdewolff/parse/v2 v2.7.20 // indirect
+ github.com/tdewolff/parse/v2 v2.7.21 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect
golang.org/x/net v0.37.0 // indirect
diff --git a/go.sum b/go.sum
index fe90c8d..7a00039 100644
--- a/go.sum
+++ b/go.sum
@@ -97,20 +97,19 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
-github.com/tdewolff/minify/v2 v2.21.3 h1:KmhKNGrN/dGcvb2WDdB5yA49bo37s+hcD8RiF+lioV8=
-github.com/tdewolff/minify/v2 v2.21.3/go.mod h1:iGxHaGiONAnsYuo8CRyf8iPUcqRJVB/RhtEcTpqS7xw=
-github.com/tdewolff/parse/v2 v2.7.20 h1:Y33JmRLjyGhX5JRvYh+CO6Sk6pGMw3iO5eKGhUhx8JE=
-github.com/tdewolff/parse/v2 v2.7.20/go.mod h1:3FbJWZp3XT9OWVN3Hmfp0p/a08v4h8J9W1aghka0soA=
-github.com/tdewolff/test v1.0.11-0.20231101010635-f1265d231d52/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE=
-github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739 h1:IkjBCtQOOjIn03u/dMQK9g+Iw9ewps4mCl1nB8Sscbo=
-github.com/tdewolff/test v1.0.11-0.20240106005702-7de5f7df4739/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8=
+github.com/tdewolff/minify/v2 v2.22.3 h1:iWXbYdEwvyMXq+KoZlM7Aybp2ASq1VTibUIUxtiyfWo=
+github.com/tdewolff/minify/v2 v2.22.3/go.mod h1:K/R8TT7aivpcU8QCNUU1UdR6etfnFPr7L11TO/X7shk=
+github.com/tdewolff/parse/v2 v2.7.21 h1:OCuPFtGr4mXdnfKikQlUb0n654ROJANhBqCk+wioJ/A=
+github.com/tdewolff/parse/v2 v2.7.21/go.mod h1:I7TXO37t3aSG9SlPUBefAhgIF8nt7yYUwVGgETIoBcA=
+github.com/tdewolff/test v1.0.11 h1:FdLbwQVHxqG16SlkGveC0JVyrJN62COWTRyUFzfbtBE=
+github.com/tdewolff/test v1.0.11/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark v1.7.8 h1:iERMLn0/QJeHFhxSt3p6PeN9mGnvIKSpG9YYorDMnic=
github.com/yuin/goldmark v1.7.8/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E=
-go.lindenii.runxiyu.org/lindenii-common v0.0.0-20250220024148-a3640b47317b h1:ChobY0tu2SWY9sTgHFM5ZSlxLdQSOj5sE06J/wLPp6w=
-go.lindenii.runxiyu.org/lindenii-common v0.0.0-20250220024148-a3640b47317b/go.mod h1:bOxuuGXA3UpbLb1lKohr2j2MVcGGLcqfAprGx9VCkMA=
+go.lindenii.runxiyu.org/lindenii-common v0.0.0-20250321065842-f1247b104a0d h1:NzmVDYOCkT8Endh/UcgsEWPPFpPJtXy/tFm7+KzsZnI=
+go.lindenii.runxiyu.org/lindenii-common v0.0.0-20250321065842-f1247b104a0d/go.mod h1:bOxuuGXA3UpbLb1lKohr2j2MVcGGLcqfAprGx9VCkMA=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go
index 2f0fa51..94aa85d 100644
--- a/http_handle_repo_commit.go
+++ b/http_handle_repo_commit.go
@@ -99,7 +99,7 @@ func (f fakeDiffFile) Path() string {
var nullFakeDiffFile = fakeDiffFile{
hash: plumbing.NewHash("0000000000000000000000000000000000000000"),
- mode: misc.First_or_panic(filemode.New("100644")),
+ mode: misc.FirstOrPanic(filemode.New("100644")),
path: "",
}