Socket
Socket
Sign inDemoInstall

fast-xml-parser

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-xml-parser - npm Package Compare versions

Comparing version 3.18.0 to 3.19.0

16

package.json
{
"name": "fast-xml-parser",
"version": "3.18.0",
"version": "3.19.0",
"description": "Validate XML or Parse XML to JS/JSON very fast without C/C++ based libraries",

@@ -70,8 +70,8 @@ "main": "./src/parser.js",

],
"license": "MIT Modified",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"@babel/core": "^7.13.10",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@babel/register": "^7.13.8",
"babel-loader": "^8.2.2",

@@ -82,7 +82,7 @@ "eslint": "^5.16.0",

"istanbul": "^0.4.5",
"jasmine": "^3.6.3",
"jasmine": "^3.6.4",
"nimnjs": "^1.3.2",
"prettier": "^1.19.1",
"publish-please": "^5.5.2",
"webpack": "^4.44.2",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"

@@ -89,0 +89,0 @@ },

@@ -86,5 +86,4 @@

The list of users is collected either from the list published by Github, cummunicated directly through mails/chat , or from other resources. If you feel that your name in the above list is incorrectly published or you're not the user of this library anymore then you can inform us to remove it. We'll do the necessary changes ASAP.
### Main Features

@@ -351,1 +350,5 @@

<a href="https://opencollective.com/fast-xml-parser/sponsor/9/website" target="_blank"><img src="https://opencollective.com/fast-xml-parser/sponsor/9/avatar.svg"></a>
# License
* MIT License

@@ -23,3 +23,3 @@ 'use strict';

};
exports.convertTonimn = require('../src/nimndata').convert2nimn;
exports.convertTonimn = require('./nimndata').convert2nimn;
exports.getTraversalObj = xmlToNodeobj.getTraversalObj;

@@ -68,2 +68,2 @@ exports.convertToJson = nodeToJson.convertToJson;

}
}
}

@@ -256,2 +256,3 @@ 'use strict';

let tagName = tagExp;
let shouldBuildAttributesMap = true;
if(separatorIndex !== -1){

@@ -266,2 +267,3 @@ tagName = tagExp.substr(0, separatorIndex).replace(/\s\s*$/, '');

tagName = tagName.substr(colonIndex+1);
shouldBuildAttributesMap = tagName !== result.data.substr(colonIndex + 1);
}

@@ -297,3 +299,3 @@ }

}
if(tagName !== tagExp){
if(tagName !== tagExp && shouldBuildAttributesMap){
childNode.attrsMap = buildAttributesMap(tagExp, options);

@@ -300,0 +302,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc