diff --git a/go.mod b/go.mod index 2c6af1c6..5d764724 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/bddjr/hlfhr v1.3.8 github.com/beevik/ntp v1.4.3 github.com/creack/pty v1.1.24 - github.com/devhaozi/westcn v0.0.0-20250329192208-199d82100bff + github.com/devhaozi/westcn v0.0.0-20250407083704-b49375823872 github.com/expr-lang/expr v1.17.2 github.com/go-chi/chi/v5 v5.2.1 github.com/go-gormigrate/gormigrate/v2 v2.1.4 @@ -15,7 +15,7 @@ require ( github.com/go-rat/sessions v1.1.0 github.com/go-rat/utils v1.1.5 github.com/go-resty/resty/v2 v2.16.5 - github.com/go-sql-driver/mysql v1.9.1 + github.com/go-sql-driver/mysql v1.9.2 github.com/golang-cz/httplog v0.0.0-20241002114323-98e09d6f537a github.com/gomodule/redigo v1.9.2 github.com/google/wire v0.6.0 @@ -55,7 +55,7 @@ require ( github.com/tufanbarisyildirim/gonginx v0.0.0-20250225174229-c03497ddaef6 github.com/urfave/cli/v3 v3.1.1 golang.org/x/crypto v0.37.0 - golang.org/x/net v0.38.0 + golang.org/x/net v0.39.0 gopkg.in/natefinch/lumberjack.v2 v2.2.1 gopkg.in/yaml.v3 v3.0.1 gorm.io/gorm v1.25.12 diff --git a/go.sum b/go.sum index 2f45e352..1447a0a9 100644 --- a/go.sum +++ b/go.sum @@ -12,8 +12,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/devhaozi/alidns v0.0.0-20250403080318-49764d98fb5f h1:mxUJww+iBLn7XNJh3SGTf6EMPlzoP8fDrJEwVt+Kxt0= github.com/devhaozi/alidns v0.0.0-20250403080318-49764d98fb5f/go.mod h1:ldjj5ww43w4znu7VUSpR7dJK3VRNHlKCAHik13xacdE= -github.com/devhaozi/westcn v0.0.0-20250329192208-199d82100bff h1:SLHnJyRcp6OxbMjHr7FvPvT84IoXuofu+1EeMU+Tr1M= -github.com/devhaozi/westcn v0.0.0-20250329192208-199d82100bff/go.mod h1:dUJZQSurBuEWKixGyCYCyiVIkSFxrgqN3B036tHMPtU= +github.com/devhaozi/westcn v0.0.0-20250407083704-b49375823872 h1:cns0Vj69pUuQ+bfS3KQrZyQycjZRxyPMiF3Njjz5Voc= +github.com/devhaozi/westcn v0.0.0-20250407083704-b49375823872/go.mod h1:3DfSvYwyUHt1JtN+JCWAGtOLFWlRXz19wJa/Xk159ao= github.com/expr-lang/expr v1.17.2 h1:o0A99O/Px+/DTjEnQiodAgOIK9PPxL8DtXhBRKC+Iso= github.com/expr-lang/expr v1.17.2/go.mod h1:8/vRC7+7HBzESEqt5kKpYXxrxkr31SaO8r40VO/1IT4= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= @@ -41,8 +41,8 @@ github.com/go-rat/utils v1.1.5 h1:nB5qNU4TxqG9BJe7PdeDzznmh6lk+GIWb7hZcvAY4FQ= github.com/go-rat/utils v1.1.5/go.mod h1:SUy4Xw44VkZvo2FaURgiIiJlL6Kukll85fVKMp/50+8= github.com/go-resty/resty/v2 v2.16.5 h1:hBKqmWrr7uRc3euHVqmh1HTHcKn99Smr7o5spptdhTM= github.com/go-resty/resty/v2 v2.16.5/go.mod h1:hkJtXbA2iKHzJheXYvQ8snQES5ZLGKMwQ07xAwp/fiA= -github.com/go-sql-driver/mysql v1.9.1 h1:FrjNGn/BsJQjVRuSa8CBrM5BWA9BWoXXat3KrtSb/iI= -github.com/go-sql-driver/mysql v1.9.1/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU= +github.com/go-sql-driver/mysql v1.9.2 h1:4cNKDYQ1I84SXslGddlsrMhc8k4LeDVj6Ad6WRjiHuU= +github.com/go-sql-driver/mysql v1.9.2/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU= github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss= github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/gofiber/schema v1.3.0 h1:K3F3wYzAY+aivfCCEHPufCthu5/13r/lzp1nuk6mr3Q= @@ -209,8 +209,8 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8= -golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= +golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY= +golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= diff --git a/web/package.json b/web/package.json index 1fcb8096..2f514f49 100644 --- a/web/package.json +++ b/web/package.json @@ -92,5 +92,5 @@ "vite-plugin-vue-devtools": "^7.6.8", "vue-tsc": "^2.2.0" }, - "packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808" + "packageManager": "pnpm@10.8.0+sha512.0e82714d1b5b43c74610193cb20734897c1d00de89d0e18420aebc5977fa13d780a9cb05734624e81ebd81cc876cd464794850641c48b9544326b5622ca29971" } diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index f86a1d25..95c227d8 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -28,7 +28,7 @@ importers: version: 2.0.9 '@vueuse/core': specifier: ^13.0.0 - version: 13.0.0(vue@3.5.13(typescript@5.8.3)) + version: 13.1.0(vue@3.5.13(typescript@5.8.3)) '@xterm/addon-attach': specifier: ^0.11.0 version: 0.11.0(@xterm/xterm@5.5.0) @@ -55,7 +55,7 @@ importers: version: 3.2.10 cronstrue: specifier: ^2.52.0 - version: 2.58.0 + version: 2.59.0 echarts: specifier: ^5.6.0 version: 5.6.0 @@ -70,7 +70,7 @@ importers: version: 3.6.1 marked: specifier: ^15.0.4 - version: 15.0.7 + version: 15.0.8 mitt: specifier: ^3.0.1 version: 3.0.1 @@ -79,10 +79,10 @@ importers: version: 1.3.1 pinia: specifier: ^3.0.0 - version: 3.0.1(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3)) + version: 3.0.2(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3)) pinia-plugin-persistedstate: specifier: ^4.2.0 - version: 4.2.0(pinia@3.0.1(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3))) + version: 4.2.0(pinia@3.0.2(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3))) remove: specifier: ^0.1.5 version: 0.1.5 @@ -101,7 +101,7 @@ importers: devDependencies: '@iconify/json': specifier: ^2.2.290 - version: 2.2.323 + version: 2.2.325 '@iconify/vue': specifier: ^4.2.0 version: 4.3.0(vue@3.5.13(typescript@5.8.3)) @@ -182,7 +182,7 @@ importers: version: 66.0.0(postcss@8.5.3)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(sass@1.86.3)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.3)) unplugin-auto-import: specifier: ^19.0.0 - version: 19.1.2(@nuxt/kit@3.16.2)(@vueuse/core@13.0.0(vue@3.5.13(typescript@5.8.3))) + version: 19.1.2(@nuxt/kit@3.16.2)(@vueuse/core@13.1.0(vue@3.5.13(typescript@5.8.3))) unplugin-icons: specifier: ^22.0.0 version: 22.1.0(@vue/compiler-sfc@3.5.13) @@ -200,7 +200,7 @@ importers: version: 3.0.2(esbuild@0.25.2)(mockjs@1.1.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(sass@1.86.3)(terser@5.39.0)(tsx@4.19.3)) vite-plugin-static-copy: specifier: ^2.2.0 - version: 2.3.0(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(sass@1.86.3)(terser@5.39.0)(tsx@4.19.3)) + version: 2.3.1(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(sass@1.86.3)(terser@5.39.0)(tsx@4.19.3)) vite-plugin-vue-devtools: specifier: ^7.6.8 version: 7.7.2(@nuxt/kit@3.16.2)(rollup@4.39.0)(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(sass@1.86.3)(terser@5.39.0)(tsx@4.19.3))(vue@3.5.13(typescript@5.8.3)) @@ -692,8 +692,8 @@ packages: resolution: {integrity: sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==} engines: {node: '>=18.18'} - '@iconify/json@2.2.323': - resolution: {integrity: sha512-PtRN4hK9OkT2nlEa76A5QT54E6/SOukceKQkOZv9mk44UOlaS/9fhJFNUEA+FBAXEPcnnCQb2nVui+IAn7xTSw==} + '@iconify/json@2.2.325': + resolution: {integrity: sha512-DKBZY0nXvllakPDUHpxmETE4y6hOHkBfr3IHTxGxHmoXWCCynEPMocXSui8BO9GLEYSV+ztkh/aacgxSFKl+JQ==} '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -1345,16 +1345,16 @@ packages: vue: optional: true - '@vueuse/core@13.0.0': - resolution: {integrity: sha512-rkgb4a8/0b234lMGCT29WkCjPfsX0oxrIRR7FDndRoW3FsaC9NBzefXg/9TLhAgwM11f49XnutshM4LzJBrQ5g==} + '@vueuse/core@13.1.0': + resolution: {integrity: sha512-PAauvdRXZvTWXtGLg8cPUFjiZEddTqmogdwYpnn60t08AA5a8Q4hZokBnpTOnVNqySlFlTcRYIC8OqreV4hv3Q==} peerDependencies: vue: ^3.5.0 - '@vueuse/metadata@13.0.0': - resolution: {integrity: sha512-TRNksqmvtvqsuHf7bbgH9OSXEV2b6+M3BSN4LR5oxWKykOFT9gV78+C2/0++Pq9KCp9KQ1OQDPvGlWNQpOb2Mw==} + '@vueuse/metadata@13.1.0': + resolution: {integrity: sha512-+TDd7/a78jale5YbHX9KHW3cEDav1lz1JptwDvep2zSG8XjCsVE+9mHIzjTOaPbHUAk5XiE4jXLz51/tS+aKQw==} - '@vueuse/shared@13.0.0': - resolution: {integrity: sha512-9MiHhAPw+sqCF/RLo8V6HsjRqEdNEWVpDLm2WBRW2G/kSQjb8X901sozXpSCaeLG0f7TEfMrT4XNaA5m1ez7Dg==} + '@vueuse/shared@13.1.0': + resolution: {integrity: sha512-IVS/qRRjhPTZ6C2/AM3jieqXACGwFZwWTdw5sNTSKk2m/ZpkuuN+ri+WCVUP8TqaKwJYt/KuMwmXspMAw8E6ew==} peerDependencies: vue: ^3.5.0 @@ -1619,8 +1619,8 @@ packages: crelt@1.0.6: resolution: {integrity: sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==} - cronstrue@2.58.0: - resolution: {integrity: sha512-5P3esL5URj/u1h7N1zYl33V9XHNh15DQVGQITdIq7kAY78rP9tMYxXgi8kCXGoFqbyXFMMQRvzthHTYxUtp9Fw==} + cronstrue@2.59.0: + resolution: {integrity: sha512-YKGmAy84hKH+hHIIER07VCAHf9u0Ldelx1uU6EBxsRPDXIA1m5fsKmJfyC3xBhw6cVC/1i83VdbL4PvepTrt8A==} hasBin: true cross-spawn@7.0.6: @@ -2461,8 +2461,8 @@ packages: resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} hasBin: true - marked@15.0.7: - resolution: {integrity: sha512-dgLIeKGLx5FwziAnsk4ONoGwHwGPJzselimvlVskE9XLN4Orv9u2VA3GWw/lYUqjfA0rUT/6fqKwfZJapP9BEg==} + marked@15.0.8: + resolution: {integrity: sha512-rli4l2LyZqpQuRve5C0rkn6pj3hT8EWPC+zkAxFTAJLxRbENfTAhEQq9itrmf1Y81QtAX5D/MYlGlIomNgj9lA==} engines: {node: '>= 18'} hasBin: true @@ -2748,8 +2748,8 @@ packages: pinia: optional: true - pinia@3.0.1: - resolution: {integrity: sha512-WXglsDzztOTH6IfcJ99ltYZin2mY8XZCXujkYWVIJlBjqsP6ST7zw+Aarh63E1cDVYeyUcPCxPHzJpEOmzB6Wg==} + pinia@3.0.2: + resolution: {integrity: sha512-sH2JK3wNY809JOeiiURUR0wehJ9/gd9qFN2Y828jCbxEzKEmEt0pzCXwqiSTfuRsK9vQsOflSdnbdBOGrhtn+g==} peerDependencies: typescript: '>=4.4.4' vue: ^2.7.0 || ^3.5.11 @@ -3299,8 +3299,8 @@ packages: mockjs: '>=1.1.0' vite: '>=4.0.0' - vite-plugin-static-copy@2.3.0: - resolution: {integrity: sha512-LLKwhhHetGaCnWz4mas4qqjjguDka6/6b4+SeIohRroj8aCE7QTfiZECfPecslFQkWZ3HdQuq5kOPmWZjNYlKA==} + vite-plugin-static-copy@2.3.1: + resolution: {integrity: sha512-EfsPcBm3ewg3UMG8RJaC0ADq6/qnUZnokXx4By4+2cAcipjT9i0Y0owIJGqmZI7d6nxk4qB1q5aXOwNuSyPdyA==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 || ^6.0.0 @@ -4109,7 +4109,7 @@ snapshots: '@humanwhocodes/retry@0.4.2': {} - '@iconify/json@2.2.323': + '@iconify/json@2.2.325': dependencies: '@iconify/types': 2.0.0 pathe: 1.1.2 @@ -4932,16 +4932,16 @@ snapshots: typescript: 5.8.3 vue: 3.5.13(typescript@5.8.3) - '@vueuse/core@13.0.0(vue@3.5.13(typescript@5.8.3))': + '@vueuse/core@13.1.0(vue@3.5.13(typescript@5.8.3))': dependencies: '@types/web-bluetooth': 0.0.21 - '@vueuse/metadata': 13.0.0 - '@vueuse/shared': 13.0.0(vue@3.5.13(typescript@5.8.3)) + '@vueuse/metadata': 13.1.0 + '@vueuse/shared': 13.1.0(vue@3.5.13(typescript@5.8.3)) vue: 3.5.13(typescript@5.8.3) - '@vueuse/metadata@13.0.0': {} + '@vueuse/metadata@13.1.0': {} - '@vueuse/shared@13.0.0(vue@3.5.13(typescript@5.8.3))': + '@vueuse/shared@13.1.0(vue@3.5.13(typescript@5.8.3))': dependencies: vue: 3.5.13(typescript@5.8.3) @@ -5222,7 +5222,7 @@ snapshots: crelt@1.0.6: {} - cronstrue@2.58.0: {} + cronstrue@2.59.0: {} cross-spawn@7.0.6: dependencies: @@ -6134,7 +6134,7 @@ snapshots: punycode.js: 2.3.1 uc.micro: 2.1.0 - marked@15.0.7: {} + marked@15.0.8: {} math-intrinsics@1.1.0: {} @@ -6412,18 +6412,18 @@ snapshots: pidtree@0.6.0: {} - pinia-plugin-persistedstate@4.2.0(pinia@3.0.1(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3))): + pinia-plugin-persistedstate@4.2.0(pinia@3.0.2(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3))): dependencies: '@nuxt/kit': 3.16.2 deep-pick-omit: 1.2.1 defu: 6.1.4 destr: 2.0.5 optionalDependencies: - pinia: 3.0.1(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3)) + pinia: 3.0.2(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3)) transitivePeerDependencies: - magicast - pinia@3.0.1(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3)): + pinia@3.0.2(typescript@5.8.3)(vue@3.5.13(typescript@5.8.3)): dependencies: '@vue/devtools-api': 7.7.2 vue: 3.5.13(typescript@5.8.3) @@ -6957,7 +6957,7 @@ snapshots: unpipe@1.0.0: {} - unplugin-auto-import@19.1.2(@nuxt/kit@3.16.2)(@vueuse/core@13.0.0(vue@3.5.13(typescript@5.8.3))): + unplugin-auto-import@19.1.2(@nuxt/kit@3.16.2)(@vueuse/core@13.1.0(vue@3.5.13(typescript@5.8.3))): dependencies: local-pkg: 1.1.1 magic-string: 0.30.17 @@ -6967,7 +6967,7 @@ snapshots: unplugin-utils: 0.2.4 optionalDependencies: '@nuxt/kit': 3.16.2 - '@vueuse/core': 13.0.0(vue@3.5.13(typescript@5.8.3)) + '@vueuse/core': 13.1.0(vue@3.5.13(typescript@5.8.3)) unplugin-icons@22.1.0(@vue/compiler-sfc@3.5.13): dependencies: @@ -7088,7 +7088,7 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-static-copy@2.3.0(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(sass@1.86.3)(terser@5.39.0)(tsx@4.19.3)): + vite-plugin-static-copy@2.3.1(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(sass@1.86.3)(terser@5.39.0)(tsx@4.19.3)): dependencies: chokidar: 3.6.0 fast-glob: 3.3.3