loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'Update module github.com/huandu/xstrings to v1.5.0' (#4050) from renovate/github.com-huandu-xstrings-1.x into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4050
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>

+5 -3
+1 -1
go.mod
··· 62 62 github.com/h2non/gock v1.2.0 63 63 github.com/hashicorp/go-version v1.6.0 64 64 github.com/hashicorp/golang-lru/v2 v2.0.7 65 - github.com/huandu/xstrings v1.4.0 65 + github.com/huandu/xstrings v1.5.0 66 66 github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056 67 67 github.com/jhillyerd/enmime v1.2.0 68 68 github.com/json-iterator/go v1.1.12
+2 -2
go.sum
··· 410 410 github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= 411 411 github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= 412 412 github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= 413 - github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= 414 - github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= 413 + github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI= 414 + github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= 415 415 github.com/ianlancetaylor/demangle v0.0.0-20230524184225-eabc099b10ab/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw= 416 416 github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= 417 417 github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4=
+2
services/repository/generate.go
··· 42 42 var defaultTransformers = []transformer{ 43 43 {Name: "SNAKE", Transform: xstrings.ToSnakeCase}, 44 44 {Name: "KEBAB", Transform: xstrings.ToKebabCase}, 45 + // as of xstrings v1.5.0 the CAMEL & PASCAL workarounds are no longer necessary 46 + // and can be removed https://codeberg.org/forgejo/forgejo/pulls/4050 45 47 {Name: "CAMEL", Transform: func(str string) string { 46 48 return xstrings.FirstRuneToLower(xstrings.ToCamelCase(str)) 47 49 }},