@e-mc/compress 0.12.11 → 0.12.12

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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- * [View Source](https://www.unpkg.com/@e-mc/types@0.12.11/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.12.12/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { IModule, ModuleConstructor } from "./index";
@@ -64,6 +64,7 @@ import type { Options as ZopfliOptions } from "node-zopfli";
64
64
  interface CompressModule {
65
65
  gzip?: ZlibOptions;
66
66
  brotli?: BrotliOptions;
67
+ /** @deprecated */
67
68
  zopfli?: ZopfliOptions;
68
69
  settings?: {
69
70
  broadcast_id?: string | string[];
@@ -71,6 +72,7 @@ interface CompressModule {
71
72
  cache_expires?: number | string;
72
73
  gzip_level?: number;
73
74
  brotli_quality?: number;
75
+ /** @deprecated */
74
76
  zopfli_iterations?: number;
75
77
  chunk_size?: number | string;
76
78
  };
@@ -120,9 +122,9 @@ instance.tryImage("/tmp/image.png", "/path/output/compressed.png", options)
120
122
 
121
123
  ## References
122
124
 
123
- - https://www.unpkg.com/@e-mc/types@0.12.11/lib/squared.d.ts
124
- - https://www.unpkg.com/@e-mc/types@0.12.11/lib/compress.d.ts
125
- - https://www.unpkg.com/@e-mc/types@0.12.11/lib/settings.d.ts
125
+ - https://www.unpkg.com/@e-mc/types@0.12.12/lib/squared.d.ts
126
+ - https://www.unpkg.com/@e-mc/types@0.12.12/lib/compress.d.ts
127
+ - https://www.unpkg.com/@e-mc/types@0.12.12/lib/settings.d.ts
126
128
 
127
129
  * https://www.npmjs.com/package/@types/node
128
130
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/compress",
3
- "version": "0.12.11",
3
+ "version": "0.12.12",
4
4
  "description": "Compress constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -22,8 +22,8 @@
22
22
  "license": "BSD-3-Clause",
23
23
  "homepage": "https://github.com/anpham6/e-mc#readme",
24
24
  "dependencies": {
25
- "@e-mc/core": "0.12.11",
26
- "@e-mc/types": "0.12.11",
25
+ "@e-mc/core": "0.12.12",
26
+ "@e-mc/types": "0.12.12",
27
27
  "wawoff2": "^2.0.1",
28
28
  "woff2sfnt-sfnt2woff": "^1.0.0"
29
29
  }