diff --git a/go.mod b/go.mod index cf5bf4d..3f2e59f 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/Masterminds/semver/v3 v3.3.1 github.com/rs/zerolog v1.33.0 github.com/stretchr/testify v1.10.0 - github.com/thegeeklab/wp-plugin-go/v3 v3.0.9 + github.com/thegeeklab/wp-plugin-go/v4 v4.0.1 github.com/urfave/cli/v2 v2.27.5 ) @@ -28,8 +28,8 @@ require ( github.com/shopspring/decimal v1.4.0 // indirect github.com/spf13/cast v1.7.0 // indirect github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect - golang.org/x/crypto v0.29.0 // indirect - golang.org/x/net v0.31.0 // indirect - golang.org/x/sys v0.27.0 // indirect + golang.org/x/crypto v0.31.0 // indirect + golang.org/x/net v0.32.0 // indirect + golang.org/x/sys v0.28.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 00cc363..ea86214 100644 --- a/go.sum +++ b/go.sum @@ -52,21 +52,21 @@ github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w= github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/thegeeklab/wp-plugin-go/v3 v3.0.9 h1:DI7DjM3BKdG9JxU4dqg6kdnuBzWX9vfr0KhypvmXPJE= -github.com/thegeeklab/wp-plugin-go/v3 v3.0.9/go.mod h1:NbVI6yLLlqRkWhGvGe2bwwD31dYednUkSxVYkM2b+lg= +github.com/thegeeklab/wp-plugin-go/v4 v4.0.1 h1:R9aV21C0868Vt7cfUgIT80VCGdEgeUR1FOnwLKXwC4w= +github.com/thegeeklab/wp-plugin-go/v4 v4.0.1/go.mod h1:G9ReABFui830DgI4jY7Bq3a2Ah4rLLpBX0tM2OgcnWw= github.com/urfave/cli/v2 v2.27.5 h1:WoHEJLdsXr6dDWoJgMq/CboDmyY/8HMMH1fTECbih+w= github.com/urfave/cli/v2 v2.27.5/go.mod h1:3Sevf16NykTbInEnD0yKkjDAeZDS0A6bzhBH5hrMvTQ= github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4= github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM= -golang.org/x/crypto v0.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ= -golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg= -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/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= +golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI= +golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -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/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/internal/docs/main.go b/internal/docs/main.go index ab8a610..f7f75cb 100644 --- a/internal/docs/main.go +++ b/internal/docs/main.go @@ -10,8 +10,8 @@ import ( "time" "github.com/thegeeklab/wp-opentofu/plugin" - plugin_docs "github.com/thegeeklab/wp-plugin-go/v3/docs" - plugin_template "github.com/thegeeklab/wp-plugin-go/v3/template" + plugin_docs "github.com/thegeeklab/wp-plugin-go/v4/docs" + plugin_template "github.com/thegeeklab/wp-plugin-go/v4/template" ) func main() { diff --git a/plugin/impl.go b/plugin/impl.go index 3c32101..17aa5c4 100644 --- a/plugin/impl.go +++ b/plugin/impl.go @@ -8,7 +8,7 @@ import ( "os" "github.com/thegeeklab/wp-opentofu/tofu" - plugin_exec "github.com/thegeeklab/wp-plugin-go/v3/exec" + plugin_exec "github.com/thegeeklab/wp-plugin-go/v4/exec" ) var ( diff --git a/plugin/plugin.go b/plugin/plugin.go index 36ca5fc..3e998c8 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/thegeeklab/wp-opentofu/tofu" - plugin_base "github.com/thegeeklab/wp-plugin-go/v3/plugin" + plugin_base "github.com/thegeeklab/wp-plugin-go/v4/plugin" "github.com/urfave/cli/v2" ) diff --git a/tofu/tofu.go b/tofu/tofu.go index c0f679c..4512679 100644 --- a/tofu/tofu.go +++ b/tofu/tofu.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - plugin_exec "github.com/thegeeklab/wp-plugin-go/v3/exec" + plugin_exec "github.com/thegeeklab/wp-plugin-go/v4/exec" "github.com/urfave/cli/v2" )