Comparing version 0.11.1 to 0.11.2
@@ -0,1 +1,7 @@ | ||
0.11.2 / 2016-01-08 | ||
================= | ||
* [FIX] Return null instead of empty object. (#733, #707, #784) | ||
* [DOC] Adds commas and semicolons to listen(...) example. (#782) | ||
* [MAINTENANCE] Temporarily skiping test from #768. | ||
0.11.1 / 2015-12-15 | ||
@@ -2,0 +8,0 @@ ================= |
@@ -1331,2 +1331,6 @@ /* | ||
if (_.isPlainObject(obj) && !Object.keys(obj).length) { | ||
obj = null; | ||
} | ||
if (topSchema && topSchema[name + '[]']) { | ||
@@ -1336,4 +1340,3 @@ if (!topObject[name]) | ||
topObject[name].push(obj); | ||
} | ||
else if (name in topObject) { | ||
} else if (name in topObject) { | ||
if (!Array.isArray(topObject[name])) { | ||
@@ -1343,4 +1346,3 @@ topObject[name] = [topObject[name]]; | ||
topObject[name].push(obj); | ||
} | ||
else { | ||
} else { | ||
topObject[name] = obj; | ||
@@ -1347,0 +1349,0 @@ } |
{ | ||
"name": "soap", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"description": "A minimal node SOAP client", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -73,3 +73,3 @@ # Soap [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Gitter chat][gitter-image]][gitter-url] | ||
name: args.name | ||
}) | ||
}); | ||
}, | ||
@@ -82,7 +82,7 @@ | ||
}; | ||
} | ||
}, | ||
// You can also inspect the original `req` | ||
reallyDeatailedFunction: function(args, cb, headers, req) { | ||
console.log('SOAP `reallyDeatailedFunction` request from ' + req.connection.remoteAddress) | ||
console.log('SOAP `reallyDeatailedFunction` request from ' + req.connection.remoteAddress); | ||
return { | ||
@@ -94,7 +94,7 @@ name: headers.Token | ||
} | ||
} | ||
}; | ||
var xml = require('fs').readFileSync('myservice.wsdl', 'utf8'), | ||
server = http.createServer(function(request,response) { | ||
response.end("404: Not Found: "+request.url) | ||
response.end("404: Not Found: " + request.url); | ||
}); | ||
@@ -101,0 +101,0 @@ |
Sorry, the diff of this file is not supported yet
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
145361
3147