Minify-html

Latest version: v0.15.0

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

Scan your dependencies

Page 1 of 6

0.15.0

- Add `keep_input_type_text_attr` option to keep `type=text` on `<input>` elements.
- [Java] The `Configuration` class constructor has been made private to enforce the use of the builder. The constructor has a lot of params which can easily cause bugs due to ordering and confusion.

0.14.0

- Add new options to parse and preserve common templating syntax in content source code. NOTE: The parsing is "dumb" and merely looks for the next subsequence in the source code that matches the closing delimiter characters. This means that literal closing delimiter characters (e.g. strings) and nesting may cause parsing to be incorrect.
- `preserve_brace_template_syntax`: When `{{`, `{`, or `{%` are seen in content, all source code until the subsequent matching closing `}}`, `}`, or `%}` respectively gets piped through untouched.
- Templating engines: Pebble, Mustache, Django, Go, Jinja, Twix, Nunjucks, Handlebars, Liquid.
- `preserve_chevron_percent_template_syntax`: When `<%` is seen in content, all source code until the subsequent matching closing `%>` gets piped through untouched.
- Templating engines: Sailfish, JSP, EJS, ERB.

0.13.3

- Avoid downloading html-data JSON from network on build.

0.13.2

- [Java] Set up cross compilation for macOS and Linux ARM64 builds.

0.13.1

- [CLI] Add missing Cargo metadata.

0.13.0

- Use [lightningcss](https://github.com/parcel-bundler/lightningcss) instead of css-minify, which is better maintained.
- BREAKING: The `minify_css_level_*` Cfg options no longer apply and have been removed.
- [onepass] Implement `Display` and `Error` for `Error` and `FriendlyError` structs.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.