Comparing version 1.3.2 to 1.3.3
@@ -1,4 +0,8 @@ | ||
// pull the version number that node is using | ||
const { ZLIB_VERNUM } = require('zlib').constants || | ||
// Update with any zlib constants that are added or changed in the future. | ||
// Node v6 didn't export this, so we just hard code the version and rely | ||
// on all the other hard-coded values from zlib v4736. When node v6 | ||
// support drops, we can just export the realZlibConstants object. | ||
const realZlibConstants = require('zlib').constants || | ||
/* istanbul ignore next */ { ZLIB_VERNUM: 4736 } | ||
module.exports = Object.freeze(Object.assign(Object.create(null), { | ||
@@ -29,3 +33,2 @@ Z_NO_FLUSH: 0, | ||
Z_DEFAULT_STRATEGY: 0, | ||
ZLIB_VERNUM, | ||
DEFLATE: 1, | ||
@@ -78,3 +81,2 @@ INFLATE: 2, | ||
BROTLI_PARAM_NDIRECT: 8, | ||
MAX_VALID_BROTLI_PARAM: 8, | ||
BROTLI_DECODER_RESULT_ERROR: 0, | ||
@@ -115,2 +117,2 @@ BROTLI_DECODER_RESULT_SUCCESS: 1, | ||
BROTLI_DECODER_ERROR_UNREACHABLE: -31, | ||
})) | ||
}, realZlibConstants)) |
{ | ||
"name": "minizlib", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "A small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16193
389