From 8c3277e7b9c3998e434ad95922b99e6eba8012b1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 11 Oct 2022 10:40:25 +0200 Subject: Update to chroma v2 with sed support --- go.mod | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 60f438e..f8cdb9c 100644 --- a/go.mod +++ b/go.mod @@ -1,15 +1,11 @@ module github.com/Mango0x45/mpaste -go 1.17 +go 1.19 require ( - github.com/Mango0x45/getgopt v0.0.0-20211008215918-31013048af5c - github.com/alecthomas/chroma v0.9.2 + github.com/alecthomas/chroma/v2 v2.3.1-0.20221008011915-b7c7bdbe65fb github.com/dgrijalva/jwt-go v3.2.0+incompatible + github.com/Mango0x45/getgopt v0.0.0-20220305004810-a883dbb3a127 ) -require ( - github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 // indirect - github.com/dlclark/regexp2 v1.4.0 // indirect - golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f // indirect -) +require github.com/dlclark/regexp2 v1.7.0 // indirect -- cgit v1.2.3