@postman/wsdl-to-postman
Advanced tools
Comparing version 1.13.0 to 1.13.1
@@ -5,2 +5,8 @@ # WSDL to Postman Changelog | ||
## [v1.13.1] - 2024-07-22 | ||
### Fixed | ||
- Fixed TypeError occurring for files with non UTF-8 encoding while parsing. | ||
## [v1.13.0] - 2024-07-10 | ||
@@ -122,4 +128,6 @@ | ||
[Unreleased]: https://github.com/postmanlabs/wsdl-to-postman/compare/v1.13.0...HEAD | ||
[Unreleased]: https://github.com/postmanlabs/wsdl-to-postman/compare/v1.13.1...HEAD | ||
[v1.13.1]: https://github.com/postmanlabs/wsdl-to-postman/compare/v1.13.0...v1.13.1 | ||
[v1.13.0]: https://github.com/postmanlabs/wsdl-to-postman/compare/v1.12.3...v1.13.0 | ||
@@ -126,0 +134,0 @@ |
@@ -76,3 +76,10 @@ const fastXMLParser = require('fast-xml-parser'), | ||
} | ||
return fastXMLParser.parse(fixComments(xmlDocumentContent), optionsForFastXMLParser); | ||
try { | ||
return fastXMLParser.parse(fixComments(xmlDocumentContent), optionsForFastXMLParser); | ||
} | ||
catch (_e) { | ||
// ignore errors while parsing data | ||
return ''; | ||
} | ||
} | ||
@@ -79,0 +86,0 @@ |
{ | ||
"name": "@postman/wsdl-to-postman", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"description": "Convert a given WSDL specification (1.1) to Postman Collection", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1325651
34900