minify_html 0.3.10 → 0.3.12
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 -7
- 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: 1cde51c02cbdde805d7f39012519128321d27f8aa2baf461d57ffe323ddfeb73
|
4
|
+
data.tar.gz: d0072af18d9d0557634bc7987fba64a356e1d40535eb4e561933d829004cd1f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d11914c65e96f1c8b119f9f6a3061d735498571bf86dceae3e136ccd7a2f712fb2795063cde8cdf1566f38e1e174ac1704d6efad4ac3f8787742a30ff87bd2
|
7
|
+
data.tar.gz: c8fe0e4b6b3bc18b945d55a126aaffeebf3dfa4fd96f9eda8f8b4893489ce3a5cf7b2bf77a9d654e9037cafc43f2e47fc2fa80cb4faf7ad53d76e5b0743d91cb
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Comes with native bindings to Node.js, Python, Java, and Ruby.
|
|
12
12
|
|
13
13
|
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)
|
14
14
|
|
15
|
-
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.3.
|
15
|
+
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.3.12/js/average-speeds.png"> <img width="415" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.3.12/js/average-sizes.png">
|
16
16
|
|
17
17
|
## Usage
|
18
18
|
|
@@ -22,9 +22,9 @@ Precompiled binaries are available for x86-64 Linux, macOS, and Windows.
|
|
22
22
|
|
23
23
|
##### Get
|
24
24
|
|
25
|
-
[Linux](https://wilsonl.in/minify-html/bin/0.3.
|
26
|
-
[macOS](https://wilsonl.in/minify-html/bin/0.3.
|
27
|
-
[Windows](https://wilsonl.in/minify-html/bin/0.3.
|
25
|
+
[Linux](https://wilsonl.in/minify-html/bin/0.3.12-linux-x86_64) |
|
26
|
+
[macOS](https://wilsonl.in/minify-html/bin/0.3.12-macos-x86_64) |
|
27
|
+
[Windows](https://wilsonl.in/minify-html/bin/0.3.12-windows-x86_64.exe)
|
28
28
|
|
29
29
|
##### Use
|
30
30
|
|
@@ -43,7 +43,7 @@ minify-html --src /path/to/src.html --out /path/to/output.min.html
|
|
43
43
|
|
44
44
|
```toml
|
45
45
|
[dependencies]
|
46
|
-
minify-html = { version = "0.3.
|
46
|
+
minify-html = { version = "0.3.12", features = ["js-esbuild"] }
|
47
47
|
```
|
48
48
|
|
49
49
|
Building with the `js-esbuild` feature requires the Go compiler to be installed as well, to build the [JS minifier](https://github.com/wilsonzlin/esbuild-rs).
|
@@ -120,7 +120,7 @@ Add as a Maven dependency:
|
|
120
120
|
<dependency>
|
121
121
|
<groupId>in.wilsonl.minifyhtml</groupId>
|
122
122
|
<artifactId>minify-html</artifactId>
|
123
|
-
<version>0.3.
|
123
|
+
<version>0.3.12</version>
|
124
124
|
</dependency>
|
125
125
|
```
|
126
126
|
|
@@ -153,7 +153,7 @@ MinifyHtml.minifyInPlace(source, cfg);
|
|
153
153
|
|
154
154
|
- Package: [minify-html](https://pypi.org/project/minify-html)
|
155
155
|
- Binding: [PyO3](https://github.com/PyO3/pyo3)
|
156
|
-
- Platforms: Linux, macOS, Windows; Python 3.
|
156
|
+
- Platforms: Linux, macOS, Windows; Python 3.7 and higher
|
157
157
|
|
158
158
|
##### Get
|
159
159
|
|
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.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilson Lin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fiddle
|