rets-client
Advanced tools
Comparing version 4.6.8 to 4.6.9
@@ -47,6 +47,6 @@ // Generated by CoffeeScript 1.10.0 | ||
handleError = function(err) { | ||
if (bodyStream) { | ||
if (bodyStream != null) { | ||
bodyStream.end(); | ||
bodyStream = null; | ||
} | ||
bodyStream = null; | ||
if (objectStreamDone) { | ||
@@ -93,7 +93,5 @@ return; | ||
parser.onHeadersEnd = function() { | ||
var bodyStreamDone; | ||
bodyStream = through2(); | ||
bodyStreamDone = false; | ||
bodyStream.on('end', function() { | ||
return bodyStreamDone = true; | ||
return bodyStream = null; | ||
}); | ||
@@ -111,11 +109,6 @@ handler(headers, bodyStream, false, options).then(function(object) { | ||
parser.onPartData = function(b, start, end) { | ||
if (!bodyStreamDone) { | ||
return bodyStream.write(b.slice(start, end)); | ||
} | ||
return bodyStream != null ? bodyStream.write(b.slice(start, end)) : void 0; | ||
}; | ||
return parser.onPartEnd = function() { | ||
if (!bodyStreamDone) { | ||
bodyStream.end(); | ||
} | ||
return bodyStream = null; | ||
return bodyStream != null ? bodyStream.end() : void 0; | ||
}; | ||
@@ -122,0 +115,0 @@ }; |
{ | ||
"name": "rets-client", | ||
"version": "4.6.8", | ||
"version": "4.6.9", | ||
"description": "A RETS client (Real Estate Transaction Standard).", | ||
@@ -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
93727
1970