minify_html 0.9.1 → 0.9.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad0c0aff3910e52cb43003bc255c93ad18d700ede1bd93f16282fedf58ec9970
4
- data.tar.gz: 9b8b32ee8d660a6bfab711b2066398665595fbf929b7a0d46440852ab3d55200
3
+ metadata.gz: 87157156d886bb5441dba95827ac3f02db44b0a1c8c9ab1b182b2acabd64696a
4
+ data.tar.gz: 905ed3bc2db56eac0b22d855086477a26f1d854622c088162f41652936d9c806
5
5
  SHA512:
6
- metadata.gz: c183bc235f0be67a05e84695e0919553f7cec9fa7d1e9f36740e2c0e2257c7b5ea779f4fa768e8dfa59b43b2d68ef32da9cc6b62982374f8aae50b6f49e9ddff
7
- data.tar.gz: 1867c737b1bc395799778bd58a39f5cf98f8b54ce19be0f91b5ca3d58ce751d802c068626430939e08cdfd9dff5dc11e0f317acfc4d8f4e1f85259f3df95467c
6
+ metadata.gz: 3772603fbb7e39849da79324ffdb343a40e759927b0bbd34f53a27dab7b1c72cd8d519f9930a8ccdeb4ba7d8b265474ae2e58daac10325dd413b8434c1d2f8a4
7
+ data.tar.gz: '0487f08956662c167d102bc2bc953a086875596436e3069dbbeecacf10be3c3b0137df422eb25a127b8b42ce2763fddba715971bbcc2c2da4960a914764d3532'
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.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">
26
+ <img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.9.2/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.9.2/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.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)
39
+ [Linux x64](https://wilsonl.in/minify-html/bin/0.9.2-linux-x86_64) |
40
+ [Linux ARM64](https://wilsonl.in/minify-html/bin/0.9.2-linux-arm64) |
41
+ [macOS x64](https://wilsonl.in/minify-html/bin/0.9.2-macos-x86_64) |
42
+ [macOS ARM64](https://wilsonl.in/minify-html/bin/0.9.2-macos-arm64) |
43
+ [Windows x64](https://wilsonl.in/minify-html/bin/0.9.2-windows-x86_64.exe)
44
44
 
45
45
  ### Use
46
46
 
@@ -50,6 +50,12 @@ Use the `--help` argument for more details.
50
50
  minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /path/to/src.html
51
51
  ```
52
52
 
53
+ To quickly parallel process a batch of files in place:
54
+
55
+ ```bash
56
+ minify-html --keep-closing-tags --minify-css /path/to/**/*.html
57
+ ```
58
+
53
59
  </details>
54
60
 
55
61
  <details>
@@ -59,7 +65,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
59
65
 
60
66
  ```toml
61
67
  [dependencies]
62
- minify-html = { version = "0.9.1" }
68
+ minify-html = "0.9.2"
63
69
  ```
64
70
 
65
71
  ### Use
@@ -71,14 +77,14 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
71
77
  <details>
72
78
  <summary><img width="24" src="https://wilsonl.in/minify-html/icon/deno.png"> <strong>Deno</strong></summary>
73
79
 
74
- - Package: https://wilsonl.in/minify-html/deno/0.9.1/index.js
80
+ - Package: https://wilsonl.in/minify-html/deno/0.9.2/index.js
75
81
  - Binding: [WASM](https://webassembly.org/)
76
82
  - Platforms: All
77
83
 
78
84
  ### Use
79
85
 
80
86
  ```ts
81
- import init, {minify} from "https://wilsonl.in/minify-html/deno/0.9.1/index.js";
87
+ import init, {minify} from "https://wilsonl.in/minify-html/deno/0.9.2/index.js";
82
88
 
83
89
  const encoder = new TextEncoder();
84
90
  const decoder = new TextDecoder();
@@ -143,7 +149,7 @@ Add as a Maven dependency:
143
149
  <dependency>
144
150
  <groupId>in.wilsonl.minifyhtml</groupId>
145
151
  <artifactId>minify-html</artifactId>
146
- <version>0.9.1</version>
152
+ <version>0.9.2</version>
147
153
  </dependency>
148
154
  ```
149
155
 
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.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilson Lin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-21 00:00:00.000000000 Z
11
+ date: 2022-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle