Releases: tdewolff/minify
Releases ยท tdewolff/minify
v2.20.17
- cmd: output statistics now have fixed length, removing dependency on go-humanize
- cmd: choose newest atime/mtime to preserve timestamps when using --bundle; allow setting preserve with --bundle; add warnings when ownership/permissions differ between input files when using --bundle; see #671
- cmd: don't preserve parent directories for --bundle, see #671
- HTML: keep original attribute quote for all attributes, fixes #670
- JS: fix precedence of OptionalChaining expression
- JS: fix parsing of 'export default expr' where expression can only be an assignment expression
v2.20.16
v2.20.15
- Fix ResponseWriter to not minify if there is no supported RequestURI extension or supported Content-Type header, fixes #660
- JS: fix parsing of comments in expressions and keep all bang-comments at the top of the statement list, fixes #664
- cmd: fix printing an error when writing to directory but it doesn't exist
- cmd: add Debug logging class, don't print error when can't infer mimetype from input but is excluded by --exclude
- cmd: update argp package with some fixes
v2.20.14
v2.20.13
- JS: update tdewolff/parse and fix #656
- HTML: rename KeepConditionalComments => KeepSpecialComments, fixes #657
- JS: support parsing binary/octal/hexadecimal integers with big int suffix, fixes https://github.com/tdewolff/parse/issues/116
- JS: fix parsing of for/for-of/for-in regarding LHSExpr vs Expr
- JS: fix parsing of semicolon after import() CallExpression
v2.20.12
v2.20.11
v2.20.10
- cmd: default value for --preserve only includes ownership if supported on platform, see #646
- cmd: fix endless loop on preserving attributes on Windows, see #646
- Fix various parsing bugs for JS/HTML in
tdewolff/parse