json-as 1.3.0 → 1.3.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 (256) hide show
  1. package/CHANGELOG.md +417 -0
  2. package/README.md +96 -14
  3. package/assembly/deserialize/index/typedarray.ts +14 -0
  4. package/assembly/deserialize/simd/string.ts +3 -3
  5. package/assembly/deserialize/simple/string.ts +88 -2
  6. package/assembly/deserialize/swar/string.ts +8 -11
  7. package/assembly/index.ts +137 -181
  8. package/assembly/serialize/index/arbitrary.ts +5 -0
  9. package/assembly/serialize/index/typedarray.ts +65 -0
  10. package/assembly/serialize/simd/string.ts +3 -11
  11. package/assembly/serialize/simple/arbitrary.ts +6 -0
  12. package/assembly/serialize/simple/string.ts +3 -11
  13. package/assembly/serialize/swar/string.ts +3 -11
  14. package/assembly/util/swar.ts +49 -0
  15. package/lib/as-bs.ts +88 -69
  16. package/package.json +19 -1
  17. package/transform/lib/index.d.ts +1 -0
  18. package/transform/lib/index.d.ts.map +1 -1
  19. package/transform/lib/index.js +153 -32
  20. package/transform/lib/index.js.map +1 -1
  21. package/transform/lib/linkers/custom.d.ts.map +1 -1
  22. package/transform/lib/linkers/custom.js +7 -3
  23. package/transform/lib/linkers/custom.js.map +1 -1
  24. package/transform/lib/types.d.ts +2 -0
  25. package/transform/lib/types.d.ts.map +1 -1
  26. package/transform/lib/types.js +13 -0
  27. package/transform/lib/types.js.map +1 -1
  28. package/.as-test/coverage/naive/coverage.arbitrary.spec.ts.log.json +0 -5628
  29. package/.as-test/coverage/naive/coverage.array.spec.ts.log.json +0 -5187
  30. package/.as-test/coverage/naive/coverage.bool.spec.ts.log.json +0 -5187
  31. package/.as-test/coverage/naive/coverage.box.spec.ts.log.json +0 -5187
  32. package/.as-test/coverage/naive/coverage.custom.spec.ts.log.json +0 -5187
  33. package/.as-test/coverage/naive/coverage.date.spec.ts.log.json +0 -5187
  34. package/.as-test/coverage/naive/coverage.enum.spec.ts.log.json +0 -5187
  35. package/.as-test/coverage/naive/coverage.float.spec.ts.log.json +0 -5187
  36. package/.as-test/coverage/naive/coverage.generics.spec.ts.log.json +0 -5187
  37. package/.as-test/coverage/naive/coverage.hierarchy.spec.ts.log.json +0 -5187
  38. package/.as-test/coverage/naive/coverage.integer.spec.ts.log.json +0 -5187
  39. package/.as-test/coverage/naive/coverage.map.spec.ts.log.json +0 -5187
  40. package/.as-test/coverage/naive/coverage.namespace.spec.ts.log.json +0 -5187
  41. package/.as-test/coverage/naive/coverage.null.spec.ts.log.json +0 -5187
  42. package/.as-test/coverage/naive/coverage.raw.spec.ts.log.json +0 -5187
  43. package/.as-test/coverage/naive/coverage.resolving.spec.ts.log.json +0 -5628
  44. package/.as-test/coverage/naive/coverage.set.spec.ts.log.json +0 -5187
  45. package/.as-test/coverage/naive/coverage.staticarray.spec.ts.log.json +0 -5187
  46. package/.as-test/coverage/naive/coverage.string.spec.ts.log.json +0 -5187
  47. package/.as-test/coverage/naive/coverage.struct.spec.ts.log.json +0 -5187
  48. package/.as-test/coverage/naive/coverage.types.spec.ts.log.json +0 -5187
  49. package/.as-test/coverage/simd/coverage.arbitrary.spec.ts.log.json +0 -5628
  50. package/.as-test/coverage/simd/coverage.array.spec.ts.log.json +0 -5187
  51. package/.as-test/coverage/simd/coverage.bool.spec.ts.log.json +0 -5187
  52. package/.as-test/coverage/simd/coverage.box.spec.ts.log.json +0 -5187
  53. package/.as-test/coverage/simd/coverage.custom.spec.ts.log.json +0 -5187
  54. package/.as-test/coverage/simd/coverage.date.spec.ts.log.json +0 -5187
  55. package/.as-test/coverage/simd/coverage.enum.spec.ts.log.json +0 -5187
  56. package/.as-test/coverage/simd/coverage.float.spec.ts.log.json +0 -5187
  57. package/.as-test/coverage/simd/coverage.generics.spec.ts.log.json +0 -5187
  58. package/.as-test/coverage/simd/coverage.hierarchy.spec.ts.log.json +0 -5187
  59. package/.as-test/coverage/simd/coverage.integer.spec.ts.log.json +0 -5187
  60. package/.as-test/coverage/simd/coverage.map.spec.ts.log.json +0 -5187
  61. package/.as-test/coverage/simd/coverage.namespace.spec.ts.log.json +0 -5187
  62. package/.as-test/coverage/simd/coverage.null.spec.ts.log.json +0 -5187
  63. package/.as-test/coverage/simd/coverage.raw.spec.ts.log.json +0 -5187
  64. package/.as-test/coverage/simd/coverage.resolving.spec.ts.log.json +0 -5628
  65. package/.as-test/coverage/simd/coverage.set.spec.ts.log.json +0 -5187
  66. package/.as-test/coverage/simd/coverage.staticarray.spec.ts.log.json +0 -5187
  67. package/.as-test/coverage/simd/coverage.string.spec.ts.log.json +0 -5187
  68. package/.as-test/coverage/simd/coverage.struct.spec.ts.log.json +0 -5187
  69. package/.as-test/coverage/simd/coverage.types.spec.ts.log.json +0 -5187
  70. package/.as-test/coverage/swar/coverage.arbitrary.spec.ts.log.json +0 -5628
  71. package/.as-test/coverage/swar/coverage.array.spec.ts.log.json +0 -5187
  72. package/.as-test/coverage/swar/coverage.bool.spec.ts.log.json +0 -5187
  73. package/.as-test/coverage/swar/coverage.box.spec.ts.log.json +0 -5187
  74. package/.as-test/coverage/swar/coverage.custom.spec.ts.log.json +0 -5187
  75. package/.as-test/coverage/swar/coverage.date.spec.ts.log.json +0 -5187
  76. package/.as-test/coverage/swar/coverage.enum.spec.ts.log.json +0 -5187
  77. package/.as-test/coverage/swar/coverage.float.spec.ts.log.json +0 -5187
  78. package/.as-test/coverage/swar/coverage.generics.spec.ts.log.json +0 -5187
  79. package/.as-test/coverage/swar/coverage.hierarchy.spec.ts.log.json +0 -5187
  80. package/.as-test/coverage/swar/coverage.integer.spec.ts.log.json +0 -5187
  81. package/.as-test/coverage/swar/coverage.map.spec.ts.log.json +0 -5187
  82. package/.as-test/coverage/swar/coverage.namespace.spec.ts.log.json +0 -5187
  83. package/.as-test/coverage/swar/coverage.null.spec.ts.log.json +0 -5187
  84. package/.as-test/coverage/swar/coverage.raw.spec.ts.log.json +0 -5187
  85. package/.as-test/coverage/swar/coverage.resolving.spec.ts.log.json +0 -5628
  86. package/.as-test/coverage/swar/coverage.set.spec.ts.log.json +0 -5187
  87. package/.as-test/coverage/swar/coverage.staticarray.spec.ts.log.json +0 -5187
  88. package/.as-test/coverage/swar/coverage.string.spec.ts.log.json +0 -5187
  89. package/.as-test/coverage/swar/coverage.struct.spec.ts.log.json +0 -5187
  90. package/.as-test/coverage/swar/coverage.types.spec.ts.log.json +0 -5187
  91. package/.as-test/logs/naive/run.arbitrary.spec.ts.log.json +0 -943
  92. package/.as-test/logs/naive/run.array.spec.ts.log.json +0 -1053
  93. package/.as-test/logs/naive/run.bool.spec.ts.log.json +0 -257
  94. package/.as-test/logs/naive/run.box.spec.ts.log.json +0 -353
  95. package/.as-test/logs/naive/run.custom.spec.ts.log.json +0 -309
  96. package/.as-test/logs/naive/run.date.spec.ts.log.json +0 -397
  97. package/.as-test/logs/naive/run.enum.spec.ts.log.json +0 -343
  98. package/.as-test/logs/naive/run.float.spec.ts.log.json +0 -453
  99. package/.as-test/logs/naive/run.generics.spec.ts.log.json +0 -393
  100. package/.as-test/logs/naive/run.hierarchy.spec.ts.log.json +0 -325
  101. package/.as-test/logs/naive/run.integer.spec.ts.log.json +0 -373
  102. package/.as-test/logs/naive/run.map.spec.ts.log.json +0 -247
  103. package/.as-test/logs/naive/run.namespace.spec.ts.log.json +0 -361
  104. package/.as-test/logs/naive/run.null.spec.ts.log.json +0 -273
  105. package/.as-test/logs/naive/run.raw.spec.ts.log.json +0 -309
  106. package/.as-test/logs/naive/run.resolving.spec.ts.log.json +0 -273
  107. package/.as-test/logs/naive/run.set.spec.ts.log.json +0 -733
  108. package/.as-test/logs/naive/run.staticarray.spec.ts.log.json +0 -931
  109. package/.as-test/logs/naive/run.string.spec.ts.log.json +0 -2289
  110. package/.as-test/logs/naive/run.struct.spec.ts.log.json +0 -523
  111. package/.as-test/logs/naive/run.types.spec.ts.log.json +0 -273
  112. package/.as-test/logs/naive/test.arbitrary.spec.ts.log.json +0 -943
  113. package/.as-test/logs/naive/test.array.spec.ts.log.json +0 -1053
  114. package/.as-test/logs/naive/test.bool.spec.ts.log.json +0 -257
  115. package/.as-test/logs/naive/test.box.spec.ts.log.json +0 -353
  116. package/.as-test/logs/naive/test.custom.spec.ts.log.json +0 -309
  117. package/.as-test/logs/naive/test.date.spec.ts.log.json +0 -397
  118. package/.as-test/logs/naive/test.enum.spec.ts.log.json +0 -343
  119. package/.as-test/logs/naive/test.float.spec.ts.log.json +0 -453
  120. package/.as-test/logs/naive/test.generics.spec.ts.log.json +0 -393
  121. package/.as-test/logs/naive/test.hierarchy.spec.ts.log.json +0 -325
  122. package/.as-test/logs/naive/test.integer.spec.ts.log.json +0 -373
  123. package/.as-test/logs/naive/test.log.json +0 -2289
  124. package/.as-test/logs/naive/test.map.spec.ts.log.json +0 -247
  125. package/.as-test/logs/naive/test.namespace.spec.ts.log.json +0 -361
  126. package/.as-test/logs/naive/test.null.spec.ts.log.json +0 -273
  127. package/.as-test/logs/naive/test.raw.spec.ts.log.json +0 -309
  128. package/.as-test/logs/naive/test.resolving.spec.ts.log.json +0 -273
  129. package/.as-test/logs/naive/test.set.spec.ts.log.json +0 -733
  130. package/.as-test/logs/naive/test.staticarray.spec.ts.log.json +0 -931
  131. package/.as-test/logs/naive/test.string.spec.ts.log.json +0 -2345
  132. package/.as-test/logs/naive/test.struct.spec.ts.log.json +0 -523
  133. package/.as-test/logs/naive/test.types.spec.ts.log.json +0 -273
  134. package/.as-test/logs/simd/run.arbitrary.spec.ts.log.json +0 -943
  135. package/.as-test/logs/simd/run.array.spec.ts.log.json +0 -1053
  136. package/.as-test/logs/simd/run.bool.spec.ts.log.json +0 -257
  137. package/.as-test/logs/simd/run.box.spec.ts.log.json +0 -353
  138. package/.as-test/logs/simd/run.custom.spec.ts.log.json +0 -309
  139. package/.as-test/logs/simd/run.date.spec.ts.log.json +0 -397
  140. package/.as-test/logs/simd/run.enum.spec.ts.log.json +0 -343
  141. package/.as-test/logs/simd/run.float.spec.ts.log.json +0 -453
  142. package/.as-test/logs/simd/run.generics.spec.ts.log.json +0 -393
  143. package/.as-test/logs/simd/run.hierarchy.spec.ts.log.json +0 -325
  144. package/.as-test/logs/simd/run.integer.spec.ts.log.json +0 -373
  145. package/.as-test/logs/simd/run.map.spec.ts.log.json +0 -247
  146. package/.as-test/logs/simd/run.namespace.spec.ts.log.json +0 -361
  147. package/.as-test/logs/simd/run.null.spec.ts.log.json +0 -273
  148. package/.as-test/logs/simd/run.raw.spec.ts.log.json +0 -309
  149. package/.as-test/logs/simd/run.resolving.spec.ts.log.json +0 -273
  150. package/.as-test/logs/simd/run.set.spec.ts.log.json +0 -733
  151. package/.as-test/logs/simd/run.staticarray.spec.ts.log.json +0 -931
  152. package/.as-test/logs/simd/run.string.spec.ts.log.json +0 -2289
  153. package/.as-test/logs/simd/run.struct.spec.ts.log.json +0 -523
  154. package/.as-test/logs/simd/run.types.spec.ts.log.json +0 -273
  155. package/.as-test/logs/simd/test.arbitrary.spec.ts.log.json +0 -943
  156. package/.as-test/logs/simd/test.array.spec.ts.log.json +0 -1053
  157. package/.as-test/logs/simd/test.bool.spec.ts.log.json +0 -257
  158. package/.as-test/logs/simd/test.box.spec.ts.log.json +0 -353
  159. package/.as-test/logs/simd/test.custom.spec.ts.log.json +0 -309
  160. package/.as-test/logs/simd/test.date.spec.ts.log.json +0 -397
  161. package/.as-test/logs/simd/test.enum.spec.ts.log.json +0 -343
  162. package/.as-test/logs/simd/test.float.spec.ts.log.json +0 -453
  163. package/.as-test/logs/simd/test.generics.spec.ts.log.json +0 -393
  164. package/.as-test/logs/simd/test.hierarchy.spec.ts.log.json +0 -325
  165. package/.as-test/logs/simd/test.integer.spec.ts.log.json +0 -373
  166. package/.as-test/logs/simd/test.log.json +0 -11371
  167. package/.as-test/logs/simd/test.map.spec.ts.log.json +0 -247
  168. package/.as-test/logs/simd/test.namespace.spec.ts.log.json +0 -361
  169. package/.as-test/logs/simd/test.null.spec.ts.log.json +0 -273
  170. package/.as-test/logs/simd/test.raw.spec.ts.log.json +0 -309
  171. package/.as-test/logs/simd/test.resolving.spec.ts.log.json +0 -273
  172. package/.as-test/logs/simd/test.set.spec.ts.log.json +0 -733
  173. package/.as-test/logs/simd/test.staticarray.spec.ts.log.json +0 -931
  174. package/.as-test/logs/simd/test.string.spec.ts.log.json +0 -2345
  175. package/.as-test/logs/simd/test.struct.spec.ts.log.json +0 -523
  176. package/.as-test/logs/simd/test.types.spec.ts.log.json +0 -273
  177. package/.as-test/logs/swar/run.arbitrary.spec.ts.log.json +0 -943
  178. package/.as-test/logs/swar/run.array.spec.ts.log.json +0 -1053
  179. package/.as-test/logs/swar/run.bool.spec.ts.log.json +0 -257
  180. package/.as-test/logs/swar/run.box.spec.ts.log.json +0 -353
  181. package/.as-test/logs/swar/run.custom.spec.ts.log.json +0 -309
  182. package/.as-test/logs/swar/run.date.spec.ts.log.json +0 -397
  183. package/.as-test/logs/swar/run.enum.spec.ts.log.json +0 -343
  184. package/.as-test/logs/swar/run.float.spec.ts.log.json +0 -453
  185. package/.as-test/logs/swar/run.generics.spec.ts.log.json +0 -393
  186. package/.as-test/logs/swar/run.hierarchy.spec.ts.log.json +0 -325
  187. package/.as-test/logs/swar/run.integer.spec.ts.log.json +0 -373
  188. package/.as-test/logs/swar/run.map.spec.ts.log.json +0 -247
  189. package/.as-test/logs/swar/run.namespace.spec.ts.log.json +0 -361
  190. package/.as-test/logs/swar/run.null.spec.ts.log.json +0 -273
  191. package/.as-test/logs/swar/run.raw.spec.ts.log.json +0 -309
  192. package/.as-test/logs/swar/run.resolving.spec.ts.log.json +0 -273
  193. package/.as-test/logs/swar/run.set.spec.ts.log.json +0 -733
  194. package/.as-test/logs/swar/run.staticarray.spec.ts.log.json +0 -931
  195. package/.as-test/logs/swar/run.string.spec.ts.log.json +0 -2289
  196. package/.as-test/logs/swar/run.struct.spec.ts.log.json +0 -523
  197. package/.as-test/logs/swar/run.types.spec.ts.log.json +0 -273
  198. package/.as-test/logs/swar/test.arbitrary.spec.ts.log.json +0 -943
  199. package/.as-test/logs/swar/test.array.spec.ts.log.json +0 -1053
  200. package/.as-test/logs/swar/test.bool.spec.ts.log.json +0 -257
  201. package/.as-test/logs/swar/test.box.spec.ts.log.json +0 -353
  202. package/.as-test/logs/swar/test.custom.spec.ts.log.json +0 -309
  203. package/.as-test/logs/swar/test.date.spec.ts.log.json +0 -397
  204. package/.as-test/logs/swar/test.enum.spec.ts.log.json +0 -343
  205. package/.as-test/logs/swar/test.float.spec.ts.log.json +0 -453
  206. package/.as-test/logs/swar/test.generics.spec.ts.log.json +0 -393
  207. package/.as-test/logs/swar/test.hierarchy.spec.ts.log.json +0 -325
  208. package/.as-test/logs/swar/test.integer.spec.ts.log.json +0 -373
  209. package/.as-test/logs/swar/test.log.json +0 -11371
  210. package/.as-test/logs/swar/test.map.spec.ts.log.json +0 -247
  211. package/.as-test/logs/swar/test.namespace.spec.ts.log.json +0 -361
  212. package/.as-test/logs/swar/test.null.spec.ts.log.json +0 -273
  213. package/.as-test/logs/swar/test.raw.spec.ts.log.json +0 -309
  214. package/.as-test/logs/swar/test.resolving.spec.ts.log.json +0 -273
  215. package/.as-test/logs/swar/test.set.spec.ts.log.json +0 -733
  216. package/.as-test/logs/swar/test.staticarray.spec.ts.log.json +0 -931
  217. package/.as-test/logs/swar/test.string.spec.ts.log.json +0 -2345
  218. package/.as-test/logs/swar/test.struct.spec.ts.log.json +0 -523
  219. package/.as-test/logs/swar/test.types.spec.ts.log.json +0 -273
  220. package/.as-test/logs/test.arbitrary.spec.ts.log.json +0 -943
  221. package/.as-test/logs/test.array.spec.ts.log.json +0 -1053
  222. package/.as-test/logs/test.bool.spec.ts.log.json +0 -257
  223. package/.as-test/logs/test.box.spec.ts.log.json +0 -353
  224. package/.as-test/logs/test.custom.spec.ts.log.json +0 -309
  225. package/.as-test/logs/test.date.spec.ts.log.json +0 -397
  226. package/.as-test/logs/test.enum.spec.ts.log.json +0 -343
  227. package/.as-test/logs/test.float.spec.ts.log.json +0 -453
  228. package/.as-test/logs/test.generics.spec.ts.log.json +0 -393
  229. package/.as-test/logs/test.hierarchy.spec.ts.log.json +0 -325
  230. package/.as-test/logs/test.integer.spec.ts.log.json +0 -373
  231. package/.as-test/logs/test.log.json +0 -11371
  232. package/.as-test/logs/test.map.spec.ts.log.json +0 -247
  233. package/.as-test/logs/test.namespace.spec.ts.log.json +0 -361
  234. package/.as-test/logs/test.null.spec.ts.log.json +0 -273
  235. package/.as-test/logs/test.raw.spec.ts.log.json +0 -309
  236. package/.as-test/logs/test.resolving.spec.ts.log.json +0 -273
  237. package/.as-test/logs/test.set.spec.ts.log.json +0 -733
  238. package/.as-test/logs/test.staticarray.spec.ts.log.json +0 -931
  239. package/.as-test/logs/test.string.spec.ts.log.json +0 -2289
  240. package/.as-test/logs/test.struct.spec.ts.log.json +0 -523
  241. package/.as-test/logs/test.types.spec.ts.log.json +0 -273
  242. package/.as-test/runners/default.bindings.js +0 -68
  243. package/.as-test/runners/default.wasi.js +0 -38
  244. package/ARCHITECTURE.md +0 -323
  245. package/CONTRIBUTING.md +0 -244
  246. package/TODO +0 -1
  247. package/as-test.config.json +0 -40
  248. package/assembly/test.ts +0 -24
  249. package/eslint.config.js +0 -68
  250. package/lib/tsconfig.json +0 -8
  251. package/test.ts +0 -99
  252. package/tools/assemblyscript-eslint-local.js +0 -6
  253. package/tools/assemblyscript-eslint.js +0 -53
  254. package/tools/assemblyscript-prettier-plugin.js +0 -33
  255. package/tools/replacer.js +0 -63
  256. package/transform/tsconfig.json +0 -35
@@ -1,931 +0,0 @@
1
- [
2
- {
3
- "file": "assembly/__tests__/staticarray.spec.ts",
4
- "suites": [
5
- {
6
- "file": "staticarray.spec.ts",
7
- "order": 4,
8
- "time": {
9
- "start": 24560621.854951,
10
- "end": 24560622.453796
11
- },
12
- "description": "Should serialize integer static arrays",
13
- "depth": 0,
14
- "suites": [],
15
- "tests": [
16
- {
17
- "order": 0,
18
- "type": "",
19
- "verdict": "ok",
20
- "left": "[0,100,101]",
21
- "right": "[0,100,101]",
22
- "instr": "toBe",
23
- "message": "",
24
- "location": "5:3"
25
- },
26
- {
27
- "order": 1,
28
- "type": "",
29
- "verdict": "ok",
30
- "left": "[0,100,101]",
31
- "right": "[0,100,101]",
32
- "instr": "toBe",
33
- "message": "",
34
- "location": "7:3"
35
- },
36
- {
37
- "order": 2,
38
- "type": "",
39
- "verdict": "ok",
40
- "left": "[0,100,101,-100,-101]",
41
- "right": "[0,100,101,-100,-101]",
42
- "instr": "toBe",
43
- "message": "",
44
- "location": "9:3"
45
- },
46
- {
47
- "order": 3,
48
- "type": "",
49
- "verdict": "ok",
50
- "left": "[0,100,101,-100,-101]",
51
- "right": "[0,100,101,-100,-101]",
52
- "instr": "toBe",
53
- "message": "",
54
- "location": "11:3"
55
- }
56
- ],
57
- "logs": [],
58
- "kind": "describe",
59
- "verdict": "ok"
60
- },
61
- {
62
- "file": "staticarray.spec.ts",
63
- "order": 1,
64
- "time": {
65
- "start": 24560622.50933,
66
- "end": 24560622.684269
67
- },
68
- "description": "Should serialize float static arrays",
69
- "depth": 0,
70
- "suites": [],
71
- "tests": [
72
- {
73
- "order": 0,
74
- "type": "",
75
- "verdict": "ok",
76
- "left": "[7.23,1000.0,0.0]",
77
- "right": "[7.23,1000.0,0.0]",
78
- "instr": "toBe",
79
- "message": "",
80
- "location": "15:3"
81
- }
82
- ],
83
- "logs": [],
84
- "kind": "describe",
85
- "verdict": "ok"
86
- },
87
- {
88
- "file": "staticarray.spec.ts",
89
- "order": 1,
90
- "time": {
91
- "start": 24560622.715926,
92
- "end": 24560622.807892
93
- },
94
- "description": "Should serialize boolean static arrays",
95
- "depth": 0,
96
- "suites": [],
97
- "tests": [
98
- {
99
- "order": 0,
100
- "type": "",
101
- "verdict": "ok",
102
- "left": "[true,false]",
103
- "right": "[true,false]",
104
- "instr": "toBe",
105
- "message": "",
106
- "location": "19:3"
107
- }
108
- ],
109
- "logs": [],
110
- "kind": "describe",
111
- "verdict": "ok"
112
- },
113
- {
114
- "file": "staticarray.spec.ts",
115
- "order": 1,
116
- "time": {
117
- "start": 24560622.840034,
118
- "end": 24560622.978392
119
- },
120
- "description": "Should serialize string static arrays",
121
- "depth": 0,
122
- "suites": [],
123
- "tests": [
124
- {
125
- "order": 0,
126
- "type": "",
127
- "verdict": "ok",
128
- "left": "[\"hello\",\"world\"]",
129
- "right": "[\"hello\",\"world\"]",
130
- "instr": "toBe",
131
- "message": "",
132
- "location": "23:3"
133
- }
134
- ],
135
- "logs": [],
136
- "kind": "describe",
137
- "verdict": "ok"
138
- },
139
- {
140
- "file": "staticarray.spec.ts",
141
- "order": 1,
142
- "time": {
143
- "start": 24560623.015785,
144
- "end": 24560623.076252
145
- },
146
- "description": "Should serialize empty static arrays",
147
- "depth": 0,
148
- "suites": [],
149
- "tests": [
150
- {
151
- "order": 0,
152
- "type": "",
153
- "verdict": "ok",
154
- "left": "[]",
155
- "right": "[]",
156
- "instr": "toBe",
157
- "message": "",
158
- "location": "28:3"
159
- }
160
- ],
161
- "logs": [],
162
- "kind": "describe",
163
- "verdict": "ok"
164
- },
165
- {
166
- "file": "staticarray.spec.ts",
167
- "order": 8,
168
- "time": {
169
- "start": 24560623.117732,
170
- "end": 24560623.423436
171
- },
172
- "description": "Should deserialize integer static arrays",
173
- "depth": 0,
174
- "suites": [],
175
- "tests": [
176
- {
177
- "order": 0,
178
- "type": "",
179
- "verdict": "ok",
180
- "left": 3,
181
- "right": 3,
182
- "instr": "toBe",
183
- "message": "",
184
- "location": "33:3"
185
- },
186
- {
187
- "order": 1,
188
- "type": "",
189
- "verdict": "ok",
190
- "left": 0,
191
- "right": 0,
192
- "instr": "toBe",
193
- "message": "",
194
- "location": "34:3"
195
- },
196
- {
197
- "order": 2,
198
- "type": "",
199
- "verdict": "ok",
200
- "left": 100,
201
- "right": 100,
202
- "instr": "toBe",
203
- "message": "",
204
- "location": "35:3"
205
- },
206
- {
207
- "order": 3,
208
- "type": "",
209
- "verdict": "ok",
210
- "left": 101,
211
- "right": 101,
212
- "instr": "toBe",
213
- "message": "",
214
- "location": "36:3"
215
- },
216
- {
217
- "order": 4,
218
- "type": "",
219
- "verdict": "ok",
220
- "left": 3,
221
- "right": 3,
222
- "instr": "toBe",
223
- "message": "",
224
- "location": "39:3"
225
- },
226
- {
227
- "order": 5,
228
- "type": "",
229
- "verdict": "ok",
230
- "left": 0,
231
- "right": 0,
232
- "instr": "toBe",
233
- "message": "",
234
- "location": "40:3"
235
- },
236
- {
237
- "order": 6,
238
- "type": "",
239
- "verdict": "ok",
240
- "left": 100,
241
- "right": 100,
242
- "instr": "toBe",
243
- "message": "",
244
- "location": "41:3"
245
- },
246
- {
247
- "order": 7,
248
- "type": "",
249
- "verdict": "ok",
250
- "left": -100,
251
- "right": -100,
252
- "instr": "toBe",
253
- "message": "",
254
- "location": "42:3"
255
- }
256
- ],
257
- "logs": [],
258
- "kind": "describe",
259
- "verdict": "ok"
260
- },
261
- {
262
- "file": "staticarray.spec.ts",
263
- "order": 4,
264
- "time": {
265
- "start": 24560623.457253,
266
- "end": 24560623.730395
267
- },
268
- "description": "Should deserialize float static arrays",
269
- "depth": 0,
270
- "suites": [],
271
- "tests": [
272
- {
273
- "order": 0,
274
- "type": "",
275
- "verdict": "ok",
276
- "left": 3,
277
- "right": 3,
278
- "instr": "toBe",
279
- "message": "",
280
- "location": "47:3"
281
- },
282
- {
283
- "order": 1,
284
- "type": "",
285
- "verdict": "ok",
286
- "left": 7.23,
287
- "right": 7.23,
288
- "instr": "toBe",
289
- "message": "",
290
- "location": "48:3"
291
- },
292
- {
293
- "order": 2,
294
- "type": "",
295
- "verdict": "ok",
296
- "left": 1000,
297
- "right": 1000,
298
- "instr": "toBe",
299
- "message": "",
300
- "location": "49:3"
301
- },
302
- {
303
- "order": 3,
304
- "type": "",
305
- "verdict": "ok",
306
- "left": 0,
307
- "right": 0,
308
- "instr": "toBe",
309
- "message": "",
310
- "location": "50:3"
311
- }
312
- ],
313
- "logs": [],
314
- "kind": "describe",
315
- "verdict": "ok"
316
- },
317
- {
318
- "file": "staticarray.spec.ts",
319
- "order": 3,
320
- "time": {
321
- "start": 24560623.763548,
322
- "end": 24560623.895178
323
- },
324
- "description": "Should deserialize boolean static arrays",
325
- "depth": 0,
326
- "suites": [],
327
- "tests": [
328
- {
329
- "order": 0,
330
- "type": "",
331
- "verdict": "ok",
332
- "left": 2,
333
- "right": 2,
334
- "instr": "toBe",
335
- "message": "",
336
- "location": "55:3"
337
- },
338
- {
339
- "order": 1,
340
- "type": "",
341
- "verdict": "ok",
342
- "left": true,
343
- "right": true,
344
- "instr": "toBe",
345
- "message": "",
346
- "location": "56:3"
347
- },
348
- {
349
- "order": 2,
350
- "type": "",
351
- "verdict": "ok",
352
- "left": false,
353
- "right": false,
354
- "instr": "toBe",
355
- "message": "",
356
- "location": "57:3"
357
- }
358
- ],
359
- "logs": [],
360
- "kind": "describe",
361
- "verdict": "ok"
362
- },
363
- {
364
- "file": "staticarray.spec.ts",
365
- "order": 3,
366
- "time": {
367
- "start": 24560623.929564,
368
- "end": 24560624.065073
369
- },
370
- "description": "Should deserialize string static arrays",
371
- "depth": 0,
372
- "suites": [],
373
- "tests": [
374
- {
375
- "order": 0,
376
- "type": "",
377
- "verdict": "ok",
378
- "left": 2,
379
- "right": 2,
380
- "instr": "toBe",
381
- "message": "",
382
- "location": "62:3"
383
- },
384
- {
385
- "order": 1,
386
- "type": "",
387
- "verdict": "ok",
388
- "left": "hello",
389
- "right": "hello",
390
- "instr": "toBe",
391
- "message": "",
392
- "location": "63:3"
393
- },
394
- {
395
- "order": 2,
396
- "type": "",
397
- "verdict": "ok",
398
- "left": "world",
399
- "right": "world",
400
- "instr": "toBe",
401
- "message": "",
402
- "location": "64:3"
403
- }
404
- ],
405
- "logs": [],
406
- "kind": "describe",
407
- "verdict": "ok"
408
- },
409
- {
410
- "file": "staticarray.spec.ts",
411
- "order": 1,
412
- "time": {
413
- "start": 24560624.098054,
414
- "end": 24560624.143528
415
- },
416
- "description": "Should deserialize empty static arrays",
417
- "depth": 0,
418
- "suites": [],
419
- "tests": [
420
- {
421
- "order": 0,
422
- "type": "",
423
- "verdict": "ok",
424
- "left": 0,
425
- "right": 0,
426
- "instr": "toBe",
427
- "message": "",
428
- "location": "69:3"
429
- }
430
- ],
431
- "logs": [],
432
- "kind": "describe",
433
- "verdict": "ok"
434
- },
435
- {
436
- "file": "staticarray.spec.ts",
437
- "order": 4,
438
- "time": {
439
- "start": 24560624.177649,
440
- "end": 24560624.297232
441
- },
442
- "description": "Should round-trip static arrays",
443
- "depth": 0,
444
- "suites": [],
445
- "tests": [
446
- {
447
- "order": 0,
448
- "type": "",
449
- "verdict": "ok",
450
- "left": "[1,2,3,4,5]",
451
- "right": "[1,2,3,4,5]",
452
- "instr": "toBe",
453
- "message": "",
454
- "location": "75:3"
455
- },
456
- {
457
- "order": 1,
458
- "type": "",
459
- "verdict": "ok",
460
- "left": 5,
461
- "right": 5,
462
- "instr": "toBe",
463
- "message": "",
464
- "location": "77:3"
465
- },
466
- {
467
- "order": 2,
468
- "type": "",
469
- "verdict": "ok",
470
- "left": 1,
471
- "right": 1,
472
- "instr": "toBe",
473
- "message": "",
474
- "location": "78:3"
475
- },
476
- {
477
- "order": 3,
478
- "type": "",
479
- "verdict": "ok",
480
- "left": 5,
481
- "right": 5,
482
- "instr": "toBe",
483
- "message": "",
484
- "location": "79:3"
485
- }
486
- ],
487
- "logs": [],
488
- "kind": "describe",
489
- "verdict": "ok"
490
- },
491
- {
492
- "file": "staticarray.spec.ts",
493
- "order": 1,
494
- "time": {
495
- "start": 24560624.32762,
496
- "end": 24560624.443545
497
- },
498
- "description": "Should serialize nested static arrays",
499
- "depth": 0,
500
- "suites": [],
501
- "tests": [
502
- {
503
- "order": 0,
504
- "type": "",
505
- "verdict": "ok",
506
- "left": "[[1,2],[3,4]]",
507
- "right": "[[1,2],[3,4]]",
508
- "instr": "toBe",
509
- "message": "",
510
- "location": "87:3"
511
- }
512
- ],
513
- "logs": [],
514
- "kind": "describe",
515
- "verdict": "ok"
516
- },
517
- {
518
- "file": "staticarray.spec.ts",
519
- "order": 6,
520
- "time": {
521
- "start": 24560624.477323,
522
- "end": 24560624.634322
523
- },
524
- "description": "Should deserialize nested static arrays",
525
- "depth": 0,
526
- "suites": [],
527
- "tests": [
528
- {
529
- "order": 0,
530
- "type": "",
531
- "verdict": "ok",
532
- "left": 2,
533
- "right": 2,
534
- "instr": "toBe",
535
- "message": "",
536
- "location": "92:3"
537
- },
538
- {
539
- "order": 1,
540
- "type": "",
541
- "verdict": "ok",
542
- "left": 2,
543
- "right": 2,
544
- "instr": "toBe",
545
- "message": "",
546
- "location": "93:3"
547
- },
548
- {
549
- "order": 2,
550
- "type": "",
551
- "verdict": "ok",
552
- "left": 1,
553
- "right": 1,
554
- "instr": "toBe",
555
- "message": "",
556
- "location": "94:3"
557
- },
558
- {
559
- "order": 3,
560
- "type": "",
561
- "verdict": "ok",
562
- "left": 2,
563
- "right": 2,
564
- "instr": "toBe",
565
- "message": "",
566
- "location": "95:3"
567
- },
568
- {
569
- "order": 4,
570
- "type": "",
571
- "verdict": "ok",
572
- "left": 3,
573
- "right": 3,
574
- "instr": "toBe",
575
- "message": "",
576
- "location": "96:3"
577
- },
578
- {
579
- "order": 5,
580
- "type": "",
581
- "verdict": "ok",
582
- "left": 4,
583
- "right": 4,
584
- "instr": "toBe",
585
- "message": "",
586
- "location": "97:3"
587
- }
588
- ],
589
- "logs": [],
590
- "kind": "describe",
591
- "verdict": "ok"
592
- },
593
- {
594
- "file": "staticarray.spec.ts",
595
- "order": 1,
596
- "time": {
597
- "start": 24560624.66905,
598
- "end": 24560624.836751
599
- },
600
- "description": "Should serialize object static arrays",
601
- "depth": 0,
602
- "suites": [],
603
- "tests": [
604
- {
605
- "order": 0,
606
- "type": "",
607
- "verdict": "ok",
608
- "left": "[{\"x\":1.0,\"y\":2.0,\"z\":3.0},{\"x\":4.0,\"y\":5.0,\"z\":6.0}]",
609
- "right": "[{\"x\":1.0,\"y\":2.0,\"z\":3.0},{\"x\":4.0,\"y\":5.0,\"z\":6.0}]",
610
- "instr": "toBe",
611
- "message": "",
612
- "location": "105:3"
613
- }
614
- ],
615
- "logs": [],
616
- "kind": "describe",
617
- "verdict": "ok"
618
- },
619
- {
620
- "file": "staticarray.spec.ts",
621
- "order": 7,
622
- "time": {
623
- "start": 24560624.869397,
624
- "end": 24560625.224448
625
- },
626
- "description": "Should deserialize object static arrays",
627
- "depth": 0,
628
- "suites": [],
629
- "tests": [
630
- {
631
- "order": 0,
632
- "type": "",
633
- "verdict": "ok",
634
- "left": 2,
635
- "right": 2,
636
- "instr": "toBe",
637
- "message": "",
638
- "location": "110:3"
639
- },
640
- {
641
- "order": 1,
642
- "type": "",
643
- "verdict": "ok",
644
- "left": 1,
645
- "right": 1,
646
- "instr": "toBe",
647
- "message": "",
648
- "location": "111:3"
649
- },
650
- {
651
- "order": 2,
652
- "type": "",
653
- "verdict": "ok",
654
- "left": 2,
655
- "right": 2,
656
- "instr": "toBe",
657
- "message": "",
658
- "location": "112:3"
659
- },
660
- {
661
- "order": 3,
662
- "type": "",
663
- "verdict": "ok",
664
- "left": 3,
665
- "right": 3,
666
- "instr": "toBe",
667
- "message": "",
668
- "location": "113:3"
669
- },
670
- {
671
- "order": 4,
672
- "type": "",
673
- "verdict": "ok",
674
- "left": 4,
675
- "right": 4,
676
- "instr": "toBe",
677
- "message": "",
678
- "location": "114:3"
679
- },
680
- {
681
- "order": 5,
682
- "type": "",
683
- "verdict": "ok",
684
- "left": 5,
685
- "right": 5,
686
- "instr": "toBe",
687
- "message": "",
688
- "location": "115:3"
689
- },
690
- {
691
- "order": 6,
692
- "type": "",
693
- "verdict": "ok",
694
- "left": 6,
695
- "right": 6,
696
- "instr": "toBe",
697
- "message": "",
698
- "location": "116:3"
699
- }
700
- ],
701
- "logs": [],
702
- "kind": "describe",
703
- "verdict": "ok"
704
- },
705
- {
706
- "file": "staticarray.spec.ts",
707
- "order": 6,
708
- "time": {
709
- "start": 24560625.260092,
710
- "end": 24560625.726549
711
- },
712
- "description": "Additional regression coverage - primitives and arrays",
713
- "depth": 0,
714
- "suites": [],
715
- "tests": [
716
- {
717
- "order": 0,
718
- "type": "",
719
- "verdict": "ok",
720
- "left": "\"regression\"",
721
- "right": "\"regression\"",
722
- "instr": "toBe",
723
- "message": "",
724
- "location": "128:3"
725
- },
726
- {
727
- "order": 1,
728
- "type": "",
729
- "verdict": "ok",
730
- "left": "-42",
731
- "right": "-42",
732
- "instr": "toBe",
733
- "message": "",
734
- "location": "129:3"
735
- },
736
- {
737
- "order": 2,
738
- "type": "",
739
- "verdict": "ok",
740
- "left": "false",
741
- "right": "false",
742
- "instr": "toBe",
743
- "message": "",
744
- "location": "130:3"
745
- },
746
- {
747
- "order": 3,
748
- "type": "",
749
- "verdict": "ok",
750
- "left": "3.5",
751
- "right": "3.5",
752
- "instr": "toBe",
753
- "message": "",
754
- "location": "131:3"
755
- },
756
- {
757
- "order": 4,
758
- "type": "",
759
- "verdict": "ok",
760
- "left": "[1,2,3,4]",
761
- "right": "[1,2,3,4]",
762
- "instr": "toBe",
763
- "message": "",
764
- "location": "132:3"
765
- },
766
- {
767
- "order": 5,
768
- "type": "",
769
- "verdict": "ok",
770
- "left": "[\"a\",\"b\",\"c\"]",
771
- "right": "[\"a\",\"b\",\"c\"]",
772
- "instr": "toBe",
773
- "message": "",
774
- "location": "133:3"
775
- }
776
- ],
777
- "logs": [],
778
- "kind": "describe",
779
- "verdict": "ok"
780
- },
781
- {
782
- "file": "staticarray.spec.ts",
783
- "order": 3,
784
- "time": {
785
- "start": 24560625.777486,
786
- "end": 24560625.860943
787
- },
788
- "description": "Should support additional staticarray boundaries",
789
- "depth": 0,
790
- "suites": [],
791
- "tests": [
792
- {
793
- "order": 0,
794
- "type": "",
795
- "verdict": "ok",
796
- "left": 5,
797
- "right": 5,
798
- "instr": "toBe",
799
- "message": "",
800
- "location": "138:3"
801
- },
802
- {
803
- "order": 1,
804
- "type": "",
805
- "verdict": "ok",
806
- "left": -1,
807
- "right": -1,
808
- "instr": "toBe",
809
- "message": "",
810
- "location": "139:3"
811
- },
812
- {
813
- "order": 2,
814
- "type": "",
815
- "verdict": "ok",
816
- "left": 3,
817
- "right": 3,
818
- "instr": "toBe",
819
- "message": "",
820
- "location": "140:3"
821
- }
822
- ],
823
- "logs": [],
824
- "kind": "describe",
825
- "verdict": "ok"
826
- },
827
- {
828
- "file": "staticarray.spec.ts",
829
- "order": 2,
830
- "time": {
831
- "start": 24560625.90538,
832
- "end": 24560626.083046
833
- },
834
- "description": "Should round-trip nested empty static arrays",
835
- "depth": 0,
836
- "suites": [],
837
- "tests": [
838
- {
839
- "order": 0,
840
- "type": "",
841
- "verdict": "ok",
842
- "left": "[[],[1],[]]",
843
- "right": "[[],[1],[]]",
844
- "instr": "toBe",
845
- "message": "",
846
- "location": "146:3"
847
- },
848
- {
849
- "order": 1,
850
- "type": "",
851
- "verdict": "ok",
852
- "left": "[[],[1],[]]",
853
- "right": "[[],[1],[]]",
854
- "instr": "toBe",
855
- "message": "",
856
- "location": "147:3"
857
- }
858
- ],
859
- "logs": [],
860
- "kind": "describe",
861
- "verdict": "ok"
862
- },
863
- {
864
- "file": "staticarray.spec.ts",
865
- "order": 5,
866
- "time": {
867
- "start": 24560626.125735,
868
- "end": 24560626.46964
869
- },
870
- "description": "Extended regression coverage - nested and escaped payloads",
871
- "depth": 0,
872
- "suites": [],
873
- "tests": [
874
- {
875
- "order": 0,
876
- "type": "",
877
- "verdict": "ok",
878
- "left": "0",
879
- "right": "0",
880
- "instr": "toBe",
881
- "message": "",
882
- "location": "151:3"
883
- },
884
- {
885
- "order": 1,
886
- "type": "",
887
- "verdict": "ok",
888
- "left": "true",
889
- "right": "true",
890
- "instr": "toBe",
891
- "message": "",
892
- "location": "152:3"
893
- },
894
- {
895
- "order": 2,
896
- "type": "",
897
- "verdict": "ok",
898
- "left": "-0.125",
899
- "right": "-0.125",
900
- "instr": "toBe",
901
- "message": "",
902
- "location": "153:3"
903
- },
904
- {
905
- "order": 3,
906
- "type": "",
907
- "verdict": "ok",
908
- "left": "[[1],[2,3],[]]",
909
- "right": "[[1],[2,3],[]]",
910
- "instr": "toBe",
911
- "message": "",
912
- "location": "154:3"
913
- },
914
- {
915
- "order": 4,
916
- "type": "",
917
- "verdict": "ok",
918
- "left": "\"line\\nbreak\"",
919
- "right": "\"line\\nbreak\"",
920
- "instr": "toBe",
921
- "message": "",
922
- "location": "155:3"
923
- }
924
- ],
925
- "logs": [],
926
- "kind": "describe",
927
- "verdict": "ok"
928
- }
929
- ]
930
- }
931
- ]