htmlnano 0.1.10 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintignore CHANGED
@@ -1 +1,2 @@
1
1
  lib/modules/example.es6
2
+ test.js
package/CHANGELOG.md CHANGED
@@ -3,6 +3,46 @@ All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
 
6
+ ## [0.2.3] - 2019-02-14
7
+ ## Fixed
8
+ - Keep `<g>` in SVG by default [#71].
9
+
10
+
11
+ ## [0.2.2] - 2019-01-03
12
+ ## Added
13
+ - `removeUnusedCss` module [#36].
14
+
15
+ ## Fixed
16
+ - Bug when `tag === false` [#66].
17
+ - Add `crossorigin` to boolean attributes [#67].
18
+
19
+
20
+ ## [0.2.1] - 2018-12-01
21
+ ## Fixed
22
+ - Disable JS minifying on AMP pages [#65].
23
+
24
+ ## [0.2.0] - 2018-09-14
25
+ ## Breaking changes
26
+ - 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:
27
+ * [htmlnano docs](https://github.com/posthtml/htmlnano#minifycss)
28
+ * [cssnano docs](https://cssnano.co/guides/presets)
29
+ * Diff of commit [979f2c](https://github.com/posthtml/htmlnano/commit/979f2c821892c9e979e8b85f74ed0394330fceaf) with the changes of related docs.
30
+
31
+ ## Added
32
+ - Add presets [#64].
33
+ - Add `collapseAttributeWhitespace` module for collapsing spaces in list-like attributes [#25].
34
+ - Add `deduplicateAttributeValues` module for de-duplicating values in list-like attributes [#39].
35
+ - Better support for AMP pages [#59].
36
+ - Collapse whitespaces between top-level tags [#24].
37
+
38
+ ## Changed
39
+ - Improve whitespace normalization using `normalize-html-whitespace` [#21].
40
+
41
+ ## Fixed
42
+ - Don't collapse `visible="false"` attributes in A-Frame pages [#62].
43
+
44
+
45
+
6
46
  ## [0.1.10] - 2018-08-03
7
47
  ### Fixed
8
48
  - Merging `<script>` tags without leading `;` [#55].
@@ -76,6 +116,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
76
116
 
77
117
 
78
118
 
119
+ [0.2.3]: https://github.com/posthtml/htmlnano/compare/0.2.1...0.2.3
120
+ [0.2.2]: https://github.com/posthtml/htmlnano/compare/0.2.1...0.2.2
121
+ [0.2.1]: https://github.com/posthtml/htmlnano/compare/0.2.0...0.2.1
122
+ [0.2.0]: https://github.com/posthtml/htmlnano/compare/0.1.10...0.2.0
79
123
  [0.1.10]: https://github.com/posthtml/htmlnano/compare/0.1.9...0.1.10
80
124
  [0.1.9]: https://github.com/posthtml/htmlnano/compare/0.1.8...0.1.9
81
125
  [0.1.8]: https://github.com/posthtml/htmlnano/compare/0.1.7...0.1.8
@@ -88,15 +132,27 @@ This project adheres to [Semantic Versioning](http://semver.org/).
88
132
  [0.1.1]: https://github.com/posthtml/htmlnano/compare/0.1.0...0.1.1
89
133
 
90
134
 
135
+ [#71]: https://github.com/posthtml/htmlnano/issues/67
136
+ [#67]: https://github.com/posthtml/htmlnano/issues/67
137
+ [#66]: https://github.com/posthtml/htmlnano/issues/66
138
+ [#65]: https://github.com/posthtml/htmlnano/issues/65
139
+ [#64]: https://github.com/posthtml/htmlnano/issues/64
140
+ [#62]: https://github.com/posthtml/htmlnano/issues/62
141
+ [#59]: https://github.com/posthtml/htmlnano/issues/59
91
142
  [#55]: https://github.com/posthtml/htmlnano/issues/55
92
143
  [#50]: https://github.com/posthtml/htmlnano/issues/50
93
144
  [#48]: https://github.com/posthtml/htmlnano/issues/48
94
145
  [#47]: https://github.com/posthtml/htmlnano/issues/47
95
146
  [#42]: https://github.com/posthtml/htmlnano/issues/42
147
+ [#39]: https://github.com/posthtml/htmlnano/issues/39
148
+ [#36]: https://github.com/posthtml/htmlnano/issues/36
96
149
  [#31]: https://github.com/posthtml/htmlnano/issues/31
97
150
  [#30]: https://github.com/posthtml/htmlnano/issues/30
98
151
  [#28]: https://github.com/posthtml/htmlnano/issues/28
152
+ [#25]: https://github.com/posthtml/htmlnano/issues/25
153
+ [#24]: https://github.com/posthtml/htmlnano/issues/24
99
154
  [#22]: https://github.com/posthtml/htmlnano/issues/22
155
+ [#21]: https://github.com/posthtml/htmlnano/issues/21
100
156
  [#20]: https://github.com/posthtml/htmlnano/issues/20
101
157
  [#19]: https://github.com/posthtml/htmlnano/issues/19
102
158
  [#17]: https://github.com/posthtml/htmlnano/issues/17