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.1.1 to 0.1.2

test/server-test.js

6

lib/client.js

@@ -78,4 +78,4 @@ /*

ns = defs.$targetNamespace,
encoding = '';
message = '';
encoding = '',
message = '',
xml = null,

@@ -85,3 +85,3 @@ headers = {

'Content-Type': "text/xml; charset=utf-8"
};
},
options = {};

@@ -88,0 +88,0 @@

@@ -33,3 +33,3 @@ /*

exheaders = exheaders || {};
for (attr in exheaders) { headers[attr] = exheaders[attr]; }
for (var attr in exheaders) { headers[attr] = exheaders[attr]; }

@@ -43,3 +43,3 @@ var options = {

exoptions = exoptions || {};
for (attr in exoptions) { options[attr] = exoptions[attr]; }
for (var attr in exoptions) { options[attr] = exoptions[attr]; }

@@ -46,0 +46,0 @@ var request = req(options, function (error, res, body) {

@@ -9,3 +9,4 @@ /*

open_wsdl = require('./wsdl').open_wsdl,
crypto = require('crypto');
crypto = require('crypto'),
WSDL = require('./wsdl').WSDL;

@@ -102,2 +103,2 @@ var _wsdlCache = {};

exports.listen = listen;
exports.WSDL = WSDL;

@@ -594,3 +594,6 @@ /*

value = parseInt(text, 10);
} else if (name === 'string') {
} else if (name === 'dateTime') {
value = new Date(text);
} else {
// handle string or other types
if (typeof top.object !== 'string') {

@@ -601,6 +604,2 @@ value = text;

}
} else if (name === 'dateTime') {
value = new Date(text);
} else {
value = text;
}

@@ -607,0 +606,0 @@ top.object = value;

{
"name": "soap",
"version": "0.1.1",
"version": "0.1.2",
"description": "A minimal node SOAP client",

@@ -16,2 +16,3 @@ "engines": { "node": ">=0.4.0" },

"directories": { "lib": "./lib" },
"scripts": {"test": "mocha -R spec -u exports test/*-test.js"},
"keywords": ["soap"],

@@ -18,0 +19,0 @@ "licenses": [{

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