Socket
Socket
Sign inDemoInstall

wsdlrdr

Package Overview
Dependencies
50
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.8 to 0.3.9

2

package.json
{
"name": "wsdlrdr",
"version": "0.3.8",
"version": "0.3.9",
"description": "a simple wsdl parser, with promises",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -326,3 +326,4 @@ (function() {

var contentType = res.response.headers['content-type'];
if (contentType.indexOf('xml') === -1) {
if (contentType.indexOf('xml') === -1 &&
contentType.indexOf('wsdl') === -1) {
throw new Error('no wsdl/xml response');

@@ -329,0 +330,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc