Tdewolff-minify

Latest version: v2.20.34

Safety actively analyzes 638396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 20

2.9.23

- cmd: put syscall code in OS specific files
- cmd: tweaks to bash_completion, see 441
- cmd: fix input/output directory edge cases and platform-specific operators in paths, fixes 438
- HTML: keep </p> before </canvas>, fixes 440
- HTML: don't keep whitespace after closing block tags with KeepWhitespace, fixes 442
- JS: fix statement list optimization when it's a list of empty statements, fixes OSSFuzz report
- JS: add support for top-level await and for class field definitions, fixes 412
- JS: improve variable declaration reordering, fixes 445
- JS: fix bug for var decl rearranging; use var renaming in decision to reorder var decls
- JS: remove unused function parameters; remove superfluous escapes in RegExp
- JS: add NoNullishOperator options, minify using nullish operator by default
- JS: fix bug for moving var decls and var renaming
- JS: const statement must have initializer
- JS: variable uses in for statement now don't interfere with declarations in for block

2.9.22

- Update fsnotify from 1.4.9 to 1.5.1
- cmd: support preserving mode, ownership, and timestamps; fixes 435
- cmd: deprecate --preserveLinks
- cmd: don't add empty newlines before error when stdout is empty still
- HTML: trim whitespace in rel attribute, fixes 436
- JS: fix let{e}={e} where second e cannot be a declaration when there is the possibility that it might be arguments for an arrow func
- JS: allow line and paragraph separators in strings, fixes https://github.com/tdewolff/parse/issues/82

2.9.21

- JS: fix grouped statement ending parenthesis for objects, fixes 429

2.9.20

- CSS: fix `import url(` early-termination and `import url( )`
- HTML: keep space after empty phrasing elements, fixes 427
- JS: fix switch statement optimization, fixes 426
- JS: remove if statement if if-block is empty, fixes 428

2.9.19

- JS: fix parsing of `a++==b`
- CSS: fix bug in early-terminated `import url(`

2.9.18

- Revert incorporating the parse dependency into this repository from the previous release
- cmd: Bash completion support for zsh, fixes 421
- JS: fix {a:b=1} when inside arrow function parameter list, fixes 422

Page 12 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.