Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Dec 12, 2020
1 parent b8565a9 commit bd9fc8e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
3 changes: 2 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Chris Talkington (http://christalkington.com/)
Tyler Kellen (http://goingslowly.com/)
Kyle Robinson Young (http://twitter.com/shamakry)
Dav Glass (http://blog.davglass.com/)
Dav Glass (http://blog.davglass.com/)
Vlad Filippov (https://vladfilippov.com/)
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v2.0.0:
date: 2020-12-12
changes:
- Remove iltorb dependency, now uses zlib brotli features.
- Requires node >=10.16.
- Dependency and test updates.
v1.6.0:
date: 2019-10-21
changes:
Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,18 @@ Type: `Object`
Default:
```js
{
mode: 0,
quality: 11,
lgwin: 22,
lgblock: 0
[zlib.constants.BROTLI_PARAM_MODE]: 0,
[zlib.constants.BROTLI_PARAM_QUALITY]: 11,
[zlib.constants.BROTLI_PARAM_LGWIN]: 22,
[zlib.constants.BROTLI_PARAM_LGBLOCK]: 0
}
```

Do not forget require `zlib` for `zlib.constants`, example:
```
const zlib = require('zlib');
```

##### mode
Type: `Integer`
* `0`: generic mode
Expand Down Expand Up @@ -281,6 +286,7 @@ compress: {

## Release History

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

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

*This file was generated on Sat Dec 12 2020 13:29:16.*
*This file was generated on Sat Dec 12 2020 14:15:27.*
13 changes: 9 additions & 4 deletions docs/compress-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,18 @@ Type: `Object`
Default:
```js
{
mode: 0,
quality: 11,
lgwin: 22,
lgblock: 0
[zlib.constants.BROTLI_PARAM_MODE]: 0,
[zlib.constants.BROTLI_PARAM_QUALITY]: 11,
[zlib.constants.BROTLI_PARAM_LGWIN]: 22,
[zlib.constants.BROTLI_PARAM_LGBLOCK]: 0
}
```

Do not forget require `zlib` for `zlib.constants`, example:
```
const zlib = require('zlib');
```

### mode
Type: `Integer`
* `0`: generic mode
Expand Down

0 comments on commit bd9fc8e

Please sign in to comment.