functionalscript 0.36.0 → 0.37.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.
Files changed (255) hide show
  1. package/fs/asn.1/module.f.js +1 -1
  2. package/fs/asserts/proof.f.js +1 -1
  3. package/fs/base_n/module.f.js +3 -3
  4. package/fs/base_n/proof.f.js +3 -3
  5. package/fs/{base128 → basen/base128}/module.f.d.ts +1 -1
  6. package/fs/{base128 → basen/base128}/module.f.js +1 -1
  7. package/fs/{base128 → basen/base128}/proof.f.js +3 -3
  8. package/fs/{base64 → basen/base64}/module.f.d.ts +2 -2
  9. package/fs/{base64 → basen/base64}/module.f.js +25 -15
  10. package/fs/{base64 → basen/base64}/proof.f.d.ts +1 -0
  11. package/fs/{base64 → basen/base64}/proof.f.js +11 -5
  12. package/fs/{cbase32 → basen/cbase32}/module.f.d.ts +2 -2
  13. package/fs/{cbase32 → basen/cbase32}/module.f.js +2 -2
  14. package/fs/{cbase32 → basen/cbase32}/proof.f.js +1 -1
  15. package/fs/bnf/data/module.f.js +4 -4
  16. package/fs/bnf/data/proof.f.js +6 -6
  17. package/fs/bnf/descent/module.f.js +6 -6
  18. package/fs/bnf/descent/proof.f.js +6 -6
  19. package/fs/bnf/ll1/module.f.js +9 -9
  20. package/fs/bnf/ll1/proof.f.js +6 -6
  21. package/fs/bnf/module.f.js +4 -4
  22. package/fs/bnf/proof.f.js +2 -2
  23. package/fs/bnf/testlib.f.js +1 -1
  24. package/fs/cas/cli/module.f.js +7 -7
  25. package/fs/cas/cli/proof.f.js +8 -8
  26. package/fs/cas/mcp/module.f.js +95 -55
  27. package/fs/cas/mcp/proof.f.d.ts +3 -1
  28. package/fs/cas/mcp/proof.f.js +79 -51
  29. package/fs/cas/module.f.js +10 -10
  30. package/fs/cas/proof.f.d.ts +4 -2
  31. package/fs/cas/proof.f.js +10 -10
  32. package/fs/ci/bun/module.f.js +2 -2
  33. package/fs/ci/common/module.f.d.ts +2 -2
  34. package/fs/ci/common/module.f.js +4 -4
  35. package/fs/ci/config/module.f.d.ts +19 -20
  36. package/fs/ci/config/module.f.js +3 -5
  37. package/fs/ci/deno/module.f.js +8 -4
  38. package/fs/ci/module.f.js +9 -9
  39. package/fs/ci/node/module.f.d.ts +1 -1
  40. package/fs/ci/node/module.f.js +3 -5
  41. package/fs/ci/playwright/module.f.js +3 -3
  42. package/fs/ci/proof.f.js +14 -14
  43. package/fs/ci/rust/module.f.js +2 -2
  44. package/fs/cli/module.f.js +3 -3
  45. package/fs/cli/proof.f.js +3 -3
  46. package/fs/{types → common}/monoid/module.f.d.ts +1 -1
  47. package/fs/crypto/hmac/module.f.js +2 -2
  48. package/fs/crypto/hmac/proof.f.js +5 -5
  49. package/fs/crypto/pow/module.f.js +3 -3
  50. package/fs/crypto/pow/proof.f.js +4 -4
  51. package/fs/crypto/secp/module.f.js +2 -2
  52. package/fs/crypto/secp/proof.f.js +3 -3
  53. package/fs/crypto/sha2/module.f.js +2 -2
  54. package/fs/crypto/sha2/proof.f.js +6 -6
  55. package/fs/crypto/sign/module.f.js +4 -4
  56. package/fs/crypto/vdf/module.f.js +1 -1
  57. package/fs/crypto/vdf/proof.f.js +1 -1
  58. package/fs/dev/module.f.js +6 -6
  59. package/fs/dev/package_json/module.f.js +6 -6
  60. package/fs/dev/package_json/proof.f.js +3 -3
  61. package/fs/dev/proof.f.js +2 -2
  62. package/fs/djs/ast/module.f.js +2 -2
  63. package/fs/djs/ast/proof.f.js +4 -4
  64. package/fs/djs/examples/m.f.d.ts +1 -1
  65. package/fs/djs/module.f.d.ts +1 -1
  66. package/fs/djs/module.f.js +5 -5
  67. package/fs/djs/parser/module.f.js +4 -4
  68. package/fs/djs/parser/proof.f.js +7 -7
  69. package/fs/djs/proof.f.js +3 -3
  70. package/fs/djs/serializer/module.f.js +6 -6
  71. package/fs/djs/serializer/proof.f.js +4 -4
  72. package/fs/djs/tokenizer/module.f.js +3 -3
  73. package/fs/djs/tokenizer/proof.f.js +5 -5
  74. package/fs/djs/tokenizer-new/proof.f.js +6 -6
  75. package/fs/djs/transpiler/module.f.d.ts +5 -0
  76. package/fs/djs/transpiler/module.f.js +21 -11
  77. package/fs/djs/transpiler/proof.f.js +5 -5
  78. package/fs/effects/memory/module.f.js +4 -4
  79. package/fs/effects/memory/proof.f.js +3 -3
  80. package/fs/effects/module.f.js +1 -1
  81. package/fs/effects/node/memory/module.js +2 -2
  82. package/fs/effects/node/memory/proof.js +3 -3
  83. package/fs/effects/node/module.f.js +7 -7
  84. package/fs/effects/node/module.js +10 -10
  85. package/fs/effects/node/virtual/module.f.js +7 -7
  86. package/fs/effects/node/virtual/proof.f.d.ts +1 -0
  87. package/fs/effects/node/virtual/proof.f.js +11 -4
  88. package/fs/effects/proof.f.js +2 -2
  89. package/fs/emergent_testing/all.test.js +2 -2
  90. package/fs/emergent_testing/example.f.d.ts +1 -1
  91. package/fs/emergent_testing/module.f.js +6 -6
  92. package/fs/emergent_testing/proof.f.d.ts +19 -17
  93. package/fs/emergent_testing/proof.f.js +7 -7
  94. package/fs/emergent_testing/scenarios/all.js +1 -1
  95. package/fs/fsc/bnf.f.js +2 -2
  96. package/fs/fsc/json.f.js +1 -1
  97. package/fs/fsc/module.f.js +7 -7
  98. package/fs/fsc/proof.f.js +4 -4
  99. package/fs/fsm/module.f.js +9 -9
  100. package/fs/fsm/proof.f.js +7 -7
  101. package/fs/js/tokenizer/module.f.js +7 -7
  102. package/fs/js/tokenizer/proof.f.js +5 -5
  103. package/fs/mcp/module.f.d.ts +13 -13
  104. package/fs/mcp/module.f.js +8 -8
  105. package/fs/mcp/proof.f.js +5 -5
  106. package/fs/mcp/stdio/module.f.d.ts +2 -2
  107. package/fs/mcp/stdio/module.f.js +10 -10
  108. package/fs/mcp/stdio/proof.f.js +10 -10
  109. package/fs/{html → media/html}/module.f.d.ts +3 -3
  110. package/fs/{html → media/html}/module.f.js +9 -9
  111. package/fs/media/json/module.f.d.ts +50 -0
  112. package/fs/{json → media/json}/module.f.js +7 -7
  113. package/fs/{json → media/json}/parser/module.f.d.ts +2 -2
  114. package/fs/{json → media/json}/parser/module.f.js +7 -7
  115. package/fs/{json → media/json}/parser/proof.f.js +6 -6
  116. package/fs/{json → media/json}/proof.f.js +4 -4
  117. package/fs/media/json/rpc/module.f.d.ts +114 -0
  118. package/fs/{json → media/json}/rpc/module.f.js +3 -3
  119. package/fs/{json → media/json}/rpc/proof.f.js +4 -4
  120. package/fs/media/json/schema/module.f.d.ts +78 -0
  121. package/fs/{json → media/json}/schema/module.f.js +2 -2
  122. package/fs/{json → media/json}/schema/proof.f.js +3 -3
  123. package/fs/{json → media/json}/serializer/module.f.d.ts +1 -1
  124. package/fs/{json → media/json}/serializer/module.f.js +2 -2
  125. package/fs/{json → media/json}/serializer/proof.f.js +2 -2
  126. package/fs/{json → media/json}/tokenizer/module.f.d.ts +2 -2
  127. package/fs/{json → media/json}/tokenizer/module.f.js +4 -4
  128. package/fs/{json → media/json}/tokenizer/proof.f.js +5 -5
  129. package/fs/media/module.f.d.ts +37 -0
  130. package/fs/media/module.f.js +24 -0
  131. package/fs/media/proof.f.d.ts +9 -0
  132. package/fs/media/proof.f.js +57 -0
  133. package/fs/media/revision/module.f.d.ts +51 -0
  134. package/fs/media/revision/module.f.js +110 -0
  135. package/fs/media/revision/proof.f.d.ts +29 -0
  136. package/fs/media/revision/proof.f.js +119 -0
  137. package/fs/{mime → media/type}/module.f.d.ts +6 -6
  138. package/fs/{mime → media/type}/module.f.js +6 -6
  139. package/fs/{mime → media/type}/proof.f.js +6 -6
  140. package/fs/module.f.d.ts +2 -0
  141. package/fs/{fjs/module.f.js → module.f.js} +8 -8
  142. package/fs/module.js +4 -0
  143. package/fs/path/module.f.js +2 -2
  144. package/fs/{fjs/proof.f.js → proof.f.js} +4 -4
  145. package/fs/sul/id/module.f.js +9 -9
  146. package/fs/sul/id/proof.f.js +5 -5
  147. package/fs/sul/level/hash/module.f.js +3 -3
  148. package/fs/sul/level/hash/proof.f.js +3 -3
  149. package/fs/sul/level/literal/module.f.js +5 -5
  150. package/fs/sul/level/literal/proof.f.js +3 -3
  151. package/fs/sul/module.f.js +3 -3
  152. package/fs/sul/proof.f.js +3 -3
  153. package/fs/text/ascii/proof.f.js +3 -3
  154. package/fs/text/code_point/module.f.js +2 -2
  155. package/fs/text/code_point/proof.f.js +1 -1
  156. package/fs/text/module.f.js +5 -5
  157. package/fs/text/proof.f.js +4 -4
  158. package/fs/text/sgr/module.f.js +2 -2
  159. package/fs/text/sgr/proof.f.js +2 -2
  160. package/fs/text/utf16/module.f.js +5 -5
  161. package/fs/text/utf16/proof.f.js +4 -4
  162. package/fs/text/utf8/module.f.js +22 -17
  163. package/fs/text/utf8/proof.f.js +5 -5
  164. package/fs/types/array/module.f.js +1 -1
  165. package/fs/types/array/proof.f.js +3 -3
  166. package/fs/types/bigfloat/module.f.js +1 -1
  167. package/fs/types/bigfloat/proof.f.js +1 -1
  168. package/fs/types/bigint/module.f.js +2 -2
  169. package/fs/types/bigint/proof.f.js +3 -3
  170. package/fs/types/bit_vec/module.f.js +8 -8
  171. package/fs/types/bit_vec/proof.f.js +5 -5
  172. package/fs/types/btree/find/module.f.js +1 -1
  173. package/fs/types/btree/find/proof.f.d.ts +3 -1
  174. package/fs/types/btree/find/proof.f.js +7 -7
  175. package/fs/types/btree/module.f.js +2 -2
  176. package/fs/types/btree/proof.f.d.ts +11 -5
  177. package/fs/types/btree/proof.f.js +7 -7
  178. package/fs/types/btree/remove/module.f.js +4 -4
  179. package/fs/types/btree/remove/proof.f.d.ts +5 -2
  180. package/fs/types/btree/remove/proof.f.js +5 -5
  181. package/fs/types/btree/set/module.f.js +3 -3
  182. package/fs/types/btree/set/proof.f.js +4 -4
  183. package/fs/types/byte_set/module.f.js +2 -2
  184. package/fs/types/byte_set/proof.f.js +4 -4
  185. package/fs/types/function/compare/proof.f.js +1 -1
  186. package/fs/types/function/operator/proof.f.d.ts +21 -10
  187. package/fs/types/function/operator/proof.f.js +1 -1
  188. package/fs/types/function/proof.f.js +1 -1
  189. package/fs/types/list/module.f.js +2 -2
  190. package/fs/types/list/proof.f.d.ts +15 -7
  191. package/fs/types/list/proof.f.js +4 -4
  192. package/fs/types/map/proof.f.js +2 -2
  193. package/fs/types/nibble_set/proof.f.js +2 -2
  194. package/fs/types/nullable/module.f.js +2 -2
  195. package/fs/types/nullable/proof.f.js +1 -1
  196. package/fs/types/number/module.f.js +5 -5
  197. package/fs/types/number/proof.f.js +1 -1
  198. package/fs/types/object/module.f.js +4 -4
  199. package/fs/types/object/proof.f.js +1 -1
  200. package/fs/types/ordered_map/module.f.js +6 -6
  201. package/fs/types/ordered_map/proof.f.js +3 -3
  202. package/fs/types/patricia_trie/proof.f.d.ts +11 -5
  203. package/fs/types/patricia_trie/proof.f.js +2 -2
  204. package/fs/types/prime_field/module.f.js +2 -2
  205. package/fs/types/prime_field/proof.f.js +2 -2
  206. package/fs/types/range/proof.f.js +1 -1
  207. package/fs/types/range_map/module.f.js +4 -4
  208. package/fs/types/range_map/proof.f.js +7 -7
  209. package/fs/types/result/module.js +1 -1
  210. package/fs/types/result/proof.f.d.ts +9 -4
  211. package/fs/types/rtti/common/module.f.js +4 -4
  212. package/fs/types/rtti/module.f.d.ts +2 -2
  213. package/fs/types/rtti/module.f.js +1 -1
  214. package/fs/types/rtti/parse/module.f.js +5 -5
  215. package/fs/types/rtti/parse/proof.f.js +2 -2
  216. package/fs/types/rtti/ts/module.f.js +1 -1
  217. package/fs/types/rtti/ts/proof.f.js +2 -2
  218. package/fs/types/rtti/validate/module.f.js +4 -4
  219. package/fs/types/rtti/validate/proof.f.js +2 -2
  220. package/fs/types/sorted_list/module.f.js +3 -3
  221. package/fs/types/sorted_list/proof.f.js +6 -6
  222. package/fs/types/sorted_set/module.f.js +1 -1
  223. package/fs/types/sorted_set/proof.f.js +6 -6
  224. package/fs/types/string/module.f.js +4 -4
  225. package/fs/types/string/proof.f.js +2 -2
  226. package/fs/types/string_set/module.f.js +6 -6
  227. package/fs/types/string_set/proof.f.js +1 -1
  228. package/fs/types/ts/proof.f.d.ts +18 -18
  229. package/fs/types/ts/proof.f.js +1 -1
  230. package/fs/types/uint8array/module.f.js +4 -4
  231. package/fs/types/uint8array/proof.f.js +4 -4
  232. package/fs/website/module.f.js +3 -3
  233. package/fs/website/proof.f.js +3 -3
  234. package/package.json +8 -8
  235. package/fs/fjs/module.f.d.ts +0 -2
  236. package/fs/fjs/module.js +0 -4
  237. package/fs/json/module.f.d.ts +0 -50
  238. package/fs/json/rpc/module.f.d.ts +0 -114
  239. package/fs/json/schema/module.f.d.ts +0 -77
  240. /package/fs/{base128 → basen/base128}/proof.f.d.ts +0 -0
  241. /package/fs/{cbase32 → basen/cbase32}/proof.f.d.ts +0 -0
  242. /package/fs/{types → common}/monoid/module.f.js +0 -0
  243. /package/fs/{types → common}/monoid/proof.f.d.ts +0 -0
  244. /package/fs/{types → common}/monoid/proof.f.js +0 -0
  245. /package/fs/{html → media/html}/proof.f.d.ts +0 -0
  246. /package/fs/{html → media/html}/proof.f.js +0 -0
  247. /package/fs/{json → media/json}/parser/proof.f.d.ts +0 -0
  248. /package/fs/{json → media/json}/proof.f.d.ts +0 -0
  249. /package/fs/{json → media/json}/rpc/proof.f.d.ts +0 -0
  250. /package/fs/{json → media/json}/schema/proof.f.d.ts +0 -0
  251. /package/fs/{json → media/json}/serializer/proof.f.d.ts +0 -0
  252. /package/fs/{json → media/json}/tokenizer/proof.f.d.ts +0 -0
  253. /package/fs/{mime → media/type}/proof.f.d.ts +0 -0
  254. /package/fs/{fjs/module.d.ts → module.d.ts} +0 -0
  255. /package/fs/{fjs/proof.f.d.ts → proof.f.d.ts} +0 -0
@@ -7,37 +7,36 @@
7
7
  */
8
8
  export declare const images: {
9
9
  readonly ubuntu: {
10
- readonly intel: "ubuntu-26.04";
11
- readonly arm: "ubuntu-26.04-arm";
10
+ readonly intel: 'ubuntu-26.04';
11
+ readonly arm: 'ubuntu-26.04-arm';
12
12
  };
13
13
  readonly macos: {
14
- readonly intel: "macos-26-intel";
15
- readonly arm: "macos-26";
14
+ readonly intel: 'macos-26-intel';
15
+ readonly arm: 'macos-26';
16
16
  };
17
17
  readonly windows: {
18
- readonly intel: "windows-2025";
19
- readonly arm: "windows-11-arm";
18
+ readonly intel: 'windows-2025';
19
+ readonly arm: 'windows-11-arm';
20
20
  };
21
21
  };
22
- export declare const functionalscript: "0.35.2";
22
+ export declare const functionalscript: '0.36.0';
23
23
  export declare const bun = "1.3.14";
24
- export declare const deno = "2.9.1";
24
+ export declare const deno = "2.9.2";
25
25
  export declare const playwright = "1.61.1";
26
26
  export declare const node: {
27
- readonly default: "26.4.0";
28
- readonly node22: "22.23.1";
29
- readonly node24: "24.18.0";
27
+ readonly default: '26.5.0';
28
+ readonly node22: '22.23.1';
29
+ readonly node24: '24.18.0';
30
30
  };
31
31
  export declare const wasmtime = "46.0.1";
32
32
  export declare const wasmer = "7.2.0";
33
- export declare const tsgo = "7.0.0-dev.20260707.2";
34
33
  export declare const actions: {
35
- readonly 'actions/checkout': "v7";
36
- readonly 'actions/setup-node': "v6.4.0";
37
- readonly 'actions/cache': "v6.1.0";
38
- readonly 'denoland/setup-deno': "v2.0.5";
39
- readonly 'oven-sh/setup-bun': "v2.2.0";
40
- readonly 'bytecodealliance/actions/wasmtime/setup': "v1.1.3";
41
- readonly 'wasmerio/setup-wasmer': "v3.1";
42
- readonly 'dtolnay/rust-toolchain': "1.96.1";
34
+ readonly 'actions/checkout': 'v7';
35
+ readonly 'actions/setup-node': 'v6.4.0';
36
+ readonly 'actions/cache': 'v6.1.0';
37
+ readonly 'denoland/setup-deno': 'v2.0.5';
38
+ readonly 'oven-sh/setup-bun': 'v2.2.0';
39
+ readonly 'bytecodealliance/actions/wasmtime/setup': 'v1.1.3';
40
+ readonly 'wasmerio/setup-wasmer': 'v3.1';
41
+ readonly 'dtolnay/rust-toolchain': '1.96.1';
43
42
  };
@@ -24,16 +24,16 @@ export const images = {
24
24
  // published FunctionalScript release; do not tie it to package.json's current
25
25
  // in-repo version.
26
26
  // https://www.npmjs.com/package/functionalscript
27
- export const functionalscript = '0.35.2';
27
+ export const functionalscript = '0.36.0';
28
28
  // https://bun.sh/
29
29
  export const bun = '1.3.14';
30
30
  // https://deno.com/
31
- export const deno = '2.9.1';
31
+ export const deno = '2.9.2';
32
32
  // https://www.npmjs.com/package/playwright
33
33
  export const playwright = '1.61.1';
34
34
  // https://nodejs.org/en/download
35
35
  export const node = {
36
- default: '26.4.0',
36
+ default: '26.5.0',
37
37
  node22: '22.23.1',
38
38
  node24: '24.18.0',
39
39
  };
@@ -41,8 +41,6 @@ export const node = {
41
41
  export const wasmtime = '46.0.1';
42
42
  // https://github.com/wasmerio/wasmer/releases
43
43
  export const wasmer = '7.2.0';
44
- // https://www.npmjs.com/package/@typescript/native-preview?activeTab=versions
45
- export const tsgo = '7.0.0-dev.20260707.2';
46
44
  // GitHub Action versions used by CI step builders. The key is the action
47
45
  // `owner/name`; call sites compose the full ref as
48
46
  // `` `${name}@${actions[name]}` ``.
@@ -4,13 +4,17 @@
4
4
  *
5
5
  * @module
6
6
  */
7
- import { deno } from "../config/module.f.js";
8
- import { clean, install, test, uses } from "../common/module.f.js";
7
+ import { deno } from '../config/module.f.js';
8
+ import { clean, install, test, uses } from '../common/module.f.js';
9
9
  const denoTest = 'deno test --allow-read --allow-env --allow-sys';
10
10
  export const denoSteps = (version) => clean([
11
11
  install(uses('denoland/setup-deno', { 'deno-version': deno })),
12
- install({ run: `deno install -g -A npm:functionalscript@${version}` }),
13
- test({ run: `deno run -A npm:functionalscript@${version} t` }),
12
+ // We need --minimum-dependency-age=0 for functionalscript because we would like to use
13
+ // the latest version of the package even if it is not yet 24 hours old,
14
+ // which is the default minimum dependency age for Deno installs.
15
+ // This way we can test the latest version of the package in CI without waiting for 24 hours.
16
+ install({ run: `deno install -g -A --minimum-dependency-age=0 npm:functionalscript@${version}` }),
17
+ test({ run: `deno run -A --minimum-dependency-age=0 npm:functionalscript@${version} t` }),
14
18
  test({ run: 'deno install --frozen' }),
15
19
  test({ run: `${denoTest} --coverage && deno coverage --include='.*module\\.f\\.ts'` }),
16
20
  ]);
package/fs/ci/module.f.js CHANGED
@@ -3,15 +3,15 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { pure } from "../effects/module.f.js";
7
- import { access, writeUtf8File } from "../effects/node/module.f.js";
8
- import { functionalscript, images } from "./config/module.f.js";
9
- import { architecture, os, toSteps, ubuntuArm } from "./common/module.f.js";
10
- import { rustPlatformSteps, rustWasmSteps } from "./rust/module.f.js";
11
- import { nodeMainSteps, nodeVersionJobs } from "./node/module.f.js";
12
- import { playwrightJob } from "./playwright/module.f.js";
13
- import { bunSteps } from "./bun/module.f.js";
14
- import { denoSteps } from "./deno/module.f.js";
6
+ import { pure } from '../effects/module.f.js';
7
+ import { access, writeUtf8File } from '../effects/node/module.f.js';
8
+ import { functionalscript, images } from './config/module.f.js';
9
+ import { architecture, os, toSteps, ubuntuArm } from './common/module.f.js';
10
+ import { rustPlatformSteps, rustWasmSteps } from './rust/module.f.js';
11
+ import { nodeMainSteps, nodeVersionJobs } from './node/module.f.js';
12
+ import { playwrightJob } from './playwright/module.f.js';
13
+ import { bunSteps } from './bun/module.f.js';
14
+ import { denoSteps } from './deno/module.f.js';
15
15
  const job = (rust, nodeExtra) => (o) => (a) => {
16
16
  const id = `${o}-${a}`;
17
17
  const image = images[o][a];
@@ -3,4 +3,4 @@ export declare const major: (v: string) => string;
3
3
  export declare const basicNode: (version: string) => (extra: readonly MetaStep[]) => readonly MetaStep[];
4
4
  export declare const platformNodeSteps: (version: string) => readonly MetaStep[];
5
5
  export declare const nodeVersionJobs: (version: string) => Jobs;
6
- export declare const nodeMainSteps: (version: string) => readonly MetaStep[];
6
+ export declare const nodeMainSteps: typeof platformNodeSteps;
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * CI step builders for Node.js: setup-node installation, platform smoke tests,
3
- * per-version canonical jobs, and the main TSGO step.
3
+ * per-version canonical jobs.
4
4
  *
5
5
  * @module
6
6
  */
7
- import { node, tsgo } from "../config/module.f.js";
8
- import { clean, install, test, ubuntuArm, uses } from "../common/module.f.js";
7
+ import { node } from '../config/module.f.js';
8
+ import { clean, install, test, ubuntuArm, uses } from '../common/module.f.js';
9
9
  export const major = (v) => v.split('.')[0];
10
10
  const installNode = (version) => uses('actions/setup-node', { 'node-version': version });
11
11
  const nodeInstall = (v) => [
@@ -33,9 +33,7 @@ const node24Steps = clean([
33
33
  ]);
34
34
  const node26Steps = clean([
35
35
  ...nodeInstall(node.default),
36
- install({ run: `npm install -g @typescript/native-preview@${tsgo}` }),
37
36
  test({ run: 'npx tsc' }),
38
- test({ run: 'tsgo' }),
39
37
  test({ run: 'npm run cov' }),
40
38
  test({ run: 'npm pack' }),
41
39
  ]);
@@ -4,9 +4,9 @@
4
4
  *
5
5
  * @module
6
6
  */
7
- import { images, node, playwright } from "../config/module.f.js";
8
- import { install, test, toSteps, uses } from "../common/module.f.js";
9
- import { basicNode } from "../node/module.f.js";
7
+ import { images, node, playwright } from '../config/module.f.js';
8
+ import { install, test, toSteps, uses } from '../common/module.f.js';
9
+ import { basicNode } from '../node/module.f.js';
10
10
  const playwrightImage = images.ubuntu.arm;
11
11
  export const playwrightJob = {
12
12
  'runs-on': playwrightImage,
package/fs/ci/proof.f.js CHANGED
@@ -1,13 +1,13 @@
1
- import { ci, main } from "./module.f.js";
2
- import { functionalscript } from "./config/module.f.js";
3
- import { utf8, utf8ToString } from "../text/module.f.js";
4
- import { empty as emptyVec, isVec } from "../types/bit_vec/module.f.js";
5
- import { test, ubuntu, parseGitHubAction } from "./common/module.f.js";
6
- import { assert } from "../asserts/module.f.js";
7
- import { emptyState, virtual } from "../effects/node/virtual/module.f.js";
8
- import { parse as jsonParse } from "../json/module.f.js";
9
- import { unwrap } from "../types/result/module.f.js";
10
- import { definedValues } from "../types/object/module.f.js";
1
+ import { ci, main } from './module.f.js';
2
+ import { functionalscript } from './config/module.f.js';
3
+ import { utf8, utf8ToString } from '../text/module.f.js';
4
+ import { empty as emptyVec, isVec } from '../types/bit_vec/module.f.js';
5
+ import { test, ubuntu, parseGitHubAction } from './common/module.f.js';
6
+ import { assert } from '../asserts/module.f.js';
7
+ import { emptyState, virtual } from '../effects/node/virtual/module.f.js';
8
+ import { parse as jsonParse } from '../media/json/module.f.js';
9
+ import { unwrap } from '../types/result/module.f.js';
10
+ import { definedValues } from '../types/object/module.f.js';
11
11
  const hasRun = (cmd) => (gha) => definedValues(gha.jobs).some(job => job.steps.some(step => step.run?.includes(cmd)));
12
12
  const hasRunInJob = (jobId, cmd) => (gha) => gha.jobs[jobId]?.steps.some(step => step.run?.includes(cmd)) ?? false;
13
13
  const makeState = (rust, packageJson) => ({
@@ -104,20 +104,20 @@ export const proof = {
104
104
  functionalscriptPackage: () => {
105
105
  const gha = runDefault('{"name":"functionalscript"}');
106
106
  assert(hasRun('fjs t')(gha), 'expected fjs self-test');
107
- assert(hasRun(`deno run -A npm:functionalscript@${functionalscript} t`)(gha), 'expected deno self-test');
107
+ assert(hasRun(`deno run -A --minimum-dependency-age=0 npm:functionalscript@${functionalscript} t`)(gha), 'expected deno self-test');
108
108
  assert(hasRun(`bunx functionalscript@${functionalscript} t`)(gha), 'expected bun self-test');
109
109
  },
110
110
  otherPackage: () => {
111
111
  const gha = runDefault('{"name":"other-package"}');
112
- assert(hasRun(`deno run -A npm:functionalscript@${functionalscript} t`)(gha), 'expected canonical deno self-test');
112
+ assert(hasRun(`deno run -A --minimum-dependency-age=0 npm:functionalscript@${functionalscript} t`)(gha), 'expected canonical deno self-test');
113
113
  assert(hasRun(`bunx functionalscript@${functionalscript} t`)(gha), 'expected canonical bun self-test');
114
114
  },
115
115
  configuredPackageVersion: () => {
116
116
  const gha = runDefault('{"name":"other-package","version":"1.2.3"}');
117
117
  assert(hasRun(`npm install -g functionalscript@${functionalscript}`)(gha), 'expected configured-version platform install');
118
- assert(hasRun(`deno install -g -A npm:functionalscript@${functionalscript}`)(gha), 'expected configured-version deno install cache');
118
+ assert(hasRun(`deno install -g -A --minimum-dependency-age=0 npm:functionalscript@${functionalscript}`)(gha), 'expected configured-version deno install cache');
119
119
  assert(hasRun('deno install --frozen')(gha), 'expected deno lock install');
120
- assert(hasRun(`deno run -A npm:functionalscript@${functionalscript} t`)(gha), 'expected configured-version deno install');
120
+ assert(hasRun(`deno run -A --minimum-dependency-age=0 npm:functionalscript@${functionalscript} t`)(gha), 'expected configured-version deno install');
121
121
  assert(hasRun("deno test --allow-read --allow-env --allow-sys --coverage && deno coverage --include='.*module\\.f\\.ts'")(gha), 'expected limited-permission deno coverage');
122
122
  assert(hasRun(`bun install -g functionalscript@${functionalscript}`)(gha), 'expected configured-version bun cache');
123
123
  assert(hasRun('bun install --frozen-lockfile')(gha), 'expected bun lock install');
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * @module
8
8
  */
9
- import { wasmer, wasmtime } from "../config/module.f.js";
10
- import { install, test, uses } from "../common/module.f.js";
9
+ import { wasmer, wasmtime } from '../config/module.f.js';
10
+ import { install, test, uses } from '../common/module.f.js';
11
11
  const cargoCommand = (tool, target, config) => {
12
12
  const to = target ? ` --target ${target}` : '';
13
13
  const co = config ? ` --config ${config}` : '';
@@ -1,6 +1,6 @@
1
- import { errorExit, log } from "../effects/node/module.f.js";
2
- import { pure } from "../effects/module.f.js";
3
- import { at, fromEntries } from "../types/object/module.f.js";
1
+ import { errorExit, log } from '../effects/node/module.f.js';
2
+ import { pure } from '../effects/module.f.js';
3
+ import { at, fromEntries } from '../types/object/module.f.js';
4
4
  const helpMeta = { names: ['help', 'h', '?'], description: 'Print this help message' };
5
5
  export const dispatch = (commands) => (options) => {
6
6
  const [cmd, ...rest] = options.args;
package/fs/cli/proof.f.js CHANGED
@@ -1,6 +1,6 @@
1
- import { pure } from "../effects/module.f.js";
2
- import { defaultNodeProgramOptions, emptyState, virtual } from "../effects/node/virtual/module.f.js";
3
- import { dispatch } from "./module.f.js";
1
+ import { pure } from '../effects/module.f.js';
2
+ import { defaultNodeProgramOptions, emptyState, virtual } from '../effects/node/virtual/module.f.js';
3
+ import { dispatch } from './module.f.js';
4
4
  const makeOptions = (args) => ({ ...defaultNodeProgramOptions, args });
5
5
  const echoCommands = [
6
6
  {
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @module
7
7
  */
8
- import type { Fold, Reduce } from '../function/operator/module.f.ts';
8
+ import type { Fold, Reduce } from '../../types/function/operator/module.f.ts';
9
9
  /**
10
10
  * Represents a monoid, an algebraic structure with a binary operation
11
11
  * and an identity (neutral) element.
@@ -17,8 +17,8 @@
17
17
  * if (r !== vec(256n)(0xf7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8n)) { throw r }
18
18
  * ```
19
19
  */
20
- import { length, msb, vec, vec8, repeat } from "../../types/bit_vec/module.f.js";
21
- import { computeSync } from "../sha2/module.f.js";
20
+ import { length, msb, vec, vec8, repeat } from '../../types/bit_vec/module.f.js';
21
+ import { computeSync } from '../sha2/module.f.js';
22
22
  const { concat, xor } = msb;
23
23
  /**
24
24
  * Outer padding.
@@ -1,8 +1,8 @@
1
- import { assertEq } from "../../asserts/module.f.js";
2
- import { utf8 } from "../../text/module.f.js";
3
- import { uint, vec } from "../../types/bit_vec/module.f.js";
4
- import { sha256, sha384, sha512 } from "../sha2/module.f.js";
5
- import { hmac } from "./module.f.js";
1
+ import { assertEq } from '../../asserts/module.f.js';
2
+ import { utf8 } from '../../text/module.f.js';
3
+ import { uint, vec } from '../../types/bit_vec/module.f.js';
4
+ import { sha256, sha384, sha512 } from '../sha2/module.f.js';
5
+ import { hmac } from './module.f.js';
6
6
  export const proof = {
7
7
  example: () => {
8
8
  const r = hmac(sha256)(utf8('key'))(utf8('The quick brown fox jumps over the lazy dog'));
@@ -4,9 +4,9 @@
4
4
  *
5
5
  * @module
6
6
  */
7
- import { mask } from "../../types/bigint/module.f.js";
8
- import { uint } from "../../types/bit_vec/module.f.js";
9
- import { computeSync, sha256 } from "../sha2/module.f.js";
7
+ import { mask } from '../../types/bigint/module.f.js';
8
+ import { uint } from '../../types/bit_vec/module.f.js';
9
+ import { computeSync, sha256 } from '../sha2/module.f.js';
10
10
  const nBitsMantissa = mask(24n);
11
11
  const mantissaSign = 0x00800000n;
12
12
  const mantissaBody = 0x007fffffn;
@@ -1,7 +1,7 @@
1
- import { utf8 } from "../../text/module.f.js";
2
- import { empty, uint } from "../../types/bit_vec/module.f.js";
3
- import { computeSync, sha224, sha256 } from "../sha2/module.f.js";
4
- import { bitcoinPow, genesisNBits, genesisTarget, pow, sha256Pow, targetFromNBits } from "./module.f.js";
1
+ import { utf8 } from '../../text/module.f.js';
2
+ import { empty, uint } from '../../types/bit_vec/module.f.js';
3
+ import { computeSync, sha224, sha256 } from '../sha2/module.f.js';
4
+ import { bitcoinPow, genesisNBits, genesisTarget, pow, sha256Pow, targetFromNBits } from './module.f.js';
5
5
  const p256 = sha256Pow;
6
6
  const p224 = pow(sha224);
7
7
  const sample = utf8('functionalscript pow proof');
@@ -1,5 +1,5 @@
1
- import { prime_field, sqrt } from "../../types/prime_field/module.f.js";
2
- import { repeat } from "../../types/monoid/module.f.js";
1
+ import { prime_field, sqrt } from '../../types/prime_field/module.f.js';
2
+ import { repeat } from '../../common/monoid/module.f.js';
3
3
  /**
4
4
  * Constructs an elliptic curve with the given initialization parameters.
5
5
  *
@@ -1,6 +1,6 @@
1
- import { assert } from "../../asserts/module.f.js";
2
- import { prime_field } from "../../types/prime_field/module.f.js";
3
- import { curve, secp256k1, secp192r1, secp256r1, eq, secp384r1, secp521r1 } from "./module.f.js";
1
+ import { assert } from '../../asserts/module.f.js';
2
+ import { prime_field } from '../../types/prime_field/module.f.js';
3
+ import { curve, secp256k1, secp192r1, secp256r1, eq, secp384r1, secp521r1 } from './module.f.js';
4
4
  const poker = (param) => () => {
5
5
  // (c ^ x) ^ y = c ^ (x * y)
6
6
  // c ^ ((x * y) * (1/x * 1/y)) = c
@@ -1,6 +1,6 @@
1
1
  import { mask } from "../../types/bigint/module.f.js";
2
- import { vec, length, empty, msb, chunkList, uint } from "../../types/bit_vec/module.f.js";
3
- import { fold } from "../../types/list/module.f.js";
2
+ import { vec, length, empty, msb, chunkList, uint } from '../../types/bit_vec/module.f.js';
3
+ import { fold } from '../../types/list/module.f.js';
4
4
  const { concat, front } = msb;
5
5
  // `chunkList(msb)` depends on neither `chunkLength` nor `v`/`state` — shared
6
6
  // across every `base(...)` config (32-bit and 64-bit SHA-2 variants).
@@ -1,8 +1,8 @@
1
- import { utf8 } from "../../text/module.f.js";
2
- import { repeat, uint, vec } from "../../types/bit_vec/module.f.js";
3
- import { flip } from "../../types/function/module.f.js";
4
- import { map } from "../../types/list/module.f.js";
5
- import { base32, base64, computeSync, sha224, sha256, sha384, sha512, sha512x224, sha512x256, } from "./module.f.js";
1
+ import { utf8 } from '../../text/module.f.js';
2
+ import { repeat, uint, vec } from '../../types/bit_vec/module.f.js';
3
+ import { flip } from '../../types/function/module.f.js';
4
+ import { map } from '../../types/list/module.f.js';
5
+ import { base32, base64, computeSync, sha224, sha256, sha384, sha512, sha512x224, sha512x256, } from './module.f.js';
6
6
  const checkEmpty = ({ init, end, hashLength }) => (x) => {
7
7
  const result = end(init);
8
8
  if (result !== vec(hashLength)(x)) {
@@ -155,7 +155,7 @@ export const proof = {
155
155
  // O(n²); now near-linear (~40-60ms on Node, well under `bun test`'s 5s
156
156
  // per-test limit on Bun). No timing assertion (duration varies by
157
157
  // engine/machine); relies on the test runner's own per-test timing to
158
- // catch a regression, same convention as `fs/base64/proof.f.ts`
158
+ // catch a regression, same convention as `fs/basen/base64/proof.f.ts`
159
159
  // `encodeLargeVecIsSlow`.
160
160
  appendLargeVecIsFast: () => {
161
161
  const big = repeat(100000n)(vec(8n)(0xffn));
@@ -1,7 +1,7 @@
1
- import { bitLength, divUp8, roundUp8 } from "../../types/bigint/module.f.js";
2
- import { empty, length, msb, repeat, unpack, vec, vec8 } from "../../types/bit_vec/module.f.js";
3
- import { hmac } from "../hmac/module.f.js";
4
- import { computeSync } from "../sha2/module.f.js";
1
+ import { bitLength, divUp8, roundUp8 } from '../../types/bigint/module.f.js';
2
+ import { empty, length, msb, repeat, unpack, vec, vec8 } from '../../types/bit_vec/module.f.js';
3
+ import { hmac } from '../hmac/module.f.js';
4
+ import { computeSync } from '../sha2/module.f.js';
5
5
  /**
6
6
  * Builds RFC6979 helper conversions for a subgroup order.
7
7
  *
@@ -14,7 +14,7 @@
14
14
  * if (y === null || !sloth.verify(steps)(x)(y)) { throw y }
15
15
  * ```
16
16
  */
17
- import { modSqrt, prime_field } from "../../types/prime_field/module.f.js";
17
+ import { modSqrt, prime_field } from '../../types/prime_field/module.f.js';
18
18
  /** Sloth VDF modulus (3072-bit safe prime, same as reference implementations). */
19
19
  export const p = 0xf2346eae06a233882814ff16f6a076d3b8f2161c5c92171c0b7b84eed4e9475bcce0c13bde34512afdf90f41ab9b86dcf834f85e04b27fadee712eed23a1d4e58cd1b09d9bfb10696d614f119179a40c49dc8762edc29e8115263913237e14718cbcd4dc6b35bace13f8cdb1b5156c50c47b4aaee0820c874e2864cb854367c3n;
20
20
  const repeatSeq = (steps) => (f) => (value) => {
@@ -1,4 +1,4 @@
1
- import { sloth, p } from "./module.f.js";
1
+ import { sloth, p } from './module.f.js';
2
2
  const { eval: evalVdf, verify, modSqrt, quadRes } = sloth;
3
3
  // `eval(steps)(x)` expected values for {@link p}; same Sloth algorithm as
4
4
  // https://github.com/hyperhyperspace/pulsar/blob/main/src/model/SlothVDF.ts and
@@ -3,12 +3,12 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { all, import_, readdir } from "../effects/node/module.f.js";
7
- import { cmp as strCmp } from "../types/string/module.f.js";
8
- import { unwrap } from "../types/result/module.f.js";
9
- import { pure } from "../effects/module.f.js";
10
- import { join, relativize, toPosix } from "../path/module.f.js";
11
- import { assert } from "../asserts/module.f.js";
6
+ import { all, import_, readdir } from '../effects/node/module.f.js';
7
+ import { cmp as strCmp } from '../types/string/module.f.js';
8
+ import { unwrap } from '../types/result/module.f.js';
9
+ import { pure } from '../effects/module.f.js';
10
+ import { join, relativize, toPosix } from '../path/module.f.js';
11
+ import { assert } from '../asserts/module.f.js';
12
12
  /**
13
13
  * Returns `true` if the file should be loaded for proof discovery.
14
14
  *
@@ -1,9 +1,9 @@
1
- import { parse as jsonParse } from "../../json/parser/module.f.js";
2
- import { tokenize as jsonTokenize } from "../../json/tokenizer/module.f.js";
3
- import { stringToList } from "../../text/utf16/module.f.js";
4
- import { option, record, string } from "../../types/rtti/module.f.js";
5
- import { validate as rttiValidate } from "../../types/rtti/validate/module.f.js";
6
- import { error, ok } from "../../types/result/module.f.js";
1
+ import { parse as jsonParse } from '../../media/json/parser/module.f.js';
2
+ import { tokenize as jsonTokenize } from '../../media/json/tokenizer/module.f.js';
3
+ import { stringToList } from '../../text/utf16/module.f.js';
4
+ import { option, record, string } from '../../types/rtti/module.f.js';
5
+ import { validate as rttiValidate } from '../../types/rtti/validate/module.f.js';
6
+ import { error, ok } from '../../types/result/module.f.js';
7
7
  export const packageJsonSchema = {
8
8
  name: option(string),
9
9
  version: option(string),
@@ -1,6 +1,6 @@
1
- import { assert } from "../../asserts/module.f.js";
2
- import { unwrap } from "../../types/result/module.f.js";
3
- import { validatePackageJson, validatePackageJsonText, } from "./module.f.js";
1
+ import { assert } from '../../asserts/module.f.js';
2
+ import { unwrap } from '../../types/result/module.f.js';
3
+ import { validatePackageJson, validatePackageJsonText, } from './module.f.js';
4
4
  export const proof = {
5
5
  parseMetadata: () => {
6
6
  const result = unwrap(validatePackageJsonText('{"name":"x","version":"1.0.0","scripts":{"test":"node test.js"}}'));
package/fs/dev/proof.f.js CHANGED
@@ -1,5 +1,5 @@
1
- import { assert, todo } from "../asserts/module.f.js";
2
- import { shouldLoad } from "./module.f.js";
1
+ import { assert, todo } from '../asserts/module.f.js';
2
+ import { shouldLoad } from './module.f.js';
3
3
  export const proof = {
4
4
  shouldLoad: () => {
5
5
  assert(shouldLoad('foo.f.ts'));
@@ -1,5 +1,5 @@
1
- import { concat, fold, last, map, take, toArray } from "../../types/list/module.f.js";
2
- import { fromEntries } from "../../types/object/module.f.js";
1
+ import { concat, fold, last, map, take, toArray } from '../../types/list/module.f.js';
2
+ import { fromEntries } from '../../types/object/module.f.js';
3
3
  const { entries } = Object;
4
4
  const foldOp = ast => state => {
5
5
  const djs = toDjs(state)(ast);
@@ -1,7 +1,7 @@
1
- import { sort } from "../../types/object/module.f.js";
2
- import { run } from "./module.f.js";
3
- import { stringifyAsTree } from "../serializer/module.f.js";
4
- import { assertEq } from "../../asserts/module.f.js";
1
+ import { sort } from '../../types/object/module.f.js';
2
+ import { run } from './module.f.js';
3
+ import { stringifyAsTree } from '../serializer/module.f.js';
4
+ import { assertEq } from '../../asserts/module.f.js';
5
5
  export const proof = {
6
6
  test: () => {
7
7
  const djs = run([1])([]);
@@ -1,2 +1,2 @@
1
- declare const _default: "text";
1
+ declare const _default = "text";
2
2
  export default _default;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import type { Primitive as JsonPrimitive } from '../json/module.f.ts';
6
+ import type { Primitive as JsonPrimitive } from '../media/json/module.f.ts';
7
7
  import { type Effect } from '../effects/module.f.ts';
8
8
  import { type WriteFile, type ReadFile, type Write } from '../effects/node/module.f.ts';
9
9
  export type Object = {
@@ -1,8 +1,8 @@
1
- import { transpile } from "./transpiler/module.f.js";
2
- import { stringify, stringifyAsTree } from "./serializer/module.f.js";
3
- import { sort } from "../types/object/module.f.js";
4
- import { pure } from "../effects/module.f.js";
5
- import { writeUtf8File, error, } from "../effects/node/module.f.js";
1
+ import { transpile } from './transpiler/module.f.js';
2
+ import { stringify, stringifyAsTree } from './serializer/module.f.js';
3
+ import { sort } from '../types/object/module.f.js';
4
+ import { pure } from '../effects/module.f.js';
5
+ import { writeUtf8File, error, } from '../effects/node/module.f.js';
6
6
  export const compile = args => {
7
7
  if (args.length < 2) {
8
8
  return error('Error: Requires 2 or more arguments')
@@ -3,10 +3,10 @@
3
3
  *
4
4
  * @module
5
5
  */
6
- import { error, ok } from "../../types/result/module.f.js";
7
- import { fold, first, drop, toArray, length, concat } from "../../types/list/module.f.js";
8
- import { setReplace, at } from "../../types/ordered_map/module.f.js";
9
- import { fromMap } from "../../types/object/module.f.js";
6
+ import { error, ok } from '../../types/result/module.f.js';
7
+ import { fold, first, drop, toArray, length, concat } from '../../types/list/module.f.js';
8
+ import { setReplace, at } from '../../types/ordered_map/module.f.js';
9
+ import { fromMap } from '../../types/object/module.f.js';
10
10
  const parseInitialOp = ({ token, metadata }) => state => {
11
11
  switch (token.kind) {
12
12
  case 'ws':
@@ -1,10 +1,10 @@
1
- import { parseFromTokens } from "./module.f.js";
2
- import { tokenize } from "../tokenizer/module.f.js";
3
- import { toArray } from "../../types/list/module.f.js";
4
- import { sort } from "../../types/object/module.f.js";
5
- import { stringToList } from "../../text/utf16/module.f.js";
6
- import { stringifyAsTree } from "../serializer/module.f.js";
7
- import { stringify } from "../../json/module.f.js";
1
+ import { parseFromTokens } from './module.f.js';
2
+ import { tokenize } from '../tokenizer/module.f.js';
3
+ import { toArray } from '../../types/list/module.f.js';
4
+ import { sort } from '../../types/object/module.f.js';
5
+ import { stringToList } from '../../text/utf16/module.f.js';
6
+ import { stringifyAsTree } from '../serializer/module.f.js';
7
+ import { stringify } from '../../media/json/module.f.js';
8
8
  const tokenizeString = s => toArray(tokenize(stringToList(s))(''));
9
9
  const stringifyDjsModule = stringifyAsTree(sort);
10
10
  export const proof = {
package/fs/djs/proof.f.js CHANGED
@@ -1,6 +1,6 @@
1
- import { compile } from "./module.f.js";
2
- import { virtual, emptyState } from "../effects/node/virtual/module.f.js";
3
- import { utf8, utf8ToString } from "../text/module.f.js";
1
+ import { compile } from './module.f.js';
2
+ import { virtual, emptyState } from '../effects/node/virtual/module.f.js';
3
+ import { utf8, utf8ToString } from '../text/module.f.js';
4
4
  const readOutput = (root, path) => {
5
5
  const file = root[path];
6
6
  if (!Array.isArray(file) || file.length === 0) {
@@ -1,10 +1,10 @@
1
- import { fold } from "../../types/list/module.f.js";
2
- import { concat } from "../../types/string/module.f.js";
3
- import { flat, flatMap, map, concat as listConcat } from "../../types/list/module.f.js";
1
+ import { fold } from '../../types/list/module.f.js';
2
+ import { concat } from '../../types/string/module.f.js';
3
+ import { flat, flatMap, map, concat as listConcat } from '../../types/list/module.f.js';
4
4
  const { entries } = Object;
5
- import { compose, fn } from "../../types/function/module.f.js";
6
- import { serialize as bigintSerialize } from "../../types/bigint/module.f.js";
7
- import { objectWrap, arrayWrap, stringSerialize, numberSerialize, nullSerialize, boolSerialize } from "../../json/serializer/module.f.js";
5
+ import { compose, fn } from '../../types/function/module.f.js';
6
+ import { serialize as bigintSerialize } from '../../types/bigint/module.f.js';
7
+ import { objectWrap, arrayWrap, stringSerialize, numberSerialize, nullSerialize, boolSerialize } from '../../media/json/serializer/module.f.js';
8
8
  const colon = [':'];
9
9
  export const undefinedSerialize = ['undefined'];
10
10
  /**