minify_html 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/lib/linux-ruby2.5 +0 -0
- data/lib/linux-ruby2.6 +0 -0
- data/lib/linux-ruby2.7 +0 -0
- data/lib/macos-ruby2.5 +0 -0
- data/lib/macos-ruby2.6 +0 -0
- data/lib/macos-ruby2.7 +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5971cbee62112f6d41555963987e1901d9e874c60d3368c0abbdf50dc75e67d
|
4
|
+
data.tar.gz: 783684df13080191cbf214dfa908ad5e69c33f928ba92e833fe0c0c129ba4ddb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca795c3ee98f438c676bd78bdca1ec9025f50fb11df12975ac68bca702afcc692672b738671fe8a8f8f0de9dc92ba9b1f85ee265c8b9538f8c2606466584eb02
|
7
|
+
data.tar.gz: 0b80707fd0451d6bf27573fdffa861e8e34e99214a43c94124bf3d0987889651f42dfcd4b9587c1e71972309e4720776acd6afd2c31f54e7407fac71d161f2f8
|
data/README.md
CHANGED
@@ -19,7 +19,7 @@ A Rust HTML minifier meticulously optimised for speed and effectiveness, with bi
|
|
19
19
|
|
20
20
|
Comparison with [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on the top web pages. [See the breakdown here.](./bench)
|
21
21
|
|
22
|
-
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.
|
22
|
+
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.7/core/average-speeds.png"><img width="415" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.7/core/average-sizes.png">
|
23
23
|
|
24
24
|
The [onepass](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) variant is even more optimised for speed. See its [README](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) for more details.
|
25
25
|
|
@@ -32,10 +32,10 @@ Precompiled binaries are available for Linux, macOS, and Windows.
|
|
32
32
|
|
33
33
|
### Get
|
34
34
|
|
35
|
-
[Linux x86-64](https://wilsonl.in/minify-html/bin/0.6.
|
36
|
-
[Linux ARM](https://wilsonl.in/minify-html/bin/0.6.
|
37
|
-
[macOS](https://wilsonl.in/minify-html/bin/0.6.
|
38
|
-
[Windows](https://wilsonl.in/minify-html/bin/0.6.
|
35
|
+
[Linux x86-64](https://wilsonl.in/minify-html/bin/0.6.7-linux-x86_64) |
|
36
|
+
[Linux ARM](https://wilsonl.in/minify-html/bin/0.6.7-linux-arm64) |
|
37
|
+
[macOS](https://wilsonl.in/minify-html/bin/0.6.7-macos-x86_64) |
|
38
|
+
[Windows](https://wilsonl.in/minify-html/bin/0.6.7-windows-x86_64.exe)
|
39
39
|
|
40
40
|
### Use
|
41
41
|
|
@@ -54,7 +54,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
|
|
54
54
|
|
55
55
|
```toml
|
56
56
|
[dependencies]
|
57
|
-
minify-html = { version = "0.6.
|
57
|
+
minify-html = { version = "0.6.7", features = ["js-esbuild"] }
|
58
58
|
```
|
59
59
|
|
60
60
|
Building with the `js-esbuild` feature requires the Go compiler to be installed as well, to build the [JS and CSS minifier](https://github.com/wilsonzlin/esbuild-rs).
|
@@ -125,7 +125,7 @@ Add as a Maven dependency:
|
|
125
125
|
<dependency>
|
126
126
|
<groupId>in.wilsonl.minifyhtml</groupId>
|
127
127
|
<artifactId>minify-html</artifactId>
|
128
|
-
<version>0.6.
|
128
|
+
<version>0.6.7</version>
|
129
129
|
</dependency>
|
130
130
|
```
|
131
131
|
|
@@ -134,7 +134,6 @@ Add as a Maven dependency:
|
|
134
134
|
```java
|
135
135
|
import in.wilsonl.minifyhtml.Configuration;
|
136
136
|
import in.wilsonl.minifyhtml.MinifyHtml;
|
137
|
-
import in.wilsonl.minifyhtml.SyntaxException;
|
138
137
|
|
139
138
|
Configuration cfg = new Configuration.Builder()
|
140
139
|
.setKeepHtmlAndHeadOpeningTags(true)
|
data/lib/linux-ruby2.5
CHANGED
Binary file
|
data/lib/linux-ruby2.6
CHANGED
Binary file
|
data/lib/linux-ruby2.7
CHANGED
Binary file
|
data/lib/macos-ruby2.5
CHANGED
Binary file
|
data/lib/macos-ruby2.6
CHANGED
Binary file
|
data/lib/macos-ruby2.7
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minify_html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilson Lin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fiddle
|