Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

soap

Package Overview
Dependencies
Maintainers
4
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soap - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2

6

History.md

@@ -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 @@ =================

10

lib/wsdl.js

@@ -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 @@ }

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc