minify_html 0.6.4 → 0.6.8

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: fcf1f00f5545bee7582daae41cefab367b1e55826b7d6d8a91bf9d1f3d1c92e6
4
- data.tar.gz: fead18c4364412dcdc27c9d048b52f53bd726f1ba5bd46d488b765dc9585939d
3
+ metadata.gz: d2c0b24cca90b01045994ded5e410c0fea978888fd3e985bb1ee3b4f14520009
4
+ data.tar.gz: cdb15137d6991933b5f9fdc6ddb3d6066cc2b8f83759d54c27a244fd4e053e60
5
5
  SHA512:
6
- metadata.gz: d01c0739ae86b08d11e9046629356e1cd8a25b85b81a062ef24a24f2cab3fae6dae4ca3ea1c8ca0467a57f1818888bc71257ed4b6bce1fb5584adcb9a529ce01
7
- data.tar.gz: d721457454fe99f36f844f4dfd194d313fc3c9d91f1573c8efa1ba1db8a68743fb28b247e89fed962b94b96e7d2e388e26a9928fc6dbe27e0afeb88b51fa8ab8
6
+ metadata.gz: b9b289c4b5bc20538ebd3748ccacc3d09c41205cb22d45cdd539fcac579d8c98eb7759ce369fc8af1e73325694cef17c55620d3f38ac34be7ebf8e9f3d8f5551
7
+ data.tar.gz: bb1e7450cb8e3c247c15167d01d06a74e31577ace080df7e08848b1891d9d6ec364f72275fea243b96a3391b38550b0cb5af5a5d54ecd620083367f3254e8965
data/README.md CHANGED
@@ -19,7 +19,7 @@ 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 of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.4/core/average-speeds.png"><img width="415" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.4/core/average-sizes.png">
22
+ <img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.8/core/average-speeds.png"><img width="415" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.8/core/average-sizes.png">
23
23
 
24
24
  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
25
 
@@ -32,10 +32,10 @@ Precompiled binaries are available for Linux, macOS, and Windows.
32
32
 
33
33
  ### Get
34
34
 
35
- [Linux x86-64](https://wilsonl.in/minify-html/bin/0.6.4-linux-x86_64) |
36
- [Linux ARM](https://wilsonl.in/minify-html/bin/0.6.4-linux-arm64) |
37
- [macOS](https://wilsonl.in/minify-html/bin/0.6.4-macos-x86_64) |
38
- [Windows](https://wilsonl.in/minify-html/bin/0.6.4-windows-x86_64.exe)
35
+ [Linux x86-64](https://wilsonl.in/minify-html/bin/0.6.8-linux-x86_64) |
36
+ [Linux ARM](https://wilsonl.in/minify-html/bin/0.6.8-linux-arm64) |
37
+ [macOS](https://wilsonl.in/minify-html/bin/0.6.8-macos-x86_64) |
38
+ [Windows](https://wilsonl.in/minify-html/bin/0.6.8-windows-x86_64.exe)
39
39
 
40
40
  ### Use
41
41
 
@@ -54,7 +54,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
54
54
 
55
55
  ```toml
56
56
  [dependencies]
57
- minify-html = { version = "0.6.4", features = ["js-esbuild"] }
57
+ minify-html = { version = "0.6.8", features = ["js-esbuild"] }
58
58
  ```
59
59
 
60
60
  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 +125,7 @@ Add as a Maven dependency:
125
125
  <dependency>
126
126
  <groupId>in.wilsonl.minifyhtml</groupId>
127
127
  <artifactId>minify-html</artifactId>
128
- <version>0.6.4</version>
128
+ <version>0.6.8</version>
129
129
  </dependency>
130
130
  ```
131
131
 
@@ -134,7 +134,6 @@ Add as a Maven dependency:
134
134
  ```java
135
135
  import in.wilsonl.minifyhtml.Configuration;
136
136
  import in.wilsonl.minifyhtml.MinifyHtml;
137
- import in.wilsonl.minifyhtml.SyntaxException;
138
137
 
139
138
  Configuration cfg = new Configuration.Builder()
140
139
  .setKeepHtmlAndHeadOpeningTags(true)
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
4
+ version: 0.6.8
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-09 00:00:00.000000000 Z
11
+ date: 2021-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle