From a1bbd276a53a3140b406a86be6f104fc5c2bcf1a Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Tue, 12 Nov 2024 11:07:37 +0100 Subject: [PATCH] mod: Update golang.org/x/{crypto,sys,term,text,net} Update go verison in Dockerfile Fixes #1029 #1028 #1027 #1026 #1022 --- Dockerfile | 2 +- go.mod | 34 +++++++++++++++++----------------- go.sum | 20 ++++++++++---------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Dockerfile b/Dockerfile index abda72df9..e6c4a4512 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # bump: docker-golang /FROM golang:([\d.]+)/ docker:golang|^1 -FROM golang:1.23.2-bookworm AS base +FROM golang:1.23.3-bookworm AS base # expect is used to test cli RUN \ diff --git a/go.mod b/go.mod index 3ffa8273e..4ea9f6c89 100644 --- a/go.mod +++ b/go.mod @@ -9,22 +9,22 @@ require github.com/wader/gojq v0.12.1-0.20240822064856-a7688e3344e7 require ( // bump: gomod-BurntSushi/toml /github\.com\/BurntSushi\/toml v(.*)/ https://github.com/BurntSushi/toml.git|^1 - // bump: gomod-BurntSushi/toml command go get -d github.com/BurntSushi/toml@v$LATEST && go mod tidy + // bump: gomod-BurntSushi/toml command go get github.com/BurntSushi/toml@v$LATEST && go mod tidy // bump: gomod-BurntSushi/toml link "Source diff $CURRENT..$LATEST" https://github.com/BurntSushi/toml/compare/v$CURRENT..v$LATEST github.com/BurntSushi/toml v1.4.0 // bump: gomod-creasty-defaults /github\.com\/creasty\/defaults v(.*)/ https://github.com/creasty/defaults.git|^1 - // bump: gomod-creasty-defaults command go get -d github.com/creasty/defaults@v$LATEST && go mod tidy + // bump: gomod-creasty-defaults command go get github.com/creasty/defaults@v$LATEST && go mod tidy // bump: gomod-creasty-defaults link "Source diff $CURRENT..$LATEST" https://github.com/creasty/defaults/compare/v$CURRENT..v$LATEST github.com/creasty/defaults v1.8.0 // bump: gomod-ergochat-readline /github\.com\/ergochat\/readline v(.*)/ https://github.com/ergochat/readline.git|* - // bump: gomod-ergochat-readline command go get -d github.com/ergochat/readline@v$LATEST && go mod tidy + // bump: gomod-ergochat-readline command go get github.com/ergochat/readline@v$LATEST && go mod tidy // bump: gomod-ergochat-readline link "Release notes" https://github.com/ergochat/readline/releases/tag/v$LATEST github.com/ergochat/readline v0.1.3 // bump: gomod-golang-snappy /github\.com\/golang\/snappy v(.*)/ https://github.com/golang/snappy.git|^0 - // bump: gomod-golang-snappy command go get -d github.com/golang/snappy@v$LATEST && go mod tidy + // bump: gomod-golang-snappy command go get github.com/golang/snappy@v$LATEST && go mod tidy // bump: gomod-golang-snappy link "Source diff $CURRENT..$LATEST" https://github.com/golang/snappy/compare/v$CURRENT..v$LATEST github.com/golang/snappy v0.0.4 @@ -33,46 +33,46 @@ require ( github.com/gomarkdown/markdown v0.0.0-20240730141124-034f12af3bf6 // bump: gomod-gopacket /github\.com\/gopacket\/gopacket v(.*)/ https://github.com/gopacket/gopacket.git|^1 - // bump: gomod-gopacket command go get -d github.com/gopacket/gopacket@v$LATEST && go mod tidy + // bump: gomod-gopacket command go get github.com/gopacket/gopacket@v$LATEST && go mod tidy // bump: gomod-gopacket link "Release notes" https://github.com/gopacket/gopacket/releases/tag/v$LATEST github.com/gopacket/gopacket v1.3.1 // bump: gomod-copystructure /github\.com\/mitchellh\/copystructure v(.*)/ https://github.com/mitchellh/copystructure.git|^1 - // bump: gomod-copystructure command go get -d github.com/mitchellh/copystructure@v$LATEST && go mod tidy + // bump: gomod-copystructure command go get github.com/mitchellh/copystructure@v$LATEST && go mod tidy // bump: gomod-copystructure link "CHANGELOG" https://github.com/mitchellh/copystructure/blob/master/CHANGELOG.md github.com/mitchellh/copystructure v1.2.0 // bump: gomod-mapstructure /github\.com\/mitchellh\/mapstructure v(.*)/ https://github.com/mitchellh/mapstructure.git|^1 - // bump: gomod-mapstructure command go get -d github.com/mitchellh/mapstructure@v$LATEST && go mod tidy + // bump: gomod-mapstructure command go get github.com/mitchellh/mapstructure@v$LATEST && go mod tidy // bump: gomod-mapstructure link "CHANGELOG" https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md github.com/mitchellh/mapstructure v1.5.0 // bump: gomod-golang-x-crypto /golang\.org\/x\/crypto v(.*)/ https://github.com/golang/crypto.git|^0 - // bump: gomod-golang-x-crypto command go get -d golang.org/x/crypto@v$LATEST && go mod tidy + // bump: gomod-golang-x-crypto command go get golang.org/x/crypto@v$LATEST && go mod tidy // bump: gomod-golang-x-crypto link "Tags" https://github.com/golang/crypto/tags - golang.org/x/crypto v0.26.0 + golang.org/x/crypto v0.29.0 // has no tags // go get golang.org/x/exp@master && go mod tidy golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // bump: gomod-golang-x-net /golang\.org\/x\/net v(.*)/ https://github.com/golang/net.git|^0 - // bump: gomod-golang-x-net command go get -d golang.org/x/net@v$LATEST && go mod tidy + // bump: gomod-golang-x-net command go get golang.org/x/net@v$LATEST && go mod tidy // bump: gomod-golang-x-net link "Tags" https://github.com/golang/net/tags - golang.org/x/net v0.28.0 + golang.org/x/net v0.31.0 // bump: gomod-golang-x-term /golang\.org\/x\/term v(.*)/ https://github.com/golang/term.git|^0 - // bump: gomod-golang-x-term command go get -d golang.org/x/term@v$LATEST && go mod tidy + // bump: gomod-golang-x-term command go get golang.org/x/term@v$LATEST && go mod tidy // bump: gomod-golang-x-term link "Tags" https://github.com/golang/term/tags - golang.org/x/term v0.23.0 + golang.org/x/term v0.26.0 // bump: gomod-golang/text /golang\.org\/x\/text v(.*)/ https://github.com/golang/text.git|^0 - // bump: gomod-golang/text command go get -d golang.org/x/text@v$LATEST && go mod tidy + // bump: gomod-golang/text command go get golang.org/x/text@v$LATEST && go mod tidy // bump: gomod-golang/text link "Source diff $CURRENT..$LATEST" https://github.com/golang/text/compare/v$CURRENT..v$LATEST - golang.org/x/text v0.17.0 + golang.org/x/text v0.20.0 // bump: gomod-gopkg.in/yaml.v3 /gopkg\.in\/yaml\.v3 v(.*)/ https://github.com/go-yaml/yaml.git|^3 - // bump: gomod-gopkg.in/yaml.v3 command go get -d gopkg.in/yaml.v3@v$LATEST && go mod tidy + // bump: gomod-gopkg.in/yaml.v3 command go get gopkg.in/yaml.v3@v$LATEST && go mod tidy // bump: gomod-gopkg.in/yaml.v3 link "Source diff $CURRENT..$LATEST" https://github.com/go-yaml/yaml/compare/v$CURRENT..v$LATEST gopkg.in/yaml.v3 v3.0.1 ) @@ -81,6 +81,6 @@ require ( github.com/itchyny/timefmt-go v0.1.6 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect - golang.org/x/sys v0.24.0 // indirect + golang.org/x/sys v0.27.0 // indirect gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect ) diff --git a/go.sum b/go.sum index 093105e42..28c854ef0 100644 --- a/go.sum +++ b/go.sum @@ -25,18 +25,18 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWb github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/wader/gojq v0.12.1-0.20240822064856-a7688e3344e7 h1:zrUiUpIX/C5QzEkR/+wb7dIRtcxfXrTUqvDvCQeeibw= github.com/wader/gojq v0.12.1-0.20240822064856-a7688e3344e7/go.mod h1:EPKZhJLM6ILU40HkgFbhrsV7MHf5flxQDS5fSf/KNpE= -golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= -golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= +golang.org/x/crypto v0.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ= +golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg= golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa h1:ELnwvuAXPNtPk1TJRuGkI9fDTwym6AYBu0qzT8AcHdI= golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa/go.mod h1:akd2r19cwCdwSwWeIdzYQGa/EZZyqcOdwWiwj5L5eKQ= -golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= -golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= -golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= -golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= -golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= -golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= -golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo= +golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM= +golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= +golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.26.0 h1:WEQa6V3Gja/BhNxg540hBip/kkaYtRg3cxg4oXSw4AU= +golang.org/x/term v0.26.0/go.mod h1:Si5m1o57C5nBNQo5z1iq+XDijt21BDBDp2bK0QI8e3E= +golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= +golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=