Socket
Socket
Sign inDemoInstall

parsexmlresponse

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parsexmlresponse - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

10

index.js

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

exports = function (parser, callback) {
module.exports = function (callback) {
return function xmlHttpResponse(res) {

@@ -15,11 +15,5 @@ var body = '';

res.on('end', function () {
xmlParser.parseString(body, function (err, result) {
if (err) {
callback(err);
} else {
parser(result, callback);
}
});
xmlParser.parseString(body, callback);
});
};
};

2

package.json

@@ -7,3 +7,3 @@ {

"description": "Library to spool HTTP responses with an XML body and convert to a javascript object.",
"version": "0.0.2",
"version": "0.0.3",
"main": "index.js",

@@ -10,0 +10,0 @@ "directories": {

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