From 07f58a1c02108bd12776ee3156e8b2ab70b7e5e0 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Tue, 7 Jan 2025 11:41:07 -0800 Subject: [PATCH] update shellescape to latest with new vanity import --- go.mod | 2 +- go.sum | 6 ++++-- pkg/build/nodeimage/internal/kube/source.go | 2 +- pkg/cluster/internal/create/create.go | 2 +- pkg/cluster/internal/logs/logs.go | 2 +- pkg/exec/helpers.go | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 7de964b080..d3536b6d66 100644 --- a/go.mod +++ b/go.mod @@ -11,8 +11,8 @@ module sigs.k8s.io/kind go 1.17 require ( + al.essio.dev/pkg/shellescape v1.5.1 github.com/BurntSushi/toml v1.4.0 - github.com/alessio/shellescape v1.4.2 github.com/evanphx/json-patch/v5 v5.6.0 github.com/google/safetext v0.0.0-20220905092116-b49f7bc46da2 github.com/mattn/go-isatty v0.0.20 diff --git a/go.sum b/go.sum index bf1dc5eda7..627be5f336 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ +al.essio.dev/pkg/shellescape v1.5.1 h1:86HrALUujYS/h+GtqoB26SBEdkWfmMI6FubjXlsXyho= +al.essio.dev/pkg/shellescape v1.5.1/go.mod h1:6sIqp7X2P6mThCQ7twERpZTuigpr6KbZWtls1U8I890= github.com/BurntSushi/toml v1.4.0 h1:kuoIxZQy2WRRk1pttg9asf+WVv6tWQuBNVmK8+nqPr0= github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= -github.com/alessio/shellescape v1.4.2 h1:MHPfaU+ddJ0/bYWpgIeUnQUqKrlJ1S7BfEYPM4uEoM0= -github.com/alessio/shellescape v1.4.2/go.mod h1:PZAiSCk0LJaZkiCSkPv8qIobYglO3FPpyFjDCtHLS30= github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= @@ -10,6 +10,8 @@ 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/safetext v0.0.0-20220905092116-b49f7bc46da2 h1:SJ+NtwL6QaZ21U+IrK7d0gGgpjGGvd2kz+FzTHVzdqI= github.com/google/safetext v0.0.0-20220905092116-b49f7bc46da2/go.mod h1:Tv1PlzqC9t8wNnpPdctvtSUOPUUg4SHeE6vR1Ir2hmg= +github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= +github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= diff --git a/pkg/build/nodeimage/internal/kube/source.go b/pkg/build/nodeimage/internal/kube/source.go index fb0d9c7d8b..9e68a6c71a 100644 --- a/pkg/build/nodeimage/internal/kube/source.go +++ b/pkg/build/nodeimage/internal/kube/source.go @@ -23,7 +23,7 @@ import ( "path/filepath" "strings" - "github.com/alessio/shellescape" + "al.essio.dev/pkg/shellescape" "sigs.k8s.io/kind/pkg/errors" "sigs.k8s.io/kind/pkg/exec" diff --git a/pkg/cluster/internal/create/create.go b/pkg/cluster/internal/create/create.go index 351ba6c754..a935822d98 100644 --- a/pkg/cluster/internal/create/create.go +++ b/pkg/cluster/internal/create/create.go @@ -21,7 +21,7 @@ import ( "math/rand" "time" - "github.com/alessio/shellescape" + "al.essio.dev/pkg/shellescape" "sigs.k8s.io/kind/pkg/cluster/internal/delete" "sigs.k8s.io/kind/pkg/cluster/internal/providers" diff --git a/pkg/cluster/internal/logs/logs.go b/pkg/cluster/internal/logs/logs.go index 2dc5941ef2..28f4c28b93 100644 --- a/pkg/cluster/internal/logs/logs.go +++ b/pkg/cluster/internal/logs/logs.go @@ -24,7 +24,7 @@ import ( "path" "path/filepath" - "github.com/alessio/shellescape" + "al.essio.dev/pkg/shellescape" "sigs.k8s.io/kind/pkg/cluster/nodes" "sigs.k8s.io/kind/pkg/errors" diff --git a/pkg/exec/helpers.go b/pkg/exec/helpers.go index e579589e85..0acfa44b09 100644 --- a/pkg/exec/helpers.go +++ b/pkg/exec/helpers.go @@ -23,7 +23,7 @@ import ( "os" "strings" - "github.com/alessio/shellescape" + "al.essio.dev/pkg/shellescape" "sigs.k8s.io/kind/pkg/errors" )