solve-engine 1.0.0-beta.2 → 1.0.0-beta.4

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 (171) hide show
  1. package/dist/{Lexer-D9l4Yrk2.d.ts → Lexer-Cfm79Dak.d.cts} +18 -2
  2. package/dist/{Lexer-BJdhlnej.d.cts → Lexer-W9MBOP0V.d.ts} +18 -2
  3. package/dist/{PackageRegistry-DaH4aIKP.d.ts → PackageRegistry-CjDt-Jy_.d.ts} +60 -4
  4. package/dist/{PackageRegistry-D-Tv_7ca.d.cts → PackageRegistry-pHtKythi.d.cts} +60 -4
  5. package/dist/{Parselet-CK8cQu2a.d.cts → Parselet-Cu0bLSis.d.cts} +1 -1
  6. package/dist/{Parselet-ConOIdRO.d.ts → Parselet-DEdF9I7n.d.ts} +1 -1
  7. package/dist/{Token-0jpvUdPY.d.cts → Token-BzG5G4ja.d.cts} +44 -0
  8. package/dist/{Token-0jpvUdPY.d.ts → Token-BzG5G4ja.d.ts} +44 -0
  9. package/dist/TokenNormalizer-DGVa24Q-.d.cts +377 -0
  10. package/dist/TokenNormalizer-t_GotBxr.d.ts +377 -0
  11. package/dist/{chunk-HWSZJQCI.js → chunk-2CS6OMZK.js} +37 -15
  12. package/dist/chunk-2CS6OMZK.js.map +1 -0
  13. package/dist/{chunk-XJCMXB2E.cjs → chunk-2MV4HBKC.cjs} +187 -61
  14. package/dist/chunk-2MV4HBKC.cjs.map +1 -0
  15. package/dist/{chunk-J73SJHR3.cjs → chunk-2NPS5DQ3.cjs} +558 -341
  16. package/dist/chunk-2NPS5DQ3.cjs.map +1 -0
  17. package/dist/{chunk-QWY3VEZN.js → chunk-3MNKQZ77.js} +65 -12
  18. package/dist/chunk-3MNKQZ77.js.map +1 -0
  19. package/dist/{chunk-RZCWSXTA.cjs → chunk-43G3JT2E.cjs} +1491 -218
  20. package/dist/chunk-43G3JT2E.cjs.map +1 -0
  21. package/dist/{chunk-WQTTOGXC.cjs → chunk-4AVD7NZW.cjs} +4 -4
  22. package/dist/{chunk-WQTTOGXC.cjs.map → chunk-4AVD7NZW.cjs.map} +1 -1
  23. package/dist/{chunk-HTXVVJRA.cjs → chunk-4CVLFLOB.cjs} +112 -2
  24. package/dist/chunk-4CVLFLOB.cjs.map +1 -0
  25. package/dist/{chunk-5YEMOYSE.js → chunk-6GCKCWLB.js} +9 -3
  26. package/dist/chunk-6GCKCWLB.js.map +1 -0
  27. package/dist/{chunk-EBSPLUW4.cjs → chunk-AHCLWAM5.cjs} +28 -10
  28. package/dist/chunk-AHCLWAM5.cjs.map +1 -0
  29. package/dist/{chunk-KVILKGMS.js → chunk-AJA6LUI7.js} +36 -2
  30. package/dist/chunk-AJA6LUI7.js.map +1 -0
  31. package/dist/{chunk-EHAHVROS.cjs → chunk-CLVQBF5C.cjs} +5 -5
  32. package/dist/{chunk-EHAHVROS.cjs.map → chunk-CLVQBF5C.cjs.map} +1 -1
  33. package/dist/{chunk-34RRD7PC.js → chunk-CYFK5SY2.js} +111 -3
  34. package/dist/chunk-CYFK5SY2.js.map +1 -0
  35. package/dist/{chunk-M5LX5AOO.js → chunk-DDQVZGLO.js} +25 -12
  36. package/dist/chunk-DDQVZGLO.js.map +1 -0
  37. package/dist/{chunk-LR7YASZF.cjs → chunk-EAAHVJ4P.cjs} +3 -3
  38. package/dist/chunk-EAAHVJ4P.cjs.map +1 -0
  39. package/dist/{chunk-3PPFLFH4.js → chunk-FIFQPKBA.js} +1417 -144
  40. package/dist/chunk-FIFQPKBA.js.map +1 -0
  41. package/dist/{chunk-RIN643A3.js → chunk-GPPLSM2Z.js} +61 -2
  42. package/dist/chunk-GPPLSM2Z.js.map +1 -0
  43. package/dist/{chunk-4QADQTWS.js → chunk-KHJUSHFU.js} +231 -14
  44. package/dist/chunk-KHJUSHFU.js.map +1 -0
  45. package/dist/{chunk-NMD5VRN4.cjs → chunk-M4F66R4O.cjs} +74 -73
  46. package/dist/chunk-M4F66R4O.cjs.map +1 -0
  47. package/dist/{chunk-6NTVRDQV.cjs → chunk-M4Q47KHF.cjs} +126 -73
  48. package/dist/chunk-M4Q47KHF.cjs.map +1 -0
  49. package/dist/{chunk-LIPPNDBE.js → chunk-M5E34VG5.js} +3 -3
  50. package/dist/{chunk-LIPPNDBE.js.map → chunk-M5E34VG5.js.map} +1 -1
  51. package/dist/{chunk-53B6KDDJ.cjs → chunk-MBNQVDVC.cjs} +38 -3
  52. package/dist/{chunk-53B6KDDJ.cjs.map → chunk-MBNQVDVC.cjs.map} +1 -1
  53. package/dist/{chunk-SDGRK7EP.js → chunk-MEOHSQEH.js} +6 -5
  54. package/dist/chunk-MEOHSQEH.js.map +1 -0
  55. package/dist/{chunk-NMCRQP3Z.cjs → chunk-MTX2KVU7.cjs} +71 -70
  56. package/dist/chunk-MTX2KVU7.cjs.map +1 -0
  57. package/dist/{chunk-QNJ4ACRT.cjs → chunk-NJTXJ5AG.cjs} +37 -15
  58. package/dist/chunk-NJTXJ5AG.cjs.map +1 -0
  59. package/dist/{chunk-C4XZV6E7.cjs → chunk-NZFKROS7.cjs} +26 -20
  60. package/dist/chunk-NZFKROS7.cjs.map +1 -0
  61. package/dist/{chunk-64W6GLLZ.js → chunk-OFXOTECC.js} +24 -6
  62. package/dist/chunk-OFXOTECC.js.map +1 -0
  63. package/dist/{chunk-3YNVWKR2.cjs → chunk-OUHT5Z36.cjs} +28 -5
  64. package/dist/chunk-OUHT5Z36.cjs.map +1 -0
  65. package/dist/{chunk-EIGTWK5N.js → chunk-OWRHDUJD.js} +3 -3
  66. package/dist/chunk-OWRHDUJD.js.map +1 -0
  67. package/dist/{chunk-4MG4XKO2.js → chunk-PCPX42KL.js} +38 -3
  68. package/dist/{chunk-4MG4XKO2.js.map → chunk-PCPX42KL.js.map} +1 -1
  69. package/dist/{chunk-GW32KPCU.cjs → chunk-R24DI24X.cjs} +61 -2
  70. package/dist/chunk-R24DI24X.cjs.map +1 -0
  71. package/dist/{chunk-XVWCOTR6.js → chunk-SFQWJMKT.js} +7 -6
  72. package/dist/chunk-SFQWJMKT.js.map +1 -0
  73. package/dist/{chunk-6BKTCEUP.cjs → chunk-TY3TLZAW.cjs} +36 -2
  74. package/dist/chunk-TY3TLZAW.cjs.map +1 -0
  75. package/dist/{chunk-DM3LMRBC.js → chunk-UKPGSAZW.js} +187 -61
  76. package/dist/chunk-UKPGSAZW.js.map +1 -0
  77. package/dist/{chunk-NH2O2AUR.js → chunk-WC5FFSHB.js} +26 -4
  78. package/dist/chunk-WC5FFSHB.js.map +1 -0
  79. package/dist/{chunk-CLL7RUQV.cjs → chunk-WWOLFXTX.cjs} +40 -18
  80. package/dist/chunk-WWOLFXTX.cjs.map +1 -0
  81. package/dist/{chunk-JBSYC7BB.cjs → chunk-X2BWAZAU.cjs} +66 -53
  82. package/dist/chunk-X2BWAZAU.cjs.map +1 -0
  83. package/dist/{chunk-GOLDJNMZ.js → chunk-XBTEO4OB.js} +28 -5
  84. package/dist/chunk-XBTEO4OB.js.map +1 -0
  85. package/dist/{chunk-EPOXXJBK.js → chunk-YU2CUNFO.js} +3 -3
  86. package/dist/{chunk-EPOXXJBK.js.map → chunk-YU2CUNFO.js.map} +1 -1
  87. package/dist/constants.cjs +4 -4
  88. package/dist/constants.js +1 -1
  89. package/dist/engine.cjs +29 -30
  90. package/dist/engine.d.cts +6 -6
  91. package/dist/engine.d.ts +6 -6
  92. package/dist/engine.js +19 -20
  93. package/dist/format.cjs +7 -8
  94. package/dist/format.cjs.map +1 -1
  95. package/dist/format.js +2 -3
  96. package/dist/format.js.map +1 -1
  97. package/dist/index.cjs +28 -29
  98. package/dist/index.cjs.map +1 -1
  99. package/dist/index.d.cts +6 -6
  100. package/dist/index.d.ts +6 -6
  101. package/dist/index.js +20 -21
  102. package/dist/index.js.map +1 -1
  103. package/dist/language.cjs +74 -12
  104. package/dist/language.cjs.map +1 -1
  105. package/dist/language.d.cts +6 -6
  106. package/dist/language.d.ts +6 -6
  107. package/dist/language.js +68 -6
  108. package/dist/language.js.map +1 -1
  109. package/dist/lexer.cjs +19 -19
  110. package/dist/lexer.d.cts +3 -3
  111. package/dist/lexer.d.ts +3 -3
  112. package/dist/lexer.js +7 -7
  113. package/dist/normalizer.cjs +12 -12
  114. package/dist/normalizer.d.cts +4 -210
  115. package/dist/normalizer.d.ts +4 -210
  116. package/dist/normalizer.js +6 -6
  117. package/dist/packages.cjs +36 -37
  118. package/dist/packages.d.cts +5 -47
  119. package/dist/packages.d.ts +5 -47
  120. package/dist/packages.js +13 -14
  121. package/dist/parser.cjs +12 -12
  122. package/dist/parser.d.cts +3 -2
  123. package/dist/parser.d.ts +3 -2
  124. package/dist/parser.js +4 -4
  125. package/dist/resolvers.d.cts +1 -1
  126. package/dist/resolvers.d.ts +1 -1
  127. package/dist/uom.cjs +14 -14
  128. package/dist/uom.d.cts +12 -4
  129. package/dist/uom.d.ts +12 -4
  130. package/dist/uom.js +4 -4
  131. package/dist/vm.cjs +17 -17
  132. package/dist/vm.js +6 -6
  133. package/package.json +2 -1
  134. package/dist/NormalizerRule-BrVoVjmP.d.cts +0 -163
  135. package/dist/NormalizerRule-CEjf1FyD.d.ts +0 -163
  136. package/dist/chunk-34RRD7PC.js.map +0 -1
  137. package/dist/chunk-3PPFLFH4.js.map +0 -1
  138. package/dist/chunk-3YNVWKR2.cjs.map +0 -1
  139. package/dist/chunk-4QADQTWS.js.map +0 -1
  140. package/dist/chunk-5YEMOYSE.js.map +0 -1
  141. package/dist/chunk-64W6GLLZ.js.map +0 -1
  142. package/dist/chunk-6BKTCEUP.cjs.map +0 -1
  143. package/dist/chunk-6NTVRDQV.cjs.map +0 -1
  144. package/dist/chunk-C4XZV6E7.cjs.map +0 -1
  145. package/dist/chunk-CLL7RUQV.cjs.map +0 -1
  146. package/dist/chunk-DM3LMRBC.js.map +0 -1
  147. package/dist/chunk-EBSPLUW4.cjs.map +0 -1
  148. package/dist/chunk-EIGTWK5N.js.map +0 -1
  149. package/dist/chunk-GOLDJNMZ.js.map +0 -1
  150. package/dist/chunk-GW32KPCU.cjs.map +0 -1
  151. package/dist/chunk-HTXVVJRA.cjs.map +0 -1
  152. package/dist/chunk-HWSZJQCI.js.map +0 -1
  153. package/dist/chunk-J73SJHR3.cjs.map +0 -1
  154. package/dist/chunk-JBSYC7BB.cjs.map +0 -1
  155. package/dist/chunk-KVILKGMS.js.map +0 -1
  156. package/dist/chunk-LR7YASZF.cjs.map +0 -1
  157. package/dist/chunk-M5LX5AOO.js.map +0 -1
  158. package/dist/chunk-NH2O2AUR.js.map +0 -1
  159. package/dist/chunk-NMCRQP3Z.cjs.map +0 -1
  160. package/dist/chunk-NMD5VRN4.cjs.map +0 -1
  161. package/dist/chunk-OT6OJY7C.cjs +0 -114
  162. package/dist/chunk-OT6OJY7C.cjs.map +0 -1
  163. package/dist/chunk-QNJ4ACRT.cjs.map +0 -1
  164. package/dist/chunk-QWY3VEZN.js.map +0 -1
  165. package/dist/chunk-RFYD5TJE.js +0 -111
  166. package/dist/chunk-RFYD5TJE.js.map +0 -1
  167. package/dist/chunk-RIN643A3.js.map +0 -1
  168. package/dist/chunk-RZCWSXTA.cjs.map +0 -1
  169. package/dist/chunk-SDGRK7EP.js.map +0 -1
  170. package/dist/chunk-XJCMXB2E.cjs.map +0 -1
  171. package/dist/chunk-XVWCOTR6.js.map +0 -1
package/dist/packages.cjs CHANGED
@@ -1,25 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var chunkRZCWSXTA_cjs = require('./chunk-RZCWSXTA.cjs');
4
- require('./chunk-C4XZV6E7.cjs');
5
- require('./chunk-EBSPLUW4.cjs');
3
+ var chunk43G3JT2E_cjs = require('./chunk-43G3JT2E.cjs');
4
+ require('./chunk-NZFKROS7.cjs');
5
+ require('./chunk-AHCLWAM5.cjs');
6
6
  require('./chunk-N5YFR4UP.cjs');
7
- require('./chunk-WQTTOGXC.cjs');
7
+ require('./chunk-4AVD7NZW.cjs');
8
8
  require('./chunk-Z2XP767T.cjs');
9
- require('./chunk-J73SJHR3.cjs');
9
+ require('./chunk-2NPS5DQ3.cjs');
10
10
  require('./chunk-FEAIOR7N.cjs');
11
- require('./chunk-XJCMXB2E.cjs');
11
+ require('./chunk-2MV4HBKC.cjs');
12
12
  require('./chunk-MZOVP3WI.cjs');
13
13
  require('./chunk-VEKIWQ3F.cjs');
14
- require('./chunk-OT6OJY7C.cjs');
15
- require('./chunk-HTXVVJRA.cjs');
14
+ require('./chunk-4CVLFLOB.cjs');
16
15
  require('./chunk-OC6LTXYS.cjs');
17
- require('./chunk-QNJ4ACRT.cjs');
18
- require('./chunk-NMD5VRN4.cjs');
19
- require('./chunk-GW32KPCU.cjs');
20
- require('./chunk-3YNVWKR2.cjs');
21
- require('./chunk-EHAHVROS.cjs');
22
- require('./chunk-53B6KDDJ.cjs');
16
+ require('./chunk-NJTXJ5AG.cjs');
17
+ require('./chunk-M4F66R4O.cjs');
18
+ require('./chunk-R24DI24X.cjs');
19
+ require('./chunk-OUHT5Z36.cjs');
20
+ require('./chunk-CLVQBF5C.cjs');
21
+ require('./chunk-MBNQVDVC.cjs');
23
22
  require('./chunk-M4N5GA5Z.cjs');
24
23
  require('./chunk-B7LXJ6LC.cjs');
25
24
 
@@ -27,95 +26,95 @@ require('./chunk-B7LXJ6LC.cjs');
27
26
 
28
27
  Object.defineProperty(exports, "ARITHMETIC_PACKAGE", {
29
28
  enumerable: true,
30
- get: function () { return chunkRZCWSXTA_cjs.ARITHMETIC_PACKAGE; }
29
+ get: function () { return chunk43G3JT2E_cjs.ARITHMETIC_PACKAGE; }
31
30
  });
32
31
  Object.defineProperty(exports, "BIGINT_PACKAGE", {
33
32
  enumerable: true,
34
- get: function () { return chunkRZCWSXTA_cjs.BIGINT_PACKAGE; }
33
+ get: function () { return chunk43G3JT2E_cjs.BIGINT_PACKAGE; }
35
34
  });
36
35
  Object.defineProperty(exports, "BUILTIN_PACKAGES", {
37
36
  enumerable: true,
38
- get: function () { return chunkRZCWSXTA_cjs.BUILTIN_PACKAGES; }
37
+ get: function () { return chunk43G3JT2E_cjs.BUILTIN_PACKAGES; }
39
38
  });
40
39
  Object.defineProperty(exports, "CONDITIONALS_PACKAGE", {
41
40
  enumerable: true,
42
- get: function () { return chunkRZCWSXTA_cjs.CONDITIONALS_PACKAGE; }
41
+ get: function () { return chunk43G3JT2E_cjs.CONDITIONALS_PACKAGE; }
43
42
  });
44
43
  Object.defineProperty(exports, "CONVERTERS_PACKAGE", {
45
44
  enumerable: true,
46
- get: function () { return chunkRZCWSXTA_cjs.CONVERTERS_PACKAGE; }
45
+ get: function () { return chunk43G3JT2E_cjs.CONVERTERS_PACKAGE; }
47
46
  });
48
47
  Object.defineProperty(exports, "CURRENCY_PACKAGE", {
49
48
  enumerable: true,
50
- get: function () { return chunkRZCWSXTA_cjs.CURRENCY_PACKAGE; }
49
+ get: function () { return chunk43G3JT2E_cjs.CURRENCY_PACKAGE; }
51
50
  });
52
51
  Object.defineProperty(exports, "DATETIME_PACKAGE", {
53
52
  enumerable: true,
54
- get: function () { return chunkRZCWSXTA_cjs.DATETIME_PACKAGE; }
53
+ get: function () { return chunk43G3JT2E_cjs.DATETIME_PACKAGE; }
55
54
  });
56
55
  Object.defineProperty(exports, "DICE_PACKAGE", {
57
56
  enumerable: true,
58
- get: function () { return chunkRZCWSXTA_cjs.DICE_PACKAGE; }
57
+ get: function () { return chunk43G3JT2E_cjs.DICE_PACKAGE; }
59
58
  });
60
59
  Object.defineProperty(exports, "FINANCE_PACKAGE", {
61
60
  enumerable: true,
62
- get: function () { return chunkRZCWSXTA_cjs.FINANCE_PACKAGE; }
61
+ get: function () { return chunk43G3JT2E_cjs.FINANCE_PACKAGE; }
63
62
  });
64
63
  Object.defineProperty(exports, "FUNCTION_PACKAGE", {
65
64
  enumerable: true,
66
- get: function () { return chunkRZCWSXTA_cjs.FUNCTION_PACKAGE; }
65
+ get: function () { return chunk43G3JT2E_cjs.FUNCTION_PACKAGE; }
67
66
  });
68
67
  Object.defineProperty(exports, "LINES_PACKAGE", {
69
68
  enumerable: true,
70
- get: function () { return chunkRZCWSXTA_cjs.LINES_PACKAGE; }
69
+ get: function () { return chunk43G3JT2E_cjs.LINES_PACKAGE; }
71
70
  });
72
71
  Object.defineProperty(exports, "MAPREDUCE_PACKAGE", {
73
72
  enumerable: true,
74
- get: function () { return chunkRZCWSXTA_cjs.MAPREDUCE_PACKAGE; }
73
+ get: function () { return chunk43G3JT2E_cjs.MAPREDUCE_PACKAGE; }
75
74
  });
76
75
  Object.defineProperty(exports, "MATHPHRASES_PACKAGE", {
77
76
  enumerable: true,
78
- get: function () { return chunkRZCWSXTA_cjs.MATHPHRASES_PACKAGE; }
77
+ get: function () { return chunk43G3JT2E_cjs.MATHPHRASES_PACKAGE; }
79
78
  });
80
79
  Object.defineProperty(exports, "MATRIX_PACKAGE", {
81
80
  enumerable: true,
82
- get: function () { return chunkRZCWSXTA_cjs.MATRIX_PACKAGE; }
81
+ get: function () { return chunk43G3JT2E_cjs.MATRIX_PACKAGE; }
83
82
  });
84
83
  Object.defineProperty(exports, "PERCENTAGE_PACKAGE", {
85
84
  enumerable: true,
86
- get: function () { return chunkRZCWSXTA_cjs.PERCENTAGE_PACKAGE; }
85
+ get: function () { return chunk43G3JT2E_cjs.PERCENTAGE_PACKAGE; }
87
86
  });
88
87
  Object.defineProperty(exports, "SYMBOLIC_PACKAGE", {
89
88
  enumerable: true,
90
- get: function () { return chunkRZCWSXTA_cjs.SYMBOLIC_PACKAGE; }
89
+ get: function () { return chunk43G3JT2E_cjs.SYMBOLIC_PACKAGE; }
91
90
  });
92
91
  Object.defineProperty(exports, "TIME_PACKAGE", {
93
92
  enumerable: true,
94
- get: function () { return chunkRZCWSXTA_cjs.TIME_PACKAGE; }
93
+ get: function () { return chunk43G3JT2E_cjs.TIME_PACKAGE; }
95
94
  });
96
95
  Object.defineProperty(exports, "UOM_PACKAGE", {
97
96
  enumerable: true,
98
- get: function () { return chunkRZCWSXTA_cjs.UOM_PACKAGE; }
97
+ get: function () { return chunk43G3JT2E_cjs.UOM_PACKAGE; }
99
98
  });
100
99
  Object.defineProperty(exports, "VARIABLES_PACKAGE", {
101
100
  enumerable: true,
102
- get: function () { return chunkRZCWSXTA_cjs.VARIABLES_PACKAGE; }
101
+ get: function () { return chunk43G3JT2E_cjs.VARIABLES_PACKAGE; }
103
102
  });
104
103
  Object.defineProperty(exports, "VECTOR_PACKAGE", {
105
104
  enumerable: true,
106
- get: function () { return chunkRZCWSXTA_cjs.VECTOR_PACKAGE; }
105
+ get: function () { return chunk43G3JT2E_cjs.VECTOR_PACKAGE; }
107
106
  });
108
107
  Object.defineProperty(exports, "WEATHER_PACKAGE", {
109
108
  enumerable: true,
110
- get: function () { return chunkRZCWSXTA_cjs.WEATHER_PACKAGE; }
109
+ get: function () { return chunk43G3JT2E_cjs.WEATHER_PACKAGE; }
111
110
  });
112
111
  Object.defineProperty(exports, "createKnowledgePackage", {
113
112
  enumerable: true,
114
- get: function () { return chunkRZCWSXTA_cjs.createKnowledgePackage; }
113
+ get: function () { return chunk43G3JT2E_cjs.createKnowledgePackage; }
115
114
  });
116
115
  Object.defineProperty(exports, "createStocksPackage", {
117
116
  enumerable: true,
118
- get: function () { return chunkRZCWSXTA_cjs.createStocksPackage; }
117
+ get: function () { return chunk43G3JT2E_cjs.createStocksPackage; }
119
118
  });
120
119
  //# sourceMappingURL=packages.cjs.map
121
120
  //# sourceMappingURL=packages.cjs.map
@@ -1,14 +1,14 @@
1
- import { I as IEnginePackage } from './PackageRegistry-D-Tv_7ca.cjs';
2
- import './Parselet-CK8cQu2a.cjs';
1
+ import { I as IEnginePackage } from './PackageRegistry-pHtKythi.cjs';
2
+ import './Parselet-Cu0bLSis.cjs';
3
3
  import './BytecodeBuilder-3egMyuDi.cjs';
4
- import './Token-0jpvUdPY.cjs';
4
+ import './Token-BzG5G4ja.cjs';
5
5
  import './pipeline-DPUQt7yL.cjs';
6
6
  import './Value-KtAQNHur.cjs';
7
7
  import './variables.cjs';
8
- import './Lexer-BJdhlnej.cjs';
8
+ import './Lexer-Cfm79Dak.cjs';
9
9
  import './resolvers.cjs';
10
10
  import '@tanstack/query-core';
11
- import './NormalizerRule-BrVoVjmP.cjs';
11
+ import './TokenNormalizer-DGVa24Q-.cjs';
12
12
  import './ScopeManager-CKfQtl7l.cjs';
13
13
  import './EngineError-DvPSnhZi.cjs';
14
14
  import './Configuration-fVpd-HC-.cjs';
@@ -102,48 +102,6 @@ declare const FUNCTION_PACKAGE: IEnginePackage;
102
102
  */
103
103
  declare const DATETIME_PACKAGE: IEnginePackage;
104
104
 
105
- /**
106
- * Clock-time-of-day arithmetic: `9:00am`, `16:00`, `4pm` (anchored to
107
- * today's calendar date), `7:30 to 20:45` / `4pm to 3am` interval
108
- * durations (midnight-rollover aware), `30 fps` frame-rate literals (a
109
- * `Rate` value. See `vm/Value.ts`), and `03:04:05` / `00:00:01.5`
110
- * lap-time/stopwatch-split durations (two colons, vs clock-time's one).
111
- * Distinct from the Datetime package's calendar-date arithmetic. See
112
- * `packages/time/` vs `packages/datetime/`.
113
- *
114
- * Full HH:MM:SS:FF video-timecode literal parsing + fps-aware carry
115
- * arithmetic: `01:02:03:04 at 30 fps` / `... @ 30 fps` (a `Uom(totalFrames,
116
- * "timecode@<fps>")` value. See `vm/Value.ts`'s timecode section)
117
- * `timecode + N frames` / `+ <duration>` / `+ timecode` (sum) / `-
118
- * timecode` (difference), all special-cased in `vm/VM.ts`'s ADD/SUB
119
- * dispatch (`combineTimecode()`), plus `timecode in frames` and the
120
- * reverse `<N> frames @ <fps>` -> `HH:MM:SS:FF` string conversion (see
121
- * `parselets/VideoTimecodeParselet.ts`/`FrameCountParselet.ts` and
122
- * `timecode/TimecodeMath.ts`). `30 fps × <duration>` frame-count math
123
- * (below) composes with this unchanged, the fps literal itself is
124
- * unaffected by any of the above. Likewise, pretty-printing a duration
125
- * back as `"3 hours 15 min"` (`as timespan`) or `"03:04:05"` (`as
126
- * laptime`) is a `converters` package (Phase 1c) concern. This package
127
- * only produces the underlying `Uom` values.
128
- *
129
- * Also: timezone conversion (`6pm Sydney in Chicago`), current
130
- * time/date-in-a-zone queries (`time in Paris`, `date in Vancouver`), and
131
- * zone-offset deltas (`time difference between Seattle and Moscow`). See
132
- * `timezones/CityZones.ts`/`ZoneMath.ts`. Built entirely on native
133
- * `Intl.DateTimeFormat`/IANA data, no external dependency. Results are
134
- * `String` values (formatted, human-readable), not `Datetime`. This
135
- * engine's `Datetime` representation is a bare epoch-ms number with no
136
- * zone tag, so there's no way to represent "this instant, but interpreted
137
- * through zone X" as anything other than a pre-formatted string; see
138
- * `ZoneMath.ts`'s doc comment.
139
- *
140
- * SCOPE DECISION: the alternate phrasing `<City> time` (e.g. "Tokyo
141
- * time", city first) is deliberately NOT implemented, it would need
142
- * "time" registered as a keyword reachable from a BARE city identifier's
143
- * infix position, and "time" is exactly the kind of common noun this
144
- * session found real trouble with (see MathPhrasesPackage.ts's "total"
145
- * regression note). `time in <city>` covers the same need unambiguously.
146
- */
147
105
  declare const TIME_PACKAGE: IEnginePackage;
148
106
 
149
107
  /** `roll(min, max)`, returns a random integer in the inclusive `[min, max]` range. */
@@ -1,14 +1,14 @@
1
- import { I as IEnginePackage } from './PackageRegistry-DaH4aIKP.js';
2
- import './Parselet-ConOIdRO.js';
1
+ import { I as IEnginePackage } from './PackageRegistry-CjDt-Jy_.js';
2
+ import './Parselet-DEdF9I7n.js';
3
3
  import './BytecodeBuilder-3egMyuDi.js';
4
- import './Token-0jpvUdPY.js';
4
+ import './Token-BzG5G4ja.js';
5
5
  import './pipeline-CrsRPmsv.js';
6
6
  import './Value-KtAQNHur.js';
7
7
  import './variables.js';
8
- import './Lexer-D9l4Yrk2.js';
8
+ import './Lexer-W9MBOP0V.js';
9
9
  import './resolvers.js';
10
10
  import '@tanstack/query-core';
11
- import './NormalizerRule-CEjf1FyD.js';
11
+ import './TokenNormalizer-t_GotBxr.js';
12
12
  import './ScopeManager-B5k0nk05.js';
13
13
  import './EngineError-DvPSnhZi.js';
14
14
  import './Configuration-fVpd-HC-.js';
@@ -102,48 +102,6 @@ declare const FUNCTION_PACKAGE: IEnginePackage;
102
102
  */
103
103
  declare const DATETIME_PACKAGE: IEnginePackage;
104
104
 
105
- /**
106
- * Clock-time-of-day arithmetic: `9:00am`, `16:00`, `4pm` (anchored to
107
- * today's calendar date), `7:30 to 20:45` / `4pm to 3am` interval
108
- * durations (midnight-rollover aware), `30 fps` frame-rate literals (a
109
- * `Rate` value. See `vm/Value.ts`), and `03:04:05` / `00:00:01.5`
110
- * lap-time/stopwatch-split durations (two colons, vs clock-time's one).
111
- * Distinct from the Datetime package's calendar-date arithmetic. See
112
- * `packages/time/` vs `packages/datetime/`.
113
- *
114
- * Full HH:MM:SS:FF video-timecode literal parsing + fps-aware carry
115
- * arithmetic: `01:02:03:04 at 30 fps` / `... @ 30 fps` (a `Uom(totalFrames,
116
- * "timecode@<fps>")` value. See `vm/Value.ts`'s timecode section)
117
- * `timecode + N frames` / `+ <duration>` / `+ timecode` (sum) / `-
118
- * timecode` (difference), all special-cased in `vm/VM.ts`'s ADD/SUB
119
- * dispatch (`combineTimecode()`), plus `timecode in frames` and the
120
- * reverse `<N> frames @ <fps>` -> `HH:MM:SS:FF` string conversion (see
121
- * `parselets/VideoTimecodeParselet.ts`/`FrameCountParselet.ts` and
122
- * `timecode/TimecodeMath.ts`). `30 fps × <duration>` frame-count math
123
- * (below) composes with this unchanged, the fps literal itself is
124
- * unaffected by any of the above. Likewise, pretty-printing a duration
125
- * back as `"3 hours 15 min"` (`as timespan`) or `"03:04:05"` (`as
126
- * laptime`) is a `converters` package (Phase 1c) concern. This package
127
- * only produces the underlying `Uom` values.
128
- *
129
- * Also: timezone conversion (`6pm Sydney in Chicago`), current
130
- * time/date-in-a-zone queries (`time in Paris`, `date in Vancouver`), and
131
- * zone-offset deltas (`time difference between Seattle and Moscow`). See
132
- * `timezones/CityZones.ts`/`ZoneMath.ts`. Built entirely on native
133
- * `Intl.DateTimeFormat`/IANA data, no external dependency. Results are
134
- * `String` values (formatted, human-readable), not `Datetime`. This
135
- * engine's `Datetime` representation is a bare epoch-ms number with no
136
- * zone tag, so there's no way to represent "this instant, but interpreted
137
- * through zone X" as anything other than a pre-formatted string; see
138
- * `ZoneMath.ts`'s doc comment.
139
- *
140
- * SCOPE DECISION: the alternate phrasing `<City> time` (e.g. "Tokyo
141
- * time", city first) is deliberately NOT implemented, it would need
142
- * "time" registered as a keyword reachable from a BARE city identifier's
143
- * infix position, and "time" is exactly the kind of common noun this
144
- * session found real trouble with (see MathPhrasesPackage.ts's "total"
145
- * regression note). `time in <city>` covers the same need unambiguously.
146
- */
147
105
  declare const TIME_PACKAGE: IEnginePackage;
148
106
 
149
107
  /** `roll(min, max)`, returns a random integer in the inclusive `[min, max]` range. */
package/dist/packages.js CHANGED
@@ -1,23 +1,22 @@
1
- export { ARITHMETIC_PACKAGE, BIGINT_PACKAGE, BUILTIN_PACKAGES, CONDITIONALS_PACKAGE, CONVERTERS_PACKAGE, CURRENCY_PACKAGE, DATETIME_PACKAGE, DICE_PACKAGE, FINANCE_PACKAGE, FUNCTION_PACKAGE, LINES_PACKAGE, MAPREDUCE_PACKAGE, MATHPHRASES_PACKAGE, MATRIX_PACKAGE, PERCENTAGE_PACKAGE, SYMBOLIC_PACKAGE, TIME_PACKAGE, UOM_PACKAGE, VARIABLES_PACKAGE, VECTOR_PACKAGE, WEATHER_PACKAGE, createKnowledgePackage, createStocksPackage } from './chunk-3PPFLFH4.js';
2
- import './chunk-5YEMOYSE.js';
3
- import './chunk-64W6GLLZ.js';
1
+ export { ARITHMETIC_PACKAGE, BIGINT_PACKAGE, BUILTIN_PACKAGES, CONDITIONALS_PACKAGE, CONVERTERS_PACKAGE, CURRENCY_PACKAGE, DATETIME_PACKAGE, DICE_PACKAGE, FINANCE_PACKAGE, FUNCTION_PACKAGE, LINES_PACKAGE, MAPREDUCE_PACKAGE, MATHPHRASES_PACKAGE, MATRIX_PACKAGE, PERCENTAGE_PACKAGE, SYMBOLIC_PACKAGE, TIME_PACKAGE, UOM_PACKAGE, VARIABLES_PACKAGE, VECTOR_PACKAGE, WEATHER_PACKAGE, createKnowledgePackage, createStocksPackage } from './chunk-FIFQPKBA.js';
2
+ import './chunk-6GCKCWLB.js';
3
+ import './chunk-OFXOTECC.js';
4
4
  import './chunk-PFSDGGYL.js';
5
- import './chunk-EPOXXJBK.js';
5
+ import './chunk-YU2CUNFO.js';
6
6
  import './chunk-NLNDMWZC.js';
7
- import './chunk-4QADQTWS.js';
7
+ import './chunk-KHJUSHFU.js';
8
8
  import './chunk-GCM5JHMX.js';
9
- import './chunk-DM3LMRBC.js';
9
+ import './chunk-UKPGSAZW.js';
10
10
  import './chunk-75JP4BZX.js';
11
11
  import './chunk-Z4X2RWOF.js';
12
- import './chunk-RFYD5TJE.js';
13
- import './chunk-34RRD7PC.js';
12
+ import './chunk-CYFK5SY2.js';
14
13
  import './chunk-BVAR5J2F.js';
15
- import './chunk-NH2O2AUR.js';
16
- import './chunk-XVWCOTR6.js';
17
- import './chunk-RIN643A3.js';
18
- import './chunk-GOLDJNMZ.js';
19
- import './chunk-LIPPNDBE.js';
20
- import './chunk-4MG4XKO2.js';
14
+ import './chunk-WC5FFSHB.js';
15
+ import './chunk-SFQWJMKT.js';
16
+ import './chunk-GPPLSM2Z.js';
17
+ import './chunk-XBTEO4OB.js';
18
+ import './chunk-M5E34VG5.js';
19
+ import './chunk-PCPX42KL.js';
21
20
  import './chunk-6RDSQURE.js';
22
21
  import './chunk-YLJ4XMA6.js';
23
22
  //# sourceMappingURL=packages.js.map
package/dist/parser.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkNMCRQP3Z_cjs = require('./chunk-NMCRQP3Z.cjs');
3
+ var chunkMTX2KVU7_cjs = require('./chunk-MTX2KVU7.cjs');
4
4
  require('./chunk-47LRVGOT.cjs');
5
- var chunkC4XZV6E7_cjs = require('./chunk-C4XZV6E7.cjs');
5
+ var chunkNZFKROS7_cjs = require('./chunk-NZFKROS7.cjs');
6
6
  var chunkMZOVP3WI_cjs = require('./chunk-MZOVP3WI.cjs');
7
- require('./chunk-GW32KPCU.cjs');
8
- require('./chunk-3YNVWKR2.cjs');
7
+ require('./chunk-R24DI24X.cjs');
8
+ require('./chunk-OUHT5Z36.cjs');
9
9
  require('./chunk-M4N5GA5Z.cjs');
10
10
  require('./chunk-B7LXJ6LC.cjs');
11
11
 
@@ -13,35 +13,35 @@ require('./chunk-B7LXJ6LC.cjs');
13
13
 
14
14
  Object.defineProperty(exports, "ParseletRegistry", {
15
15
  enumerable: true,
16
- get: function () { return chunkNMCRQP3Z_cjs.ParseletRegistry; }
16
+ get: function () { return chunkMTX2KVU7_cjs.ParseletRegistry; }
17
17
  });
18
18
  Object.defineProperty(exports, "Parser", {
19
19
  enumerable: true,
20
- get: function () { return chunkNMCRQP3Z_cjs.PrecedenceParser; }
20
+ get: function () { return chunkMTX2KVU7_cjs.PrecedenceParser; }
21
21
  });
22
22
  Object.defineProperty(exports, "PrecedenceParser", {
23
23
  enumerable: true,
24
- get: function () { return chunkNMCRQP3Z_cjs.PrecedenceParser; }
24
+ get: function () { return chunkMTX2KVU7_cjs.PrecedenceParser; }
25
25
  });
26
26
  Object.defineProperty(exports, "sharedParseletRegistry", {
27
27
  enumerable: true,
28
- get: function () { return chunkNMCRQP3Z_cjs.sharedParseletRegistry; }
28
+ get: function () { return chunkMTX2KVU7_cjs.sharedParseletRegistry; }
29
29
  });
30
30
  Object.defineProperty(exports, "BindingPower", {
31
31
  enumerable: true,
32
- get: function () { return chunkC4XZV6E7_cjs.BindingPower; }
32
+ get: function () { return chunkNZFKROS7_cjs.BindingPower; }
33
33
  });
34
34
  Object.defineProperty(exports, "BytecodeBuilder", {
35
35
  enumerable: true,
36
- get: function () { return chunkC4XZV6E7_cjs.BytecodeBuilder; }
36
+ get: function () { return chunkNZFKROS7_cjs.BytecodeBuilder; }
37
37
  });
38
38
  Object.defineProperty(exports, "buildBindingPowerTable", {
39
39
  enumerable: true,
40
- get: function () { return chunkC4XZV6E7_cjs.buildBindingPowerTable; }
40
+ get: function () { return chunkNZFKROS7_cjs.buildBindingPowerTable; }
41
41
  });
42
42
  Object.defineProperty(exports, "invalidateBindingPowerTable", {
43
43
  enumerable: true,
44
- get: function () { return chunkC4XZV6E7_cjs.invalidateBindingPowerTable; }
44
+ get: function () { return chunkNZFKROS7_cjs.invalidateBindingPowerTable; }
45
45
  });
46
46
  Object.defineProperty(exports, "OpCode", {
47
47
  enumerable: true,
package/dist/parser.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-CK8cQu2a.cjs';
1
+ export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-Cu0bLSis.cjs';
2
2
  export { B as BytecodeBuilder, a as BytecodeProgram, O as OpCode, g as getOpCodeName } from './BytecodeBuilder-3egMyuDi.cjs';
3
- import './Token-0jpvUdPY.cjs';
3
+ import './Token-BzG5G4ja.cjs';
4
4
  import './pipeline-DPUQt7yL.cjs';
5
5
  import './Value-KtAQNHur.cjs';
6
6
 
@@ -21,6 +21,7 @@ declare const BindingPower: {
21
21
  readonly LogicalOr: 12;
22
22
  readonly LogicalAnd: 14;
23
23
  readonly Conditional: 20;
24
+ readonly Conjunction: 28;
24
25
  readonly Sum: 30;
25
26
  readonly BitwiseXor: 35;
26
27
  readonly Product: 40;
package/dist/parser.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-ConOIdRO.js';
1
+ export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-DEdF9I7n.js';
2
2
  export { B as BytecodeBuilder, a as BytecodeProgram, O as OpCode, g as getOpCodeName } from './BytecodeBuilder-3egMyuDi.js';
3
- import './Token-0jpvUdPY.js';
3
+ import './Token-BzG5G4ja.js';
4
4
  import './pipeline-CrsRPmsv.js';
5
5
  import './Value-KtAQNHur.js';
6
6
 
@@ -21,6 +21,7 @@ declare const BindingPower: {
21
21
  readonly LogicalOr: 12;
22
22
  readonly LogicalAnd: 14;
23
23
  readonly Conditional: 20;
24
+ readonly Conjunction: 28;
24
25
  readonly Sum: 30;
25
26
  readonly BitwiseXor: 35;
26
27
  readonly Product: 40;
package/dist/parser.js CHANGED
@@ -1,9 +1,9 @@
1
- export { ParseletRegistry, PrecedenceParser as Parser, PrecedenceParser, sharedParseletRegistry } from './chunk-SDGRK7EP.js';
1
+ export { ParseletRegistry, PrecedenceParser as Parser, PrecedenceParser, sharedParseletRegistry } from './chunk-MEOHSQEH.js';
2
2
  import './chunk-G535KJEG.js';
3
- export { BindingPower, BytecodeBuilder, buildBindingPowerTable, invalidateBindingPowerTable } from './chunk-5YEMOYSE.js';
3
+ export { BindingPower, BytecodeBuilder, buildBindingPowerTable, invalidateBindingPowerTable } from './chunk-6GCKCWLB.js';
4
4
  export { OpCode, getOpCodeName } from './chunk-75JP4BZX.js';
5
- import './chunk-RIN643A3.js';
6
- import './chunk-GOLDJNMZ.js';
5
+ import './chunk-GPPLSM2Z.js';
6
+ import './chunk-XBTEO4OB.js';
7
7
  import './chunk-6RDSQURE.js';
8
8
  import './chunk-YLJ4XMA6.js';
9
9
  //# sourceMappingURL=parser.js.map
@@ -1,5 +1,5 @@
1
1
  import { QueryClient } from '@tanstack/query-core';
2
- import { T as Token } from './Token-0jpvUdPY.cjs';
2
+ import { T as Token } from './Token-BzG5G4ja.cjs';
3
3
  import { a as BytecodeProgram } from './BytecodeBuilder-3egMyuDi.cjs';
4
4
  import { V as Value } from './Value-KtAQNHur.cjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { QueryClient } from '@tanstack/query-core';
2
- import { T as Token } from './Token-0jpvUdPY.js';
2
+ import { T as Token } from './Token-BzG5G4ja.js';
3
3
  import { a as BytecodeProgram } from './BytecodeBuilder-3egMyuDi.js';
4
4
  import { V as Value } from './Value-KtAQNHur.js';
5
5
 
package/dist/uom.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkWQTTOGXC_cjs = require('./chunk-WQTTOGXC.cjs');
4
- var chunkXJCMXB2E_cjs = require('./chunk-XJCMXB2E.cjs');
3
+ var chunk4AVD7NZW_cjs = require('./chunk-4AVD7NZW.cjs');
4
+ var chunk2MV4HBKC_cjs = require('./chunk-2MV4HBKC.cjs');
5
5
  require('./chunk-MZOVP3WI.cjs');
6
6
  require('./chunk-VEKIWQ3F.cjs');
7
7
  require('./chunk-OC6LTXYS.cjs');
8
- var chunkQNJ4ACRT_cjs = require('./chunk-QNJ4ACRT.cjs');
9
- require('./chunk-53B6KDDJ.cjs');
8
+ var chunkNJTXJ5AG_cjs = require('./chunk-NJTXJ5AG.cjs');
9
+ require('./chunk-MBNQVDVC.cjs');
10
10
  require('./chunk-M4N5GA5Z.cjs');
11
11
  require('./chunk-B7LXJ6LC.cjs');
12
12
 
@@ -14,43 +14,43 @@ require('./chunk-B7LXJ6LC.cjs');
14
14
 
15
15
  Object.defineProperty(exports, "CurrencyAsyncResolver", {
16
16
  enumerable: true,
17
- get: function () { return chunkWQTTOGXC_cjs.CurrencyAsyncResolver; }
17
+ get: function () { return chunk4AVD7NZW_cjs.CurrencyAsyncResolver; }
18
18
  });
19
19
  Object.defineProperty(exports, "CurrencyExchangeService", {
20
20
  enumerable: true,
21
- get: function () { return chunkXJCMXB2E_cjs.CurrencyExchangeService; }
21
+ get: function () { return chunk2MV4HBKC_cjs.CurrencyExchangeService; }
22
22
  });
23
23
  Object.defineProperty(exports, "currencyExchangeService", {
24
24
  enumerable: true,
25
- get: function () { return chunkXJCMXB2E_cjs.currencyExchangeService; }
25
+ get: function () { return chunk2MV4HBKC_cjs.currencyExchangeService; }
26
26
  });
27
27
  Object.defineProperty(exports, "sharedCurrencyExchange", {
28
28
  enumerable: true,
29
- get: function () { return chunkXJCMXB2E_cjs.sharedCurrencyExchange; }
29
+ get: function () { return chunk2MV4HBKC_cjs.sharedCurrencyExchange; }
30
30
  });
31
31
  Object.defineProperty(exports, "canConvert", {
32
32
  enumerable: true,
33
- get: function () { return chunkQNJ4ACRT_cjs.canConvert; }
33
+ get: function () { return chunkNJTXJ5AG_cjs.canConvert; }
34
34
  });
35
35
  Object.defineProperty(exports, "convertUnit", {
36
36
  enumerable: true,
37
- get: function () { return chunkQNJ4ACRT_cjs.convertUnit; }
37
+ get: function () { return chunkNJTXJ5AG_cjs.convertUnit; }
38
38
  });
39
39
  Object.defineProperty(exports, "getBestUnit", {
40
40
  enumerable: true,
41
- get: function () { return chunkQNJ4ACRT_cjs.getBestUnit; }
41
+ get: function () { return chunkNJTXJ5AG_cjs.getBestUnit; }
42
42
  });
43
43
  Object.defineProperty(exports, "getMeasure", {
44
44
  enumerable: true,
45
- get: function () { return chunkQNJ4ACRT_cjs.getMeasure; }
45
+ get: function () { return chunkNJTXJ5AG_cjs.getMeasure; }
46
46
  });
47
47
  Object.defineProperty(exports, "isConvertibleUnit", {
48
48
  enumerable: true,
49
- get: function () { return chunkQNJ4ACRT_cjs.isConvertibleUnit; }
49
+ get: function () { return chunkNJTXJ5AG_cjs.isConvertibleUnit; }
50
50
  });
51
51
  Object.defineProperty(exports, "resolveUnit", {
52
52
  enumerable: true,
53
- get: function () { return chunkQNJ4ACRT_cjs.resolveUnit; }
53
+ get: function () { return chunkNJTXJ5AG_cjs.resolveUnit; }
54
54
  });
55
55
  //# sourceMappingURL=uom.cjs.map
56
56
  //# sourceMappingURL=uom.cjs.map
package/dist/uom.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { QueryClient } from '@tanstack/query-core';
2
- import { T as Token } from './Token-0jpvUdPY.cjs';
2
+ import { T as Token } from './Token-BzG5G4ja.cjs';
3
3
  import { a as BytecodeProgram } from './BytecodeBuilder-3egMyuDi.cjs';
4
4
  import { IAsyncResolver, AsyncCheckResult } from './resolvers.cjs';
5
5
  import './Value-KtAQNHur.cjs';
@@ -119,9 +119,17 @@ declare class CurrencyExchangeService {
119
119
  */
120
120
  convertSync(value: number, from: string, to: string): number | null;
121
121
  /**
122
- * Check whether `code` is a recognized currency code (fiat or the
123
- * cryptocurrencies in {@link CRYPTO_IDS}), a fixed allowlist, not a
124
- * live lookup against any API.
122
+ * Check whether `code` is a recognized currency code: any active ISO 4217
123
+ * code, or one of the cryptocurrencies in {@link CRYPTO_IDS}.
124
+ *
125
+ * This used to be a hand-written list of forty-six codes, which meant
126
+ * `$100 in UAH` returned an unconverted hundred dollars rather than saying
127
+ * it could not convert. Answering from the standard rather than from
128
+ * whichever codes happened to get added is what stops that class of bug.
129
+ *
130
+ * Recognising a code is not the same as having a rate for it. That is
131
+ * answered later, by the exchange provider; conflating the two is what
132
+ * produced the silent failure.
125
133
  */
126
134
  isCurrency(code: string): boolean;
127
135
  }
package/dist/uom.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { QueryClient } from '@tanstack/query-core';
2
- import { T as Token } from './Token-0jpvUdPY.js';
2
+ import { T as Token } from './Token-BzG5G4ja.js';
3
3
  import { a as BytecodeProgram } from './BytecodeBuilder-3egMyuDi.js';
4
4
  import { IAsyncResolver, AsyncCheckResult } from './resolvers.js';
5
5
  import './Value-KtAQNHur.js';
@@ -119,9 +119,17 @@ declare class CurrencyExchangeService {
119
119
  */
120
120
  convertSync(value: number, from: string, to: string): number | null;
121
121
  /**
122
- * Check whether `code` is a recognized currency code (fiat or the
123
- * cryptocurrencies in {@link CRYPTO_IDS}), a fixed allowlist, not a
124
- * live lookup against any API.
122
+ * Check whether `code` is a recognized currency code: any active ISO 4217
123
+ * code, or one of the cryptocurrencies in {@link CRYPTO_IDS}.
124
+ *
125
+ * This used to be a hand-written list of forty-six codes, which meant
126
+ * `$100 in UAH` returned an unconverted hundred dollars rather than saying
127
+ * it could not convert. Answering from the standard rather than from
128
+ * whichever codes happened to get added is what stops that class of bug.
129
+ *
130
+ * Recognising a code is not the same as having a rate for it. That is
131
+ * answered later, by the exchange provider; conflating the two is what
132
+ * produced the silent failure.
125
133
  */
126
134
  isCurrency(code: string): boolean;
127
135
  }
package/dist/uom.js CHANGED
@@ -1,10 +1,10 @@
1
- export { CurrencyAsyncResolver } from './chunk-EPOXXJBK.js';
2
- export { CurrencyExchangeService, currencyExchangeService, sharedCurrencyExchange } from './chunk-DM3LMRBC.js';
1
+ export { CurrencyAsyncResolver } from './chunk-YU2CUNFO.js';
2
+ export { CurrencyExchangeService, currencyExchangeService, sharedCurrencyExchange } from './chunk-UKPGSAZW.js';
3
3
  import './chunk-75JP4BZX.js';
4
4
  import './chunk-Z4X2RWOF.js';
5
5
  import './chunk-BVAR5J2F.js';
6
- export { canConvert, convertUnit, getBestUnit, getMeasure, isConvertibleUnit, resolveUnit } from './chunk-NH2O2AUR.js';
7
- import './chunk-4MG4XKO2.js';
6
+ export { canConvert, convertUnit, getBestUnit, getMeasure, isConvertibleUnit, resolveUnit } from './chunk-WC5FFSHB.js';
7
+ import './chunk-PCPX42KL.js';
8
8
  import './chunk-6RDSQURE.js';
9
9
  import './chunk-YLJ4XMA6.js';
10
10
  //# sourceMappingURL=uom.js.map