minify_html 0.10.7 → 0.10.8

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: d0f2d2f562e6842cbbc247d24d285f7849821b480a9c88d91cb3de908dbef00c
4
- data.tar.gz: 6ae20e73b4c1c9822eb0b8560265db6ac48b092177f47927d01b740543236eea
3
+ metadata.gz: 64eeabff21d09e5f2fa85293ab182407443dbe067928729977493b5a897a0313
4
+ data.tar.gz: 4783bf0e6f89633dd2a40a26bf102ce69657282511d4d518cafeb67b6f75f47c
5
5
  SHA512:
6
- metadata.gz: 2da6224d2b3c2bc0833a602a80bcab731a543f77feff0480c3d1800d72acf3f58ffaa1b0e87881bb8b8075d387092372c1cb6f26ddd5013abddbce0bde5ab8ff
7
- data.tar.gz: 797d3febbedc91e2bee761515cee7cb96adda185aef6af8359f047fa0848d044b1821fc13ed8c3d5a67e371985c5159f01619030f0c19cb3091f1948cffb2620
6
+ metadata.gz: 691a1893fbd8f274527e78cdf1dc78e9fec1dcedc524e6fe955f9f233b5b274483a7c58e8e47f3245f10e8a848fa9d4002a4889921091f75fe257558fcad8e47
7
+ data.tar.gz: 03601a404246ba63daec729c46ec1d00ca3ed38efa347f8e556e6064db9662dd1f8642ec27ee12f886f29700b68c45c89fdc4a73c7c474622d4096e2c4e026a7
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.10.7/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.10.7/core/average-sizes.png">
26
+ <img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.10.8/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.10.8/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,10 +36,10 @@ 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.10.7-linux-x86_64) |
40
- [Linux ARM64](https://wilsonl.in/minify-html/bin/0.10.7-linux-arm64) |
41
- [macOS x64](https://wilsonl.in/minify-html/bin/0.10.7-macos-x86_64) |
42
- [Windows x64](https://wilsonl.in/minify-html/bin/0.10.7-windows-x86_64.exe)
39
+ [Linux x64](https://wilsonl.in/minify-html/bin/0.10.8-linux-x86_64) |
40
+ [Linux ARM64](https://wilsonl.in/minify-html/bin/0.10.8-linux-arm64) |
41
+ [macOS x64](https://wilsonl.in/minify-html/bin/0.10.8-macos-x86_64) |
42
+ [Windows x64](https://wilsonl.in/minify-html/bin/0.10.8-windows-x86_64.exe)
43
43
 
44
44
  ### Use
45
45
 
@@ -64,7 +64,7 @@ minify-html --keep-closing-tags --minify-css /path/to/**/*.html
64
64
 
65
65
  ```toml
66
66
  [dependencies]
67
- minify-html = "0.10.7"
67
+ minify-html = "0.10.8"
68
68
  ```
69
69
 
70
70
  ### Use
@@ -76,14 +76,14 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
76
76
  <details>
77
77
  <summary><img width="24" src="https://wilsonl.in/minify-html/icon/deno.png"> <strong>Deno</strong></summary>
78
78
 
79
- - Package: https://wilsonl.in/minify-html/deno/0.10.7/index.js
79
+ - Package: https://wilsonl.in/minify-html/deno/0.10.8/index.js
80
80
  - Binding: [WASM](https://webassembly.org/)
81
81
  - Platforms: All
82
82
 
83
83
  ### Use
84
84
 
85
85
  ```ts
86
- import init, {minify} from "https://wilsonl.in/minify-html/deno/0.10.7/index.js";
86
+ import init, {minify} from "https://wilsonl.in/minify-html/deno/0.10.8/index.js";
87
87
 
88
88
  const encoder = new TextEncoder();
89
89
  const decoder = new TextDecoder();
@@ -124,7 +124,7 @@ TypeScript definitions are available.
124
124
 
125
125
  ```ts
126
126
  import { Buffer } from "node:buffer";
127
- import * as minifyHtml from "@minify-html/node";
127
+ import minifyHtml from "@minify-html/node";
128
128
  // Or `const minifyHtml = require("@minify-html/node")` if not using TS/ESM.
129
129
 
130
130
  const minified = minifyHtml.minify(Buffer.from("<p> Hello, world! </p>"), { keep_spaces_between_attributes: true, keep_comments: true });
@@ -149,7 +149,7 @@ Add as a Maven dependency:
149
149
  <dependency>
150
150
  <groupId>in.wilsonl.minifyhtml</groupId>
151
151
  <artifactId>minify-html</artifactId>
152
- <version>0.10.7</version>
152
+ <version>0.10.8</version>
153
153
  </dependency>
154
154
  ```
155
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.10.7
4
+ version: 0.10.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: 2023-01-06 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle