@tehw0lf/n8n-nodes-toon 1.4.20 → 1.4.22
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/README.md +5 -3
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -395,7 +395,7 @@ When enabled (default), the decoder validates:
|
|
|
395
395
|
- Indentation multiples match expected indent size
|
|
396
396
|
- Proper structure and syntax
|
|
397
397
|
|
|
398
|
-
Disabling strict mode does not make the decoder lenient in general: every error condition of the specification still applies. Non-strict mode only applies
|
|
398
|
+
Disabling strict mode does not make the decoder lenient in general: every error condition of the specification still applies. Non-strict mode only applies the specification's five recoveries (§14.4):
|
|
399
399
|
- Count mismatches (declared length versus actual items, rows, or entries) are ignored
|
|
400
400
|
- Duplicate keys at the same depth, and duplicate field names in a header, resolve by last-write-wins
|
|
401
401
|
- A tab in the indentation counts as one level
|
|
@@ -404,6 +404,8 @@ Disabling strict mode does not make the decoder lenient in general: every error
|
|
|
404
404
|
|
|
405
405
|
Malformed headers, row width mismatches, over-indented lines, a first line indented at the root and trailing content after a root form are errors in both modes.
|
|
406
406
|
|
|
407
|
+
The non-spec `expandPaths` option adds one further non-strict recovery: when two keys meet at the same key during path expansion (a literal key and an expanded path, or two expanded paths) and are not two objects (which merge), strict mode reports an error and non-strict mode resolves the conflict by last-write-wins, keeping the position of the key's first occurrence. See [Path Expansion](#path-expansion).
|
|
408
|
+
|
|
407
409
|
### Path Expansion
|
|
408
410
|
|
|
409
411
|
Convert dotted keys into nested objects:
|
|
@@ -424,7 +426,7 @@ user.email: alice@example.com
|
|
|
424
426
|
}
|
|
425
427
|
```
|
|
426
428
|
|
|
427
|
-
When a literal key and an expanded path
|
|
429
|
+
When two keys meet at the same key during path expansion (a literal key and an expanded path, or two expanded paths), two objects are merged, whichever line comes first. Any other overlap is an error in strict mode, whichever line comes first, and in non-strict mode the later line wins (the key keeps the position of its first occurrence).
|
|
428
430
|
|
|
429
431
|
### Round-Trip Guarantees
|
|
430
432
|
|
|
@@ -456,7 +458,7 @@ This node has **zero production dependencies**:
|
|
|
456
458
|
|
|
457
459
|
**Cause:** TOON data doesn't match expected structure.
|
|
458
460
|
|
|
459
|
-
**Solution:** Fix the TOON data. Disabling strict mode only relaxes count mismatches and the other recoveries listed under [Strict Mode](#strict-mode); every other error still applies.
|
|
461
|
+
**Solution:** Fix the TOON data. Disabling strict mode only relaxes count mismatches and the other recoveries listed under [Strict Mode](#strict-mode) (including the Path Expansion conflict recovery); every other error still applies.
|
|
460
462
|
|
|
461
463
|
### Issue: Key folding conflicts
|
|
462
464
|
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tehw0lf/n8n-nodes-toon",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.22",
|
|
4
4
|
"description": "n8n node for TOON (Token-Oriented Object Notation) format conversion - bidirectional conversion between TOON and JSON with zero external dependencies",
|
|
5
5
|
"toonSpecVersion": "4.4.0",
|
|
6
6
|
"license": "MIT",
|