@glutinum/cli 0.14.0 → 0.14.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 (144) hide show
  1. package/dist/fable_modules/Fable.Promise.3.2.1/AsyncIterable.fs +89 -0
  2. package/dist/fable_modules/Fable.Promise.3.2.1/AsyncIterable.fs.js +105 -0
  3. package/dist/fable_modules/Fable.Promise.3.2.1/Fable.Promise.fableproj +25 -0
  4. package/dist/fable_modules/Fable.Promise.3.2.1/Promise.fs +842 -0
  5. package/dist/fable_modules/Fable.Promise.3.2.1/Promise.fs.js +232 -0
  6. package/dist/fable_modules/Fable.Promise.3.2.1/PromiseImpl.fs +31 -0
  7. package/dist/fable_modules/Fable.Promise.3.2.1/PromiseImpl.fs.js +20 -0
  8. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Array.fs +235 -0
  9. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Array.fs.js +384 -0
  10. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AssemblyInfo.fs +19 -0
  11. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Async.fs +287 -0
  12. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Async.fs.js +128 -0
  13. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncOption.fs +127 -0
  14. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncOptionCE.fs +174 -0
  15. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncOptionCE.fs.js +37 -0
  16. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncOptionOp.fs +24 -0
  17. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResult.fs +483 -0
  18. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultCE.fs +201 -0
  19. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultCE.fs.js +18 -0
  20. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOp.fs +24 -0
  21. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOption.fs +87 -0
  22. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOption.fs.js +26 -0
  23. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOptionCE.fs +236 -0
  24. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOptionCE.fs.js +18 -0
  25. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOptionOp.fs +24 -0
  26. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncValidation.fs +185 -0
  27. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncValidationCE.fs +186 -0
  28. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncValidationCE.fs.js +18 -0
  29. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncValidationOp.fs +35 -0
  30. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/FsToolkit.ErrorHandling.fableproj +69 -0
  31. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/List.fs +276 -0
  32. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/List.fs.js +364 -0
  33. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Nullness.fs +81 -0
  34. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Option.fs +462 -0
  35. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/OptionCE.fs +139 -0
  36. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/OptionCE.fs.js +48 -0
  37. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/OptionOp.fs +21 -0
  38. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResult.fs +88 -0
  39. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResult.fs.js +30 -0
  40. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResultCE.fs +200 -0
  41. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResultCE.fs.js +18 -0
  42. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncValidation.fs +34 -0
  43. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncValidationCE.fs +244 -0
  44. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncValidationCE.fs.js +18 -0
  45. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Result.fs +731 -0
  46. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Result.fs.js +45 -0
  47. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultCE.fs +140 -0
  48. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultCE.fs.js +23 -0
  49. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultOp.fs +45 -0
  50. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultOption.fs +201 -0
  51. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultOption.fs.js +65 -0
  52. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultOptionCE.fs +135 -0
  53. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultOptionCE.fs.js +18 -0
  54. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ResultOptionOp.fs +57 -0
  55. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Seq.fs +503 -0
  56. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Seq.fs.js +295 -0
  57. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Validation.fs +167 -0
  58. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValidationCE.fs +142 -0
  59. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValidationCE.fs.js +18 -0
  60. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValidationOp.fs +35 -0
  61. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValueOption.fs +148 -0
  62. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValueTaskValueOption.fs +102 -0
  63. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValueTaskValueOptionCE.fs +587 -0
  64. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValueTaskValueOptionOp.fs +10 -0
  65. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Debug/netstandard2.1/.NETStandard,Version=v2.1.AssemblyAttributes.fs +3 -0
  66. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Debug/netstandard2.1/FsToolkit.ErrorHandling.AssemblyInfo.fs +20 -0
  67. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Release/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.fs +3 -0
  68. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Release/net9.0/FsToolkit.ErrorHandling.AssemblyInfo.fs +20 -0
  69. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
  70. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Release/netstandard2.0/FsToolkit.ErrorHandling.AssemblyInfo.fs +20 -0
  71. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Release/netstandard2.1/.NETStandard,Version=v2.1.AssemblyAttributes.fs +3 -0
  72. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Release/netstandard2.1/FsToolkit.ErrorHandling.AssemblyInfo.fs +20 -0
  73. package/dist/fable_modules/fable-library-js.5.17.2/Array.js +1348 -0
  74. package/dist/fable_modules/fable-library-js.5.17.2/Async.js +163 -0
  75. package/dist/fable_modules/fable-library-js.5.17.2/AsyncBuilder.js +204 -0
  76. package/dist/fable_modules/fable-library-js.5.17.2/BigInt.js +307 -0
  77. package/dist/fable_modules/fable-library-js.5.17.2/BitConverter.js +138 -0
  78. package/dist/fable_modules/fable-library-js.5.17.2/Boolean.js +22 -0
  79. package/dist/fable_modules/fable-library-js.5.17.2/CHANGELOG.md +348 -0
  80. package/dist/fable_modules/fable-library-js.5.17.2/Char.js +202 -0
  81. package/dist/fable_modules/fable-library-js.5.17.2/Choice.js +184 -0
  82. package/dist/fable_modules/fable-library-js.5.17.2/CollectionUtil.js +182 -0
  83. package/dist/fable_modules/fable-library-js.5.17.2/ConditionalWeakTable.js +21 -0
  84. package/dist/fable_modules/fable-library-js.5.17.2/Date.js +834 -0
  85. package/dist/fable_modules/fable-library-js.5.17.2/DateOffset.js +252 -0
  86. package/dist/fable_modules/fable-library-js.5.17.2/DateOnly.js +124 -0
  87. package/dist/fable_modules/fable-library-js.5.17.2/DateOnlyTemporal.js +146 -0
  88. package/dist/fable_modules/fable-library-js.5.17.2/DateTimeFormat.js +523 -0
  89. package/dist/fable_modules/fable-library-js.5.17.2/DateTimeOffsetTemporal.js +283 -0
  90. package/dist/fable_modules/fable-library-js.5.17.2/DateTimeTemporal.js +243 -0
  91. package/dist/fable_modules/fable-library-js.5.17.2/Decimal.js +238 -0
  92. package/dist/fable_modules/fable-library-js.5.17.2/Directory.js +11 -0
  93. package/dist/fable_modules/fable-library-js.5.17.2/Double.js +53 -0
  94. package/dist/fable_modules/fable-library-js.5.17.2/Encoding.js +185 -0
  95. package/dist/fable_modules/fable-library-js.5.17.2/Environment.js +3 -0
  96. package/dist/fable_modules/fable-library-js.5.17.2/Event.js +102 -0
  97. package/dist/fable_modules/fable-library-js.5.17.2/FSharp.Collections.js +45 -0
  98. package/dist/fable_modules/fable-library-js.5.17.2/FSharp.Core.CompilerServices.js +27 -0
  99. package/dist/fable_modules/fable-library-js.5.17.2/FSharp.Core.js +156 -0
  100. package/dist/fable_modules/fable-library-js.5.17.2/File.js +27 -0
  101. package/dist/fable_modules/fable-library-js.5.17.2/Global.js +29 -0
  102. package/dist/fable_modules/fable-library-js.5.17.2/Guid.js +163 -0
  103. package/dist/fable_modules/fable-library-js.5.17.2/Int32.js +135 -0
  104. package/dist/fable_modules/fable-library-js.5.17.2/List.js +1337 -0
  105. package/dist/fable_modules/fable-library-js.5.17.2/Long.js +38 -0
  106. package/dist/fable_modules/fable-library-js.5.17.2/MailboxProcessor.js +100 -0
  107. package/dist/fable_modules/fable-library-js.5.17.2/Map.js +1400 -0
  108. package/dist/fable_modules/fable-library-js.5.17.2/MapUtil.js +130 -0
  109. package/dist/fable_modules/fable-library-js.5.17.2/MutableMap.js +339 -0
  110. package/dist/fable_modules/fable-library-js.5.17.2/MutableSet.js +233 -0
  111. package/dist/fable_modules/fable-library-js.5.17.2/Native.js +14 -0
  112. package/dist/fable_modules/fable-library-js.5.17.2/Numeric.js +112 -0
  113. package/dist/fable_modules/fable-library-js.5.17.2/Observable.js +115 -0
  114. package/dist/fable_modules/fable-library-js.5.17.2/Option.js +87 -0
  115. package/dist/fable_modules/fable-library-js.5.17.2/Path.js +31 -0
  116. package/dist/fable_modules/fable-library-js.5.17.2/README.md +3 -0
  117. package/dist/fable_modules/fable-library-js.5.17.2/Random.js +172 -0
  118. package/dist/fable_modules/fable-library-js.5.17.2/Range.js +45 -0
  119. package/dist/fable_modules/fable-library-js.5.17.2/Reflection.js +489 -0
  120. package/dist/fable_modules/fable-library-js.5.17.2/RegExp.js +170 -0
  121. package/dist/fable_modules/fable-library-js.5.17.2/Result.js +165 -0
  122. package/dist/fable_modules/fable-library-js.5.17.2/Seq.js +1504 -0
  123. package/dist/fable_modules/fable-library-js.5.17.2/Seq2.js +111 -0
  124. package/dist/fable_modules/fable-library-js.5.17.2/Set.js +1829 -0
  125. package/dist/fable_modules/fable-library-js.5.17.2/String.js +731 -0
  126. package/dist/fable_modules/fable-library-js.5.17.2/System.Collections.Generic.js +333 -0
  127. package/dist/fable_modules/fable-library-js.5.17.2/System.Text.js +200 -0
  128. package/dist/fable_modules/fable-library-js.5.17.2/System.js +289 -0
  129. package/dist/fable_modules/fable-library-js.5.17.2/Task.js +27 -0
  130. package/dist/fable_modules/fable-library-js.5.17.2/TaskBuilder.js +72 -0
  131. package/dist/fable_modules/fable-library-js.5.17.2/TimeOnly.js +122 -0
  132. package/dist/fable_modules/fable-library-js.5.17.2/TimeOnlyTemporal.js +142 -0
  133. package/dist/fable_modules/fable-library-js.5.17.2/TimeSpan.js +180 -0
  134. package/dist/fable_modules/fable-library-js.5.17.2/TimeSpanTemporal.js +259 -0
  135. package/dist/fable_modules/fable-library-js.5.17.2/Timer.js +67 -0
  136. package/dist/fable_modules/fable-library-js.5.17.2/Types.js +198 -0
  137. package/dist/fable_modules/fable-library-js.5.17.2/Unicode.13.0.0.js +4 -0
  138. package/dist/fable_modules/fable-library-js.5.17.2/Uri.js +165 -0
  139. package/dist/fable_modules/fable-library-js.5.17.2/Util.js +807 -0
  140. package/dist/fable_modules/fable-library-js.5.17.2/big.d.ts +338 -0
  141. package/dist/fable_modules/fable-library-js.5.17.2/lib/big.js +829 -0
  142. package/dist/fable_modules/fable-library-js.5.17.2/package.json +24 -0
  143. package/dist/fable_modules/fable-library-js.5.17.2/quotation.js +682 -0
  144. package/package.json +1 -1
@@ -0,0 +1,138 @@
1
+ const littleEndian = true;
2
+ export function isLittleEndian() {
3
+ return littleEndian;
4
+ }
5
+ export function getBytesBoolean(value) {
6
+ const bytes = new Uint8Array(1);
7
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
8
+ view.setUint8(0, value ? 1 : 0);
9
+ return bytes;
10
+ }
11
+ export function getBytesChar(value) {
12
+ const bytes = new Uint8Array(2);
13
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
14
+ view.setUint16(0, value.charCodeAt(0), littleEndian);
15
+ return bytes;
16
+ }
17
+ export function getBytesInt16(value) {
18
+ const bytes = new Uint8Array(2);
19
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
20
+ view.setInt16(0, value, littleEndian);
21
+ return bytes;
22
+ }
23
+ export function getBytesInt32(value) {
24
+ const bytes = new Uint8Array(4);
25
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
26
+ view.setInt32(0, value, littleEndian);
27
+ return bytes;
28
+ }
29
+ export function getBytesInt64(value) {
30
+ const bytes = new Uint8Array(8);
31
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
32
+ view.setBigInt64(0, value, littleEndian);
33
+ return bytes;
34
+ }
35
+ export function getBytesUInt16(value) {
36
+ const bytes = new Uint8Array(2);
37
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
38
+ view.setUint16(0, value, littleEndian);
39
+ return bytes;
40
+ }
41
+ export function getBytesUInt32(value) {
42
+ const bytes = new Uint8Array(4);
43
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
44
+ view.setUint32(0, value, littleEndian);
45
+ return bytes;
46
+ }
47
+ export function getBytesUInt64(value) {
48
+ const bytes = new Uint8Array(8);
49
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
50
+ view.setBigUint64(0, value, littleEndian);
51
+ return bytes;
52
+ }
53
+ export function getBytesSingle(value) {
54
+ const bytes = new Uint8Array(4);
55
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
56
+ view.setFloat32(0, value, littleEndian);
57
+ return bytes;
58
+ }
59
+ export function getBytesDouble(value) {
60
+ const bytes = new Uint8Array(8);
61
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
62
+ view.setFloat64(0, value, littleEndian);
63
+ return bytes;
64
+ }
65
+ export function int64BitsToDouble(value) {
66
+ const buffer = new ArrayBuffer(8);
67
+ const view = new DataView(buffer);
68
+ view.setBigInt64(0, value, littleEndian);
69
+ return view.getFloat64(0, littleEndian);
70
+ }
71
+ export function doubleToInt64Bits(value) {
72
+ const buffer = new ArrayBuffer(8);
73
+ const view = new DataView(buffer);
74
+ view.setFloat64(0, value, littleEndian);
75
+ return view.getBigInt64(0, littleEndian);
76
+ }
77
+ export function toBoolean(bytes, offset) {
78
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
79
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
80
+ return view.getUint8(offset) !== 0;
81
+ }
82
+ export function toChar(bytes, offset) {
83
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
84
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
85
+ const code = view.getUint16(offset, littleEndian);
86
+ return String.fromCharCode(code);
87
+ }
88
+ export function toInt16(bytes, offset) {
89
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
90
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
91
+ return view.getInt16(offset, littleEndian);
92
+ }
93
+ export function toInt32(bytes, offset) {
94
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
95
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
96
+ return view.getInt32(offset, littleEndian);
97
+ }
98
+ export function toInt64(bytes, offset) {
99
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
100
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
101
+ return view.getBigInt64(offset, littleEndian);
102
+ }
103
+ export function toUInt16(bytes, offset) {
104
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
105
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
106
+ return view.getUint16(offset, littleEndian);
107
+ }
108
+ export function toUInt32(bytes, offset) {
109
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
110
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
111
+ return view.getUint32(offset, littleEndian);
112
+ }
113
+ export function toUInt64(bytes, offset) {
114
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
115
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
116
+ return view.getBigUint64(offset, littleEndian);
117
+ }
118
+ export function toSingle(bytes, offset) {
119
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
120
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
121
+ return view.getFloat32(offset, littleEndian);
122
+ }
123
+ export function toDouble(bytes, offset) {
124
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
125
+ const view = new DataView(array.buffer, array.byteOffset, array.byteLength);
126
+ return view.getFloat64(offset, littleEndian);
127
+ }
128
+ export function toString(bytes, offset, count) {
129
+ const array = ArrayBuffer.isView(bytes) ? bytes : Uint8Array.from(bytes);
130
+ let buffer = new Uint8Array(array.buffer, array.byteOffset, array.byteLength);
131
+ if (offset != null && count != null) {
132
+ buffer = buffer.subarray(offset, offset + count);
133
+ }
134
+ else if (offset != null) {
135
+ buffer = buffer.subarray(offset);
136
+ }
137
+ return Array.from(buffer).map((b) => ("0" + b.toString(16)).slice(-2).toUpperCase()).join("-");
138
+ }
@@ -0,0 +1,22 @@
1
+ import { FSharpRef } from "./Types.js";
2
+ import { Exception } from "./Util.js";
3
+ export function tryParse(str, defValue) {
4
+ if (str != null && str.match(/^\s*true\s*$/i)) {
5
+ defValue.contents = true;
6
+ return true;
7
+ }
8
+ else if (str != null && str.match(/^\s*false\s*$/i)) {
9
+ defValue.contents = false;
10
+ return true;
11
+ }
12
+ return false;
13
+ }
14
+ export function parse(str) {
15
+ const defValue = new FSharpRef(false);
16
+ if (tryParse(str, defValue)) {
17
+ return defValue.contents;
18
+ }
19
+ else {
20
+ throw new Exception(`String '${str}' was not recognized as a valid Boolean.`);
21
+ }
22
+ }
@@ -0,0 +1,348 @@
1
+ ---
2
+ last_commit_released: 4a441b1926387a42db6a3a4294acd97b02760ca3
3
+ updaters:
4
+ - package.json:
5
+ file: package.json
6
+ - regex:
7
+ file: ./../Fable.Transforms/Global/Compiler.fs
8
+ pattern: (?<=let JS_LIBRARY_VERSION = ").*(?=")
9
+ ---
10
+
11
+ # Changelog
12
+
13
+ All notable changes to this project will be documented in this file.
14
+
15
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
16
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
17
+
18
+ ## 2.7.1 - 2026-09-11
19
+
20
+ ### 🐞 Bug Fixes
21
+
22
+ * *(js/ts)* Keep the sign of negative decimals below 0.1 ([91d80f18](https://github.com/fable-compiler/Fable/commit/91d80f185fb38e4d23fd9e906037a14daab3e3b9))
23
+ * *(js/ts)* Respect the precision when formatting decimals below 0.1 ([1c02557e](https://github.com/fable-compiler/Fable/commit/1c02557efd113d8d30a922c74c3fc9d1e7168cfd))
24
+ * *(js/ts)* Omit the decimal sign when the rounded result is zero ([ef63087d](https://github.com/fable-compiler/Fable/commit/ef63087d97b61927763023c4b2e5bb16bcd64af2))
25
+
26
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/c49d1ec5d1a491bfff65fe4bd6c71014cac9b321..4a441b1926387a42db6a3a4294acd97b02760ca3)</small></strong>
27
+
28
+ ## 2.7.0 - 2026-09-08
29
+
30
+ ### 🚀 Features
31
+
32
+ * Add Temporal dates and times (opt-in) (#4759) ([3e8f56f7](https://github.com/fable-compiler/Fable/commit/3e8f56f78345fbee8a4394c5452eb212264701f9))
33
+
34
+ ### 🐞 Bug Fixes
35
+
36
+ * *(js/ts)* Match .NET for G, E and custom numeric formats ([6fb03090](https://github.com/fable-compiler/Fable/commit/6fb03090ce328b8c5d6a36422f120dd641aefe3a))
37
+ * *(js/ts)* Allow the E format specifier on Int64 and UInt64 ([c49d1ec5](https://github.com/fable-compiler/Fable/commit/c49d1ec5d1a491bfff65fe4bd6c71014cac9b321))
38
+
39
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/bf694309ae5dbc6bb546d9acc4d091f5e35fe330..c49d1ec5d1a491bfff65fe4bd6c71014cac9b321)</small></strong>
40
+
41
+ ## 2.6.0 - 2026-09-03
42
+
43
+ ### 🚀 Features
44
+
45
+ * *(all)* Quotations: DerivedPatterns, and captured locals as Value nodes (#4919) ([fae5093f](https://github.com/fable-compiler/Fable/commit/fae5093f2801195e865adf1acfaec63f38bbf973))
46
+
47
+ ### 🐞 Bug Fixes
48
+
49
+ * *(all)* Emit instance calls for virtual methods inherited from Object (#4926) ([2fb535a7](https://github.com/fable-compiler/Fable/commit/2fb535a7cd35cef501c56684f205e2dffa3c36e6))
50
+
51
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/619d7afddbaf25108e819abaaa9d8a6503c457d6..bf694309ae5dbc6bb546d9acc4d091f5e35fe330)</small></strong>
52
+
53
+ ## 2.5.1 - 2026-07-24
54
+
55
+ ### 🐞 Bug Fixes
56
+
57
+ * *(js/ts,python)* Inline Option/ValueOption combinators to avoid closures and allocations (#4836) ([61cac646](https://github.com/fable-compiler/Fable/commit/61cac646e6385d82247082dbb90a98b1646560de))
58
+
59
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/6568f35ece227fc30ce84111c8d2e975b09bac00..619d7afddbaf25108e819abaaa9d8a6503c457d6)</small></strong>
60
+
61
+ ## 2.5.0 - 2026-07-15
62
+
63
+ ### 🚀 Features
64
+
65
+ * *(js/ts)* Add `System.IO.Directory` support (Exists, CreateDirectory) (#4798) ([6568f35e](https://github.com/fable-compiler/Fable/commit/6568f35ece227fc30ce84111c8d2e975b09bac00))
66
+ * *(js/ts/python/beam)* Preserve member calls and pattern matches in quotations (#4780) ([55482e6b](https://github.com/fable-compiler/Fable/commit/55482e6b5e6306fd4dbaba5759024313cb26682a))
67
+
68
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/a8d9bf5f0b7cc4560bb107963348e765695c22b6..6568f35ece227fc30ce84111c8d2e975b09bac00)</small></strong>
69
+
70
+ ## 2.4.2 - 2026-07-11
71
+
72
+ ### 🐞 Bug Fixes
73
+
74
+ * *(js/ts)* Async cancellation propagation and continuation double-resolve (#4746) ([c78a9a8e](https://github.com/fable-compiler/Fable/commit/c78a9a8ed20234feddf3375b61e91098f9261bee))
75
+ * *(js/ts)* Date arithmetic: PM parsing, AddMonths day clamp, AddYears offset (#4744) ([be0558eb](https://github.com/fable-compiler/Fable/commit/be0558ebe07f78f7a93ec0c34592d7c066b59fc7))
76
+ * *(js/ts)* Int64 non-decimal parsing and BitConverter .NET mismatches (#4748) ([2704d9c5](https://github.com/fable-compiler/Fable/commit/2704d9c5daab87eb1791c0ea1b6b8b06b987247c))
77
+
78
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/d6ae6bd3790b57b31941a118cdffaeb6a59155c3..a8d9bf5f0b7cc4560bb107963348e765695c22b6)</small></strong>
79
+
80
+ ## 2.4.1 - 2026-07-09
81
+
82
+ ### 🐞 Bug Fixes
83
+
84
+ * MailboxProcessor dropping falsy messages and unit replies ([8299b2e7](https://github.com/fable-compiler/Fable/commit/8299b2e7f690e9136906653155883a08607aa4a4))
85
+ * *(all)* Add `Seq.enumerateTryWith` for try/with in seq, list, array comprehensions (#4750) ([448c90d7](https://github.com/fable-compiler/Fable/commit/448c90d7ccba80ee3d3c38432a2a1d1407f6dc69))
86
+ * *(js/ts)* Match .NET NaN semantics in JS comparison, min and max ([7e5106f9](https://github.com/fable-compiler/Fable/commit/7e5106f9d93cb55ae4aca4656868fa0c53493991))
87
+ * *(js/ts)* BigInteger byte-array corruption, checked conversions, gcd, log2 (#4743) ([f3cb7f2b](https://github.com/fable-compiler/Fable/commit/f3cb7f2bfc9e46e558763867d6c1ba323bcf281c))
88
+ * *(js/ts)* Observable/Event dropping null/undefined/unit values (#4742) ([75bff73b](https://github.com/fable-compiler/Fable/commit/75bff73be3743fe0af37f99c541b10f6978150f3))
89
+ * *(js/ts)* EndsWith regression for empty pattern with non-ordinal comparison ([7793ed7b](https://github.com/fable-compiler/Fable/commit/7793ed7b0fc1f33bf3da6c0ea31607e172726267))
90
+ * *(js/ts/python)* Quote strings with the %A format specifier (#4749) ([75321f3b](https://github.com/fable-compiler/Fable/commit/75321f3b2cb70ea345a0a45d6343cbb6e0de466f))
91
+ * *(ts/js)* `Regex.Replace` count/substitutions and `Regex.Split` semantics (#4741) ([d6ae6bd3](https://github.com/fable-compiler/Fable/commit/d6ae6bd3790b57b31941a118cdffaeb6a59155c3))
92
+
93
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/7f915f1dd66b9a5fbbd56f858b07d39b98519b65..d6ae6bd3790b57b31941a118cdffaeb6a59155c3)</small></strong>
94
+
95
+ ## 2.4.0 - 2026-07-05
96
+
97
+ ### 🚀 Features
98
+
99
+ * *(js/ts)* Add `System.IO.Path` and `System.IO.File` API support ([ec99fac5](https://github.com/fable-compiler/Fable/commit/ec99fac5fd7a9428ee54f66f878ef4edad0904cb))
100
+ * *(js/ts/python)* Add Environment and Console.Error support ([6e082f95](https://github.com/fable-compiler/Fable/commit/6e082f955140676da3388a43b55378ea4ad20f1c))
101
+
102
+ ### 🐞 Bug Fixes
103
+
104
+ * *(js/ts)* DateTime.ToString() and %A are now consistent across all DateTimeKind values (#4714) ([de98b0e4](https://github.com/fable-compiler/Fable/commit/de98b0e466c8824b0ba8b941d20efae70d232abb))
105
+
106
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/c977d78b39225a51c7bd051a1fe363ed0ccbe201..7f915f1dd66b9a5fbbd56f858b07d39b98519b65)</small></strong>
107
+
108
+ ## 2.3.0 - 2026-06-30
109
+
110
+ ### 🚀 Features
111
+
112
+ * *(js/ts)* Map task { } to Promise<T> ([97f54d36](https://github.com/fable-compiler/Fable/commit/97f54d3692e5ba881c249b289c20b4fad5ac27e2))
113
+ * *(js/ts/python/beam)* Add support for `Async.AwaitEvent` (#4693) ([71c98179](https://github.com/fable-compiler/Fable/commit/71c981792b6ff99cd417bb2e70a13a9d55ed72cf))
114
+
115
+ ### 🐞 Bug Fixes
116
+
117
+ * *(js)* Respect StringComparison in String.IndexOf/LastIndexOf (#4681) ([7cb92d52](https://github.com/fable-compiler/Fable/commit/7cb92d522e5dc8dfe51351565504c59a94c2f408))
118
+ * *(js/ts)* Int list is not a union type (#4698) ([ecbecbe7](https://github.com/fable-compiler/Fable/commit/ecbecbe756610fd83a621c005e97eda92bbc332a))
119
+ * *(js/ts)* Pass TypeInfo to getRecordFields to handle None fields in anonymous records (#4704) ([c977d78b](https://github.com/fable-compiler/Fable/commit/c977d78b39225a51c7bd051a1fe363ed0ccbe201))
120
+ * *(ts)* Widen isEnumDefined value parameter to accept any value (#4690) ([0d6498dd](https://github.com/fable-compiler/Fable/commit/0d6498ddf65e0e18918690633da23b04b78479f6))
121
+
122
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/c9b3ee2429a4688946c1936e27df730837428070..c977d78b39225a51c7bd051a1fe363ed0ccbe201)</small></strong>
123
+
124
+ ## 2.2.0 - 2026-06-24
125
+
126
+ ### 🚀 Features
127
+
128
+ * *(all)* Support Exception.InnerException across all targets (#4677) ([c9b3ee24](https://github.com/fable-compiler/Fable/commit/c9b3ee2429a4688946c1936e27df730837428070))
129
+
130
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/15eb83ed36657f75073fb0e1b4cac677e24fc9bb..c9b3ee2429a4688946c1936e27df730837428070)</small></strong>
131
+
132
+ ## 2.1.1 - 2026-06-10
133
+
134
+ ### 🐞 Bug Fixes
135
+
136
+ * *(js/ts)* Reject JS-permissive date strings that .NET TryParse rejects (#4588) ([09003de](https://github.com/fable-compiler/Fable/commit/09003de8bc72e4f73281828d905d49aab7db3f55))
137
+ * *(js/ts)* Make Exception.ToString() return the message instead of "Exception" (#4635) ([4c36f76](https://github.com/fable-compiler/Fable/commit/4c36f761bd378da800e30657c58355bd5324a653))
138
+
139
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/63bcd3d90f37cb3934edcc59b5f54f49ffab3896..15eb83ed36657f75073fb0e1b4cac677e24fc9bb)</small></strong>
140
+
141
+ ## 2.1.0 - 2026-05-28
142
+
143
+ ### 🚀 Features
144
+
145
+ * *(js/ts/python)* Add missing standard DateTime format specifiers for JS/TS and Python (#4547) ([90f5eb7](https://github.com/fable-compiler/Fable/commit/90f5eb7f61710bc679f6fdec30ff5d864984ac08))
146
+ * *(js/ts/python)* Add missing StringBuilder.Append overloads for numeric types (#4568) ([b402c30](https://github.com/fable-compiler/Fable/commit/b402c30d04bfca8644314ba4b21894abfff6a713))
147
+
148
+ ### 🐞 Bug Fixes
149
+
150
+ * [JS/TS] Fix DatetimeOffset.ToString("s") (#4596) ([3ce6f3f](https://github.com/fable-compiler/Fable/commit/3ce6f3fd88cc7f67e34e2bbc311e722c55ffbf45))
151
+ * *(js/ts)* Fix datetime custom format off by one year (#4558) ([83bdbb5](https://github.com/fable-compiler/Fable/commit/83bdbb5b34e70eae203831a3a442d477d15911e1))
152
+ * *(js/ts)* Hex format specifier uses no padding unless precision is specified (#4603) ([ba9857a](https://github.com/fable-compiler/Fable/commit/ba9857a4dcbf7ab1f936241f6619fda43e039040))
153
+ * *(js/ts)* Fix Decimal.GetBits returning incorrect mantissa after round arithmetic result (#4561) ([345bcd4](https://github.com/fable-compiler/Fable/commit/345bcd4b99417b304c71059966126fad74cf3a97))
154
+ * *(js/ts)* Fix G/g format specifier corrupting exponential notation when trimming trailing zeros (#4587) ([773c098](https://github.com/fable-compiler/Fable/commit/773c098a8f7ac7e8db1d4e490dec1294a80321ee))
155
+ * *(js/ts/python)* Fix FSharpOption not recognized as union type in F# reflection (#4529) ([d78a37d](https://github.com/fable-compiler/Fable/commit/d78a37db9f4c25eb51fac8afcd320b4ea36c60a7))
156
+ * *(ts)* Enforce browser-only compatibility in fable-library-ts tsconfig (#4563) ([10c81c1](https://github.com/fable-compiler/Fable/commit/10c81c1361208eb61f5fa78c6704e6fccc068fb1))
157
+
158
+ <strong><small>[View changes on Github](https://github.com/fable-compiler/Fable/compare/b471dc16fc3b5132af77b5974d1669c9b8220cca..63bcd3d90f37cb3934edcc59b5f54f49ffab3896)</small></strong>
159
+
160
+ ## 2.0.0 - 2026-04-21
161
+
162
+ ### Fixed
163
+
164
+ * [JS/TS] Fix `ResizeArray` (`System.Collections.Generic.List`) equality to use reference equality instead of structural equality (fixes #3718)
165
+ * [JS/TS] Fix `String.Contains` ignoring `StringComparison` argument (second argument was silently discarded)
166
+
167
+ ## 2.0.0-rc.6 - 2026-04-07
168
+
169
+ ### Fixed
170
+
171
+ * [JS/TS] Fix `Async.StartChild` with timeout always timing out even when the computation finishes before the deadline (fixes #4481) (by @MangelMaxime)
172
+
173
+ ## 2.0.0-rc.5 - 2026-03-31
174
+
175
+ ### Fixed
176
+
177
+ * [JS/TS] Improve `Regex.Escape` and `Regex.Unescape` handling (by @MangelMaxime)
178
+ * [JS/TS] Fixed quotation for union string cases (by @MangelMaxime)
179
+
180
+ ## 2.0.0-rc.4 - 2026-03-19
181
+
182
+ ### Fixed
183
+
184
+ * [JS/TS] Fix `Unchecked.defaultof<char>` being emitted as `null` instead of `'\0'` (by @MangelMaxime)
185
+
186
+ ## 2.0.0-rc.3 - 2026-03-10
187
+
188
+ ### Fixed
189
+
190
+ * [TS] Expose optional `stack` property on `Exception` (by @MangelMaxime)
191
+
192
+ ## 2.0.0-rc.2 - 2026-03-03
193
+
194
+ ### Fixed
195
+
196
+ * [JS/TS] Allows compiling `fable-library-ts` for Browser environment (by @goswinr)
197
+
198
+ ## 2.0.0-rc.1 - 2026-02-26
199
+
200
+ ## 2.0.0-beta.7 - 2026-02-03
201
+
202
+ * [JS/TS] Fix `StringBuilder.Chars` getter and setter (by @MangelMaxime)
203
+
204
+ ## 2.0.0-beta.6 - 2025-12-26
205
+
206
+ ### Fixed
207
+
208
+ * [JS/TS] Fix #4305 `DateTimeOffset.Now` returns wrong time (by @ncave)
209
+
210
+ ## 2.0.0-beta.5 - 2025-11-19
211
+
212
+ ### Changed
213
+
214
+ * [JS/TS] Replace the deprecated `substr` method with `slice` (by @Thorium)
215
+
216
+ ## 2.0.0-beta.4 - 2025-07-25
217
+
218
+ ### Added
219
+
220
+ * [JS/TS] Initial support for Nullable Reference Types (by @ncave)
221
+
222
+ ## 2.0.0-beta.3 - 2025-03-14
223
+
224
+ ### Fixed
225
+
226
+ * [JS/TS] Make `nullArgCheck` report the same error message as on .NET (by @MangelMaxime)
227
+
228
+ ## 2.0.0-beta.2 - 2025-03-03
229
+
230
+ * [JS/TS] Fix #4049: decimal/bigint to integer conversion checks (by @ncave)
231
+ * [JS/TS] Fix `decimal` to `char` conversion checks (by @ManngelMaxime)
232
+ * [JS/TS] Propagate non-captured exception when running `Async.Start` or `Async.StartImmediate` (by @MangelMaxime)
233
+ * [JS/TS] Remove `Async.RunSynchronously` (by @MangelMaxime)
234
+ * [JS/TS] Change signature of `startWithContinuations` to always require all its arguments (by @MangelMaxime)
235
+ * [JS/TS] Fix short `DateTime` and `DateTimeOffset` short format strings (by @MangelMaxime)
236
+ * [JS/TS] Add `C` and `c` format for numeric types (by @MangelMaxime)
237
+ * [JS/TS] Add `B` and `b` format for numeric types (by @MangelMaxime)
238
+ * [JS/TS] Add `n` format for numeric types (by @MangelMaxime)
239
+ * [JS/TS] Fix numeric formats (by @MangelMaxime)
240
+
241
+ ## 2.0.0-beta.1 - 2025-02-16
242
+
243
+ * Compiled with Fable 5.0.0-alpha.10
244
+
245
+ ## 1.10.0 - 2025-01-23
246
+
247
+ ### Added
248
+
249
+ * [JS/TS] Add `StringBuiler.Append(c: char, repeatCount: int)` overload (by @roboz0r)
250
+
251
+ ## 1.9.0 - 2025-01-09
252
+
253
+ ### Added
254
+
255
+ * [JS/TS] Add new `TimSpane` overload support coming from .NET 9 (by @MangelMaxime)
256
+
257
+ ### Fixed
258
+
259
+ * [JS/TS] Fix `DateTimeOffset.ToLocalTime` (by @MangelMaxime)
260
+
261
+ ## 1.8.0 - 2024-11-19
262
+
263
+ * [JS/TS] Fix `h` in `DateTime.ToString` (@MangelMaxime)
264
+ * [JS/TS] Fix `hh` in `DateTime.ToString` (@MangelMaxime)
265
+
266
+ ## 1.7.0 - 2024-11-19
267
+
268
+ ### Fixed
269
+
270
+ * [JS/TS] Added missing IReadOnlyCollection helpers (#3953)
271
+
272
+ ## 1.6.0 - 2024-10-02
273
+
274
+ ### Removed
275
+
276
+ * Remove `Async` (from `Async.ts`) class (by @MangelMaxime)
277
+
278
+ ### Changed
279
+
280
+ * Renamed `IAsync` to `Async` in `AsyncBuilder.ts` (#3906) (by @ncave)
281
+
282
+ ## 1.5.0 - 2024-09-19
283
+
284
+ ### Added
285
+
286
+ * [JS/TS] Add support for `OrdinalIgnoreCase` overload for `String.EndsWith` (#3892) (by @goswinr)
287
+ * [JS/TS] Add `uri.Port`, `uri.IsDefaultPort` (by @MangelMaxime)
288
+
289
+ ### Fixed
290
+
291
+ * [JS/TS] Fix escaping of `{` and `}` in FormattableString (#3890) (by @roboz0r)
292
+ * [JS/TS] Fix `uri.Host` to return the host name without the port (by @MangelMaxime)
293
+ * [JS/TS] Fix TypeScript compilation by resolving type of `jsOptions` (#3894) (by @MangelMaxime)
294
+
295
+ ## 1.4.3 - 2024-09-04
296
+
297
+ * [JS/TS] Fixed Decimal comparisons (#3884) (by @ncave)
298
+
299
+ ## 1.4.2 - 2024-06-13
300
+
301
+ ### Fixed
302
+
303
+ * [JS/TS] Fixed BigInt.ToDecimal with negative values (#3500) (by @ncave)
304
+
305
+ ## 1.4.1 - 2024-06-13
306
+
307
+ ### Fixed
308
+
309
+ * [JS/TS] Fixed DateTime.MinValue, DateTime.MaxValue (#3836) (by @ncave)
310
+
311
+ ## 1.4.0 - 2024-03-20
312
+
313
+ ### Added
314
+
315
+ * [JS/TS] Add `ConditionalWeakTable` (by @chkn)
316
+
317
+ ## 1.3.0 - 2024-03-18
318
+
319
+ * [JS/TS] `Boolean.tryParse` should not crash on `null` string (@goswinr)
320
+
321
+ ## 1.2.0 - 2024-03-01
322
+
323
+ ### Fixed
324
+
325
+ * [GH-3772](https://github.com/fable-compiler/Fable/pull/3772) [JS/TS] Re-implement `DateTime.ToString` custom format handling (by @MangelMaxime)
326
+
327
+ It now supports all custom format specifiers, and behave as if `CultureInfo.InvariantCulture` was used (Fable does not support Globalization).
328
+
329
+ ## 1.1.0 - 2024-02-20
330
+
331
+ ### Added
332
+
333
+ #### JavaScript
334
+
335
+ * [GH-3759](https://github.com/fable-compiler/Fable/issues/3759) Add `StringBuilder.Chars` (by @MangelMaxime)
336
+ * Add `StringBuilder.AppendFormat` (by @ncave)
337
+ * [GH-3748](https://github.com/fable-compiler/Fable/pull/3748) Add `Array.getItem` and `Array.setItem` (by @MangelMaxime)
338
+
339
+ ## 1.0.0 - 2024-02-13
340
+
341
+ * Release stable version
342
+
343
+ ## 1.0.0-beta-001 - 2024-02-12
344
+
345
+ ### Changed
346
+
347
+ * Separate `Result` from `Choice`
348
+ * Released as part of Fable 4.12.0