minify_html 0.9.0 → 0.9.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 +10 -10
- 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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad0c0aff3910e52cb43003bc255c93ad18d700ede1bd93f16282fedf58ec9970
|
4
|
+
data.tar.gz: 9b8b32ee8d660a6bfab711b2066398665595fbf929b7a0d46440852ab3d55200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c183bc235f0be67a05e84695e0919553f7cec9fa7d1e9f36740e2c0e2257c7b5ea779f4fa768e8dfa59b43b2d68ef32da9cc6b62982374f8aae50b6f49e9ddff
|
7
|
+
data.tar.gz: 1867c737b1bc395799778bd58a39f5cf98f8b54ce19be0f91b5ca3d58ce751d802c068626430939e08cdfd9dff5dc11e0f317acfc4d8f4e1f85259f3df95467c
|
data/README.md
CHANGED
@@ -23,7 +23,7 @@ View the [changelog](./CHANGELOG.md) to see the latest updates.
|
|
23
23
|
|
24
24
|
Comparison with [html-minifier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on the top web pages. [See the breakdown here.](./bench)
|
25
25
|
|
26
|
-
<img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.9.
|
26
|
+
<img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.9.1/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.9.1/core/average-sizes.png">
|
27
27
|
|
28
28
|
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.
|
29
29
|
|
@@ -36,11 +36,11 @@ Precompiled binaries are available for Linux, macOS, and Windows.
|
|
36
36
|
|
37
37
|
### Get
|
38
38
|
|
39
|
-
[Linux x64](https://wilsonl.in/minify-html/bin/0.9.
|
40
|
-
[Linux ARM64](https://wilsonl.in/minify-html/bin/0.9.
|
41
|
-
[macOS x64](https://wilsonl.in/minify-html/bin/0.9.
|
42
|
-
[macOS ARM64](https://wilsonl.in/minify-html/bin/0.9.
|
43
|
-
[Windows x64](https://wilsonl.in/minify-html/bin/0.9.
|
39
|
+
[Linux x64](https://wilsonl.in/minify-html/bin/0.9.1-linux-x86_64) |
|
40
|
+
[Linux ARM64](https://wilsonl.in/minify-html/bin/0.9.1-linux-arm64) |
|
41
|
+
[macOS x64](https://wilsonl.in/minify-html/bin/0.9.1-macos-x86_64) |
|
42
|
+
[macOS ARM64](https://wilsonl.in/minify-html/bin/0.9.1-macos-arm64) |
|
43
|
+
[Windows x64](https://wilsonl.in/minify-html/bin/0.9.1-windows-x86_64.exe)
|
44
44
|
|
45
45
|
### Use
|
46
46
|
|
@@ -59,7 +59,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
|
|
59
59
|
|
60
60
|
```toml
|
61
61
|
[dependencies]
|
62
|
-
minify-html = { version = "0.9.
|
62
|
+
minify-html = { version = "0.9.1" }
|
63
63
|
```
|
64
64
|
|
65
65
|
### Use
|
@@ -71,14 +71,14 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
|
|
71
71
|
<details>
|
72
72
|
<summary><img width="24" src="https://wilsonl.in/minify-html/icon/deno.png"> <strong>Deno</strong></summary>
|
73
73
|
|
74
|
-
- Package: https://wilsonl.in/minify-html/deno/0.9.
|
74
|
+
- Package: https://wilsonl.in/minify-html/deno/0.9.1/index.js
|
75
75
|
- Binding: [WASM](https://webassembly.org/)
|
76
76
|
- Platforms: All
|
77
77
|
|
78
78
|
### Use
|
79
79
|
|
80
80
|
```ts
|
81
|
-
import init, {minify} from "https://wilsonl.in/minify-html/deno/0.9.
|
81
|
+
import init, {minify} from "https://wilsonl.in/minify-html/deno/0.9.1/index.js";
|
82
82
|
|
83
83
|
const encoder = new TextEncoder();
|
84
84
|
const decoder = new TextDecoder();
|
@@ -143,7 +143,7 @@ Add as a Maven dependency:
|
|
143
143
|
<dependency>
|
144
144
|
<groupId>in.wilsonl.minifyhtml</groupId>
|
145
145
|
<artifactId>minify-html</artifactId>
|
146
|
-
<version>0.9.
|
146
|
+
<version>0.9.1</version>
|
147
147
|
</dependency>
|
148
148
|
```
|
149
149
|
|
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
|