Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

htmlnano

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmlnano - npm Package Versions

124

0.2.0

Diff

Changelog

Source

[0.2.0] - 2018-09-14

Breaking changes

  • The API of minifyCss module has been changed since cssnano has been updated to version 4, which has a different API. Check the following resources for more info:
    • htmlnano docs
    • cssnano docs
    • Diff of commit 979f2c with the changes of related docs.

Added

  • Add presets [#64].
  • Add collapseAttributeWhitespace module for collapsing spaces in list-like attributes [#25].
  • Add deduplicateAttributeValues module for de-duplicating values in list-like attributes [#39].
  • Better support for AMP pages [#59].
  • Collapse whitespaces between top-level tags [#24].

Changed

  • Improve whitespace normalization using normalize-html-whitespace [#21].

Fixed

  • Don't collapse visible="false" attributes in A-Frame pages [#62].
maltsev
published 0.1.10 •

Changelog

Source

[0.1.10] - 2018-08-03

Fixed

  • Merging <script> tags without leading ; [#55].
maltsev
published 0.1.9 •

Changelog

Source

[0.1.9] - 2018-04-29

Fixed

  • Default minification options safety [#50].
maltsev
published 0.1.8 •

Changelog

Source

[0.1.8] - 2018-04-17

Fixed

  • ES6+ minification [#48].
maltsev
published 0.1.7 •

Changelog

Source

[0.1.7] - 2018-03-13

Fixed

  • Update dependencies which also fixes the SVG minification bug [#47].
maltsev
published 0.1.6 •

Changelog

Source

[0.1.6] - 2017-06-27

Fixed

  • "Not a function" error [#42].
maltsev
published 0.1.5 •

Changelog

Source

[0.1.5] - 2016-04-24

Added

  • Minify SVG [#28].
  • Merge <script> [#19].

Changed

  • Remove redundant type="submit" from <button> [#31].

Fixed

  • Windows build [#30].
maltsev
published 0.1.4 •

Changelog

Source

[0.1.4] - 2016-02-16

Added

  • Minify JSON.
  • Merge multiple <style> into one.
  • Collapse boolean attributes.
  • Remove redundant attributes.
  • HTML minifiers benchmark [#22].

Changed

  • Expand list of JSON-like mime types [#20].
maltsev
published 0.1.3 •

Changelog

Source

[0.1.3] - 2016-02-09

Fixed

  • Don't alter HTML comments inside not relevant modules [#17].
maltsev
published 0.1.2 •

Changelog

Source

[0.1.2] - 2016-02-07

Fixed

  • Don't remove conditional comments in safe mode [#13].
  • Downgrade: String.startsWith -> String.search.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc