From ab819d4b1698f8f9463acb4699385372fcf89d0d Mon Sep 17 00:00:00 2001 From: Adrian Hesketh Date: Tue, 31 Oct 2023 10:38:27 +0000 Subject: [PATCH] chore: bump golang.org/x/net --- examples/integration-gin/go.mod | 2 +- examples/integration-gin/go.sum | 4 ++-- examples/integration-gin/main.go | 2 ++ examples/integration-gin/renderer.go | 1 - go.mod | 8 ++++---- go.sum | 16 ++++++++-------- 6 files changed, 17 insertions(+), 16 deletions(-) diff --git a/examples/integration-gin/go.mod b/examples/integration-gin/go.mod index 553088d68..21ac39ee7 100644 --- a/examples/integration-gin/go.mod +++ b/examples/integration-gin/go.mod @@ -3,7 +3,7 @@ module github.com/a-h/templ/examples/integration-gin go 1.21.1 require ( - github.com/a-h/templ v0.2.364 + github.com/a-h/templ v0.2.432 github.com/gin-gonic/gin v1.9.1 ) diff --git a/examples/integration-gin/go.sum b/examples/integration-gin/go.sum index 7ac4367c1..b430cc55f 100644 --- a/examples/integration-gin/go.sum +++ b/examples/integration-gin/go.sum @@ -1,5 +1,5 @@ -github.com/a-h/templ v0.2.364 h1:4vseUATyAzacrOOU1jPmLfkxet6Yg/NAmsA/4rDDhfo= -github.com/a-h/templ v0.2.364/go.mod h1:6Lfhsl3Z4/vXl7jjEjkJRCqoWDGjDnuKgzjYMDSddas= +github.com/a-h/templ v0.2.432 h1:/8sSs0janzx/DvXlYi+3KUkZABvm7s3lejbvhPZ1rSg= +github.com/a-h/templ v0.2.432/go.mod h1:6Lfhsl3Z4/vXl7jjEjkJRCqoWDGjDnuKgzjYMDSddas= github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s= github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= diff --git a/examples/integration-gin/main.go b/examples/integration-gin/main.go index 87ccb3c2b..7c16ac262 100644 --- a/examples/integration-gin/main.go +++ b/examples/integration-gin/main.go @@ -13,4 +13,6 @@ func main() { r.GET("/", func(c *gin.Context) { c.HTML(http.StatusOK, "", Home()) }) + + r.Run(":8080") } diff --git a/examples/integration-gin/renderer.go b/examples/integration-gin/renderer.go index 8040f6bca..6bf281058 100644 --- a/examples/integration-gin/renderer.go +++ b/examples/integration-gin/renderer.go @@ -18,7 +18,6 @@ func (t TemplRender) Render(w http.ResponseWriter) error { if t.Data != nil { return t.Data.Render(context.Background(), w) } - return nil } diff --git a/go.mod b/go.mod index 60f6acb77..4b5f3ea5a 100644 --- a/go.mod +++ b/go.mod @@ -4,14 +4,14 @@ go 1.20 require ( github.com/PuerkitoBio/goquery v1.8.1 - github.com/a-h/htmlformat v0.0.0-20230417105637-bdff660c6c36 + github.com/a-h/htmlformat v0.0.0-20231031103120-c3d4a33d8ada github.com/a-h/lexical v0.0.53 github.com/a-h/parse v0.0.0-20230402144745-e6c8bc86e846 github.com/a-h/pathvars v0.0.12 github.com/a-h/protocol v0.0.0-20230224160810-b4eec67c1c22 github.com/cenkalti/backoff/v4 v4.2.1 github.com/cli/browser v1.2.0 - github.com/google/go-cmp v0.5.9 + github.com/google/go-cmp v0.6.0 github.com/natefinch/atomic v1.0.1 github.com/rs/cors v1.8.3 go.lsp.dev/jsonrpc2 v0.10.0 @@ -27,8 +27,8 @@ require ( go.lsp.dev/pkg v0.0.0-20210717090340-384b27a52fb2 // indirect go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.9.0 // indirect - golang.org/x/net v0.9.0 // indirect - golang.org/x/sys v0.8.0 // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/sys v0.13.0 // indirect ) // replace github.com/a-h/parse => /Users/adrian/github.com/a-h/parse diff --git a/go.sum b/go.sum index e12acfa90..3e431ff6f 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM= github.com/PuerkitoBio/goquery v1.8.1/go.mod h1:Q8ICL1kNUJ2sXGoAhPGUdYDJvgQgHzJsnnd3H7Ho5jQ= -github.com/a-h/htmlformat v0.0.0-20230417105637-bdff660c6c36 h1:mF1/+Wa/LKXK2iNi3tnbeN6+8a9RMk2R2fgjGIdmjms= -github.com/a-h/htmlformat v0.0.0-20230417105637-bdff660c6c36/go.mod h1:WnXGBO3J4bxTkUrZQMa/A7EfAd2IY/MtPLaonv7TZlQ= +github.com/a-h/htmlformat v0.0.0-20231031103120-c3d4a33d8ada h1:xiVyVl0Ub0/IRgnzuaa/6dLNTrDZzY4Pcy47jUxt+bc= +github.com/a-h/htmlformat v0.0.0-20231031103120-c3d4a33d8ada/go.mod h1:FMIm5afKmEfarNbIXOaPHFY8X7fo+fRQB6I9MPG2nB0= github.com/a-h/lexical v0.0.53 h1:uXaV05/iWmVe8A/TxUXxPrpe7z3/8AVbWmOUEbYPe+Q= github.com/a-h/lexical v0.0.53/go.mod h1:d73jw5cgKXuYypRozNBuxRNFrTWQ3y5hVMG7rUjh1Qw= github.com/a-h/parse v0.0.0-20230402144745-e6c8bc86e846 h1:4yqkQ38CwznwKvf/K6UbBWmcz7Ok/ZSzAXYe1Y9k7fU= @@ -19,8 +19,8 @@ github.com/cli/browser v1.2.0 h1:yvU7e9qf97kZqGFX6n2zJPHsmSObY9ske+iCvKelvXg= github.com/cli/browser v1.2.0/go.mod h1:xFFnXLVcAyW9ni0cuo6NnrbCP75JxJ0RO7VtCBiH/oI= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/natefinch/atomic v1.0.1 h1:ZPYKxkqQOx3KZ+RsbnP/YsgvxWQPGxjC0oBt2AhwV0A= github.com/natefinch/atomic v1.0.1/go.mod h1:N/D/ELrljoqDyT3rZrsUmtsuzvHkeB/wWjHV22AZRbM= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= @@ -57,8 +57,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210916014120-12bc252f5db8/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.9.0 h1:aWJ/m6xSmxWBx+V0XRHTlrYrPG56jKsLdTFmsSsCzOM= -golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= 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/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -70,8 +70,8 @@ golang.org/x/sys v0.0.0-20211110154304-99a53858aa08/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=