Releases: tdewolff/minify
Releases · tdewolff/minify
v2.12.2
v2.12.1
- JS: set vardecl size limit to prevent timeout with OSSFuzz
- Change minify.writer.Writer return type to io.WriteCloser, fixes #524
- JS: support declarations in export default, add syntax errors for variable declarations, fixes https://github.com/tdewolff/minify/issues/525
- JS: fix when parenthesized expr has assignments for the same variable which only when interpreted as arguments for an arrow func should error, fixes https://github.com/tdewolff/minify/issues/528
v2.12.0
v2.11.12
There has been a lot of (unfinished) work on the JS binding, and a config
method has been added to the JS and Python bindings. Additionally, metadata for the Docker image has been added.
- JS: keep assignment order when merging left->right variable declarations, see #509
- Revert "JS: remove else in second/third/... else-if when preceded by a return/break/continue/throw statement", fixes #509
- JS: fix panic for variable declarations from OSSFuzz
- JS: support private class methods and fields named 'static', fixes #514
v2.11.11
v2.11.10
v2.11.9
v2.11.8
v2.11.7
v2.11.6
- JS: prefer double quotes for GZIP compression
- JS: use template literals when shorter than double/single quoted strings
- JS: merge string concatenations even if intertwined with other types
- JS: keep order of declaration for variable renaming of function argum…
- JS: change character order for JS variable renaming of 2 or more char…