From 57e4e3d2cc59c8c7ceadfbf6eb010d8063ca1654 Mon Sep 17 00:00:00 2001 From: Oliver Steele Date: Thu, 17 Jun 2021 22:39:34 +0800 Subject: [PATCH] upgrade go.mod and imports to blackfriday/v2 --- filters/filters.go | 2 +- go.mod | 4 ++-- go.sum | 2 ++ renderers/markdown.go | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/filters/filters.go b/filters/filters.go index e286152..e8164ff 100644 --- a/filters/filters.go +++ b/filters/filters.go @@ -17,7 +17,7 @@ import ( "github.com/osteele/liquid" "github.com/osteele/liquid/evaluator" "github.com/osteele/liquid/expressions" - "github.com/russross/blackfriday" + "github.com/russross/blackfriday/v2" libsass "github.com/wellington/go-libsass" ) diff --git a/go.mod b/go.mod index d5509ff..866bb73 100644 --- a/go.mod +++ b/go.mod @@ -22,7 +22,7 @@ require ( github.com/osteele/tuesday v1.0.3 // indirect github.com/pkg/browser v0.0.0-20210606212950-a7b7a6107d32 github.com/radovskyb/watcher v1.0.7 - github.com/russross/blackfriday v1.6.0 + github.com/russross/blackfriday/v2 v2.1.0 github.com/smartystreets/goconvey v1.6.4 // indirect github.com/stretchr/testify v1.7.0 github.com/tdewolff/minify v2.3.6+incompatible @@ -31,7 +31,7 @@ require ( github.com/wellington/go-libsass v0.9.2 golang.org/x/net v0.0.0-20210614182718-04defd469f4e golang.org/x/oauth2 v0.0.0-20210615190721-d04028783cf1 - golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71 // indirect + golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 // indirect google.golang.org/appengine v1.6.7 // indirect gopkg.in/alecthomas/kingpin.v2 v2.2.6 gopkg.in/fsnotify.v1 v1.4.7 // indirect diff --git a/go.sum b/go.sum index f389681..e69c984 100644 --- a/go.sum +++ b/go.sum @@ -296,6 +296,8 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da h1:b3NXsE2LusjYGGjL5bxEVZZOR golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71 h1:X/2sJAybVknnUnV7AD2HdT6rm2p5BP6eH2j+igduWgk= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 h1:RqytpXGR1iVNX7psjB3ff8y7sNFinVFvkx1c8SjBkio= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= diff --git a/renderers/markdown.go b/renderers/markdown.go index 031263e..6ab13c2 100644 --- a/renderers/markdown.go +++ b/renderers/markdown.go @@ -6,7 +6,7 @@ import ( "regexp" "github.com/osteele/gojekyll/utils" - "github.com/russross/blackfriday" + "github.com/russross/blackfriday/v2" "golang.org/x/net/html" )