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,733 +0,0 @@
1
- [
2
- {
3
- "file": "assembly/__tests__/set.spec.ts",
4
- "suites": [
5
- {
6
- "file": "set.spec.ts",
7
- "order": 2,
8
- "time": {
9
- "start": 1.218187,
10
- "end": 1.317078
11
- },
12
- "description": "Should serialize integer sets",
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": "9:3"
25
- },
26
- {
27
- "order": 1,
28
- "type": "",
29
- "verdict": "ok",
30
- "left": "[0,100,-100]",
31
- "right": "[0,100,-100]",
32
- "instr": "toBe",
33
- "message": "",
34
- "location": "15:3"
35
- }
36
- ],
37
- "logs": [],
38
- "kind": "describe",
39
- "verdict": "ok"
40
- },
41
- {
42
- "file": "set.spec.ts",
43
- "order": 1,
44
- "time": {
45
- "start": 1.356615,
46
- "end": 1.4208
47
- },
48
- "description": "Should serialize float sets",
49
- "depth": 0,
50
- "suites": [],
51
- "tests": [
52
- {
53
- "order": 0,
54
- "type": "",
55
- "verdict": "ok",
56
- "left": "[7.23,1000.0,0.0]",
57
- "right": "[7.23,1000.0,0.0]",
58
- "instr": "toBe",
59
- "message": "",
60
- "location": "23:3"
61
- }
62
- ],
63
- "logs": [],
64
- "kind": "describe",
65
- "verdict": "ok"
66
- },
67
- {
68
- "file": "set.spec.ts",
69
- "order": 1,
70
- "time": {
71
- "start": 1.464281,
72
- "end": 1.52278
73
- },
74
- "description": "Should serialize boolean sets",
75
- "depth": 0,
76
- "suites": [],
77
- "tests": [
78
- {
79
- "order": 0,
80
- "type": "",
81
- "verdict": "ok",
82
- "left": "[true,false]",
83
- "right": "[true,false]",
84
- "instr": "toBe",
85
- "message": "",
86
- "location": "30:3"
87
- }
88
- ],
89
- "logs": [],
90
- "kind": "describe",
91
- "verdict": "ok"
92
- },
93
- {
94
- "file": "set.spec.ts",
95
- "order": 1,
96
- "time": {
97
- "start": 1.559213,
98
- "end": 1.625736
99
- },
100
- "description": "Should serialize string sets",
101
- "depth": 0,
102
- "suites": [],
103
- "tests": [
104
- {
105
- "order": 0,
106
- "type": "",
107
- "verdict": "ok",
108
- "left": "[\"hello\",\"world\"]",
109
- "right": "[\"hello\",\"world\"]",
110
- "instr": "toBe",
111
- "message": "",
112
- "location": "37:3"
113
- }
114
- ],
115
- "logs": [],
116
- "kind": "describe",
117
- "verdict": "ok"
118
- },
119
- {
120
- "file": "set.spec.ts",
121
- "order": 1,
122
- "time": {
123
- "start": 1.661888,
124
- "end": 1.707456
125
- },
126
- "description": "Should serialize empty sets",
127
- "depth": 0,
128
- "suites": [],
129
- "tests": [
130
- {
131
- "order": 0,
132
- "type": "",
133
- "verdict": "ok",
134
- "left": "[]",
135
- "right": "[]",
136
- "instr": "toBe",
137
- "message": "",
138
- "location": "42:3"
139
- }
140
- ],
141
- "logs": [],
142
- "kind": "describe",
143
- "verdict": "ok"
144
- },
145
- {
146
- "file": "set.spec.ts",
147
- "order": 8,
148
- "time": {
149
- "start": 1.743491,
150
- "end": 1.814749
151
- },
152
- "description": "Should deserialize integer sets",
153
- "depth": 0,
154
- "suites": [],
155
- "tests": [
156
- {
157
- "order": 0,
158
- "type": "",
159
- "verdict": "ok",
160
- "left": true,
161
- "right": true,
162
- "instr": "toBe",
163
- "message": "",
164
- "location": "47:3"
165
- },
166
- {
167
- "order": 1,
168
- "type": "",
169
- "verdict": "ok",
170
- "left": true,
171
- "right": true,
172
- "instr": "toBe",
173
- "message": "",
174
- "location": "48:3"
175
- },
176
- {
177
- "order": 2,
178
- "type": "",
179
- "verdict": "ok",
180
- "left": true,
181
- "right": true,
182
- "instr": "toBe",
183
- "message": "",
184
- "location": "49:3"
185
- },
186
- {
187
- "order": 3,
188
- "type": "",
189
- "verdict": "ok",
190
- "left": 3,
191
- "right": 3,
192
- "instr": "toBe",
193
- "message": "",
194
- "location": "50:3"
195
- },
196
- {
197
- "order": 4,
198
- "type": "",
199
- "verdict": "ok",
200
- "left": true,
201
- "right": true,
202
- "instr": "toBe",
203
- "message": "",
204
- "location": "53:3"
205
- },
206
- {
207
- "order": 5,
208
- "type": "",
209
- "verdict": "ok",
210
- "left": true,
211
- "right": true,
212
- "instr": "toBe",
213
- "message": "",
214
- "location": "54:3"
215
- },
216
- {
217
- "order": 6,
218
- "type": "",
219
- "verdict": "ok",
220
- "left": true,
221
- "right": true,
222
- "instr": "toBe",
223
- "message": "",
224
- "location": "55:3"
225
- },
226
- {
227
- "order": 7,
228
- "type": "",
229
- "verdict": "ok",
230
- "left": 3,
231
- "right": 3,
232
- "instr": "toBe",
233
- "message": "",
234
- "location": "56:3"
235
- }
236
- ],
237
- "logs": [],
238
- "kind": "describe",
239
- "verdict": "ok"
240
- },
241
- {
242
- "file": "set.spec.ts",
243
- "order": 4,
244
- "time": {
245
- "start": 1.853536,
246
- "end": 1.908651
247
- },
248
- "description": "Should deserialize float sets",
249
- "depth": 0,
250
- "suites": [],
251
- "tests": [
252
- {
253
- "order": 0,
254
- "type": "",
255
- "verdict": "ok",
256
- "left": true,
257
- "right": true,
258
- "instr": "toBe",
259
- "message": "",
260
- "location": "61:3"
261
- },
262
- {
263
- "order": 1,
264
- "type": "",
265
- "verdict": "ok",
266
- "left": true,
267
- "right": true,
268
- "instr": "toBe",
269
- "message": "",
270
- "location": "62:3"
271
- },
272
- {
273
- "order": 2,
274
- "type": "",
275
- "verdict": "ok",
276
- "left": true,
277
- "right": true,
278
- "instr": "toBe",
279
- "message": "",
280
- "location": "63:3"
281
- },
282
- {
283
- "order": 3,
284
- "type": "",
285
- "verdict": "ok",
286
- "left": 3,
287
- "right": 3,
288
- "instr": "toBe",
289
- "message": "",
290
- "location": "64:3"
291
- }
292
- ],
293
- "logs": [],
294
- "kind": "describe",
295
- "verdict": "ok"
296
- },
297
- {
298
- "file": "set.spec.ts",
299
- "order": 3,
300
- "time": {
301
- "start": 1.944359,
302
- "end": 1.992362
303
- },
304
- "description": "Should deserialize boolean sets",
305
- "depth": 0,
306
- "suites": [],
307
- "tests": [
308
- {
309
- "order": 0,
310
- "type": "",
311
- "verdict": "ok",
312
- "left": true,
313
- "right": true,
314
- "instr": "toBe",
315
- "message": "",
316
- "location": "69:3"
317
- },
318
- {
319
- "order": 1,
320
- "type": "",
321
- "verdict": "ok",
322
- "left": true,
323
- "right": true,
324
- "instr": "toBe",
325
- "message": "",
326
- "location": "70:3"
327
- },
328
- {
329
- "order": 2,
330
- "type": "",
331
- "verdict": "ok",
332
- "left": 2,
333
- "right": 2,
334
- "instr": "toBe",
335
- "message": "",
336
- "location": "71:3"
337
- }
338
- ],
339
- "logs": [],
340
- "kind": "describe",
341
- "verdict": "ok"
342
- },
343
- {
344
- "file": "set.spec.ts",
345
- "order": 3,
346
- "time": {
347
- "start": 2.029399,
348
- "end": 2.079548
349
- },
350
- "description": "Should deserialize string sets",
351
- "depth": 0,
352
- "suites": [],
353
- "tests": [
354
- {
355
- "order": 0,
356
- "type": "",
357
- "verdict": "ok",
358
- "left": true,
359
- "right": true,
360
- "instr": "toBe",
361
- "message": "",
362
- "location": "76:3"
363
- },
364
- {
365
- "order": 1,
366
- "type": "",
367
- "verdict": "ok",
368
- "left": true,
369
- "right": true,
370
- "instr": "toBe",
371
- "message": "",
372
- "location": "77:3"
373
- },
374
- {
375
- "order": 2,
376
- "type": "",
377
- "verdict": "ok",
378
- "left": 2,
379
- "right": 2,
380
- "instr": "toBe",
381
- "message": "",
382
- "location": "78:3"
383
- }
384
- ],
385
- "logs": [],
386
- "kind": "describe",
387
- "verdict": "ok"
388
- },
389
- {
390
- "file": "set.spec.ts",
391
- "order": 1,
392
- "time": {
393
- "start": 2.116481,
394
- "end": 2.15672
395
- },
396
- "description": "Should deserialize empty sets",
397
- "depth": 0,
398
- "suites": [],
399
- "tests": [
400
- {
401
- "order": 0,
402
- "type": "",
403
- "verdict": "ok",
404
- "left": 0,
405
- "right": 0,
406
- "instr": "toBe",
407
- "message": "",
408
- "location": "83:3"
409
- }
410
- ],
411
- "logs": [],
412
- "kind": "describe",
413
- "verdict": "ok"
414
- },
415
- {
416
- "file": "set.spec.ts",
417
- "order": 4,
418
- "time": {
419
- "start": 2.189839,
420
- "end": 2.249335
421
- },
422
- "description": "Should round-trip sets",
423
- "depth": 0,
424
- "suites": [],
425
- "tests": [
426
- {
427
- "order": 0,
428
- "type": "",
429
- "verdict": "ok",
430
- "left": true,
431
- "right": true,
432
- "instr": "toBe",
433
- "message": "",
434
- "location": "93:3"
435
- },
436
- {
437
- "order": 1,
438
- "type": "",
439
- "verdict": "ok",
440
- "left": true,
441
- "right": true,
442
- "instr": "toBe",
443
- "message": "",
444
- "location": "94:3"
445
- },
446
- {
447
- "order": 2,
448
- "type": "",
449
- "verdict": "ok",
450
- "left": true,
451
- "right": true,
452
- "instr": "toBe",
453
- "message": "",
454
- "location": "95:3"
455
- },
456
- {
457
- "order": 3,
458
- "type": "",
459
- "verdict": "ok",
460
- "left": 3,
461
- "right": 3,
462
- "instr": "toBe",
463
- "message": "",
464
- "location": "96:3"
465
- }
466
- ],
467
- "logs": [],
468
- "kind": "describe",
469
- "verdict": "ok"
470
- },
471
- {
472
- "file": "set.spec.ts",
473
- "order": 1,
474
- "time": {
475
- "start": 2.283469,
476
- "end": 2.386224
477
- },
478
- "description": "Should serialize object sets",
479
- "depth": 0,
480
- "suites": [],
481
- "tests": [
482
- {
483
- "order": 0,
484
- "type": "",
485
- "verdict": "ok",
486
- "left": "[{\"x\":1.0,\"y\":2.0,\"z\":3.0},{\"x\":4.0,\"y\":5.0,\"z\":6.0}]",
487
- "right": "[{\"x\":1.0,\"y\":2.0,\"z\":3.0},{\"x\":4.0,\"y\":5.0,\"z\":6.0}]",
488
- "instr": "toBe",
489
- "message": "",
490
- "location": "104:3"
491
- }
492
- ],
493
- "logs": [],
494
- "kind": "describe",
495
- "verdict": "ok"
496
- },
497
- {
498
- "file": "set.spec.ts",
499
- "order": 6,
500
- "time": {
501
- "start": 2.422086,
502
- "end": 2.566386
503
- },
504
- "description": "Additional regression coverage - primitives and arrays",
505
- "depth": 0,
506
- "suites": [],
507
- "tests": [
508
- {
509
- "order": 0,
510
- "type": "",
511
- "verdict": "ok",
512
- "left": "\"regression\"",
513
- "right": "\"regression\"",
514
- "instr": "toBe",
515
- "message": "",
516
- "location": "116:3"
517
- },
518
- {
519
- "order": 1,
520
- "type": "",
521
- "verdict": "ok",
522
- "left": "-42",
523
- "right": "-42",
524
- "instr": "toBe",
525
- "message": "",
526
- "location": "117:3"
527
- },
528
- {
529
- "order": 2,
530
- "type": "",
531
- "verdict": "ok",
532
- "left": "false",
533
- "right": "false",
534
- "instr": "toBe",
535
- "message": "",
536
- "location": "118:3"
537
- },
538
- {
539
- "order": 3,
540
- "type": "",
541
- "verdict": "ok",
542
- "left": "3.5",
543
- "right": "3.5",
544
- "instr": "toBe",
545
- "message": "",
546
- "location": "119:3"
547
- },
548
- {
549
- "order": 4,
550
- "type": "",
551
- "verdict": "ok",
552
- "left": "[1,2,3,4]",
553
- "right": "[1,2,3,4]",
554
- "instr": "toBe",
555
- "message": "",
556
- "location": "120:3"
557
- },
558
- {
559
- "order": 5,
560
- "type": "",
561
- "verdict": "ok",
562
- "left": "[\"a\",\"b\",\"c\"]",
563
- "right": "[\"a\",\"b\",\"c\"]",
564
- "instr": "toBe",
565
- "message": "",
566
- "location": "121:3"
567
- }
568
- ],
569
- "logs": [],
570
- "kind": "describe",
571
- "verdict": "ok"
572
- },
573
- {
574
- "file": "set.spec.ts",
575
- "order": 4,
576
- "time": {
577
- "start": 2.618666,
578
- "end": 2.676782
579
- },
580
- "description": "Should deduplicate repeated set values",
581
- "depth": 0,
582
- "suites": [],
583
- "tests": [
584
- {
585
- "order": 0,
586
- "type": "",
587
- "verdict": "ok",
588
- "left": 3,
589
- "right": 3,
590
- "instr": "toBe",
591
- "message": "",
592
- "location": "126:3"
593
- },
594
- {
595
- "order": 1,
596
- "type": "",
597
- "verdict": "ok",
598
- "left": true,
599
- "right": true,
600
- "instr": "toBe",
601
- "message": "",
602
- "location": "127:3"
603
- },
604
- {
605
- "order": 2,
606
- "type": "",
607
- "verdict": "ok",
608
- "left": true,
609
- "right": true,
610
- "instr": "toBe",
611
- "message": "",
612
- "location": "128:3"
613
- },
614
- {
615
- "order": 3,
616
- "type": "",
617
- "verdict": "ok",
618
- "left": true,
619
- "right": true,
620
- "instr": "toBe",
621
- "message": "",
622
- "location": "129:3"
623
- }
624
- ],
625
- "logs": [],
626
- "kind": "describe",
627
- "verdict": "ok"
628
- },
629
- {
630
- "file": "set.spec.ts",
631
- "order": 2,
632
- "time": {
633
- "start": 2.724461,
634
- "end": 2.793304
635
- },
636
- "description": "Should deserialize and reserialize string sets",
637
- "depth": 0,
638
- "suites": [],
639
- "tests": [
640
- {
641
- "order": 0,
642
- "type": "",
643
- "verdict": "ok",
644
- "left": 2,
645
- "right": 2,
646
- "instr": "toBe",
647
- "message": "",
648
- "location": "134:3"
649
- },
650
- {
651
- "order": 1,
652
- "type": "",
653
- "verdict": "ok",
654
- "left": "[\"a\",\"b\"]",
655
- "right": "[\"a\",\"b\"]",
656
- "instr": "toBe",
657
- "message": "",
658
- "location": "135:3"
659
- }
660
- ],
661
- "logs": [],
662
- "kind": "describe",
663
- "verdict": "ok"
664
- },
665
- {
666
- "file": "set.spec.ts",
667
- "order": 5,
668
- "time": {
669
- "start": 2.842311,
670
- "end": 2.966631
671
- },
672
- "description": "Extended regression coverage - nested and escaped payloads",
673
- "depth": 0,
674
- "suites": [],
675
- "tests": [
676
- {
677
- "order": 0,
678
- "type": "",
679
- "verdict": "ok",
680
- "left": "0",
681
- "right": "0",
682
- "instr": "toBe",
683
- "message": "",
684
- "location": "139:3"
685
- },
686
- {
687
- "order": 1,
688
- "type": "",
689
- "verdict": "ok",
690
- "left": "true",
691
- "right": "true",
692
- "instr": "toBe",
693
- "message": "",
694
- "location": "140:3"
695
- },
696
- {
697
- "order": 2,
698
- "type": "",
699
- "verdict": "ok",
700
- "left": "-0.125",
701
- "right": "-0.125",
702
- "instr": "toBe",
703
- "message": "",
704
- "location": "141:3"
705
- },
706
- {
707
- "order": 3,
708
- "type": "",
709
- "verdict": "ok",
710
- "left": "[[1],[2,3],[]]",
711
- "right": "[[1],[2,3],[]]",
712
- "instr": "toBe",
713
- "message": "",
714
- "location": "142:3"
715
- },
716
- {
717
- "order": 4,
718
- "type": "",
719
- "verdict": "ok",
720
- "left": "\"line\\nbreak\"",
721
- "right": "\"line\\nbreak\"",
722
- "instr": "toBe",
723
- "message": "",
724
- "location": "143:3"
725
- }
726
- ],
727
- "logs": [],
728
- "kind": "describe",
729
- "verdict": "ok"
730
- }
731
- ]
732
- }
733
- ]