Comparing version 1.1.2 to 1.1.3
12
index.js
@@ -21,3 +21,3 @@ //another idea: buffer 2* the max, but only call write with half of that, | ||
if(ended) | ||
return read(ended, function (err) { | ||
return read(ended.abort ? true : ended, function (err) { | ||
cb(err); _cb && _cb() | ||
@@ -68,3 +68,5 @@ }) | ||
} | ||
read(ended = new Error('aborted'), function (end) { | ||
var err = new Error('aborted') | ||
err.abort = true | ||
read(ended = err, function (end) { | ||
end = end === true ? null : end | ||
@@ -91,7 +93,1 @@ if(!writing) { | ||
{ | ||
"name": "pull-write", | ||
"description": "", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"homepage": "https://github.com/dominictarr/pull-write", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
10160
260