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

soap

Package Overview
Dependencies
Maintainers
0
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 1.1.0 to 1.1.1

8

lib/http.js

@@ -101,3 +101,3 @@ "use strict";

});
options.data = `--${boundary}\r\n`;
options.data = [Buffer.from(`--${boundary}\r\n`)];
let multipartCount = 0;

@@ -107,9 +107,9 @@ multipart.forEach((part) => {

if (key !== 'body') {
options.data += `${key}: ${part[key]}\r\n`;
options.data.push(Buffer.from(`${key}: ${part[key]}\r\n`));
}
});
options.data += '\r\n';
options.data += `${part.body}\r\n--${boundary}${multipartCount === multipart.length - 1 ? '--' : ''}\r\n`;
options.data.push(Buffer.from('\r\n'), Buffer.from(part.body), Buffer.from(`\r\n--${boundary}${multipartCount === multipart.length - 1 ? '--' : ''}\r\n`));
multipartCount++;
});
options.data = Buffer.concat(options.data);
}

@@ -116,0 +116,0 @@ else {

@@ -170,3 +170,3 @@ "use strict";

if (typeof this.log === 'function') {
this.log('error', error, req);
this.log('error', err, req);
}

@@ -173,0 +173,0 @@ }

@@ -192,2 +192,3 @@ "use strict";

const ns = xmlns && xmlns[type.prefix] ||
this.xmlns[type.prefix] ||
((definitions.xmlns[type.prefix] !== undefined || definitions.xmlns[this.targetNSAlias] !== undefined) && this.schemaXmlns[type.prefix]) ||

@@ -194,0 +195,0 @@ definitions.xmlns[type.prefix];

{
"name": "soap",
"version": "1.1.0",
"version": "1.1.1",
"description": "A minimal node SOAP client",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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