From 588d20b3153c992ff958523c467aec425da32b33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 17 Dec 2025 09:58:35 +0100 Subject: [PATCH] deps: Upgrade github.com/alecthomas/chroma/v2 v2.20.0 => v2.21.0 Closes #14266 --- go.mod | 2 +- go.sum | 2 ++ tpl/tplimpl/shortcodes_integration_test.go | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 6da118e72..c5cfaaf25 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/gohugoio/hugo require ( github.com/BurntSushi/locker v0.0.0-20171006230638-a6e239ea1c69 github.com/JohannesKaufmann/html-to-markdown/v2 v2.5.0 - github.com/alecthomas/chroma/v2 v2.20.0 + github.com/alecthomas/chroma/v2 v2.21.0 github.com/aws/aws-sdk-go-v2 v1.41.0 github.com/aws/aws-sdk-go-v2/service/cloudfront v1.58.2 github.com/bep/clocks v0.5.0 diff --git a/go.sum b/go.sum index 9ba65d42b..e516c8eb7 100644 --- a/go.sum +++ b/go.sum @@ -100,6 +100,8 @@ github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8v github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= github.com/alecthomas/chroma/v2 v2.20.0 h1:sfIHpxPyR07/Oylvmcai3X/exDlE8+FA820NTz+9sGw= github.com/alecthomas/chroma/v2 v2.20.0/go.mod h1:e7tViK0xh/Nf4BYHl00ycY6rV7b8iXBksI9E359yNmA= +github.com/alecthomas/chroma/v2 v2.21.0 h1:YVW9qQAFnQm2OFPPFQg6G/TpMxKSsUr/KUPDi/BEqtY= +github.com/alecthomas/chroma/v2 v2.21.0/go.mod h1:NqVhfBR0lte5Ouh3DcthuUCTUpDC9cxBOfyMbMQPs3o= github.com/alecthomas/repr v0.5.1 h1:E3G4t2QbHTSNpPKBgMTln5KLkZHLOcU7r37J4pXBuIg= github.com/alecthomas/repr v0.5.1/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= github.com/aws/aws-sdk-go-v2 v1.41.0 h1:tNvqh1s+v0vFYdA1xq0aOJH+Y5cRyZ5upu6roPgPKd4= diff --git a/tpl/tplimpl/shortcodes_integration_test.go b/tpl/tplimpl/shortcodes_integration_test.go index 3e72770f8..b8398fd2b 100644 --- a/tpl/tplimpl/shortcodes_integration_test.go +++ b/tpl/tplimpl/shortcodes_integration_test.go @@ -230,11 +230,11 @@ An inline {{< highlight go "hl_inline=true" >}}fmt.Println("Value of i:", i)Hell b := hugolib.Test(t, files) b.AssertFileContent("public/p1/index.html", "576ee13be18ddba2") - b.AssertFileContent("public/p2/index.html", "a9a4ec6ce77d7a23") + b.AssertFileContent("public/p2/index.html", "3f97c98e654f23a2") b.AssertFileContent("public/p3/index.html", "7634b47df1859f58") b.AssertFileContent("public/p4/index.html", "385a15e400df4e39") - b.AssertFileContent("public/p5/index.html", "f69c99d2d7f786d4") - b.AssertFileContent("public/p6/index.html", "f69c99d2d7f786d4") + b.AssertFileContent("public/p5/index.html", "f26685017f358cd8") + b.AssertFileContent("public/p6/index.html", "f26685017f358cd8") b.AssertFileContent("public/p7/index.html", "f12eeaa4d6d9c7ac") } -- 2.39.5