New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

any2api-generator-soap

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

any2api-generator-soap - npm Package Compare versions

Comparing version 0.1.16 to 0.1.17

2

package.json
{
"name": "any2api-generator-soap",
"version": "0.1.16",
"version": "0.1.17",
"author": "Johannes Wettinger <mail@jojow.de>",

@@ -5,0 +5,0 @@ "description": "SOAP/WSDL API implementation generator for any2api",

@@ -100,12 +100,17 @@ var path = require('path');

var wsdlName = resultDef.wsdl_name || S(name).camelize().stripPunctuation().s;
//wsdlName = S(name).camelize().replace(/\//g, '_').replace(/\\\\/g, '_').replace(/\\/g, '_').s;
//if (S(wsdlName).startsWith('_')) wsdlName = wsdlName.substring(1);
//name.replace(/\//g, '_').replace(/\\\\/g, '_').replace(/\\/g, '_').replace(/[^\w\s]|_/g, ' ').replace(/\s+/g, ' ');
if (S(resultDef.type).toLowerCase().contains('json')) {
output.results[wsdlName] = JSON.stringify(value, null, 2);
output.results[wsdlName] = { '$value': JSON.stringify(value, null, 2) };
} else if (S(resultDef.type).toLowerCase().contains('binary') && Buffer.isBuffer(value)) {
output.results[wsdlName] = value.toString('base64');
output.results[wsdlName] = { '$value': value.toString('base64') };
} else if (S(resultDef.type).toLowerCase().contains('xml')) {
output.results[wsdlName]['$xml'] = value;
output.results[wsdlName] = { '$xml': value };
} else {
output.results[wsdlName] = value;
output.results[wsdlName] = { '$value': value };
}
output.results[wsdlName].attributes = { resultName: _.escape(name) };
});

@@ -112,0 +117,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