json-as 1.3.0 → 1.3.2

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 (295) hide show
  1. package/CHANGELOG.md +400 -0
  2. package/README.md +137 -32
  3. package/assembly/deserialize/index/arbitrary.ts +1 -1
  4. package/assembly/deserialize/index/array.ts +6 -1
  5. package/assembly/deserialize/index/float.ts +1 -1
  6. package/assembly/deserialize/index/integer.ts +1 -1
  7. package/assembly/deserialize/index/typedarray.ts +14 -0
  8. package/assembly/deserialize/index/unsigned.ts +1 -1
  9. package/assembly/deserialize/simd/string.ts +20 -16
  10. package/assembly/deserialize/simple/arbitrary.ts +1 -1
  11. package/assembly/deserialize/simple/array/generic.ts +42 -0
  12. package/assembly/deserialize/simple/array.ts +8 -1
  13. package/assembly/deserialize/{float.ts → simple/float.ts} +22 -2
  14. package/assembly/deserialize/{integer.ts → simple/integer.ts} +3 -2
  15. package/assembly/deserialize/simple/map.ts +60 -12
  16. package/assembly/deserialize/simple/object.ts +1 -1
  17. package/assembly/deserialize/simple/set.ts +119 -134
  18. package/assembly/deserialize/simple/staticarray.ts +12 -1
  19. package/assembly/deserialize/simple/string.ts +93 -2
  20. package/assembly/deserialize/simple/struct.ts +7 -157
  21. package/assembly/deserialize/simple/typedarray.ts +1 -1
  22. package/assembly/deserialize/{unsigned.ts → simple/unsigned.ts} +3 -2
  23. package/assembly/deserialize/swar/array/array.ts +42 -7
  24. package/assembly/deserialize/swar/array/bool.ts +5 -2
  25. package/assembly/deserialize/swar/array/float.ts +7 -3
  26. package/assembly/deserialize/swar/array/generic.ts +40 -0
  27. package/assembly/deserialize/swar/array/integer.ts +7 -4
  28. package/assembly/deserialize/swar/array/object.ts +20 -4
  29. package/assembly/deserialize/swar/array/shared.ts +18 -4
  30. package/assembly/deserialize/swar/array/string.ts +5 -2
  31. package/assembly/deserialize/swar/array/struct.ts +20 -4
  32. package/assembly/deserialize/swar/array.ts +56 -2
  33. package/assembly/deserialize/swar/string.ts +245 -370
  34. package/assembly/index.ts +207 -194
  35. package/assembly/serialize/index/arbitrary.ts +8 -3
  36. package/assembly/serialize/index/float.ts +1 -1
  37. package/assembly/serialize/index/object.ts +1 -5
  38. package/assembly/serialize/index/typedarray.ts +65 -0
  39. package/assembly/serialize/simd/string.ts +7 -16
  40. package/assembly/serialize/simple/arbitrary.ts +9 -3
  41. package/assembly/serialize/simple/array.ts +17 -6
  42. package/assembly/serialize/simple/float.ts +18 -4
  43. package/assembly/serialize/simple/map.ts +10 -27
  44. package/assembly/serialize/simple/object.ts +1 -5
  45. package/assembly/serialize/simple/set.ts +3 -4
  46. package/assembly/serialize/simple/staticarray.ts +4 -3
  47. package/assembly/serialize/simple/string.ts +3 -11
  48. package/assembly/serialize/simple/typedarray.ts +9 -7
  49. package/assembly/serialize/swar/string.ts +3 -12
  50. package/assembly/tsconfig.json +3 -2
  51. package/assembly/util/dragonbox-cache.ts +1322 -0
  52. package/assembly/util/dragonbox.ts +596 -0
  53. package/assembly/util/swar.ts +49 -0
  54. package/lib/as-bs.ts +92 -70
  55. package/package.json +35 -10
  56. package/transform/lib/index.d.ts +1 -0
  57. package/transform/lib/index.d.ts.map +1 -1
  58. package/transform/lib/index.js +559 -221
  59. package/transform/lib/index.js.map +1 -1
  60. package/transform/lib/linkers/custom.d.ts.map +1 -1
  61. package/transform/lib/linkers/custom.js +7 -3
  62. package/transform/lib/linkers/custom.js.map +1 -1
  63. package/transform/lib/types.d.ts +2 -0
  64. package/transform/lib/types.d.ts.map +1 -1
  65. package/transform/lib/types.js +13 -0
  66. package/transform/lib/types.js.map +1 -1
  67. package/.as-test/coverage/naive/coverage.arbitrary.spec.ts.log.json +0 -5628
  68. package/.as-test/coverage/naive/coverage.array.spec.ts.log.json +0 -5187
  69. package/.as-test/coverage/naive/coverage.bool.spec.ts.log.json +0 -5187
  70. package/.as-test/coverage/naive/coverage.box.spec.ts.log.json +0 -5187
  71. package/.as-test/coverage/naive/coverage.custom.spec.ts.log.json +0 -5187
  72. package/.as-test/coverage/naive/coverage.date.spec.ts.log.json +0 -5187
  73. package/.as-test/coverage/naive/coverage.enum.spec.ts.log.json +0 -5187
  74. package/.as-test/coverage/naive/coverage.float.spec.ts.log.json +0 -5187
  75. package/.as-test/coverage/naive/coverage.generics.spec.ts.log.json +0 -5187
  76. package/.as-test/coverage/naive/coverage.hierarchy.spec.ts.log.json +0 -5187
  77. package/.as-test/coverage/naive/coverage.integer.spec.ts.log.json +0 -5187
  78. package/.as-test/coverage/naive/coverage.map.spec.ts.log.json +0 -5187
  79. package/.as-test/coverage/naive/coverage.namespace.spec.ts.log.json +0 -5187
  80. package/.as-test/coverage/naive/coverage.null.spec.ts.log.json +0 -5187
  81. package/.as-test/coverage/naive/coverage.raw.spec.ts.log.json +0 -5187
  82. package/.as-test/coverage/naive/coverage.resolving.spec.ts.log.json +0 -5628
  83. package/.as-test/coverage/naive/coverage.set.spec.ts.log.json +0 -5187
  84. package/.as-test/coverage/naive/coverage.staticarray.spec.ts.log.json +0 -5187
  85. package/.as-test/coverage/naive/coverage.string.spec.ts.log.json +0 -5187
  86. package/.as-test/coverage/naive/coverage.struct.spec.ts.log.json +0 -5187
  87. package/.as-test/coverage/naive/coverage.types.spec.ts.log.json +0 -5187
  88. package/.as-test/coverage/simd/coverage.arbitrary.spec.ts.log.json +0 -5628
  89. package/.as-test/coverage/simd/coverage.array.spec.ts.log.json +0 -5187
  90. package/.as-test/coverage/simd/coverage.bool.spec.ts.log.json +0 -5187
  91. package/.as-test/coverage/simd/coverage.box.spec.ts.log.json +0 -5187
  92. package/.as-test/coverage/simd/coverage.custom.spec.ts.log.json +0 -5187
  93. package/.as-test/coverage/simd/coverage.date.spec.ts.log.json +0 -5187
  94. package/.as-test/coverage/simd/coverage.enum.spec.ts.log.json +0 -5187
  95. package/.as-test/coverage/simd/coverage.float.spec.ts.log.json +0 -5187
  96. package/.as-test/coverage/simd/coverage.generics.spec.ts.log.json +0 -5187
  97. package/.as-test/coverage/simd/coverage.hierarchy.spec.ts.log.json +0 -5187
  98. package/.as-test/coverage/simd/coverage.integer.spec.ts.log.json +0 -5187
  99. package/.as-test/coverage/simd/coverage.map.spec.ts.log.json +0 -5187
  100. package/.as-test/coverage/simd/coverage.namespace.spec.ts.log.json +0 -5187
  101. package/.as-test/coverage/simd/coverage.null.spec.ts.log.json +0 -5187
  102. package/.as-test/coverage/simd/coverage.raw.spec.ts.log.json +0 -5187
  103. package/.as-test/coverage/simd/coverage.resolving.spec.ts.log.json +0 -5628
  104. package/.as-test/coverage/simd/coverage.set.spec.ts.log.json +0 -5187
  105. package/.as-test/coverage/simd/coverage.staticarray.spec.ts.log.json +0 -5187
  106. package/.as-test/coverage/simd/coverage.string.spec.ts.log.json +0 -5187
  107. package/.as-test/coverage/simd/coverage.struct.spec.ts.log.json +0 -5187
  108. package/.as-test/coverage/simd/coverage.types.spec.ts.log.json +0 -5187
  109. package/.as-test/coverage/swar/coverage.arbitrary.spec.ts.log.json +0 -5628
  110. package/.as-test/coverage/swar/coverage.array.spec.ts.log.json +0 -5187
  111. package/.as-test/coverage/swar/coverage.bool.spec.ts.log.json +0 -5187
  112. package/.as-test/coverage/swar/coverage.box.spec.ts.log.json +0 -5187
  113. package/.as-test/coverage/swar/coverage.custom.spec.ts.log.json +0 -5187
  114. package/.as-test/coverage/swar/coverage.date.spec.ts.log.json +0 -5187
  115. package/.as-test/coverage/swar/coverage.enum.spec.ts.log.json +0 -5187
  116. package/.as-test/coverage/swar/coverage.float.spec.ts.log.json +0 -5187
  117. package/.as-test/coverage/swar/coverage.generics.spec.ts.log.json +0 -5187
  118. package/.as-test/coverage/swar/coverage.hierarchy.spec.ts.log.json +0 -5187
  119. package/.as-test/coverage/swar/coverage.integer.spec.ts.log.json +0 -5187
  120. package/.as-test/coverage/swar/coverage.map.spec.ts.log.json +0 -5187
  121. package/.as-test/coverage/swar/coverage.namespace.spec.ts.log.json +0 -5187
  122. package/.as-test/coverage/swar/coverage.null.spec.ts.log.json +0 -5187
  123. package/.as-test/coverage/swar/coverage.raw.spec.ts.log.json +0 -5187
  124. package/.as-test/coverage/swar/coverage.resolving.spec.ts.log.json +0 -5628
  125. package/.as-test/coverage/swar/coverage.set.spec.ts.log.json +0 -5187
  126. package/.as-test/coverage/swar/coverage.staticarray.spec.ts.log.json +0 -5187
  127. package/.as-test/coverage/swar/coverage.string.spec.ts.log.json +0 -5187
  128. package/.as-test/coverage/swar/coverage.struct.spec.ts.log.json +0 -5187
  129. package/.as-test/coverage/swar/coverage.types.spec.ts.log.json +0 -5187
  130. package/.as-test/logs/naive/run.arbitrary.spec.ts.log.json +0 -943
  131. package/.as-test/logs/naive/run.array.spec.ts.log.json +0 -1053
  132. package/.as-test/logs/naive/run.bool.spec.ts.log.json +0 -257
  133. package/.as-test/logs/naive/run.box.spec.ts.log.json +0 -353
  134. package/.as-test/logs/naive/run.custom.spec.ts.log.json +0 -309
  135. package/.as-test/logs/naive/run.date.spec.ts.log.json +0 -397
  136. package/.as-test/logs/naive/run.enum.spec.ts.log.json +0 -343
  137. package/.as-test/logs/naive/run.float.spec.ts.log.json +0 -453
  138. package/.as-test/logs/naive/run.generics.spec.ts.log.json +0 -393
  139. package/.as-test/logs/naive/run.hierarchy.spec.ts.log.json +0 -325
  140. package/.as-test/logs/naive/run.integer.spec.ts.log.json +0 -373
  141. package/.as-test/logs/naive/run.map.spec.ts.log.json +0 -247
  142. package/.as-test/logs/naive/run.namespace.spec.ts.log.json +0 -361
  143. package/.as-test/logs/naive/run.null.spec.ts.log.json +0 -273
  144. package/.as-test/logs/naive/run.raw.spec.ts.log.json +0 -309
  145. package/.as-test/logs/naive/run.resolving.spec.ts.log.json +0 -273
  146. package/.as-test/logs/naive/run.set.spec.ts.log.json +0 -733
  147. package/.as-test/logs/naive/run.staticarray.spec.ts.log.json +0 -931
  148. package/.as-test/logs/naive/run.string.spec.ts.log.json +0 -2289
  149. package/.as-test/logs/naive/run.struct.spec.ts.log.json +0 -523
  150. package/.as-test/logs/naive/run.types.spec.ts.log.json +0 -273
  151. package/.as-test/logs/naive/test.arbitrary.spec.ts.log.json +0 -943
  152. package/.as-test/logs/naive/test.array.spec.ts.log.json +0 -1053
  153. package/.as-test/logs/naive/test.bool.spec.ts.log.json +0 -257
  154. package/.as-test/logs/naive/test.box.spec.ts.log.json +0 -353
  155. package/.as-test/logs/naive/test.custom.spec.ts.log.json +0 -309
  156. package/.as-test/logs/naive/test.date.spec.ts.log.json +0 -397
  157. package/.as-test/logs/naive/test.enum.spec.ts.log.json +0 -343
  158. package/.as-test/logs/naive/test.float.spec.ts.log.json +0 -453
  159. package/.as-test/logs/naive/test.generics.spec.ts.log.json +0 -393
  160. package/.as-test/logs/naive/test.hierarchy.spec.ts.log.json +0 -325
  161. package/.as-test/logs/naive/test.integer.spec.ts.log.json +0 -373
  162. package/.as-test/logs/naive/test.log.json +0 -2289
  163. package/.as-test/logs/naive/test.map.spec.ts.log.json +0 -247
  164. package/.as-test/logs/naive/test.namespace.spec.ts.log.json +0 -361
  165. package/.as-test/logs/naive/test.null.spec.ts.log.json +0 -273
  166. package/.as-test/logs/naive/test.raw.spec.ts.log.json +0 -309
  167. package/.as-test/logs/naive/test.resolving.spec.ts.log.json +0 -273
  168. package/.as-test/logs/naive/test.set.spec.ts.log.json +0 -733
  169. package/.as-test/logs/naive/test.staticarray.spec.ts.log.json +0 -931
  170. package/.as-test/logs/naive/test.string.spec.ts.log.json +0 -2345
  171. package/.as-test/logs/naive/test.struct.spec.ts.log.json +0 -523
  172. package/.as-test/logs/naive/test.types.spec.ts.log.json +0 -273
  173. package/.as-test/logs/simd/run.arbitrary.spec.ts.log.json +0 -943
  174. package/.as-test/logs/simd/run.array.spec.ts.log.json +0 -1053
  175. package/.as-test/logs/simd/run.bool.spec.ts.log.json +0 -257
  176. package/.as-test/logs/simd/run.box.spec.ts.log.json +0 -353
  177. package/.as-test/logs/simd/run.custom.spec.ts.log.json +0 -309
  178. package/.as-test/logs/simd/run.date.spec.ts.log.json +0 -397
  179. package/.as-test/logs/simd/run.enum.spec.ts.log.json +0 -343
  180. package/.as-test/logs/simd/run.float.spec.ts.log.json +0 -453
  181. package/.as-test/logs/simd/run.generics.spec.ts.log.json +0 -393
  182. package/.as-test/logs/simd/run.hierarchy.spec.ts.log.json +0 -325
  183. package/.as-test/logs/simd/run.integer.spec.ts.log.json +0 -373
  184. package/.as-test/logs/simd/run.map.spec.ts.log.json +0 -247
  185. package/.as-test/logs/simd/run.namespace.spec.ts.log.json +0 -361
  186. package/.as-test/logs/simd/run.null.spec.ts.log.json +0 -273
  187. package/.as-test/logs/simd/run.raw.spec.ts.log.json +0 -309
  188. package/.as-test/logs/simd/run.resolving.spec.ts.log.json +0 -273
  189. package/.as-test/logs/simd/run.set.spec.ts.log.json +0 -733
  190. package/.as-test/logs/simd/run.staticarray.spec.ts.log.json +0 -931
  191. package/.as-test/logs/simd/run.string.spec.ts.log.json +0 -2289
  192. package/.as-test/logs/simd/run.struct.spec.ts.log.json +0 -523
  193. package/.as-test/logs/simd/run.types.spec.ts.log.json +0 -273
  194. package/.as-test/logs/simd/test.arbitrary.spec.ts.log.json +0 -943
  195. package/.as-test/logs/simd/test.array.spec.ts.log.json +0 -1053
  196. package/.as-test/logs/simd/test.bool.spec.ts.log.json +0 -257
  197. package/.as-test/logs/simd/test.box.spec.ts.log.json +0 -353
  198. package/.as-test/logs/simd/test.custom.spec.ts.log.json +0 -309
  199. package/.as-test/logs/simd/test.date.spec.ts.log.json +0 -397
  200. package/.as-test/logs/simd/test.enum.spec.ts.log.json +0 -343
  201. package/.as-test/logs/simd/test.float.spec.ts.log.json +0 -453
  202. package/.as-test/logs/simd/test.generics.spec.ts.log.json +0 -393
  203. package/.as-test/logs/simd/test.hierarchy.spec.ts.log.json +0 -325
  204. package/.as-test/logs/simd/test.integer.spec.ts.log.json +0 -373
  205. package/.as-test/logs/simd/test.log.json +0 -11371
  206. package/.as-test/logs/simd/test.map.spec.ts.log.json +0 -247
  207. package/.as-test/logs/simd/test.namespace.spec.ts.log.json +0 -361
  208. package/.as-test/logs/simd/test.null.spec.ts.log.json +0 -273
  209. package/.as-test/logs/simd/test.raw.spec.ts.log.json +0 -309
  210. package/.as-test/logs/simd/test.resolving.spec.ts.log.json +0 -273
  211. package/.as-test/logs/simd/test.set.spec.ts.log.json +0 -733
  212. package/.as-test/logs/simd/test.staticarray.spec.ts.log.json +0 -931
  213. package/.as-test/logs/simd/test.string.spec.ts.log.json +0 -2345
  214. package/.as-test/logs/simd/test.struct.spec.ts.log.json +0 -523
  215. package/.as-test/logs/simd/test.types.spec.ts.log.json +0 -273
  216. package/.as-test/logs/swar/run.arbitrary.spec.ts.log.json +0 -943
  217. package/.as-test/logs/swar/run.array.spec.ts.log.json +0 -1053
  218. package/.as-test/logs/swar/run.bool.spec.ts.log.json +0 -257
  219. package/.as-test/logs/swar/run.box.spec.ts.log.json +0 -353
  220. package/.as-test/logs/swar/run.custom.spec.ts.log.json +0 -309
  221. package/.as-test/logs/swar/run.date.spec.ts.log.json +0 -397
  222. package/.as-test/logs/swar/run.enum.spec.ts.log.json +0 -343
  223. package/.as-test/logs/swar/run.float.spec.ts.log.json +0 -453
  224. package/.as-test/logs/swar/run.generics.spec.ts.log.json +0 -393
  225. package/.as-test/logs/swar/run.hierarchy.spec.ts.log.json +0 -325
  226. package/.as-test/logs/swar/run.integer.spec.ts.log.json +0 -373
  227. package/.as-test/logs/swar/run.map.spec.ts.log.json +0 -247
  228. package/.as-test/logs/swar/run.namespace.spec.ts.log.json +0 -361
  229. package/.as-test/logs/swar/run.null.spec.ts.log.json +0 -273
  230. package/.as-test/logs/swar/run.raw.spec.ts.log.json +0 -309
  231. package/.as-test/logs/swar/run.resolving.spec.ts.log.json +0 -273
  232. package/.as-test/logs/swar/run.set.spec.ts.log.json +0 -733
  233. package/.as-test/logs/swar/run.staticarray.spec.ts.log.json +0 -931
  234. package/.as-test/logs/swar/run.string.spec.ts.log.json +0 -2289
  235. package/.as-test/logs/swar/run.struct.spec.ts.log.json +0 -523
  236. package/.as-test/logs/swar/run.types.spec.ts.log.json +0 -273
  237. package/.as-test/logs/swar/test.arbitrary.spec.ts.log.json +0 -943
  238. package/.as-test/logs/swar/test.array.spec.ts.log.json +0 -1053
  239. package/.as-test/logs/swar/test.bool.spec.ts.log.json +0 -257
  240. package/.as-test/logs/swar/test.box.spec.ts.log.json +0 -353
  241. package/.as-test/logs/swar/test.custom.spec.ts.log.json +0 -309
  242. package/.as-test/logs/swar/test.date.spec.ts.log.json +0 -397
  243. package/.as-test/logs/swar/test.enum.spec.ts.log.json +0 -343
  244. package/.as-test/logs/swar/test.float.spec.ts.log.json +0 -453
  245. package/.as-test/logs/swar/test.generics.spec.ts.log.json +0 -393
  246. package/.as-test/logs/swar/test.hierarchy.spec.ts.log.json +0 -325
  247. package/.as-test/logs/swar/test.integer.spec.ts.log.json +0 -373
  248. package/.as-test/logs/swar/test.log.json +0 -11371
  249. package/.as-test/logs/swar/test.map.spec.ts.log.json +0 -247
  250. package/.as-test/logs/swar/test.namespace.spec.ts.log.json +0 -361
  251. package/.as-test/logs/swar/test.null.spec.ts.log.json +0 -273
  252. package/.as-test/logs/swar/test.raw.spec.ts.log.json +0 -309
  253. package/.as-test/logs/swar/test.resolving.spec.ts.log.json +0 -273
  254. package/.as-test/logs/swar/test.set.spec.ts.log.json +0 -733
  255. package/.as-test/logs/swar/test.staticarray.spec.ts.log.json +0 -931
  256. package/.as-test/logs/swar/test.string.spec.ts.log.json +0 -2345
  257. package/.as-test/logs/swar/test.struct.spec.ts.log.json +0 -523
  258. package/.as-test/logs/swar/test.types.spec.ts.log.json +0 -273
  259. package/.as-test/logs/test.arbitrary.spec.ts.log.json +0 -943
  260. package/.as-test/logs/test.array.spec.ts.log.json +0 -1053
  261. package/.as-test/logs/test.bool.spec.ts.log.json +0 -257
  262. package/.as-test/logs/test.box.spec.ts.log.json +0 -353
  263. package/.as-test/logs/test.custom.spec.ts.log.json +0 -309
  264. package/.as-test/logs/test.date.spec.ts.log.json +0 -397
  265. package/.as-test/logs/test.enum.spec.ts.log.json +0 -343
  266. package/.as-test/logs/test.float.spec.ts.log.json +0 -453
  267. package/.as-test/logs/test.generics.spec.ts.log.json +0 -393
  268. package/.as-test/logs/test.hierarchy.spec.ts.log.json +0 -325
  269. package/.as-test/logs/test.integer.spec.ts.log.json +0 -373
  270. package/.as-test/logs/test.log.json +0 -11371
  271. package/.as-test/logs/test.map.spec.ts.log.json +0 -247
  272. package/.as-test/logs/test.namespace.spec.ts.log.json +0 -361
  273. package/.as-test/logs/test.null.spec.ts.log.json +0 -273
  274. package/.as-test/logs/test.raw.spec.ts.log.json +0 -309
  275. package/.as-test/logs/test.resolving.spec.ts.log.json +0 -273
  276. package/.as-test/logs/test.set.spec.ts.log.json +0 -733
  277. package/.as-test/logs/test.staticarray.spec.ts.log.json +0 -931
  278. package/.as-test/logs/test.string.spec.ts.log.json +0 -2289
  279. package/.as-test/logs/test.struct.spec.ts.log.json +0 -523
  280. package/.as-test/logs/test.types.spec.ts.log.json +0 -273
  281. package/.as-test/runners/default.bindings.js +0 -68
  282. package/.as-test/runners/default.wasi.js +0 -38
  283. package/ARCHITECTURE.md +0 -323
  284. package/CONTRIBUTING.md +0 -244
  285. package/TODO +0 -1
  286. package/as-test.config.json +0 -40
  287. package/assembly/test.ts +0 -24
  288. package/eslint.config.js +0 -68
  289. package/lib/tsconfig.json +0 -8
  290. package/test.ts +0 -99
  291. package/tools/assemblyscript-eslint-local.js +0 -6
  292. package/tools/assemblyscript-eslint.js +0 -53
  293. package/tools/assemblyscript-prettier-plugin.js +0 -33
  294. package/tools/replacer.js +0 -63
  295. 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": 1.239195,
10
- "end": 1.401124
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": 1.45238,
66
- "end": 1.522039
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": 1.574183,
92
- "end": 1.636523
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": 1.683352,
118
- "end": 1.752658
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": 1.797377,
144
- "end": 1.849958
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": 1.895709,
170
- "end": 1.979827
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": 2.029269,
266
- "end": 2.098074
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": 2.155289,
322
- "end": 2.226555
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": 2.275854,
368
- "end": 2.345931
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": 2.401056,
414
- "end": 2.450625
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": 2.500587,
440
- "end": 2.574926
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": 2.621526,
496
- "end": 2.689456
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": 2.736576,
522
- "end": 2.807935
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": 2.858131,
598
- "end": 2.964624
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": 3.011272,
624
- "end": 3.090325
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": 3.139114,
710
- "end": 3.293738
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": 3.349153,
786
- "end": 3.420811
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": 3.474991,
832
- "end": 3.560104
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": 3.611177,
868
- "end": 3.740866
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
- ]