chore(deps): update chroma, regexp2 v2, replace dimiro1/reply (#37858)

- Update `github.com/alecthomas/chroma/v2` to `v2.25.0`.
- Migrate `github.com/dlclark/regexp2` to `/v2` (incorporates
https://github.com/go-gitea/gitea/pull/37664); drop the renovate pin.
- Replace the unmaintained `github.com/dimiro1/reply` (the last consumer
of `regexp2` v1 in our own code) with a small built-in reply parser for
incoming mail.

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: Nicolas <bircni@icloud.com>
This commit is contained in:
silverwind
2026-05-27 23:39:57 +02:00
committed by GitHub
parent 729c4b8813
commit f810e882a4
8 changed files with 201 additions and 22 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"gitea.dev/modules/timeutil"
"gitea.dev/modules/util"
"github.com/dlclark/regexp2"
"github.com/dlclark/regexp2/v2"
"xorm.io/builder"
)