fast-xml-parser 4.3.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/src/fxp.d.ts +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
Note: If you find missing information about particular minor version, that version must have been changed without any functional change in this library.
|
|
2
2
|
|
|
3
|
+
**4.3.1 / 2023-09-24**
|
|
4
|
+
* 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.
|
|
5
|
+
|
|
3
6
|
**4.3.0 / 2023-09-20**
|
|
4
7
|
* Fix stopNodes to work with removeNSPrefix (#607) (#608) (By [Craig Andrews]https://github.com/candrews))
|
|
5
8
|
* Fix #610 ignore properties set to Object.prototype
|
package/package.json
CHANGED
package/src/fxp.d.ts
CHANGED
|
@@ -88,11 +88,9 @@ type ValidationError = {
|
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
-
type GenericObjectOrArray<TValue> = Record<string, unknown> | TValue[];
|
|
92
|
-
|
|
93
91
|
export class XMLParser {
|
|
94
92
|
constructor(options?: X2jOptionsOptional);
|
|
95
|
-
parse
|
|
93
|
+
parse(xmlData: string | Buffer ,validationOptions?: validationOptionsOptional | boolean): any;
|
|
96
94
|
/**
|
|
97
95
|
* Add Entity which is not by default supported by this library
|
|
98
96
|
* @param entityIndentifier {string} Eg: 'ent' for &ent;
|
|
@@ -106,5 +104,5 @@ export class XMLValidator{
|
|
|
106
104
|
}
|
|
107
105
|
export class XMLBuilder {
|
|
108
106
|
constructor(options?: XmlBuilderOptionsOptional);
|
|
109
|
-
build
|
|
107
|
+
build(jObj: any): any;
|
|
110
108
|
}
|