minify_html 0.6.7 → 0.7.0

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: d5971cbee62112f6d41555963987e1901d9e874c60d3368c0abbdf50dc75e67d
4
- data.tar.gz: 783684df13080191cbf214dfa908ad5e69c33f928ba92e833fe0c0c129ba4ddb
3
+ metadata.gz: fbc56649fbd4a709c74fea7eb0622560f5f46cab736dee5844b2e8b35eeb8fc4
4
+ data.tar.gz: 7851e432ab1b89c8e90c6d63c6864babaf62b16a393f518ee926cbdebbcd1b51
5
5
  SHA512:
6
- metadata.gz: ca795c3ee98f438c676bd78bdca1ec9025f50fb11df12975ac68bca702afcc692672b738671fe8a8f8f0de9dc92ba9b1f85ee265c8b9538f8c2606466584eb02
7
- data.tar.gz: 0b80707fd0451d6bf27573fdffa861e8e34e99214a43c94124bf3d0987889651f42dfcd4b9587c1e71972309e4720776acd6afd2c31f54e7407fac71d161f2f8
6
+ metadata.gz: e8b8fdf42147f60225a4ead898c4985ba903c5c104ac7f1aa6282a685264b756f961925bdeeb2f191be28e4c450d036e7c84aea839f666d7338e2964b52965d4
7
+ data.tar.gz: ca00036a8935a3f080e65144e37fe95e331bfaa082558fc36408b617e732671c83308ee7e9d5a367fe8b2eb427871fbb5fdb41bc8c6844e31e7564e803105449
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.7/core/average-speeds.png"><img width="415" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.7/core/average-sizes.png">
22
+ <img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.7.0/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.7.0/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,11 @@ 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.7-linux-x86_64) |
36
- [Linux ARM](https://wilsonl.in/minify-html/bin/0.6.7-linux-arm64) |
37
- [macOS](https://wilsonl.in/minify-html/bin/0.6.7-macos-x86_64) |
38
- [Windows](https://wilsonl.in/minify-html/bin/0.6.7-windows-x86_64.exe)
35
+ [Linux x64](https://wilsonl.in/minify-html/bin/0.7.0-linux-x86_64) |
36
+ [Linux ARM](https://wilsonl.in/minify-html/bin/0.7.0-linux-arm64) |
37
+ [macOS x64](https://wilsonl.in/minify-html/bin/0.7.0-macos-x86_64) |
38
+ [macOS ARM64](https://wilsonl.in/minify-html/bin/0.7.0-macos-arm64) |
39
+ [Windows x64](https://wilsonl.in/minify-html/bin/0.7.0-windows-x86_64.exe)
39
40
 
40
41
  ### Use
41
42
 
@@ -54,7 +55,7 @@ minify-html --output /path/to/output.min.html --keep-closing-tags --minify-css /
54
55
 
55
56
  ```toml
56
57
  [dependencies]
57
- minify-html = { version = "0.6.7", features = ["js-esbuild"] }
58
+ minify-html = { version = "0.7.0", features = ["js-esbuild"] }
58
59
  ```
59
60
 
60
61
  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).
@@ -72,7 +73,7 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
72
73
 
73
74
  - Package: [@minify-html/js](https://www.npmjs.com/package/@minify-html/js)
74
75
  - Binding: [N-API](https://nodejs.org/api/n-api.html)
75
- - Platforms: Linux (ARM64 and x86-64), macOS (x86-64), Windows (x86-64); Node.js 8.6.0 and higher
76
+ - Platforms: Linux (ARM64 and x64), macOS (ARM64 and x64), Windows (x64); Node.js 8.6.0 and higher
76
77
 
77
78
  ### Get
78
79
 
@@ -125,7 +126,7 @@ Add as a Maven dependency:
125
126
  <dependency>
126
127
  <groupId>in.wilsonl.minifyhtml</groupId>
127
128
  <artifactId>minify-html</artifactId>
128
- <version>0.6.7</version>
129
+ <version>0.7.0</version>
129
130
  </dependency>
130
131
  ```
131
132
 
@@ -150,7 +151,7 @@ String minified = MinifyHtml.minify("<p> Hello, world! </p>", cfg);
150
151
 
151
152
  - Package: [minify-html](https://pypi.org/project/minify-html)
152
153
  - Binding: [PyO3](https://github.com/PyO3/pyo3)
153
- - Platforms: Linux, macOS, Windows; Python 3.7 and higher
154
+ - Platforms: Linux (ARM64 and x64), macOS (ARM64 and x64), Windows (x64); Python 3.8 to 3.10
154
155
 
155
156
  ### Get
156
157
 
@@ -423,7 +424,7 @@ Bangs, [processing instructions](https://en.wikipedia.org/wiki/Processing_Instru
423
424
 
424
425
  ## Parsing
425
426
 
426
- minify-html can process any HTML, handling all possible syntax (including invalid ones) gracefully like browsers. See [Parsing.md](./notes/Parsing.md) for more details.
427
+ minify-html can process any HTML, handling all possible syntax (including invalid ones) gracefully like browsers. See [Parsing.md](./notes/Parsing.md) for more details.
427
428
 
428
429
  ## Issues and contributions
429
430
 
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.7
4
+ version: 0.7.0
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-10 00:00:00.000000000 Z
11
+ date: 2021-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle