Commit b4794ce
Reject extra row values, formalize inline comments, harden quoting; isonantic-ts parse(); fix all Dependabot alerts
Parser strictness (all implementations: py, js, ts, go, rust, cpp, n8n
inline parser), continuing the integrity work:
- Rows (ISON and ISONL) with more values than declared fields now raise
a syntax error with the line number instead of silently truncating;
missing values still pad null
- Inline comments formalized: an unquoted token starting with '#' in a
data row or ISONL values section begins a comment; quoted tokens are
always data. Previously inline comments only "worked" as a side
effect of the silent-truncation bug
- Regular ISON serializer now quotes strings containing \r or
backslashes, starting with '#' (a leading-'#' value used to turn its
row into a comment on re-parse), shaped like a kind.name block header
(a single-field value like 'a.true' used to be re-parsed as a new
block header), and empty strings (ts/rust dropped the column)
- ISONL serializers quote leading-'#' values
- Additional parity fixes surfaced by the shared property test: quoted
tokens stay strings in the regular go/ts/rust/n8n parsers; ts/rust
header detection tightened to exact kind.name identifiers; go pads
missing fields explicitly; n8n keeps empty quoted values
- New tests in every implementation: extra-value rejection, inline
comment semantics, and a seeded 300-trial regular-format round-trip
property test (twin of the ISONL one)
isonantic-ts 1.1.0:
- New parse()/parseSafe() that delegate all text parsing to ison-ts
(docs advertised parse() but it never existed); references mapped,
rows validated through the schema with per-field errors
- VERSION constant aligned with package.json (was drifted at 1.0.0)
Dependency security - all 39 Dependabot alerts resolved (0 remaining):
- ison-vscode: npm audit fix + @vscode/vsce 2.x -> 3.9.2
- ison-ts / isonantic-ts: npm audit fix + vitest 1.x -> 3.2.6
- n8n-nodes-ison: npm audit fix + n8n-workflow 1.x -> 2.16 (dev) +
gulp 4 -> 5; removed vestigial ison-parser runtime dependency (the
node uses its inline parser)
n8n-nodes-ison packaging fix: tsconfig rootDir corrected so the
compiled node lands at dist/nodes/Ison/Ison.node.js where the n8n
manifest points (it previously emitted to dist/Ison/ and the published
package would not load)
All test suites pass: ison-py (full), isonantic 45, ison-cli 27,
ison-js 39+47, ison-ts 35, ison-go, ison-rust 15, ison-cpp 36 (MSVC),
isonantic-ts 58, n8n harness 20/20 + 14/14.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 0696cab commit b4794ce
29 files changed
Lines changed: 6233 additions & 6005 deletions
File tree
- ison-cpp
- include
- tests
- ison-go
- ison-js
- src
- test
- ison-py
- src/ison_parser
- tests
- ison-rust
- src
- ison-ts
- src
- ison-vscode
- isonantic-ts
- src
- isonantic/tests
- n8n-nodes-ison
- nodes/Ison
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
582 | 626 | | |
583 | 627 | | |
584 | 628 | | |
| |||
666 | 710 | | |
667 | 711 | | |
668 | 712 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | 713 | | |
680 | 714 | | |
681 | 715 | | |
| |||
691 | 725 | | |
692 | 726 | | |
693 | 727 | | |
| 728 | + | |
694 | 729 | | |
695 | 730 | | |
696 | 731 | | |
| |||
699 | 734 | | |
700 | 735 | | |
701 | 736 | | |
| 737 | + | |
702 | 738 | | |
703 | 739 | | |
704 | 740 | | |
| |||
712 | 748 | | |
713 | 749 | | |
714 | 750 | | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
715 | 756 | | |
716 | 757 | | |
717 | 758 | | |
| |||
849 | 890 | | |
850 | 891 | | |
851 | 892 | | |
852 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
853 | 898 | | |
854 | 899 | | |
855 | 900 | | |
856 | 901 | | |
857 | | - | |
| 902 | + | |
| 903 | + | |
858 | 904 | | |
859 | 905 | | |
860 | 906 | | |
| |||
865 | 911 | | |
866 | 912 | | |
867 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
868 | 920 | | |
869 | 921 | | |
870 | 922 | | |
| |||
993 | 1045 | | |
994 | 1046 | | |
995 | 1047 | | |
| 1048 | + | |
| 1049 | + | |
996 | 1050 | | |
997 | | - | |
| 1051 | + | |
998 | 1052 | | |
999 | 1053 | | |
1000 | 1054 | | |
1001 | 1055 | | |
1002 | | - | |
| 1056 | + | |
| 1057 | + | |
1003 | 1058 | | |
1004 | 1059 | | |
1005 | 1060 | | |
| |||
1013 | 1068 | | |
1014 | 1069 | | |
1015 | 1070 | | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
1016 | 1082 | | |
1017 | 1083 | | |
1018 | 1084 | | |
| |||
1206 | 1272 | | |
1207 | 1273 | | |
1208 | 1274 | | |
| 1275 | + | |
| 1276 | + | |
1209 | 1277 | | |
1210 | | - | |
| 1278 | + | |
| 1279 | + | |
1211 | 1280 | | |
1212 | 1281 | | |
1213 | 1282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
592 | 744 | | |
593 | 745 | | |
594 | 746 | | |
| |||
758 | 910 | | |
759 | 911 | | |
760 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
761 | 918 | | |
762 | 919 | | |
763 | 920 | | |
| |||
0 commit comments