fast-xml-parser
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -15,3 +15,7 @@ #!/usr/bin/env node | ||
}else{ | ||
var options = {}; | ||
var options = { | ||
ignoreNameSpace : true, | ||
ignoreNonTextNodeAttr : false, | ||
ignoreTextNodeAttr : false | ||
}; | ||
var fileName = ""; | ||
@@ -18,0 +22,0 @@ var outputFileName; |
@@ -107,4 +107,6 @@ var getAllMatches = function(string, regex) { | ||
var tags = tagname.split(":"); | ||
if(tags.length === 2) | ||
tagname = tags[1]; | ||
var prefix = tagname.charAt(0) === "/" ? "/" : ""; | ||
if(tags.length === 2) { | ||
tagname = prefix + tags[1]; | ||
} | ||
} | ||
@@ -111,0 +113,0 @@ return tagname; |
{ | ||
"name": "fast-xml-parser", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Parse XML to JS/JSON very fast without C/C++ based libraries", | ||
@@ -5,0 +5,0 @@ "main": "./lib/parser.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
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
51970
11
329