htmlnano 2.1.1 → 2.1.2
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/CHANGELOG.md +12 -1
- package/docs/docs/050-modules.md +2 -2
- package/docs/package-lock.json +632 -798
- package/index.d.ts +2 -1
- package/lib/htmlnano.cjs +4 -2
- package/lib/htmlnano.mjs +3 -1
- package/lib/modules/minifyConditionalComments.cjs +1 -1
- package/lib/modules/sortAttributes.cjs +1 -2
- package/lib/modules/sortAttributes.mjs +1 -3
- package/lib/modules/sortAttributesWithLists.cjs +1 -2
- package/lib/modules/sortAttributesWithLists.mjs +1 -2
- package/lib/presets/ampSafe.cjs +1 -1
- package/lib/presets/max.cjs +1 -1
- package/package.json +10 -8
- package/test.js +8 -33
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
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
|
+
## [2.1.2] - 2025-04-30
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- `skipInternalWarnings` flag to avoid `console.warn` output [#293]
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Use Node.js `sort` instead of `timsort` [#328]
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
## [2.1.1] - 2024-04-28
|
|
6
15
|
|
|
7
16
|
### Fixed
|
|
@@ -288,6 +297,7 @@ Otherwise, you have to adapt the config according to the new [PurgeCSS@3](https:
|
|
|
288
297
|
- Remove attributes that contains only white spaces.
|
|
289
298
|
|
|
290
299
|
|
|
300
|
+
[2.1.2]: https://github.com/posthtml/htmlnano/compare/2.1.1...2.1.2
|
|
291
301
|
[2.1.1]: https://github.com/posthtml/htmlnano/compare/2.1.0...2.1.1
|
|
292
302
|
[2.1.0]: https://github.com/posthtml/htmlnano/compare/2.0.4...2.1.0
|
|
293
303
|
[2.0.4]: https://github.com/posthtml/htmlnano/compare/2.0.3...2.0.4
|
|
@@ -320,7 +330,8 @@ Otherwise, you have to adapt the config according to the new [PurgeCSS@3](https:
|
|
|
320
330
|
[0.1.2]: https://github.com/posthtml/htmlnano/compare/0.1.1...0.1.2
|
|
321
331
|
[0.1.1]: https://github.com/posthtml/htmlnano/compare/0.1.0...0.1.1
|
|
322
332
|
|
|
323
|
-
|
|
333
|
+
[#328]: https://github.com/posthtml/htmlnano/issues/328
|
|
334
|
+
[#293]: https://github.com/posthtml/htmlnano/issues/293
|
|
324
335
|
[#278]: https://github.com/posthtml/htmlnano/issues/278
|
|
325
336
|
[#260]: https://github.com/posthtml/htmlnano/issues/260
|
|
326
337
|
[#257]: https://github.com/posthtml/htmlnano/issues/257
|
package/docs/docs/050-modules.md
CHANGED