Releases
v2.9.11
cmd: require --bundle
for concatenation when the input is a directory, see #348
CSS: improve performance on background positions (from OSS-Fuzz)
HTML: don't trim whitespace on all attribute values (in value
and placeholder
it's significant), see #351
HTML: keep value on translate=no
, see #352
HTML: support SSI tags, see #353
HTML: add option KeepComments
to keep all comments, see #366
JS: fix endless loop in certain if-else combinations; minify more or/and/conditional expressions that start with a group (from OSS-Fuzz)
JS: fix import/export with one item, fixes #354
JS: escape </script>
in strings, fixes #355
JS: keep parens in arrow functions for BindingArray and BindingObject, fixes #358
JS: enclose entire expression in parenthesis if it starts with an object literal, fixes #359
JS: prevent slowdown for if-else with if in body (from OSS-Fuzz)
JS: fix errors messages that contain % symbols
JS: put limits to the number of levels in statements and in expressions (from OSS-Fuzz)
JS: fix declarations with the same name as in the for initializer, see tdewolff/parse#69
JS: fix var declarations not adding their usage in all the scopes between its block scope and the function scope
SVG: keep width
and height
attributes on <svg>
, fixes #367
XML: keep ampersand and less-than escaped, see #362
You can’t perform that action at this time.