Releases: tdewolff/minify
Releases · tdewolff/minify
v2.20.20
v2.20.19
- CSS: properly test for equal values, fixes #673
- CSS: fix another comparison bug with functions, see #673
- cmd: fix --type not set error when it is set, fixes #675
- JS: revert performance regression from 61a4bb8 , up to 120% faster for antd.js
- JS: fix minifying strings where the last character needs to be escaped as we change the quotes
v2.20.18
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