fast-xml-parser 3.13.0 → 3.16.0

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 DELETED
@@ -1,315 +0,0 @@
1
- 3.13.0 / 2019-10-02
2
- * pass tag/attr name to tag/attr value processor
3
- * inbuilt optional validation with XML parser
4
-
5
- 3.12.21 / 2019-10-02
6
- * Fix validator for unclosed XMLs
7
- * move nimnjs dependency to dev dependency
8
- * update dependencies
9
-
10
- 3.12.20 / 2019-08-16
11
- * Revert: Fix #167: '>' in attribute value as it is causing high performance degrade.
12
-
13
- 3.12.19 / 2019-07-28
14
- * Fix js to xml parser should work for date values. (broken: `tagValueProcessor` will receive the original value instead of string always) (breaking change)
15
-
16
- 3.12.18 / 2019-07-27
17
- * remove configstore dependency
18
-
19
- 3.12.17 / 2019-07-14
20
- * Fix #167: '>' in attribute value
21
-
22
- 3.12.16 / 2019-03-23
23
- * Support a new option "stopNodes". (#150)
24
- Accept the list of tags which are not required to be parsed. Instead, all the nested tag and data will be assigned as string.
25
- * Don't show post-install message
26
-
27
- 3.12.12 / 2019-01-11
28
- * fix : IE parseInt, parseFloat error
29
-
30
- 3.12.11 / 2018-12-24
31
- * fix #132: "/" should not be parsed as boolean attr in case of self closing tags
32
-
33
- 3.12.9 / 2018-11-23
34
- * fix #129 : validator should not fail when an atrribute name is 'length'
35
-
36
- 3.12.8 / 2018-11-22
37
- * fix #128 : use 'attrValueProcessor' to process attribute value in json2xml parser
38
-
39
- 3.12.6 / 2018-11-10
40
- * Fix #126: check for type
41
-
42
- 3.12.4 / 2018-09-12
43
- * Fix: include tasks in npm package
44
-
45
- 3.12.3 / 2018-09-12
46
- * Fix CLI issue raised in last PR
47
-
48
- 3.12.2 / 2018-09-11
49
- * Fix formatting for JSON to XML output
50
- * Migrate to webpack (PR merged)
51
- * fix cli (PR merged)
52
-
53
- 3.12.0 / 2018-08-06
54
- * Support hexadecimal values
55
- * Support true number parsing
56
-
57
- 3.11.2 / 2018-07-23
58
- * Update Demo for more options
59
- * Update license information
60
- * Update readme for formatting, users, and spelling mistakes
61
- * Add missing typescript definition for j2xParser
62
- * refactoring: change filenames
63
-
64
- 3.11.1 / 2018-06-05
65
- * fix #93: read the text after self closing tag
66
-
67
- 3.11.0 / 2018-05-20
68
- * return defaultOptions if there are not options in buildOptions function
69
- * added localeRange declaration in parser.d.ts
70
- * Added support of cyrillic characters in validator XML
71
- * fixed bug in validator work when XML data with byte order marker
72
-
73
- 3.10.0 / 2018-05-13
74
- * Added support of cyrillic characters in parsing XML to JSON
75
-
76
- 3.9.11 / 2018-05-09
77
- * fix https://github.com/NaturalIntelligence/fast-xml-parser/issues/80 fix nimn chars
78
- * update package information
79
- * fix https://github.com/NaturalIntelligence/fast-xml-parser/issues/86: json 2 xml parser : property with null value should be parsed to self closing tag.
80
- * update online demo
81
- * revert zombiejs to old version to support old version of node
82
- * update dependencies
83
-
84
- 3.3.10 / 2018-04-23
85
- * fix #77 : parse even if closing tag has space before '>'
86
- * include all css & js lib in demo app
87
- * remove babel dependencies until needed
88
-
89
- 3.3.9 / 2018-04-18
90
- * fix #74 : TS2314 TypeScript compiler error
91
-
92
- 3.3.8 / 2018-04-17
93
- * fix #73 : IE doesn't support Object.assign
94
-
95
- 3.3.7 / 2018-04-14
96
- * fix: use let insted of const in for loop of validator
97
- * Merge pull request
98
- https://github.com/NaturalIntelligence/fast-xml-parser/issues/71 from bb/master
99
- first draft of typings for typescript
100
- https://github.com/NaturalIntelligence/fast-xml-parser/issues/69
101
- * Merge pull request
102
- https://github.com/NaturalIntelligence/fast-xml-parser/issues/70 from bb/patch-1
103
- fix some typos in readme
104
-
105
- 3.3.6 / 2018-03-21
106
- * change arrow functions to full notation for IE compatibility
107
-
108
- 3.3.5 / 2018-03-15
109
- * fix https://github.com/NaturalIntelligence/fast-xml-parser/issues/67 : attrNodeName invalid behavior
110
- * fix: remove decodeHTML char condition
111
-
112
- 3.3.4 / 2018-03-14
113
- * remove dependency on "he" package
114
- * refactor code to separate methods in separate files.
115
- * draft code for transforming XML to json string. It is not officially documented due to performance issue.
116
-
117
- 3.3.0 / 2018-03-05
118
- * use common default options for XML parsing for consistency. And add `parseToNimn` method.
119
- * update nexttodo
120
- * update README about XML to Nimn transformation and remove special notes about 3.x release
121
- * update CONTRIBUTING.ms mentioning nexttodo
122
- * add negative case for XML PIs
123
- * validate xml processing instruction tags https://github.com/NaturalIntelligence/fast-xml-parser/issues/62
124
- * nimndata: handle array with object
125
- * nimndata: node with nested node and text node
126
- * nimndata: handle attributes and text node
127
- * nimndata: add options, handle array
128
- * add xml to nimn data converter
129
- * x2j: direct access property with tagname
130
- * update changelog
131
- * fix validator when single quote presents in value enclosed with double quotes or vice versa
132
- * Revert "remove unneded nimnjs dependency, move opencollective to devDependencies and replace it
133
- with more light opencollective-postinstall"
134
- This reverts commit d47aa7181075d82db4fee97fd8ea32b056fe3f46.
135
- * Merge pull request: https://github.com/NaturalIntelligence/fast-xml-parser/issues/63 from HaroldPutman/suppress-undefined
136
- Keep undefined nodes out of the XML output : This is useful when you are deleting nodes from the JSON and rewriting XML.
137
-
138
- 3.2.4 / 2018-03-01
139
- * fix #59 fix in validator when open quote presents in attribute value
140
- * Create nexttodo.md
141
- * exclude static from bitHound tests
142
- * add package lock
143
-
144
- 3.2.3 / 2018-02-28
145
- * Merge pull request from Delagen/master: fix namespaces can contain the same characters as xml names
146
-
147
- 3.2.2 / 2018-02-22
148
- * fix: attribute xmlns should not be removed if ignoreNameSpace is false
149
- * create CONTRIBUTING.md
150
-
151
- 3.2.1 / 2018-02-17
152
- * fix: empty attribute should be parsed
153
-
154
- 3.2.0 / 2018-02-16
155
- * Merge pull request : Dev to Master
156
- * Update README and version
157
- * j2x:add performance test
158
- * j2x: Remove extra empty line before closing tag
159
- * j2x: suppress empty nodes to self closing node if configured
160
- * j2x: provide option to give indentation depth
161
- * j2x: make optional formatting
162
- * j2x: encodeHTMLchat
163
- * j2x: handle cdata tag
164
- * j2x: handle grouped attributes
165
- * convert json to xml
166
- - nested object
167
- - array
168
- - attributes
169
- - text value
170
- * small refactoring
171
- * Merge pull request: Update cli.js to let user validate XML file or data
172
- * Add option for rendering CDATA as separate property
173
-
174
- 3.0.1 / 2018-02-09
175
- * fix CRLF: replace it with single space in attributes value only.
176
-
177
- 3.0.0 / 2018-02-08
178
- * change online tool with new changes
179
- * update info about new options
180
- * separate tag value processing to separate function
181
- * make HTML decoding optional
182
- * give an option to allow boolean attributes
183
- * change cli options as per v3
184
- * Correct comparison table format on README
185
- * update v3 information
186
- * some performance improvement changes
187
- * Make regex object local to the method and move some common methods to util
188
- * Change parser to
189
- - handle multiple instances of CDATA
190
- - make triming of value optionals
191
- - HTML decode attribute and text value
192
- - refactor code to separate files
193
- * Ignore newline chars without RE (in validator)
194
- * validate for XML prolog
195
- * Validate DOCTYPE without RE
196
- * Update validator to return error response
197
- * Update README to add detail about V3
198
- * Separate xmlNode model class
199
- * include vscode debug config
200
- * fix for repeated object
201
- * fix attribute regex for boolean attributes
202
- * Fix validator for invalid attributes
203
- 2.9.4 / 2018-02-02
204
- * Merge pull request: Decode HTML characters
205
- * refactor source folder name
206
- * ignore bundle / browser js to be published to npm
207
- 2.9.3 / 2018-01-26
208
- * Merge pull request: Correctly remove CRLF line breaks
209
- * Enable to parse attribute in online editor
210
- * Fix testing demo app test
211
- * Describe parsing options
212
- * Add options for online demo
213
- 2.9.2 / 2018-01-18
214
- * Remove check if tag starting with "XML"
215
- * Fix: when there are spaces before / after CDATA
216
-
217
- 2.9.1 / 2018-01-16
218
- * Fix: newline should be replaced with single space
219
- * Fix: for single and multiline comments
220
- * validate xml with CDATA
221
- * Fix: the issue when there is no space between 2 attributes
222
- * Fix: https://github.com/NaturalIntelligence/fast-xml-parser/issues/33: when there is newline char in attr val, it doesn't parse
223
- * Merge pull request: fix ignoreNamespace
224
- * fix: don't wrap attributes if only namespace attrs
225
- * fix: use portfinder for run tests, update deps
226
- * fix: don't treat namespaces as attributes when ignoreNamespace enabled
227
-
228
- 2.9.0 / 2018-01-10
229
- * Rewrite the validator to handle large files.
230
- Ignore DOCTYPE validation.
231
- * Fix: When attribute value has equal sign
232
-
233
- 2.8.3 / 2017-12-15
234
- * Fix: when a tag has value along with subtags
235
-
236
- 2.8.2 / 2017-12-04
237
- * Fix value parsing for IE
238
-
239
- 2.8.1 / 2017-12-01
240
- * fix: validator should return false instead of err when invalid XML
241
-
242
- 2.8.0 / 2017-11-29
243
- * Add CLI option to ignore value conversion
244
- * Fix variable name when filename is given on CLI
245
- * Update CLI help text
246
- * Merge pull request: xml2js: Accept standard input
247
- * Test Node 8
248
- * Update dependencies
249
- * Bundle readToEnd
250
- * Add ability to read from standard input
251
-
252
- 2.7.4 / 2017-09-22
253
- * Merge pull request: Allow wrap attributes with subobject to compatible with other parsers output
254
-
255
- 2.7.3 / 2017-08-02
256
- * fix: handle CDATA with regx
257
-
258
- 2.7.2 / 2017-07-30
259
- * Change travis config for yarn caching
260
- * fix validator: when tag property is same as array property
261
- * Merge pull request: Failing test case in validator for valid SVG
262
-
263
- 2.7.1 / 2017-07-26
264
- * Fix: Handle val 0
265
-
266
- 2.7.0 / 2017-07-25
267
- * Fix test for arrayMode
268
- * Merge pull request: Add arrayMode option to parse any nodes as arrays
269
-
270
- 2.6.0 / 2017-07-14
271
- * code improvement
272
- * Add unit tests for value conversion for attr
273
- * Merge pull request: option of an attribute value conversion to a number (textAttrConversion) the same way as the textNodeConversion option does. Default value is false.
274
-
275
- 2.5.1 / 2017-07-01
276
- * Fix XML element name pattern
277
- * Fix XML element name pattern while parsing
278
- * Fix validation for xml tag element
279
-
280
- 2.5.0 / 2017-06-25
281
- * Improve Validator performance
282
- * update attr matching regex
283
- * Add perf tests
284
- * Improve atrr regex to handle all cases
285
-
286
- 2.4.4 / 2017-06-08
287
- * Bug fix: when an attribute has single or double quote in value
288
-
289
- 2.4.3 / 2017-06-05
290
- * Bug fix: when multiple CDATA tags are given
291
- * Merge pull request: add option "textNodeConversion"
292
- * add option "textNodeConversion"
293
-
294
- 2.4.1 / 2017-04-14
295
- * fix tests
296
- * Bug fix: preserve initial space of node value
297
- * Handle CDATA
298
-
299
- 2.3.1 / 2017-03-15
300
- * Bug fix: when single self closing tag
301
- * Merge pull request: fix .codeclimate.yml
302
- * Update .codeclimate.yml - Fixed config so it does not error anymore.
303
- * Update .codeclimate.yml
304
-
305
- 2.3.0 / 2017-02-26
306
- * Code improvement
307
- * add bithound config
308
- * Update usage
309
- * Update travis to generate bundle js before running tests
310
- * 1.Browserify, 2. add more tests for validator
311
- * Add validator
312
- * Fix CLI default parameter bug
313
-
314
- 2.2.1 / 2017-02-05
315
- * Bug fix: CLI default option
package/codecept.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "tests": "./spec/*_spec.js",
3
- "timeout": 10000,
4
- "output": "./output",
5
- "helpers": {
6
- "WebDriverIO": {
7
- "url": "http://localhost",
8
- "browser": "chrome"
9
- }
10
- },
11
- "include": {
12
- "I": "./steps_file.js"
13
- },
14
- "bootstrap": false,
15
- "mocha": {},
16
- "name": "fxp"
17
- }