更新ts和包

This commit is contained in:
Star 2025-07-24 19:37:57 +08:00
parent 9955bc0eb5
commit b184e96f64
2 changed files with 4 additions and 3 deletions

4
go.mod
View File

@ -3,7 +3,7 @@ module apigo.cc/gojs/util
go 1.23.0
require (
apigo.cc/gojs v0.0.21
apigo.cc/gojs v0.0.23
apigo.cc/gojs/console v0.0.2
github.com/ZZMarquis/gm v1.3.2
github.com/emmansun/gmsm v0.30.1
@ -18,7 +18,7 @@ require (
github.com/go-sourcemap/sourcemap v2.1.4+incompatible // indirect
github.com/google/pprof v0.0.0-20250630185457-6e76a2b096b5 // indirect
github.com/ssgo/config v1.7.9 // indirect
github.com/ssgo/log v1.7.7 // indirect
github.com/ssgo/log v1.7.9 // indirect
github.com/ssgo/standard v1.7.7 // indirect
github.com/ssgo/tool v0.4.29 // indirect
golang.org/x/crypto v0.40.0 // indirect

View File

@ -163,7 +163,8 @@ function hmacSHA256(key: any, ...data: any[]): any { return '' }
function hmacSHA512(key: any, ...data: any[]): any { return '' }
function hmacSM3(key: any, ...data: any[]): any { return '' }
function tpl(text: string, data: any, functions?: Object): string { return '' }
function formatDate(format: string, timestamp?: number): string { return '' }
function formatDate(format: string, value?: any): string { return '' }
function addDate(add: string, value?: any): string { return '' }
function timestampMS(): number { return 0 }
function timestamp(): number { return 0 }
function toDatetime(timestamp?: number): string { return '' }