Repository navigation
- Python: replace use of QEMU for ARM64 builds with an ARM64 OS
- JS: empty string literal is falsy in conditions, fixes #1065
- JS: keep Math.trunc(x) instead of x|0, fixes #1077
- JS: only drop a true/false right operand of && and || when the left side is a boolean, fixes https://github.com/tdewolff/minify/issues/1066
- JS: keep a backslash escaped when decoding \u005c and \u{5c}, fixes #1071
- JS: drop return when removing a trailing undefined from a comma list, fixes https://github.com/tdewolff/minify/issues/1070
- JS: follow linked variables when checking let/const destructuring dependencies, fixes https://github.com/tdewolff/minify/issues/1068
- JS: keep import attributes (with clause) of import and export statements, fixes https://github.com/tdewolff/minify/issues/786
- JS: keep var destructuring after the variables it reads, fixes #1067
- JS: keep Math.sqrt(x) unless x is a number literal, and skip Math rewrites with spread args
- CSS: collapse whitespace in custom property values, fixes #740
- JS: keep Math.abs(x) instead of x<0?-x:x
- JS: fix member access on grouped number literals
- HTML: fix passing escape-html for any script tag, regardless whether content type is set
Thanks to @bardrop and @max-moser for the PRs!