minify_html 0.12.0-x86_64-darwin → 0.13.2-x86_64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 007b6b8ebbfb660bab292d148901f1a0bc96512ff26fe3fa9d1b02afe7b8a83d
4
- data.tar.gz: 7fb044bb98ab1408cd3d9b1e62536a606d52a555bebd8a7a4133aae885cd4382
3
+ metadata.gz: 473e30715fb5b77dc1db5a2366ced0b123f80efdc61a8ad3ffc089e740915f3f
4
+ data.tar.gz: 5e9e0588c835f49f15973158eb2a84c951555a61d6a0b1ba2b4fea4d9e1a8888
5
5
  SHA512:
6
- metadata.gz: 9d432ec36d117598f5a508168d40ce1424029530882eef0858f123ea8fbaac7d7b94ef61cb8df190230a728023560d88d50e17968f427570f960e8cfe3bce899
7
- data.tar.gz: 98305566a00b5ebc9c392e1be94528393aa4ce473d8885b259896f78c2770970dc4a53b8263b2dc9744e5cd2efd341d37f44786fc820a93649766acd78fd7d5b
6
+ metadata.gz: '0682f577cbdc7b7fe1104ef6c9bd6b393c59433224b06015cee8ef6527a7732311aa6d0bc98951efa5faac57ddf44e0f3c4a0213d95c0be899ae23c19e4dcd40'
7
+ data.tar.gz: cdbf050773b5d1a0af74b48c674e1cc794e7f45d31c4fadbae880d421f9c93c85c68b625af90ddf1e70e326cc6bcb1acd471989b2b91432fa50d750fbf9deab9
data/README.md CHANGED
@@ -15,7 +15,7 @@ A Rust HTML minifier meticulously optimised for speed and effectiveness, with bi
15
15
  - Advanced minification strategy beats other minifiers while being much faster.
16
16
  - Uses SIMD searching, direct tries, and lookup tables.
17
17
  - Handles [invalid HTML](./notes/Parsing.md), with extensive testing and [fuzzing](./fuzz).
18
- - Uses [minify-js](https://github.com/wilsonzlin/minify-js) for super fast JS minification.
18
+ - Uses [minify-js](https://github.com/wilsonzlin/minify-js) and [lightningcss](https://github.com/parcel-bundler/lightningcss) for super fast JS and CSS minification.
19
19
 
20
20
  View the [changelog](./CHANGELOG.md) to see the latest updates.
21
21
 
@@ -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.12.0/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.12.0/core/average-sizes.png">
26
+ <img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.13.2/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.13.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
 
@@ -32,27 +32,24 @@ The [onepass](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass
32
32
  <details>
33
33
  <summary><img width="24" src="https://wilsonl.in/minify-html/icon/cli.png"> <strong>CLI</strong></summary>
34
34
 
35
- Precompiled binaries are available for Linux, macOS, and Windows.
35
+ The CLI is called [minhtml](./minhtml).
36
+ Precompiled binaries are available for Linux (ARM64 and x64), macOS (ARM64 and x64), and Windows (x64).
37
+ You can download them in the GitHub release.
36
38
 
37
- ### Get
38
-
39
- [Linux x64](https://wilsonl.in/minify-html/bin/0.12.0-linux-x86_64) |
40
- [Linux ARM64](https://wilsonl.in/minify-html/bin/0.12.0-linux-arm64) |
41
- [macOS x64](https://wilsonl.in/minify-html/bin/0.12.0-macos-x86_64) |
42
- [Windows x64](https://wilsonl.in/minify-html/bin/0.12.0-windows-x86_64.exe)
39
+ If you have Cargo installed, you can also build and install from source: `cargo install minhtml`.
43
40
 
44
41
  ### Use
45
42
 
46
43
  Use the `--help` argument for more details.
47
44
 
48
45
  ```bash
49
- minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /path/to/src.html
46
+ minhtml --output /path/to/output.min.html --keep-closing-tags --minify-css /path/to/src.html
50
47
  ```
51
48
 
52
49
  To quickly parallel process a batch of files in place:
53
50
 
54
51
  ```bash
55
- minify-html --keep-closing-tags --minify-css /path/to/**/*.html
52
+ minhtml --keep-closing-tags --minify-css /path/to/**/*.html
56
53
  ```
57
54
 
58
55
  </details>
@@ -64,7 +61,7 @@ minify-html --keep-closing-tags --minify-css /path/to/**/*.html
64
61
 
65
62
  ```toml
66
63
  [dependencies]
67
- minify-html = "0.12.0"
64
+ minify-html = "0.13.2"
68
65
  ```
69
66
 
70
67
  ### Use
@@ -76,14 +73,14 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
76
73
  <details>
77
74
  <summary><img width="24" src="https://wilsonl.in/minify-html/icon/deno.png"> <strong>Deno</strong></summary>
78
75
 
79
- - Package: https://wilsonl.in/minify-html/deno/0.12.0/index.js
76
+ - Package: https://wilsonl.in/minify-html/deno/0.13.2/index.js
80
77
  - Binding: [WASM](https://webassembly.org/)
81
78
  - Platforms: All
82
79
 
83
80
  ### Use
84
81
 
85
82
  ```ts
86
- import init, {minify} from "https://wilsonl.in/minify-html/deno/0.12.0/index.js";
83
+ import init, {minify} from "https://wilsonl.in/minify-html/deno/0.13.2/index.js";
87
84
 
88
85
  const encoder = new TextEncoder();
89
86
  const decoder = new TextDecoder();
@@ -139,7 +136,7 @@ All [`Cfg` fields](https://docs.rs/minify-html/latest/minify_html/struct.Cfg.htm
139
136
 
140
137
  - Package: [in.wilsonl.minifyhtml](https://search.maven.org/artifact/in.wilsonl.minifyhtml/minify-html)
141
138
  - Binding: [JNI](https://github.com/jni-rs/jni-rs)
142
- - Platforms: Linux, macOS, Windows; Java 7 and higher
139
+ - Platforms: Linux (ARM64 and x64), macOS (ARM64 and x64), Windows (x64); Java 7 and higher
143
140
 
144
141
  ### Get
145
142
 
@@ -149,7 +146,7 @@ Add as a Maven dependency:
149
146
  <dependency>
150
147
  <groupId>in.wilsonl.minifyhtml</groupId>
151
148
  <artifactId>minify-html</artifactId>
152
- <version>0.12.0</version>
149
+ <version>0.13.2</version>
153
150
  </dependency>
154
151
  ```
155
152
 
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minify_html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.2
5
5
  platform: x86_64-darwin
6
6
  authors:
7
7
  - Wilson Lin