Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
fix(deps): update module mvdan.cc/xurls to v2 (#3815)
renovate[bot]b483b2fe2fd6
diff --git a/core/chat/events/events.go b/core/chat/events/events.goindex ffb65cf27f..030f99e961 100644--- a/core/chat/events/events.go+++ b/core/chat/events/events.go@@ -17,7 +17,7 @@ import ("github.com/yuin/goldmark/extension""github.com/yuin/goldmark/renderer/html""github.com/yuin/goldmark/util"- "mvdan.cc/xurls"+ "mvdan.cc/xurls/v2""github.com/owncast/owncast/core/data""github.com/owncast/owncast/models"@@ -220,7 +220,7 @@ func RenderMarkdown(raw string) string {[]byte("https:"),}),extension.WithLinkifyURLRegexp(- xurls.Strict,+ xurls.Strict(),),),emoji.New(diff --git a/go.mod b/go.modindex 09e7cfef21..d934ea5024 100644--- a/go.mod+++ b/go.mod@@ -87,7 +87,7 @@ require (github.com/stretchr/testify v1.9.0github.com/yuin/goldmark-emoji v1.0.3gopkg.in/evanphx/json-patch.v5 v5.9.0- mvdan.cc/xurls v1.1.0+ mvdan.cc/xurls/v2 v2.5.0mvdan.cc/xurls/v2 v2.5.0)diff --git a/go.sum b/go.sumindex 4154e3dde7..191079a65e 100644--- a/go.sum+++ b/go.sum@@ -274,4 +274,5 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=mvdan.cc/xurls v1.1.0 h1:kj0j2lonKseISJCiq1Tfk+iTv65dDGCl0rTbanXJGGc=mvdan.cc/xurls v1.1.0/go.mod h1:TNWuhvo+IqbUCmtUIb/3LJSQdrzel8loVpgFm0HikbI=+mvdan.cc/xurls/v2 v2.5.0 h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8=mvdan.cc/xurls/v2 v2.5.0/go.mod h1:yQgaGQ1rFtJUzkmKiHYSSfuQxqfYmd//X6PxvholpeE=diff --git a/utils/utils.go b/utils/utils.goindex 2a51c367a5..64d9566f92 100644--- a/utils/utils.go+++ b/utils/utils.go@@ -21,7 +21,7 @@ import ("github.com/yuin/goldmark""github.com/yuin/goldmark/extension""github.com/yuin/goldmark/renderer/html"- "mvdan.cc/xurls"+ "mvdan.cc/xurls/v2")// DoesFileExists checks if the file exists.@@ -162,7 +162,7 @@ func RenderSimpleMarkdown(raw string) string {[]byte("https:"),}),extension.WithLinkifyURLRegexp(- xurls.Strict,+ xurls.Strict(),),),),@@ -191,7 +191,7 @@ func RenderPageContentMarkdown(raw string) string {[]byte("https:"),}),extension.WithLinkifyURLRegexp(- xurls.Strict,+ xurls.Strict(),),),),