Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 4.0.11 to 4.0.12

3

CHANGELOG.md
Note: If you find missing information about particular minor version, that version must have been changed without any functional change in this library.
**4.0.12 / 2022-11-19**
* fix typescript
**4.0.11 / 2022-10-05**

@@ -4,0 +7,0 @@ * fix #501: parse for entities only once

2

package.json
{
"name": "fast-xml-parser",
"version": "4.0.11",
"version": "4.0.12",
"description": "Validate XML, Parse XML, Build XML without C/C++ based libraries",

@@ -5,0 +5,0 @@ "main": "./src/fxp.js",

@@ -131,9 +131,12 @@ # [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser)

![](./docs/imgs/XMLParser_v4.png)
* Y-axis: requests per second
* X-axis: File size
**Large files**
![](./docs/imgs/XMLParser_large_v4.png)
* Y-axis: requests per second
* X-axis: File size
### XML Builder
![](./docs/imgs/XMLBuilder_v4.png)
* Y-axis: requests per second

@@ -140,0 +143,0 @@ <small>negative means error</small>

@@ -23,3 +23,3 @@ type X2jOptions = {

tagValueProcessor: (tagName: string, tagValue: string, jPath: string, hasAttributes: boolean, isLeafNode: boolean) => unknown;
attributeValueProcessor: (attrName: string, attrValue: string, jPath: string) => string;
attributeValueProcessor: (attrName: string, attrValue: string, jPath: string) => unknown;
numberParseOptions: strnumOptions;

@@ -64,4 +64,4 @@ stopNodes: string[];

stopNodes: string[];
tagValueProcessor: (name: string, value: string) => string;
attributeValueProcessor: (name: string, value: string) => string;
tagValueProcessor: (name: string, value: unknown) => string;
attributeValueProcessor: (name: string, value: unknown) => string;
processEntities: boolean;

@@ -68,0 +68,0 @@ };

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