minify_html 0.4.6 → 0.4.11

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: c97cc97254c938f39f7bf1c7b4e9007fe6f68ea40f784fc6fc52601739bea991
4
- data.tar.gz: 283439161b791cd10d54700548ec7062ee728bcbd9970c43be4deff9d61438a4
3
+ metadata.gz: 1df6e29c73642fae171bfe86ef03db760defe1222b8ca121d7376eb709a56887
4
+ data.tar.gz: 97d43726d7fb4debbc02c6037e0498d7dc870124243fb5e117a7cdc72540f9f4
5
5
  SHA512:
6
- metadata.gz: 8647ab190797c8f1cf83b364bdb23ecf6563476e1eb0e522e215950c2f50efb35d49ba7956024bea22569e296d0f066dd2c0f3ca814ffa39e2758a4015bea13c
7
- data.tar.gz: 54b778beee4d703f640172018359096ba1bb3f95d8be3780ca3519dadfe6a99d924c84b4a6a4e210c407615a9106a5d3f220e26d4df753714c4a1cab8cb1cb1a
6
+ metadata.gz: 8ba0748e70593ea8176bb06a0f5c7ef2aae355a6b746cec2b3d26efb962cb9b68cb7057d607d51d4a4288c82a85a87093edef82ca1b842c3dc8a9fdca3e37c8d
7
+ data.tar.gz: 6159738839535b2351a9cf4545b8ef2d9fbea189cc640b4f261a227ae125c0d841f33e2d42a13811b34d23d3287595eb8e97edf733ee7efb59c300ba3820b6c7
data/README.md CHANGED
@@ -12,7 +12,7 @@ Comes with native bindings to Node.js, Python, Java, and Ruby.
12
12
 
13
13
  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)
14
14
 
15
- <img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.4.6/core/average-speeds.png"> <img width="415" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.4.6/core/average-sizes.png">
15
+ <img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.4.11/core/average-speeds.png"> <img width="415" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.4.11/core/average-sizes.png">
16
16
 
17
17
  ## Usage
18
18
 
@@ -22,9 +22,9 @@ Precompiled binaries are available for x86-64 Linux, macOS, and Windows.
22
22
 
23
23
  ##### Get
24
24
 
25
- [Linux](https://wilsonl.in/minify-html/bin/0.4.6-linux-x86_64) |
26
- [macOS](https://wilsonl.in/minify-html/bin/0.4.6-macos-x86_64) |
27
- [Windows](https://wilsonl.in/minify-html/bin/0.4.6-windows-x86_64.exe)
25
+ [Linux](https://wilsonl.in/minify-html/bin/0.4.11-linux-x86_64) |
26
+ [macOS](https://wilsonl.in/minify-html/bin/0.4.11-macos-x86_64) |
27
+ [Windows](https://wilsonl.in/minify-html/bin/0.4.11-windows-x86_64.exe)
28
28
 
29
29
  ##### Use
30
30
 
@@ -43,7 +43,7 @@ minify-html --src /path/to/src.html --out /path/to/output.min.html --css --js
43
43
 
44
44
  ```toml
45
45
  [dependencies]
46
- minify-html = { version = "0.4.6", features = ["js-esbuild"] }
46
+ minify-html = { version = "0.4.11", features = ["js-esbuild"] }
47
47
  ```
48
48
 
49
49
  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).
@@ -120,7 +120,7 @@ Add as a Maven dependency:
120
120
  <dependency>
121
121
  <groupId>in.wilsonl.minifyhtml</groupId>
122
122
  <artifactId>minify-html</artifactId>
123
- <version>0.4.6</version>
123
+ <version>0.4.11</version>
124
124
  </dependency>
125
125
  ```
126
126
 
@@ -398,7 +398,7 @@ Any entities in attribute values are decoded, and then the shortest representati
398
398
 
399
399
  - Double quoted, with any `"` encoded.
400
400
  - Single quoted, with any `'` encoded.
401
- - Unquoted, with `"`/`'` first character (if applicable), `>` last character (if applicable), and any whitespace encoded.
401
+ - Unquoted, with `"`/`'` first character (if applicable), any `>`, and any whitespace encoded.
402
402
 
403
403
  `class` and `d` attributes have their whitespace (after any decoding) trimmed and collapsed.
404
404
 
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.4.6
4
+ version: 0.4.11
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-04-07 00:00:00.000000000 Z
11
+ date: 2021-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.7.6.2
62
+ rubygems_version: 2.7.6.3
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Extremely fast and smart HTML + JS + CSS minifier