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