@postman/wsdl-to-postman
Advanced tools
Comparing version 1.5.0 to 1.6.0
# WSDL to Postman Changelog | ||
### v1.6.0 | ||
* Fixed issue [#11267](https://github.com/postmanlabs/postman-app-support/issues/11267) - WSDL Definition without a portType defined fails to import correctly in Postman | ||
#### v1.5.0 (December 23, 2022) | ||
@@ -4,0 +7,0 @@ * Fixed issue [#11329](https://github.com/postmanlabs/postman-app-support/issues/11329) - Imported WSDL collection contains incorrect separator & URL is not decoded completely. |
@@ -11,3 +11,5 @@ const XML_NAMESPACE_SEPARATOR = ':'; | ||
function getXMLNodeByName(parentNode, prefix, nodeName) { | ||
return parentNode[prefix + nodeName]; | ||
if (parentNode) { | ||
return parentNode[prefix + nodeName]; | ||
} | ||
} | ||
@@ -14,0 +16,0 @@ |
@@ -370,3 +370,3 @@ const | ||
arrayPortTypes = getArrayFrom(getNodeByName(definitions, principalPrefix, PORT_TYPE_TAG)); | ||
portTypeFound = arrayPortTypes.find((portType) => { | ||
portTypeFound = arrayPortTypes && arrayPortTypes.find((portType) => { | ||
return getAttributeByName(portType, NAME_TAG) === localPortname; | ||
@@ -376,3 +376,3 @@ }); | ||
operationReturn = operations.find((operation) => { | ||
operationReturn = operations && operations.find((operation) => { | ||
return getAttributeByName(operation, NAME_TAG) === operationName; | ||
@@ -379,0 +379,0 @@ }) || {}; |
{ | ||
"name": "@postman/wsdl-to-postman", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Convert a given WSDL specification (1.1) to Postman Collection", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1306521
34551
2