Comparing version 1.2.0 to 1.2.1
@@ -236,3 +236,6 @@ 'use strict' | ||
const nativeHandle = this[_handle]._handle | ||
const originalNativeClose = nativeHandle.close | ||
nativeHandle.close = () => {} | ||
const originalClose = this[_handle].close | ||
this[_handle].close = () => {} | ||
// It also calls `Buffer.concat()` at the end, which may be convenient | ||
@@ -253,2 +256,4 @@ // for some, but which we are not interested in as it slows us down. | ||
this[_handle]._handle = nativeHandle | ||
nativeHandle.close = originalNativeClose | ||
this[_handle].close = originalClose | ||
// `_processChunk()` adds an 'error' listener. If we don't remove it | ||
@@ -255,0 +260,0 @@ // after each call, these handlers start piling up. |
{ | ||
"name": "minizlib", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"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
14079
330