minify_html 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2296251f24e9c0ece83df1ad6fc22f41b5adbfc1368b34b18b28b547cf35652c
|
4
|
+
data.tar.gz: 8c2b2faeca970134afd59a9bbf0aa9d4367664d850715ae0de5c86e060a1749e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1d6000d7d20fed0796ae8c6c25af8a265f0752a95d5de35abce16d8076bec9320ae668e10d6c888f834806604f30b3d3bd81ddeea90088bb952cf1e4b546de6
|
7
|
+
data.tar.gz: e98302877ae98f160f97ea206a00591ff3ffe11b973f803b3eb0e3b54c1c7315ecd89252ab34926b01e4eb2fa480629cd5d670fe3cfa2f1b36c57a2ec24cc274
|
data/README.md
CHANGED
@@ -19,9 +19,10 @@ 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
|
22
|
+
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.1/core/average-speeds.png">
|
23
|
+
<img width="415" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.1/core/average-sizes.png">
|
23
24
|
|
24
|
-
|
25
|
+
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
26
|
|
26
27
|
## Usage
|
27
28
|
|
@@ -32,10 +33,10 @@ Precompiled binaries are available for Linux, macOS, and Windows.
|
|
32
33
|
|
33
34
|
### Get
|
34
35
|
|
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.
|
36
|
+
[Linux x86-64](https://wilsonl.in/minify-html/bin/0.6.1-linux-x86_64) |
|
37
|
+
[Linux ARM](https://wilsonl.in/minify-html/bin/0.6.1-linux-arm64) |
|
38
|
+
[macOS](https://wilsonl.in/minify-html/bin/0.6.1-macos-x86_64) |
|
39
|
+
[Windows](https://wilsonl.in/minify-html/bin/0.6.1-windows-x86_64.exe)
|
39
40
|
|
40
41
|
### Use
|
41
42
|
|
@@ -54,7 +55,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
|
|
54
55
|
|
55
56
|
```toml
|
56
57
|
[dependencies]
|
57
|
-
minify-html = { version = "0.6.
|
58
|
+
minify-html = { version = "0.6.1", features = ["js-esbuild"] }
|
58
59
|
```
|
59
60
|
|
60
61
|
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 +126,7 @@ Add as a Maven dependency:
|
|
125
126
|
<dependency>
|
126
127
|
<groupId>in.wilsonl.minifyhtml</groupId>
|
127
128
|
<artifactId>minify-html</artifactId>
|
128
|
-
<version>0.6.
|
129
|
+
<version>0.6.1</version>
|
129
130
|
</dependency>
|
130
131
|
```
|
131
132
|
|
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.1
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fiddle
|
@@ -39,7 +39,7 @@ files:
|
|
39
39
|
- lib/macos-ruby2.6
|
40
40
|
- lib/macos-ruby2.7
|
41
41
|
- lib/minify_html.rb
|
42
|
-
homepage: https://github.com/wilsonzlin/
|
42
|
+
homepage: https://github.com/wilsonzlin/minify-html
|
43
43
|
licenses:
|
44
44
|
- MIT
|
45
45
|
metadata: {}
|