chore(deps): 升级 moego 至 v0.1.0-alpha.5 并统一正则库

This commit is contained in:
CaIon committed 2026-11-22 21:52:10 +08:00
1 parent 8542c9d649
commit 185e1e51a0
9 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ Transitive dependencies should be audited before a final external release.
| backend | production | Go | `github.com/Calcium-Ion/go-epay` | `v0.0.6` | MIT |
| backend | production | Go | `github.com/ClickHouse/clickhouse-go/v2` | `v2.46.0` | Apache-2.0 |
| backend | production | Go | `github.com/HugoSmits86/nativewebp` | `v1.3.0` | MIT |
| backend | production | Go | `github.com/MoeForge/moego` | `v0.1.0-alpha.3` | MIT |
| backend | production | Go | `github.com/MoeForge/moego` | `v0.1.0-alpha.5` | MIT |
| backend | production | Go | `github.com/MoeForge/moejs` | `v0.1.0` | Apache-2.0 |
| backend | production | Go | `github.com/abema/go-mp4` | `v1.4.1` | MIT |
| backend | test | Go | `github.com/alicebob/miniredis/v2` | `v2.38.0` | MIT |
+1 -1
View File
@@ -15,12 +15,12 @@ import (
"net/http"
"net/http/httptest"
"net/textproto"
"regexp"
"strings"
"sync"
"testing"
"time"
"github.com/MoeForge/moego/regexp"
"github.com/QuantumNous/new-api/common"
"github.com/QuantumNous/new-api/i18n"
"github.com/QuantumNous/new-api/model"
+1 -1
View File
@@ -9,11 +9,11 @@ import (
"net"
"net/http"
"net/http/httptest"
"regexp"
"slices"
"strings"
"testing"
"github.com/MoeForge/moego/regexp"
"github.com/QuantumNous/new-api/common"
"github.com/QuantumNous/new-api/constant"
"github.com/QuantumNous/new-api/model"
+1 -1
View File
@@ -168,7 +168,7 @@ require (
require (
github.com/ClickHouse/clickhouse-go/v2 v2.46.0
github.com/MoeForge/moego v0.1.0-alpha.4
github.com/MoeForge/moego v0.1.0-alpha.5
github.com/MoeForge/moejs v0.1.0
github.com/QuantumNous/new-api/relaykit v0.0.0
github.com/QuantumNous/new-api/tokenkit v0.0.0
+2 -2
View File
@@ -672,8 +672,8 @@ github.com/Microsoft/hcsshim v0.9.6/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfy
github.com/Microsoft/hcsshim v0.11.0/go.mod h1:OEthFdQv/AD2RAdzR6Mm1N1KPCztGKDurW1Z8b8VGMM=
github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU=
github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY=
github.com/MoeForge/moego v0.1.0-alpha.4 h1:LvS/mX3Hmk9up7auTUNw3v99JFlIN1ZSOHhJ/RDv7Zk=
github.com/MoeForge/moego v0.1.0-alpha.4/go.mod h1:SBNiQjCpWC3IEBMKFBOwOyhhQ3jywMrISqCwJTdr4aA=
github.com/MoeForge/moego v0.1.0-alpha.5 h1:/pFyEhm0GYdOGfwawNjzLx+DoDQVoCI0dLsu8Sbpac8=
github.com/MoeForge/moego v0.1.0-alpha.5/go.mod h1:SBNiQjCpWC3IEBMKFBOwOyhhQ3jywMrISqCwJTdr4aA=
github.com/MoeForge/moejs v0.1.0 h1:w5/bM4wVRrnMdLbQG32BM+yVcoA9wjQqdGlX3XekzG4=
github.com/MoeForge/moejs v0.1.0/go.mod h1:GDaH0vQSxKDN7FCyBaLEZgqsGKRyIYBfje/p74aZQ3k=
github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ=
+1 -1
View File
@@ -3,7 +3,7 @@ module github.com/QuantumNous/new-api/relaykit
go 1.25.1
require (
github.com/MoeForge/moego v0.1.0-alpha.3
github.com/MoeForge/moego v0.1.0-alpha.5
github.com/google/uuid v1.6.0
github.com/samber/lo v1.53.0
github.com/stretchr/testify v1.11.1
+2 -2
View File
@@ -1,5 +1,5 @@
github.com/MoeForge/moego v0.1.0-alpha.3 h1:sn8Kg4qY/gqGXU4CCJWfgzouaim6alkvXcob0uFDohg=
github.com/MoeForge/moego v0.1.0-alpha.3/go.mod h1:SBNiQjCpWC3IEBMKFBOwOyhhQ3jywMrISqCwJTdr4aA=
github.com/MoeForge/moego v0.1.0-alpha.5 h1:/pFyEhm0GYdOGfwawNjzLx+DoDQVoCI0dLsu8Sbpac8=
github.com/MoeForge/moego v0.1.0-alpha.5/go.mod h1:SBNiQjCpWC3IEBMKFBOwOyhhQ3jywMrISqCwJTdr4aA=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+1 -1
View File
@@ -13,9 +13,9 @@ import (
"fmt"
"os"
"path/filepath"
"regexp"
"testing"
"github.com/MoeForge/moego/regexp"
"github.com/QuantumNous/new-api/relaykit/dto"
"github.com/QuantumNous/new-api/relaykit/relayconvert/convmeta"
"github.com/QuantumNous/new-api/relaykit/types"
+1 -1
View File
@@ -14,7 +14,6 @@ import (
"net/http"
"net/http/httptest"
"net/textproto"
"regexp"
"slices"
"strconv"
"strings"
@@ -36,6 +35,7 @@ import (
"github.com/QuantumNous/new-api/setting/ratio_setting"
"github.com/QuantumNous/new-api/setting/request_plugin_setting"
"github.com/MoeForge/moego/regexp"
"github.com/bytedance/gopkg/util/gopool"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"