deps: Update minify to v2.5.2

- v2.5.1 removes import comments, solving a build error with Go 1.13
  in GOPATH mode (used Debian packaging for example)
- v2.5.2 no longer converts polyline/rect/polygon/line to path
  as it has been reported to break a SVG referenced by CSS,
  see tdewolff/minify#260

The test case for Min SVG in TestResourceChains is updated accordingly.

Fixes pocc/tshark.dev#33
This commit is contained in:
Anthony Fok
2019-10-08 23:46:04 -06:00
committed by Bjørn Erik Pedersen
parent 39ed33fceb
commit b401858ebd
3 changed files with 10 additions and 10 deletions

2
go.mod
View File

@@ -52,7 +52,7 @@ require (
github.com/spf13/jwalterweatherman v1.1.0
github.com/spf13/pflag v1.0.3
github.com/spf13/viper v1.4.0
github.com/tdewolff/minify/v2 v2.3.7
github.com/tdewolff/minify/v2 v2.5.2
github.com/yosssi/ace v0.0.5
go.opencensus.io v0.22.0 // indirect
gocloud.dev v0.15.0