diff --git a/go.mod b/go.mod index 1d996f7e..1c43bd41 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,7 @@ go 1.22.7 toolchain go1.23.2 require ( + github.com/antchfx/htmlquery v1.3.4 github.com/flosch/pongo2/v4 v4.0.2 github.com/google/go-github/v56 v56.0.0 github.com/lxc/incus/v6 v6.6.0 @@ -14,7 +15,6 @@ require ( github.com/stretchr/testify v1.9.0 golang.org/x/sys v0.28.0 golang.org/x/text v0.21.0 - gopkg.in/antchfx/htmlquery.v1 v1.2.2 gopkg.in/yaml.v2 v2.4.0 ) @@ -98,5 +98,3 @@ require ( ) replace github.com/mudler/docker-companion => github.com/geaaru/docker-companion v0.4.6-0.20241113113045-0f9ad14bc226 - -replace gopkg.in/antchfx/htmlquery.v1 v1.2.2 => github.com/antchfx/htmlquery v1.3.4 diff --git a/sources/archlinux-http.go b/sources/archlinux-http.go index f06b06a1..6a70cbb6 100644 --- a/sources/archlinux-http.go +++ b/sources/archlinux-http.go @@ -11,7 +11,7 @@ import ( "sort" "strings" - "gopkg.in/antchfx/htmlquery.v1" + "github.com/antchfx/htmlquery" "github.com/lxc/distrobuilder/shared" ) diff --git a/sources/opensuse-http.go b/sources/opensuse-http.go index 57160e5b..abb49bde 100644 --- a/sources/opensuse-http.go +++ b/sources/opensuse-http.go @@ -14,7 +14,7 @@ import ( "sort" "strings" - "gopkg.in/antchfx/htmlquery.v1" + "github.com/antchfx/htmlquery" "github.com/lxc/distrobuilder/shared" ) diff --git a/sources/oraclelinux-http.go b/sources/oraclelinux-http.go index f0c43242..d79b87d2 100644 --- a/sources/oraclelinux-http.go +++ b/sources/oraclelinux-http.go @@ -10,9 +10,9 @@ import ( "sort" "strings" + "github.com/antchfx/htmlquery" incus "github.com/lxc/incus/v6/shared/util" "golang.org/x/sys/unix" - "gopkg.in/antchfx/htmlquery.v1" "github.com/lxc/distrobuilder/shared" ) diff --git a/sources/plamolinux-http.go b/sources/plamolinux-http.go index a0805481..b4c0adcf 100644 --- a/sources/plamolinux-http.go +++ b/sources/plamolinux-http.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "gopkg.in/antchfx/htmlquery.v1" + "github.com/antchfx/htmlquery" "github.com/lxc/distrobuilder/shared" ) diff --git a/sources/slackware-http.go b/sources/slackware-http.go index e2e498b1..64651b22 100644 --- a/sources/slackware-http.go +++ b/sources/slackware-http.go @@ -9,7 +9,7 @@ import ( "slices" "strings" - "gopkg.in/antchfx/htmlquery.v1" + "github.com/antchfx/htmlquery" "github.com/lxc/distrobuilder/shared" )