toon-parser 2.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +5 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -65,12 +65,11 @@ const toon = xmlToToon('<user id="1">Alice</user>');
65
65
  // "@_id": 1
66
66
  ```
67
67
 
68
- ```
69
- 67:
70
- 68: > [!WARNING]
71
- 69: > **Security Note:** While `fast-xml-parser` v5 is generally secure by default, overriding `xmlOptions` can alter security properties (e.g., enabling entity expansion). Only enable such features if you trust the source XML.
72
- 70:
73
- 71: Options:
68
+
69
+ > [!WARNING]
70
+ > **Security Note:** While `fast-xml-parser` v5 is generally secure by default, overriding `xmlOptions` can alter security properties (e.g., enabling entity expansion). Only enable such features if you trust the source XML.
71
+
72
+ Options:
74
73
  - `indent` (number, default `2`): spaces per indentation level.
75
74
  - `delimiter` (`,` | `|` | `\t`, default `,`): delimiter for inline arrays and tabular rows.
76
75
  - `sortKeys` (boolean, default `false`): sort object keys alphabetically instead of preserving encounter order.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toon-parser",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Safe JSON <-> TOON encoder/decoder with strict validation.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",