Skip to content

Commit bd9fc8e

Browse files
committed
v2.0.0
1 parent b8565a9 commit bd9fc8e

File tree

4 files changed

+28
-10
lines changed

4 files changed

+28
-10
lines changed

AUTHORS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Chris Talkington (http://christalkington.com/)
22
Tyler Kellen (http://goingslowly.com/)
33
Kyle Robinson Young (http://twitter.com/shamakry)
4-
Dav Glass (http://blog.davglass.com/)
4+
Dav Glass (http://blog.davglass.com/)
5+
Vlad Filippov (https://vladfilippov.com/)

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v2.0.0:
2+
date: 2020-12-12
3+
changes:
4+
- Remove iltorb dependency, now uses zlib brotli features.
5+
- Requires node >=10.16.
6+
- Dependency and test updates.
17
v1.6.0:
28
date: 2019-10-21
39
changes:

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,18 @@ Type: `Object`
6262
Default:
6363
```js
6464
{
65-
mode: 0,
66-
quality: 11,
67-
lgwin: 22,
68-
lgblock: 0
65+
[zlib.constants.BROTLI_PARAM_MODE]: 0,
66+
[zlib.constants.BROTLI_PARAM_QUALITY]: 11,
67+
[zlib.constants.BROTLI_PARAM_LGWIN]: 22,
68+
[zlib.constants.BROTLI_PARAM_LGBLOCK]: 0
6969
}
7070
```
7171

72+
Do not forget require `zlib` for `zlib.constants`, example:
73+
```
74+
const zlib = require('zlib');
75+
```
76+
7277
##### mode
7378
Type: `Integer`
7479
* `0`: generic mode
@@ -281,6 +286,7 @@ compress: {
281286

282287
## Release History
283288

289+
* 2020-12-12   v2.0.0   Remove iltorb dependency, now uses zlib brotli features. Requires node >=10.16. Dependency and test updates.
284290
* 2019-10-21   v1.6.0   Update iltorb dependency
285291
* 2018-04-24   v1.5.0   Update to node 4 as minimum version update tar to 4.4.8
286292
* 2017-05-20   v1.4.3   Update pretty-bytes to v4.0.2. Add option to not to create empty archive.
@@ -329,4 +335,4 @@ compress: {
329335

330336
Task submitted by [Chris Talkington](http://christalkington.com/)
331337

332-
*This file was generated on Sat Dec 12 2020 13:29:16.*
338+
*This file was generated on Sat Dec 12 2020 14:15:27.*

docs/compress-options.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,18 @@ Type: `Object`
3030
Default:
3131
```js
3232
{
33-
mode: 0,
34-
quality: 11,
35-
lgwin: 22,
36-
lgblock: 0
33+
[zlib.constants.BROTLI_PARAM_MODE]: 0,
34+
[zlib.constants.BROTLI_PARAM_QUALITY]: 11,
35+
[zlib.constants.BROTLI_PARAM_LGWIN]: 22,
36+
[zlib.constants.BROTLI_PARAM_LGBLOCK]: 0
3737
}
3838
```
3939

40+
Do not forget require `zlib` for `zlib.constants`, example:
41+
```
42+
const zlib = require('zlib');
43+
```
44+
4045
### mode
4146
Type: `Integer`
4247
* `0`: generic mode

0 commit comments

Comments
 (0)