From ceb0f05940e7132d275e171707dafb0f38ed7f18 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 05 Apr 2025 19:24:36 +0800 Subject: [PATCH] Revert "Bump dependencies" This reverts commit ae9c65a8d2b1a1c1ee680a8ac3997f356cf86ad8. github.com/tdewolff/parse/v2 v2.7.22 seems to have introduced a regression (or perhaps other form of a change if not considered a regression – using it to minify Go's HTML templates has always been a bit of a hack) that causes templates to stop working. References: https://github.com/tdewolff/minify/issues/807 --- go.mod | 2 +- go.sum | 4 ++-- diff --git a/go.mod b/go.mod index 246dede8167e670bcf130fd374a414218bf158d2..9e85ccb89d431ad1487cbf5e724b793479ec7756 100644 --- a/go.mod +++ b/go.mod @@ -46,7 +46,7 @@ github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/pjbgf/sha1cd v0.3.2 // indirect github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect github.com/skeema/knownhosts v1.3.1 // indirect - github.com/tdewolff/parse/v2 v2.7.22 // indirect + github.com/tdewolff/parse/v2 v2.7.21 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect golang.org/x/net v0.38.0 // indirect diff --git a/go.sum b/go.sum index be8af73cdef1123745690c783a14ec6fa4f4d2b2..471a5c29333d25e8bd831005cfbf3a0507cf5ebe 100644 --- a/go.sum +++ b/go.sum @@ -114,8 +114,8 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/tdewolff/minify/v2 v2.22.4 h1:0/8K2fheOuYr5B4e5oCE1hGBVX6DQHLP0EGzdsDlYeg= github.com/tdewolff/minify/v2 v2.22.4/go.mod h1:K/R8TT7aivpcU8QCNUU1UdR6etfnFPr7L11TO/X7shk= -github.com/tdewolff/parse/v2 v2.7.22 h1:ROVbrjtp5RoXi22YSZaOks5DaOcXBJ3PZO5hyyQ9Bbs= -github.com/tdewolff/parse/v2 v2.7.22/go.mod h1:I7TXO37t3aSG9SlPUBefAhgIF8nt7yYUwVGgETIoBcA= +github.com/tdewolff/parse/v2 v2.7.21 h1:OCuPFtGr4mXdnfKikQlUb0n654ROJANhBqCk+wioJ/A= +github.com/tdewolff/parse/v2 v2.7.21/go.mod h1:I7TXO37t3aSG9SlPUBefAhgIF8nt7yYUwVGgETIoBcA= github.com/tdewolff/test v1.0.11 h1:FdLbwQVHxqG16SlkGveC0JVyrJN62COWTRyUFzfbtBE= github.com/tdewolff/test v1.0.11/go.mod h1:XPuWBzvdUzhCuxWO1ojpXsyzsA5bFoS3tO/Q3kFuTG8= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= -- 2.48.1