fast-xml-parser
Advanced tools
Comparing version 3.17.5 to 3.17.6
{ | ||
"name": "fast-xml-parser", | ||
"version": "3.17.5", | ||
"version": "3.17.6", | ||
"description": "Validate XML or Parse XML to JS/JSON very fast without C/C++ based libraries", | ||
@@ -14,3 +14,2 @@ "main": "./src/parser.js", | ||
"coverage:check": "istanbul check-coverage --branch 90 --statement 90", | ||
"postinstall": "node tasks/postinstall.js || exit 0", | ||
"prettier": "prettier --write src/**/*.js", | ||
@@ -74,6 +73,6 @@ "publish-please": "publish-please", | ||
"devDependencies": { | ||
"@babel/core": "^7.12.9", | ||
"@babel/plugin-transform-runtime": "^7.12.1", | ||
"@babel/preset-env": "^7.12.7", | ||
"@babel/register": "^7.12.1", | ||
"@babel/core": "^7.12.10", | ||
"@babel/plugin-transform-runtime": "^7.12.10", | ||
"@babel/preset-env": "^7.12.11", | ||
"@babel/register": "^7.12.10", | ||
"babel-loader": "^8.2.2", | ||
@@ -80,0 +79,0 @@ "eslint": "^5.16.0", |
@@ -32,4 +32,5 @@ 'use strict'; | ||
for (var tag in node.child[tagname]) { | ||
jObj[tagname].push(convertToJson(node.child[tagname][tag], options)); | ||
} | ||
if (node.child[tagname].hasOwnProperty(tag)){ | ||
jObj[tagname].push(convertToJson(node.child[tagname][tag], options));} | ||
} | ||
} else { | ||
@@ -36,0 +37,0 @@ if(options.arrayMode === true){ |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
0
77472
15
1536