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,257 +0,0 @@
1
- [
2
- {
3
- "file": "assembly/__tests__/bool.spec.ts",
4
- "suites": [
5
- {
6
- "file": "bool.spec.ts",
7
- "order": 2,
8
- "time": {
9
- "start": 35763920.211765,
10
- "end": 35763920.512727
11
- },
12
- "description": "Should serialize booleans",
13
- "depth": 0,
14
- "suites": [],
15
- "tests": [
16
- {
17
- "order": 0,
18
- "type": "",
19
- "verdict": "ok",
20
- "left": "true",
21
- "right": "true",
22
- "instr": "toBe",
23
- "message": "",
24
- "location": "5:3"
25
- },
26
- {
27
- "order": 1,
28
- "type": "",
29
- "verdict": "ok",
30
- "left": "false",
31
- "right": "false",
32
- "instr": "toBe",
33
- "message": "",
34
- "location": "6:3"
35
- }
36
- ],
37
- "logs": [],
38
- "kind": "describe",
39
- "verdict": "ok"
40
- },
41
- {
42
- "file": "bool.spec.ts",
43
- "order": 2,
44
- "time": {
45
- "start": 35763920.576141,
46
- "end": 35763920.635733
47
- },
48
- "description": "Should deserialize booleans",
49
- "depth": 0,
50
- "suites": [],
51
- "tests": [
52
- {
53
- "order": 0,
54
- "type": "",
55
- "verdict": "ok",
56
- "left": "true",
57
- "right": "true",
58
- "instr": "toBe",
59
- "message": "",
60
- "location": "10:3"
61
- },
62
- {
63
- "order": 1,
64
- "type": "",
65
- "verdict": "ok",
66
- "left": "false",
67
- "right": "false",
68
- "instr": "toBe",
69
- "message": "",
70
- "location": "11:3"
71
- }
72
- ],
73
- "logs": [],
74
- "kind": "describe",
75
- "verdict": "ok"
76
- },
77
- {
78
- "file": "bool.spec.ts",
79
- "order": 6,
80
- "time": {
81
- "start": 35763920.665351,
82
- "end": 35763921.38446
83
- },
84
- "description": "Additional regression coverage - primitives and arrays",
85
- "depth": 0,
86
- "suites": [],
87
- "tests": [
88
- {
89
- "order": 0,
90
- "type": "",
91
- "verdict": "ok",
92
- "left": "\"regression\"",
93
- "right": "\"regression\"",
94
- "instr": "toBe",
95
- "message": "",
96
- "location": "15:3"
97
- },
98
- {
99
- "order": 1,
100
- "type": "",
101
- "verdict": "ok",
102
- "left": "-42",
103
- "right": "-42",
104
- "instr": "toBe",
105
- "message": "",
106
- "location": "16:3"
107
- },
108
- {
109
- "order": 2,
110
- "type": "",
111
- "verdict": "ok",
112
- "left": "false",
113
- "right": "false",
114
- "instr": "toBe",
115
- "message": "",
116
- "location": "17:3"
117
- },
118
- {
119
- "order": 3,
120
- "type": "",
121
- "verdict": "ok",
122
- "left": "3.5",
123
- "right": "3.5",
124
- "instr": "toBe",
125
- "message": "",
126
- "location": "18:3"
127
- },
128
- {
129
- "order": 4,
130
- "type": "",
131
- "verdict": "ok",
132
- "left": "[1,2,3,4]",
133
- "right": "[1,2,3,4]",
134
- "instr": "toBe",
135
- "message": "",
136
- "location": "19:3"
137
- },
138
- {
139
- "order": 5,
140
- "type": "",
141
- "verdict": "ok",
142
- "left": "[\"a\",\"b\",\"c\"]",
143
- "right": "[\"a\",\"b\",\"c\"]",
144
- "instr": "toBe",
145
- "message": "",
146
- "location": "20:3"
147
- }
148
- ],
149
- "logs": [],
150
- "kind": "describe",
151
- "verdict": "ok"
152
- },
153
- {
154
- "file": "bool.spec.ts",
155
- "order": 2,
156
- "time": {
157
- "start": 35763921.434558,
158
- "end": 35763921.669577
159
- },
160
- "description": "Should round-trip boolean arrays and nested arrays",
161
- "depth": 0,
162
- "suites": [],
163
- "tests": [
164
- {
165
- "order": 0,
166
- "type": "",
167
- "verdict": "ok",
168
- "left": "[true,false,true,false]",
169
- "right": "[true,false,true,false]",
170
- "instr": "toBe",
171
- "message": "",
172
- "location": "24:3"
173
- },
174
- {
175
- "order": 1,
176
- "type": "",
177
- "verdict": "ok",
178
- "left": "[[true],[false,true]]",
179
- "right": "[[true],[false,true]]",
180
- "instr": "toBe",
181
- "message": "",
182
- "location": "25:3"
183
- }
184
- ],
185
- "logs": [],
186
- "kind": "describe",
187
- "verdict": "ok"
188
- },
189
- {
190
- "file": "bool.spec.ts",
191
- "order": 5,
192
- "time": {
193
- "start": 35763921.707096,
194
- "end": 35763921.965283
195
- },
196
- "description": "Extended regression coverage - nested and escaped payloads",
197
- "depth": 0,
198
- "suites": [],
199
- "tests": [
200
- {
201
- "order": 0,
202
- "type": "",
203
- "verdict": "ok",
204
- "left": "0",
205
- "right": "0",
206
- "instr": "toBe",
207
- "message": "",
208
- "location": "29:3"
209
- },
210
- {
211
- "order": 1,
212
- "type": "",
213
- "verdict": "ok",
214
- "left": "true",
215
- "right": "true",
216
- "instr": "toBe",
217
- "message": "",
218
- "location": "30:3"
219
- },
220
- {
221
- "order": 2,
222
- "type": "",
223
- "verdict": "ok",
224
- "left": "-0.125",
225
- "right": "-0.125",
226
- "instr": "toBe",
227
- "message": "",
228
- "location": "31:3"
229
- },
230
- {
231
- "order": 3,
232
- "type": "",
233
- "verdict": "ok",
234
- "left": "[[1],[2,3],[]]",
235
- "right": "[[1],[2,3],[]]",
236
- "instr": "toBe",
237
- "message": "",
238
- "location": "32:3"
239
- },
240
- {
241
- "order": 4,
242
- "type": "",
243
- "verdict": "ok",
244
- "left": "\"line\\nbreak\"",
245
- "right": "\"line\\nbreak\"",
246
- "instr": "toBe",
247
- "message": "",
248
- "location": "33:3"
249
- }
250
- ],
251
- "logs": [],
252
- "kind": "describe",
253
- "verdict": "ok"
254
- }
255
- ]
256
- }
257
- ]
@@ -1,353 +0,0 @@
1
- [
2
- {
3
- "file": "assembly/__tests__/box.spec.ts",
4
- "suites": [
5
- {
6
- "file": "box.spec.ts",
7
- "order": 5,
8
- "time": {
9
- "start": 35764013.499221,
10
- "end": 35764013.843845
11
- },
12
- "description": "Should serialize JSON.Box<T>",
13
- "depth": 0,
14
- "suites": [],
15
- "tests": [
16
- {
17
- "order": 0,
18
- "type": "",
19
- "verdict": "ok",
20
- "left": "null",
21
- "right": "null",
22
- "instr": "toBe",
23
- "message": "",
24
- "location": "5:3"
25
- },
26
- {
27
- "order": 1,
28
- "type": "",
29
- "verdict": "ok",
30
- "left": "0",
31
- "right": "0",
32
- "instr": "toBe",
33
- "message": "",
34
- "location": "7:3"
35
- },
36
- {
37
- "order": 2,
38
- "type": "",
39
- "verdict": "ok",
40
- "left": "1",
41
- "right": "1",
42
- "instr": "toBe",
43
- "message": "",
44
- "location": "9:3"
45
- },
46
- {
47
- "order": 3,
48
- "type": "",
49
- "verdict": "ok",
50
- "left": "false",
51
- "right": "false",
52
- "instr": "toBe",
53
- "message": "",
54
- "location": "11:3"
55
- },
56
- {
57
- "order": 4,
58
- "type": "",
59
- "verdict": "ok",
60
- "left": "true",
61
- "right": "true",
62
- "instr": "toBe",
63
- "message": "",
64
- "location": "13:3"
65
- }
66
- ],
67
- "logs": [],
68
- "kind": "describe",
69
- "verdict": "ok"
70
- },
71
- {
72
- "file": "box.spec.ts",
73
- "order": 5,
74
- "time": {
75
- "start": 35764013.898956,
76
- "end": 35764014.075038
77
- },
78
- "description": "Should deserialize JSON.Box<T>",
79
- "depth": 0,
80
- "suites": [],
81
- "tests": [
82
- {
83
- "order": 0,
84
- "type": "",
85
- "verdict": "ok",
86
- "left": "true",
87
- "right": "true",
88
- "instr": "toBe",
89
- "message": "",
90
- "location": "18:3"
91
- },
92
- {
93
- "order": 1,
94
- "type": "",
95
- "verdict": "ok",
96
- "left": "0",
97
- "right": "0",
98
- "instr": "toBe",
99
- "message": "",
100
- "location": "20:3"
101
- },
102
- {
103
- "order": 2,
104
- "type": "",
105
- "verdict": "ok",
106
- "left": "1",
107
- "right": "1",
108
- "instr": "toBe",
109
- "message": "",
110
- "location": "22:3"
111
- },
112
- {
113
- "order": 3,
114
- "type": "",
115
- "verdict": "ok",
116
- "left": "false",
117
- "right": "false",
118
- "instr": "toBe",
119
- "message": "",
120
- "location": "24:3"
121
- },
122
- {
123
- "order": 4,
124
- "type": "",
125
- "verdict": "ok",
126
- "left": "true",
127
- "right": "true",
128
- "instr": "toBe",
129
- "message": "",
130
- "location": "26:3"
131
- }
132
- ],
133
- "logs": [],
134
- "kind": "describe",
135
- "verdict": "ok"
136
- },
137
- {
138
- "file": "box.spec.ts",
139
- "order": 6,
140
- "time": {
141
- "start": 35764014.104068,
142
- "end": 35764014.71205
143
- },
144
- "description": "Additional regression coverage - primitives and arrays",
145
- "depth": 0,
146
- "suites": [],
147
- "tests": [
148
- {
149
- "order": 0,
150
- "type": "",
151
- "verdict": "ok",
152
- "left": "\"regression\"",
153
- "right": "\"regression\"",
154
- "instr": "toBe",
155
- "message": "",
156
- "location": "30:3"
157
- },
158
- {
159
- "order": 1,
160
- "type": "",
161
- "verdict": "ok",
162
- "left": "-42",
163
- "right": "-42",
164
- "instr": "toBe",
165
- "message": "",
166
- "location": "31:3"
167
- },
168
- {
169
- "order": 2,
170
- "type": "",
171
- "verdict": "ok",
172
- "left": "false",
173
- "right": "false",
174
- "instr": "toBe",
175
- "message": "",
176
- "location": "32:3"
177
- },
178
- {
179
- "order": 3,
180
- "type": "",
181
- "verdict": "ok",
182
- "left": "3.5",
183
- "right": "3.5",
184
- "instr": "toBe",
185
- "message": "",
186
- "location": "33:3"
187
- },
188
- {
189
- "order": 4,
190
- "type": "",
191
- "verdict": "ok",
192
- "left": "[1,2,3,4]",
193
- "right": "[1,2,3,4]",
194
- "instr": "toBe",
195
- "message": "",
196
- "location": "34:3"
197
- },
198
- {
199
- "order": 5,
200
- "type": "",
201
- "verdict": "ok",
202
- "left": "[\"a\",\"b\",\"c\"]",
203
- "right": "[\"a\",\"b\",\"c\"]",
204
- "instr": "toBe",
205
- "message": "",
206
- "location": "35:3"
207
- }
208
- ],
209
- "logs": [],
210
- "kind": "describe",
211
- "verdict": "ok"
212
- },
213
- {
214
- "file": "box.spec.ts",
215
- "order": 2,
216
- "time": {
217
- "start": 35764014.75551,
218
- "end": 35764014.816167
219
- },
220
- "description": "Should support JSON.Box.from helpers",
221
- "depth": 0,
222
- "suites": [],
223
- "tests": [
224
- {
225
- "order": 0,
226
- "type": "",
227
- "verdict": "ok",
228
- "left": "99",
229
- "right": "99",
230
- "instr": "toBe",
231
- "message": "",
232
- "location": "40:3"
233
- },
234
- {
235
- "order": 1,
236
- "type": "",
237
- "verdict": "ok",
238
- "left": "false",
239
- "right": "false",
240
- "instr": "toBe",
241
- "message": "",
242
- "location": "43:3"
243
- }
244
- ],
245
- "logs": [],
246
- "kind": "describe",
247
- "verdict": "ok"
248
- },
249
- {
250
- "file": "box.spec.ts",
251
- "order": 2,
252
- "time": {
253
- "start": 35764014.847693,
254
- "end": 35764014.97199
255
- },
256
- "description": "Should deserialize additional JSON.Box values",
257
- "depth": 0,
258
- "suites": [],
259
- "tests": [
260
- {
261
- "order": 0,
262
- "type": "",
263
- "verdict": "ok",
264
- "left": "9223372036854775807",
265
- "right": "9223372036854775807",
266
- "instr": "toBe",
267
- "message": "",
268
- "location": "47:3"
269
- },
270
- {
271
- "order": 1,
272
- "type": "",
273
- "verdict": "ok",
274
- "left": "true",
275
- "right": "true",
276
- "instr": "toBe",
277
- "message": "",
278
- "location": "48:3"
279
- }
280
- ],
281
- "logs": [],
282
- "kind": "describe",
283
- "verdict": "ok"
284
- },
285
- {
286
- "file": "box.spec.ts",
287
- "order": 5,
288
- "time": {
289
- "start": 35764015.009396,
290
- "end": 35764015.268366
291
- },
292
- "description": "Extended regression coverage - nested and escaped payloads",
293
- "depth": 0,
294
- "suites": [],
295
- "tests": [
296
- {
297
- "order": 0,
298
- "type": "",
299
- "verdict": "ok",
300
- "left": "0",
301
- "right": "0",
302
- "instr": "toBe",
303
- "message": "",
304
- "location": "52:3"
305
- },
306
- {
307
- "order": 1,
308
- "type": "",
309
- "verdict": "ok",
310
- "left": "true",
311
- "right": "true",
312
- "instr": "toBe",
313
- "message": "",
314
- "location": "53:3"
315
- },
316
- {
317
- "order": 2,
318
- "type": "",
319
- "verdict": "ok",
320
- "left": "-0.125",
321
- "right": "-0.125",
322
- "instr": "toBe",
323
- "message": "",
324
- "location": "54:3"
325
- },
326
- {
327
- "order": 3,
328
- "type": "",
329
- "verdict": "ok",
330
- "left": "[[1],[2,3],[]]",
331
- "right": "[[1],[2,3],[]]",
332
- "instr": "toBe",
333
- "message": "",
334
- "location": "55:3"
335
- },
336
- {
337
- "order": 4,
338
- "type": "",
339
- "verdict": "ok",
340
- "left": "\"line\\nbreak\"",
341
- "right": "\"line\\nbreak\"",
342
- "instr": "toBe",
343
- "message": "",
344
- "location": "56:3"
345
- }
346
- ],
347
- "logs": [],
348
- "kind": "describe",
349
- "verdict": "ok"
350
- }
351
- ]
352
- }
353
- ]