@rex0220/kintone-sql-tools 3.19.0 → 3.21.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.
@@ -1,11 +1,11 @@
1
1
  {
2
- "generatedAt": "2026-07-24T00:06:29.877Z",
2
+ "generatedAt": "2026-07-24T17:20:40.727Z",
3
3
  "baseline": "B66 Phase1 initial measured values; no arbitrary size ceiling",
4
4
  "bundles": {
5
5
  "index.cjs": {
6
- "inputCount": 85,
7
- "minifiedBytes": 445113,
8
- "gzipBytes": 119990,
6
+ "inputCount": 88,
7
+ "minifiedBytes": 467270,
8
+ "gzipBytes": 126547,
9
9
  "forbidden": {
10
10
  "mcp-instructions": [],
11
11
  "src-mcp": [],
@@ -23,9 +23,9 @@
23
23
  }
24
24
  },
25
25
  "index.mjs": {
26
- "inputCount": 85,
27
- "minifiedBytes": 444578,
28
- "gzipBytes": 119684,
26
+ "inputCount": 88,
27
+ "minifiedBytes": 466735,
28
+ "gzipBytes": 126234,
29
29
  "forbidden": {
30
30
  "mcp-instructions": [],
31
31
  "src-mcp": [],
@@ -43,9 +43,9 @@
43
43
  }
44
44
  },
45
45
  "ksql-engine.umd.js": {
46
- "inputCount": 87,
47
- "minifiedBytes": 445605,
48
- "gzipBytes": 120031,
46
+ "inputCount": 90,
47
+ "minifiedBytes": 467762,
48
+ "gzipBytes": 126585,
49
49
  "forbidden": {
50
50
  "mcp-instructions": [],
51
51
  "src-mcp": [],
@@ -27,7 +27,7 @@
27
27
  "format": "esm"
28
28
  },
29
29
  "src/types/ast.ts": {
30
- "bytes": 32964,
30
+ "bytes": 34313,
31
31
  "imports": [
32
32
  {
33
33
  "path": "src/core/exactDecimal.ts",
@@ -53,8 +53,13 @@
53
53
  ],
54
54
  "format": "esm"
55
55
  },
56
+ "src/core/relativeDateFunction.ts": {
57
+ "bytes": 512,
58
+ "imports": [],
59
+ "format": "esm"
60
+ },
56
61
  "src/parser/parser.ts": {
57
- "bytes": 159696,
62
+ "bytes": 166088,
58
63
  "imports": [
59
64
  {
60
65
  "path": "src/lexer/tokens.ts",
@@ -80,6 +85,11 @@
80
85
  "path": "src/types/ast.ts",
81
86
  "kind": "import-statement",
82
87
  "original": "../types/ast"
88
+ },
89
+ {
90
+ "path": "src/core/relativeDateFunction.ts",
91
+ "kind": "import-statement",
92
+ "original": "../core/relativeDateFunction"
83
93
  }
84
94
  ],
85
95
  "format": "esm"
@@ -101,8 +111,14 @@
101
111
  "format": "esm"
102
112
  },
103
113
  "src/core/applyPatchScope.ts": {
104
- "bytes": 25247,
105
- "imports": [],
114
+ "bytes": 25751,
115
+ "imports": [
116
+ {
117
+ "path": "src/core/relativeDateFunction.ts",
118
+ "kind": "import-statement",
119
+ "original": "./relativeDateFunction"
120
+ }
121
+ ],
106
122
  "format": "esm"
107
123
  },
108
124
  "src/engine/pushDownNot.ts": {
@@ -122,7 +138,7 @@
122
138
  "format": "esm"
123
139
  },
124
140
  "src/converter/whereToKintone.ts": {
125
- "bytes": 10514,
141
+ "bytes": 12959,
126
142
  "imports": [
127
143
  {
128
144
  "path": "src/engine/pushDownNot.ts",
@@ -337,7 +353,7 @@
337
353
  "format": "esm"
338
354
  },
339
355
  "src/engine/evalWhere.ts": {
340
- "bytes": 18932,
356
+ "bytes": 19501,
341
357
  "imports": [
342
358
  {
343
359
  "path": "src/types/ast.ts",
@@ -368,6 +384,11 @@
368
384
  "path": "src/engine/groupingRowMeta.ts",
369
385
  "kind": "import-statement",
370
386
  "original": "./groupingRowMeta"
387
+ },
388
+ {
389
+ "path": "src/core/relativeDateFunction.ts",
390
+ "kind": "import-statement",
391
+ "original": "../core/relativeDateFunction"
371
392
  }
372
393
  ],
373
394
  "format": "esm"
@@ -729,12 +750,12 @@
729
750
  "format": "esm"
730
751
  },
731
752
  "src/core/optimization/canonicalOrderPlanner.ts": {
732
- "bytes": 4785,
753
+ "bytes": 4885,
733
754
  "imports": [],
734
755
  "format": "esm"
735
756
  },
736
757
  "src/core/optimization/korderPlanner.ts": {
737
- "bytes": 4149,
758
+ "bytes": 4491,
738
759
  "imports": [],
739
760
  "format": "esm"
740
761
  },
@@ -766,7 +787,7 @@
766
787
  "format": "esm"
767
788
  },
768
789
  "src/engine/process.ts": {
769
- "bytes": 64447,
790
+ "bytes": 64686,
770
791
  "imports": [
771
792
  {
772
793
  "path": "src/types/ast.ts",
@@ -822,8 +843,71 @@
822
843
  "format": "esm"
823
844
  },
824
845
  "src/core/optimization/whereCapability.ts": {
825
- "bytes": 8990,
826
- "imports": [],
846
+ "bytes": 15141,
847
+ "imports": [
848
+ {
849
+ "path": "src/core/relativeDateFunction.ts",
850
+ "kind": "import-statement",
851
+ "original": "../relativeDateFunction"
852
+ }
853
+ ],
854
+ "format": "esm"
855
+ },
856
+ "src/core/optimization/relativeDatePushdownGuard.ts": {
857
+ "bytes": 16516,
858
+ "imports": [
859
+ {
860
+ "path": "src/converter/selectToKintone.ts",
861
+ "kind": "import-statement",
862
+ "original": "../../converter/selectToKintone"
863
+ },
864
+ {
865
+ "path": "src/converter/whereToKintone.ts",
866
+ "kind": "import-statement",
867
+ "original": "../../converter/whereToKintone"
868
+ },
869
+ {
870
+ "path": "src/core/cteInlining.ts",
871
+ "kind": "import-statement",
872
+ "original": "../cteInlining"
873
+ },
874
+ {
875
+ "path": "src/core/relativeDateFunction.ts",
876
+ "kind": "import-statement",
877
+ "original": "../relativeDateFunction"
878
+ }
879
+ ],
880
+ "format": "esm"
881
+ },
882
+ "src/core/optimization/relativeDatePrefilterPlan.ts": {
883
+ "bytes": 15411,
884
+ "imports": [
885
+ {
886
+ "path": "src/converter/whereToKintone.ts",
887
+ "kind": "import-statement",
888
+ "original": "../../converter/whereToKintone"
889
+ },
890
+ {
891
+ "path": "src/core/relativeDateFunction.ts",
892
+ "kind": "import-statement",
893
+ "original": "../relativeDateFunction"
894
+ },
895
+ {
896
+ "path": "src/core/optimization/klikePushdownPlan.ts",
897
+ "kind": "import-statement",
898
+ "original": "./klikePushdownPlan"
899
+ },
900
+ {
901
+ "path": "src/core/optimization/relativeDatePushdownGuard.ts",
902
+ "kind": "import-statement",
903
+ "original": "./relativeDatePushdownGuard"
904
+ },
905
+ {
906
+ "path": "src/core/optimization/whereCapability.ts",
907
+ "kind": "import-statement",
908
+ "original": "./whereCapability"
909
+ }
910
+ ],
827
911
  "format": "esm"
828
912
  },
829
913
  "src/import/sourceLoader.ts": {
@@ -979,7 +1063,7 @@
979
1063
  "format": "esm"
980
1064
  },
981
1065
  "src/execute.ts": {
982
- "bytes": 410891,
1066
+ "bytes": 423176,
983
1067
  "imports": [
984
1068
  {
985
1069
  "path": "src/lexer/lexer.ts",
@@ -1221,6 +1305,16 @@
1221
1305
  "kind": "import-statement",
1222
1306
  "original": "./core/optimization/whereCapability"
1223
1307
  },
1308
+ {
1309
+ "path": "src/core/optimization/relativeDatePushdownGuard.ts",
1310
+ "kind": "import-statement",
1311
+ "original": "./core/optimization/relativeDatePushdownGuard"
1312
+ },
1313
+ {
1314
+ "path": "src/core/optimization/relativeDatePrefilterPlan.ts",
1315
+ "kind": "import-statement",
1316
+ "original": "./core/optimization/relativeDatePrefilterPlan"
1317
+ },
1224
1318
  {
1225
1319
  "path": "src/import/sourceLoader.ts",
1226
1320
  "kind": "import-statement",
@@ -1530,14 +1624,17 @@
1530
1624
  "src/core/aggregateExpression.ts": {
1531
1625
  "bytesInOutput": 2592
1532
1626
  },
1627
+ "src/core/relativeDateFunction.ts": {
1628
+ "bytesInOutput": 246
1629
+ },
1533
1630
  "src/parser/parser.ts": {
1534
- "bytesInOutput": 87826
1631
+ "bytesInOutput": 91609
1535
1632
  },
1536
1633
  "src/core/dmlGuard.ts": {
1537
1634
  "bytesInOutput": 1882
1538
1635
  },
1539
1636
  "src/core/applyPatchScope.ts": {
1540
- "bytesInOutput": 12534
1637
+ "bytesInOutput": 12614
1541
1638
  },
1542
1639
  "src/engine/pushDownNot.ts": {
1543
1640
  "bytesInOutput": 792
@@ -1546,7 +1643,7 @@
1546
1643
  "bytesInOutput": 651
1547
1644
  },
1548
1645
  "src/converter/whereToKintone.ts": {
1549
- "bytesInOutput": 3823
1646
+ "bytesInOutput": 5033
1550
1647
  },
1551
1648
  "src/converter/selectToKintone.ts": {
1552
1649
  "bytesInOutput": 8728
@@ -1579,7 +1676,7 @@
1579
1676
  "bytesInOutput": 11162
1580
1677
  },
1581
1678
  "src/engine/evalWhere.ts": {
1582
- "bytesInOutput": 5502
1679
+ "bytesInOutput": 5696
1583
1680
  },
1584
1681
  "src/core/dmlCustomCheck.ts": {
1585
1682
  "bytesInOutput": 1250
@@ -1645,7 +1742,7 @@
1645
1742
  "bytesInOutput": 1784
1646
1743
  },
1647
1744
  "src/core/optimization/korderPlanner.ts": {
1648
- "bytesInOutput": 2160
1745
+ "bytesInOutput": 2244
1649
1746
  },
1650
1747
  "src/core/errors/cursorErrors.ts": {
1651
1748
  "bytesInOutput": 1074
@@ -1657,7 +1754,7 @@
1657
1754
  "bytesInOutput": 295
1658
1755
  },
1659
1756
  "src/engine/process.ts": {
1660
- "bytesInOutput": 19175
1757
+ "bytesInOutput": 19224
1661
1758
  },
1662
1759
  "src/converter/subtableAdapter.ts": {
1663
1760
  "bytesInOutput": 643
@@ -1666,7 +1763,13 @@
1666
1763
  "bytesInOutput": 1136
1667
1764
  },
1668
1765
  "src/core/optimization/whereCapability.ts": {
1669
- "bytesInOutput": 4123
1766
+ "bytesInOutput": 6602
1767
+ },
1768
+ "src/core/optimization/relativeDatePushdownGuard.ts": {
1769
+ "bytesInOutput": 4597
1770
+ },
1771
+ "src/core/optimization/relativeDatePrefilterPlan.ts": {
1772
+ "bytesInOutput": 4701
1670
1773
  },
1671
1774
  "src/import/sourceLoader.ts": {
1672
1775
  "bytesInOutput": 527
@@ -1714,7 +1817,7 @@
1714
1817
  "bytesInOutput": 412
1715
1818
  },
1716
1819
  "src/execute.ts": {
1717
- "bytesInOutput": 147894
1820
+ "bytesInOutput": 152628
1718
1821
  },
1719
1822
  "src/engine-library/errors.ts": {
1720
1823
  "bytesInOutput": 1116
@@ -1756,7 +1859,7 @@
1756
1859
  "bytesInOutput": 915
1757
1860
  }
1758
1861
  },
1759
- "bytes": 445113
1862
+ "bytes": 467270
1760
1863
  }
1761
1864
  }
1762
1865
  }
@@ -27,7 +27,7 @@
27
27
  "format": "esm"
28
28
  },
29
29
  "src/types/ast.ts": {
30
- "bytes": 32964,
30
+ "bytes": 34313,
31
31
  "imports": [
32
32
  {
33
33
  "path": "src/core/exactDecimal.ts",
@@ -53,8 +53,13 @@
53
53
  ],
54
54
  "format": "esm"
55
55
  },
56
+ "src/core/relativeDateFunction.ts": {
57
+ "bytes": 512,
58
+ "imports": [],
59
+ "format": "esm"
60
+ },
56
61
  "src/parser/parser.ts": {
57
- "bytes": 159696,
62
+ "bytes": 166088,
58
63
  "imports": [
59
64
  {
60
65
  "path": "src/lexer/tokens.ts",
@@ -80,6 +85,11 @@
80
85
  "path": "src/types/ast.ts",
81
86
  "kind": "import-statement",
82
87
  "original": "../types/ast"
88
+ },
89
+ {
90
+ "path": "src/core/relativeDateFunction.ts",
91
+ "kind": "import-statement",
92
+ "original": "../core/relativeDateFunction"
83
93
  }
84
94
  ],
85
95
  "format": "esm"
@@ -101,8 +111,14 @@
101
111
  "format": "esm"
102
112
  },
103
113
  "src/core/applyPatchScope.ts": {
104
- "bytes": 25247,
105
- "imports": [],
114
+ "bytes": 25751,
115
+ "imports": [
116
+ {
117
+ "path": "src/core/relativeDateFunction.ts",
118
+ "kind": "import-statement",
119
+ "original": "./relativeDateFunction"
120
+ }
121
+ ],
106
122
  "format": "esm"
107
123
  },
108
124
  "src/engine/pushDownNot.ts": {
@@ -122,7 +138,7 @@
122
138
  "format": "esm"
123
139
  },
124
140
  "src/converter/whereToKintone.ts": {
125
- "bytes": 10514,
141
+ "bytes": 12959,
126
142
  "imports": [
127
143
  {
128
144
  "path": "src/engine/pushDownNot.ts",
@@ -337,7 +353,7 @@
337
353
  "format": "esm"
338
354
  },
339
355
  "src/engine/evalWhere.ts": {
340
- "bytes": 18932,
356
+ "bytes": 19501,
341
357
  "imports": [
342
358
  {
343
359
  "path": "src/types/ast.ts",
@@ -368,6 +384,11 @@
368
384
  "path": "src/engine/groupingRowMeta.ts",
369
385
  "kind": "import-statement",
370
386
  "original": "./groupingRowMeta"
387
+ },
388
+ {
389
+ "path": "src/core/relativeDateFunction.ts",
390
+ "kind": "import-statement",
391
+ "original": "../core/relativeDateFunction"
371
392
  }
372
393
  ],
373
394
  "format": "esm"
@@ -729,12 +750,12 @@
729
750
  "format": "esm"
730
751
  },
731
752
  "src/core/optimization/canonicalOrderPlanner.ts": {
732
- "bytes": 4785,
753
+ "bytes": 4885,
733
754
  "imports": [],
734
755
  "format": "esm"
735
756
  },
736
757
  "src/core/optimization/korderPlanner.ts": {
737
- "bytes": 4149,
758
+ "bytes": 4491,
738
759
  "imports": [],
739
760
  "format": "esm"
740
761
  },
@@ -766,7 +787,7 @@
766
787
  "format": "esm"
767
788
  },
768
789
  "src/engine/process.ts": {
769
- "bytes": 64447,
790
+ "bytes": 64686,
770
791
  "imports": [
771
792
  {
772
793
  "path": "src/types/ast.ts",
@@ -822,8 +843,71 @@
822
843
  "format": "esm"
823
844
  },
824
845
  "src/core/optimization/whereCapability.ts": {
825
- "bytes": 8990,
826
- "imports": [],
846
+ "bytes": 15141,
847
+ "imports": [
848
+ {
849
+ "path": "src/core/relativeDateFunction.ts",
850
+ "kind": "import-statement",
851
+ "original": "../relativeDateFunction"
852
+ }
853
+ ],
854
+ "format": "esm"
855
+ },
856
+ "src/core/optimization/relativeDatePushdownGuard.ts": {
857
+ "bytes": 16516,
858
+ "imports": [
859
+ {
860
+ "path": "src/converter/selectToKintone.ts",
861
+ "kind": "import-statement",
862
+ "original": "../../converter/selectToKintone"
863
+ },
864
+ {
865
+ "path": "src/converter/whereToKintone.ts",
866
+ "kind": "import-statement",
867
+ "original": "../../converter/whereToKintone"
868
+ },
869
+ {
870
+ "path": "src/core/cteInlining.ts",
871
+ "kind": "import-statement",
872
+ "original": "../cteInlining"
873
+ },
874
+ {
875
+ "path": "src/core/relativeDateFunction.ts",
876
+ "kind": "import-statement",
877
+ "original": "../relativeDateFunction"
878
+ }
879
+ ],
880
+ "format": "esm"
881
+ },
882
+ "src/core/optimization/relativeDatePrefilterPlan.ts": {
883
+ "bytes": 15411,
884
+ "imports": [
885
+ {
886
+ "path": "src/converter/whereToKintone.ts",
887
+ "kind": "import-statement",
888
+ "original": "../../converter/whereToKintone"
889
+ },
890
+ {
891
+ "path": "src/core/relativeDateFunction.ts",
892
+ "kind": "import-statement",
893
+ "original": "../relativeDateFunction"
894
+ },
895
+ {
896
+ "path": "src/core/optimization/klikePushdownPlan.ts",
897
+ "kind": "import-statement",
898
+ "original": "./klikePushdownPlan"
899
+ },
900
+ {
901
+ "path": "src/core/optimization/relativeDatePushdownGuard.ts",
902
+ "kind": "import-statement",
903
+ "original": "./relativeDatePushdownGuard"
904
+ },
905
+ {
906
+ "path": "src/core/optimization/whereCapability.ts",
907
+ "kind": "import-statement",
908
+ "original": "./whereCapability"
909
+ }
910
+ ],
827
911
  "format": "esm"
828
912
  },
829
913
  "src/import/sourceLoader.ts": {
@@ -979,7 +1063,7 @@
979
1063
  "format": "esm"
980
1064
  },
981
1065
  "src/execute.ts": {
982
- "bytes": 410891,
1066
+ "bytes": 423176,
983
1067
  "imports": [
984
1068
  {
985
1069
  "path": "src/lexer/lexer.ts",
@@ -1221,6 +1305,16 @@
1221
1305
  "kind": "import-statement",
1222
1306
  "original": "./core/optimization/whereCapability"
1223
1307
  },
1308
+ {
1309
+ "path": "src/core/optimization/relativeDatePushdownGuard.ts",
1310
+ "kind": "import-statement",
1311
+ "original": "./core/optimization/relativeDatePushdownGuard"
1312
+ },
1313
+ {
1314
+ "path": "src/core/optimization/relativeDatePrefilterPlan.ts",
1315
+ "kind": "import-statement",
1316
+ "original": "./core/optimization/relativeDatePrefilterPlan"
1317
+ },
1224
1318
  {
1225
1319
  "path": "src/import/sourceLoader.ts",
1226
1320
  "kind": "import-statement",
@@ -1533,14 +1627,17 @@
1533
1627
  "src/core/aggregateExpression.ts": {
1534
1628
  "bytesInOutput": 2592
1535
1629
  },
1630
+ "src/core/relativeDateFunction.ts": {
1631
+ "bytesInOutput": 246
1632
+ },
1536
1633
  "src/parser/parser.ts": {
1537
- "bytesInOutput": 87826
1634
+ "bytesInOutput": 91609
1538
1635
  },
1539
1636
  "src/core/dmlGuard.ts": {
1540
1637
  "bytesInOutput": 1882
1541
1638
  },
1542
1639
  "src/core/applyPatchScope.ts": {
1543
- "bytesInOutput": 12534
1640
+ "bytesInOutput": 12614
1544
1641
  },
1545
1642
  "src/engine/pushDownNot.ts": {
1546
1643
  "bytesInOutput": 792
@@ -1549,7 +1646,7 @@
1549
1646
  "bytesInOutput": 651
1550
1647
  },
1551
1648
  "src/converter/whereToKintone.ts": {
1552
- "bytesInOutput": 3823
1649
+ "bytesInOutput": 5033
1553
1650
  },
1554
1651
  "src/converter/selectToKintone.ts": {
1555
1652
  "bytesInOutput": 8728
@@ -1582,7 +1679,7 @@
1582
1679
  "bytesInOutput": 11162
1583
1680
  },
1584
1681
  "src/engine/evalWhere.ts": {
1585
- "bytesInOutput": 5502
1682
+ "bytesInOutput": 5696
1586
1683
  },
1587
1684
  "src/core/dmlCustomCheck.ts": {
1588
1685
  "bytesInOutput": 1250
@@ -1648,7 +1745,7 @@
1648
1745
  "bytesInOutput": 1784
1649
1746
  },
1650
1747
  "src/core/optimization/korderPlanner.ts": {
1651
- "bytesInOutput": 2160
1748
+ "bytesInOutput": 2244
1652
1749
  },
1653
1750
  "src/core/errors/cursorErrors.ts": {
1654
1751
  "bytesInOutput": 1074
@@ -1660,7 +1757,7 @@
1660
1757
  "bytesInOutput": 295
1661
1758
  },
1662
1759
  "src/engine/process.ts": {
1663
- "bytesInOutput": 19175
1760
+ "bytesInOutput": 19224
1664
1761
  },
1665
1762
  "src/converter/subtableAdapter.ts": {
1666
1763
  "bytesInOutput": 643
@@ -1669,7 +1766,13 @@
1669
1766
  "bytesInOutput": 1136
1670
1767
  },
1671
1768
  "src/core/optimization/whereCapability.ts": {
1672
- "bytesInOutput": 4123
1769
+ "bytesInOutput": 6602
1770
+ },
1771
+ "src/core/optimization/relativeDatePushdownGuard.ts": {
1772
+ "bytesInOutput": 4597
1773
+ },
1774
+ "src/core/optimization/relativeDatePrefilterPlan.ts": {
1775
+ "bytesInOutput": 4701
1673
1776
  },
1674
1777
  "src/import/sourceLoader.ts": {
1675
1778
  "bytesInOutput": 527
@@ -1717,7 +1820,7 @@
1717
1820
  "bytesInOutput": 412
1718
1821
  },
1719
1822
  "src/execute.ts": {
1720
- "bytesInOutput": 147894
1823
+ "bytesInOutput": 152628
1721
1824
  },
1722
1825
  "src/engine-library/errors.ts": {
1723
1826
  "bytesInOutput": 1116
@@ -1762,7 +1865,7 @@
1762
1865
  "bytesInOutput": 16
1763
1866
  }
1764
1867
  },
1765
- "bytes": 444578
1868
+ "bytes": 466735
1766
1869
  }
1767
1870
  }
1768
1871
  }