fast-xml-parser
Advanced tools
Comparing version 4.3.0 to 4.3.1
Note: If you find missing information about particular minor version, that version must have been changed without any functional change in this library. | ||
**4.3.1 / 2023-09-24** | ||
* revert back "Fix typings for builder and parser to make return type generic" to avoid failure of existing projects. Need to decide a common approach. | ||
**4.3.0 / 2023-09-20** | ||
@@ -4,0 +7,0 @@ * Fix stopNodes to work with removeNSPrefix (#607) (#608) (By [Craig Andrews]https://github.com/candrews)) |
{ | ||
"name": "fast-xml-parser", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "Validate XML, Parse XML, Build XML without C/C++ based libraries", | ||
@@ -5,0 +5,0 @@ "main": "./src/fxp.js", |
@@ -91,7 +91,5 @@ type X2jOptions = { | ||
type GenericObjectOrArray<TValue> = Record<string, unknown> | TValue[]; | ||
export class XMLParser { | ||
constructor(options?: X2jOptionsOptional); | ||
parse<TObject extends GenericObjectOrArray<unknown> = GenericObjectOrArray<unknown>>(xmlData: string | Buffer ,validationOptions?: validationOptionsOptional | boolean): TObject; | ||
parse(xmlData: string | Buffer ,validationOptions?: validationOptionsOptional | boolean): any; | ||
/** | ||
@@ -110,3 +108,3 @@ * Add Entity which is not by default supported by this library | ||
constructor(options?: XmlBuilderOptionsOptional); | ||
build<TObject extends GenericObjectOrArray<unknown> = GenericObjectOrArray<unknown>>(jObj: TObject): string; | ||
build(jObj: any): any; | ||
} |
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
106388
1990