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

soap

Package Overview
Dependencies
Maintainers
1
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.2.4 to 0.2.6

5

lib/client.js

@@ -108,2 +108,5 @@ /*

}
else if (typeof(arguments) === 'string') {
message = arguments;
}
else {

@@ -134,3 +137,3 @@ assert.ok(!style || style == 'document', 'invalid message definition for rpc style binding');

catch (error) {
return callback(error, null, body);
return callback(error, response, body);
}

@@ -137,0 +140,0 @@ var result = obj.Body[output.$name];

2

lib/http.js

@@ -28,3 +28,3 @@ /*

if (typeof data == 'string') {
headers["Content-Length"] = data.length;
headers["Content-Length"] = Buffer.byteLength(data, 'utf8');;
headers["Content-Type"] = "application/x-www-form-urlencoded";

@@ -31,0 +31,0 @@ }

@@ -27,4 +27,7 @@ /*

open_wsdl(url, options, function(err, wsdl) {
if (!err) _wsdlCache[url] = wsdl;
callback(null, wsdl);
if (err)
return callback(err);
else
_wsdlCache[url] = wsdl;
callback(null, wsdl);
})

@@ -31,0 +34,0 @@ }

@@ -294,3 +294,3 @@ /*

PortElement.prototype.addChild = function(child) {
if (child.name === 'address') {
if (child.name === 'address' && typeof(child.$location) !== 'undefined') {
this.location = child.$location;

@@ -354,3 +354,8 @@ }

var type = nsName.name;
this.parts[part.$name] = definitions.schemas[ns].types[type] || definitions.schemas[ns].complexTypes[type];
var schemaDefinition = definitions.schemas[ns];
if (typeof schemaDefinition !== 'undefined') {
this.parts[part.$name] = definitions.schemas[ns].types[type] || definitions.schemas[ns].complexTypes[type];
} else {
this.parts[part.$name] = part.$type;
}
this.parts[part.$name].namespace = nsName.namespace;

@@ -357,0 +362,0 @@ this.parts[part.$name].xmlns = ns;

{
"name": "soap",
"version": "0.2.4",
"version": "0.2.6",
"description": "A minimal node SOAP client",
"engines": { "node": ">=0.6.0" },
"engines": { "node": ">=0.8.0" },
"author": "Vinay Pulim <v@pulim.com>",
"dependencies": {
"node-expat": ">= 1.3.0",
"node-expat": ">=1.6.1",
"request": ">=2.9.0"

@@ -10,0 +10,0 @@ },

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