json-as 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/CHANGELOG.md +417 -0
  2. package/README.md +96 -14
  3. package/assembly/deserialize/index/typedarray.ts +14 -0
  4. package/assembly/deserialize/simd/string.ts +3 -3
  5. package/assembly/deserialize/simple/string.ts +88 -2
  6. package/assembly/deserialize/swar/string.ts +8 -11
  7. package/assembly/index.ts +137 -181
  8. package/assembly/serialize/index/arbitrary.ts +5 -0
  9. package/assembly/serialize/index/typedarray.ts +65 -0
  10. package/assembly/serialize/simd/string.ts +3 -11
  11. package/assembly/serialize/simple/arbitrary.ts +6 -0
  12. package/assembly/serialize/simple/string.ts +3 -11
  13. package/assembly/serialize/swar/string.ts +3 -11
  14. package/assembly/util/swar.ts +49 -0
  15. package/lib/as-bs.ts +88 -69
  16. package/package.json +19 -1
  17. package/transform/lib/index.d.ts +1 -0
  18. package/transform/lib/index.d.ts.map +1 -1
  19. package/transform/lib/index.js +153 -32
  20. package/transform/lib/index.js.map +1 -1
  21. package/transform/lib/linkers/custom.d.ts.map +1 -1
  22. package/transform/lib/linkers/custom.js +7 -3
  23. package/transform/lib/linkers/custom.js.map +1 -1
  24. package/transform/lib/types.d.ts +2 -0
  25. package/transform/lib/types.d.ts.map +1 -1
  26. package/transform/lib/types.js +13 -0
  27. package/transform/lib/types.js.map +1 -1
  28. package/.as-test/coverage/naive/coverage.arbitrary.spec.ts.log.json +0 -5628
  29. package/.as-test/coverage/naive/coverage.array.spec.ts.log.json +0 -5187
  30. package/.as-test/coverage/naive/coverage.bool.spec.ts.log.json +0 -5187
  31. package/.as-test/coverage/naive/coverage.box.spec.ts.log.json +0 -5187
  32. package/.as-test/coverage/naive/coverage.custom.spec.ts.log.json +0 -5187
  33. package/.as-test/coverage/naive/coverage.date.spec.ts.log.json +0 -5187
  34. package/.as-test/coverage/naive/coverage.enum.spec.ts.log.json +0 -5187
  35. package/.as-test/coverage/naive/coverage.float.spec.ts.log.json +0 -5187
  36. package/.as-test/coverage/naive/coverage.generics.spec.ts.log.json +0 -5187
  37. package/.as-test/coverage/naive/coverage.hierarchy.spec.ts.log.json +0 -5187
  38. package/.as-test/coverage/naive/coverage.integer.spec.ts.log.json +0 -5187
  39. package/.as-test/coverage/naive/coverage.map.spec.ts.log.json +0 -5187
  40. package/.as-test/coverage/naive/coverage.namespace.spec.ts.log.json +0 -5187
  41. package/.as-test/coverage/naive/coverage.null.spec.ts.log.json +0 -5187
  42. package/.as-test/coverage/naive/coverage.raw.spec.ts.log.json +0 -5187
  43. package/.as-test/coverage/naive/coverage.resolving.spec.ts.log.json +0 -5628
  44. package/.as-test/coverage/naive/coverage.set.spec.ts.log.json +0 -5187
  45. package/.as-test/coverage/naive/coverage.staticarray.spec.ts.log.json +0 -5187
  46. package/.as-test/coverage/naive/coverage.string.spec.ts.log.json +0 -5187
  47. package/.as-test/coverage/naive/coverage.struct.spec.ts.log.json +0 -5187
  48. package/.as-test/coverage/naive/coverage.types.spec.ts.log.json +0 -5187
  49. package/.as-test/coverage/simd/coverage.arbitrary.spec.ts.log.json +0 -5628
  50. package/.as-test/coverage/simd/coverage.array.spec.ts.log.json +0 -5187
  51. package/.as-test/coverage/simd/coverage.bool.spec.ts.log.json +0 -5187
  52. package/.as-test/coverage/simd/coverage.box.spec.ts.log.json +0 -5187
  53. package/.as-test/coverage/simd/coverage.custom.spec.ts.log.json +0 -5187
  54. package/.as-test/coverage/simd/coverage.date.spec.ts.log.json +0 -5187
  55. package/.as-test/coverage/simd/coverage.enum.spec.ts.log.json +0 -5187
  56. package/.as-test/coverage/simd/coverage.float.spec.ts.log.json +0 -5187
  57. package/.as-test/coverage/simd/coverage.generics.spec.ts.log.json +0 -5187
  58. package/.as-test/coverage/simd/coverage.hierarchy.spec.ts.log.json +0 -5187
  59. package/.as-test/coverage/simd/coverage.integer.spec.ts.log.json +0 -5187
  60. package/.as-test/coverage/simd/coverage.map.spec.ts.log.json +0 -5187
  61. package/.as-test/coverage/simd/coverage.namespace.spec.ts.log.json +0 -5187
  62. package/.as-test/coverage/simd/coverage.null.spec.ts.log.json +0 -5187
  63. package/.as-test/coverage/simd/coverage.raw.spec.ts.log.json +0 -5187
  64. package/.as-test/coverage/simd/coverage.resolving.spec.ts.log.json +0 -5628
  65. package/.as-test/coverage/simd/coverage.set.spec.ts.log.json +0 -5187
  66. package/.as-test/coverage/simd/coverage.staticarray.spec.ts.log.json +0 -5187
  67. package/.as-test/coverage/simd/coverage.string.spec.ts.log.json +0 -5187
  68. package/.as-test/coverage/simd/coverage.struct.spec.ts.log.json +0 -5187
  69. package/.as-test/coverage/simd/coverage.types.spec.ts.log.json +0 -5187
  70. package/.as-test/coverage/swar/coverage.arbitrary.spec.ts.log.json +0 -5628
  71. package/.as-test/coverage/swar/coverage.array.spec.ts.log.json +0 -5187
  72. package/.as-test/coverage/swar/coverage.bool.spec.ts.log.json +0 -5187
  73. package/.as-test/coverage/swar/coverage.box.spec.ts.log.json +0 -5187
  74. package/.as-test/coverage/swar/coverage.custom.spec.ts.log.json +0 -5187
  75. package/.as-test/coverage/swar/coverage.date.spec.ts.log.json +0 -5187
  76. package/.as-test/coverage/swar/coverage.enum.spec.ts.log.json +0 -5187
  77. package/.as-test/coverage/swar/coverage.float.spec.ts.log.json +0 -5187
  78. package/.as-test/coverage/swar/coverage.generics.spec.ts.log.json +0 -5187
  79. package/.as-test/coverage/swar/coverage.hierarchy.spec.ts.log.json +0 -5187
  80. package/.as-test/coverage/swar/coverage.integer.spec.ts.log.json +0 -5187
  81. package/.as-test/coverage/swar/coverage.map.spec.ts.log.json +0 -5187
  82. package/.as-test/coverage/swar/coverage.namespace.spec.ts.log.json +0 -5187
  83. package/.as-test/coverage/swar/coverage.null.spec.ts.log.json +0 -5187
  84. package/.as-test/coverage/swar/coverage.raw.spec.ts.log.json +0 -5187
  85. package/.as-test/coverage/swar/coverage.resolving.spec.ts.log.json +0 -5628
  86. package/.as-test/coverage/swar/coverage.set.spec.ts.log.json +0 -5187
  87. package/.as-test/coverage/swar/coverage.staticarray.spec.ts.log.json +0 -5187
  88. package/.as-test/coverage/swar/coverage.string.spec.ts.log.json +0 -5187
  89. package/.as-test/coverage/swar/coverage.struct.spec.ts.log.json +0 -5187
  90. package/.as-test/coverage/swar/coverage.types.spec.ts.log.json +0 -5187
  91. package/.as-test/logs/naive/run.arbitrary.spec.ts.log.json +0 -943
  92. package/.as-test/logs/naive/run.array.spec.ts.log.json +0 -1053
  93. package/.as-test/logs/naive/run.bool.spec.ts.log.json +0 -257
  94. package/.as-test/logs/naive/run.box.spec.ts.log.json +0 -353
  95. package/.as-test/logs/naive/run.custom.spec.ts.log.json +0 -309
  96. package/.as-test/logs/naive/run.date.spec.ts.log.json +0 -397
  97. package/.as-test/logs/naive/run.enum.spec.ts.log.json +0 -343
  98. package/.as-test/logs/naive/run.float.spec.ts.log.json +0 -453
  99. package/.as-test/logs/naive/run.generics.spec.ts.log.json +0 -393
  100. package/.as-test/logs/naive/run.hierarchy.spec.ts.log.json +0 -325
  101. package/.as-test/logs/naive/run.integer.spec.ts.log.json +0 -373
  102. package/.as-test/logs/naive/run.map.spec.ts.log.json +0 -247
  103. package/.as-test/logs/naive/run.namespace.spec.ts.log.json +0 -361
  104. package/.as-test/logs/naive/run.null.spec.ts.log.json +0 -273
  105. package/.as-test/logs/naive/run.raw.spec.ts.log.json +0 -309
  106. package/.as-test/logs/naive/run.resolving.spec.ts.log.json +0 -273
  107. package/.as-test/logs/naive/run.set.spec.ts.log.json +0 -733
  108. package/.as-test/logs/naive/run.staticarray.spec.ts.log.json +0 -931
  109. package/.as-test/logs/naive/run.string.spec.ts.log.json +0 -2289
  110. package/.as-test/logs/naive/run.struct.spec.ts.log.json +0 -523
  111. package/.as-test/logs/naive/run.types.spec.ts.log.json +0 -273
  112. package/.as-test/logs/naive/test.arbitrary.spec.ts.log.json +0 -943
  113. package/.as-test/logs/naive/test.array.spec.ts.log.json +0 -1053
  114. package/.as-test/logs/naive/test.bool.spec.ts.log.json +0 -257
  115. package/.as-test/logs/naive/test.box.spec.ts.log.json +0 -353
  116. package/.as-test/logs/naive/test.custom.spec.ts.log.json +0 -309
  117. package/.as-test/logs/naive/test.date.spec.ts.log.json +0 -397
  118. package/.as-test/logs/naive/test.enum.spec.ts.log.json +0 -343
  119. package/.as-test/logs/naive/test.float.spec.ts.log.json +0 -453
  120. package/.as-test/logs/naive/test.generics.spec.ts.log.json +0 -393
  121. package/.as-test/logs/naive/test.hierarchy.spec.ts.log.json +0 -325
  122. package/.as-test/logs/naive/test.integer.spec.ts.log.json +0 -373
  123. package/.as-test/logs/naive/test.log.json +0 -2289
  124. package/.as-test/logs/naive/test.map.spec.ts.log.json +0 -247
  125. package/.as-test/logs/naive/test.namespace.spec.ts.log.json +0 -361
  126. package/.as-test/logs/naive/test.null.spec.ts.log.json +0 -273
  127. package/.as-test/logs/naive/test.raw.spec.ts.log.json +0 -309
  128. package/.as-test/logs/naive/test.resolving.spec.ts.log.json +0 -273
  129. package/.as-test/logs/naive/test.set.spec.ts.log.json +0 -733
  130. package/.as-test/logs/naive/test.staticarray.spec.ts.log.json +0 -931
  131. package/.as-test/logs/naive/test.string.spec.ts.log.json +0 -2345
  132. package/.as-test/logs/naive/test.struct.spec.ts.log.json +0 -523
  133. package/.as-test/logs/naive/test.types.spec.ts.log.json +0 -273
  134. package/.as-test/logs/simd/run.arbitrary.spec.ts.log.json +0 -943
  135. package/.as-test/logs/simd/run.array.spec.ts.log.json +0 -1053
  136. package/.as-test/logs/simd/run.bool.spec.ts.log.json +0 -257
  137. package/.as-test/logs/simd/run.box.spec.ts.log.json +0 -353
  138. package/.as-test/logs/simd/run.custom.spec.ts.log.json +0 -309
  139. package/.as-test/logs/simd/run.date.spec.ts.log.json +0 -397
  140. package/.as-test/logs/simd/run.enum.spec.ts.log.json +0 -343
  141. package/.as-test/logs/simd/run.float.spec.ts.log.json +0 -453
  142. package/.as-test/logs/simd/run.generics.spec.ts.log.json +0 -393
  143. package/.as-test/logs/simd/run.hierarchy.spec.ts.log.json +0 -325
  144. package/.as-test/logs/simd/run.integer.spec.ts.log.json +0 -373
  145. package/.as-test/logs/simd/run.map.spec.ts.log.json +0 -247
  146. package/.as-test/logs/simd/run.namespace.spec.ts.log.json +0 -361
  147. package/.as-test/logs/simd/run.null.spec.ts.log.json +0 -273
  148. package/.as-test/logs/simd/run.raw.spec.ts.log.json +0 -309
  149. package/.as-test/logs/simd/run.resolving.spec.ts.log.json +0 -273
  150. package/.as-test/logs/simd/run.set.spec.ts.log.json +0 -733
  151. package/.as-test/logs/simd/run.staticarray.spec.ts.log.json +0 -931
  152. package/.as-test/logs/simd/run.string.spec.ts.log.json +0 -2289
  153. package/.as-test/logs/simd/run.struct.spec.ts.log.json +0 -523
  154. package/.as-test/logs/simd/run.types.spec.ts.log.json +0 -273
  155. package/.as-test/logs/simd/test.arbitrary.spec.ts.log.json +0 -943
  156. package/.as-test/logs/simd/test.array.spec.ts.log.json +0 -1053
  157. package/.as-test/logs/simd/test.bool.spec.ts.log.json +0 -257
  158. package/.as-test/logs/simd/test.box.spec.ts.log.json +0 -353
  159. package/.as-test/logs/simd/test.custom.spec.ts.log.json +0 -309
  160. package/.as-test/logs/simd/test.date.spec.ts.log.json +0 -397
  161. package/.as-test/logs/simd/test.enum.spec.ts.log.json +0 -343
  162. package/.as-test/logs/simd/test.float.spec.ts.log.json +0 -453
  163. package/.as-test/logs/simd/test.generics.spec.ts.log.json +0 -393
  164. package/.as-test/logs/simd/test.hierarchy.spec.ts.log.json +0 -325
  165. package/.as-test/logs/simd/test.integer.spec.ts.log.json +0 -373
  166. package/.as-test/logs/simd/test.log.json +0 -11371
  167. package/.as-test/logs/simd/test.map.spec.ts.log.json +0 -247
  168. package/.as-test/logs/simd/test.namespace.spec.ts.log.json +0 -361
  169. package/.as-test/logs/simd/test.null.spec.ts.log.json +0 -273
  170. package/.as-test/logs/simd/test.raw.spec.ts.log.json +0 -309
  171. package/.as-test/logs/simd/test.resolving.spec.ts.log.json +0 -273
  172. package/.as-test/logs/simd/test.set.spec.ts.log.json +0 -733
  173. package/.as-test/logs/simd/test.staticarray.spec.ts.log.json +0 -931
  174. package/.as-test/logs/simd/test.string.spec.ts.log.json +0 -2345
  175. package/.as-test/logs/simd/test.struct.spec.ts.log.json +0 -523
  176. package/.as-test/logs/simd/test.types.spec.ts.log.json +0 -273
  177. package/.as-test/logs/swar/run.arbitrary.spec.ts.log.json +0 -943
  178. package/.as-test/logs/swar/run.array.spec.ts.log.json +0 -1053
  179. package/.as-test/logs/swar/run.bool.spec.ts.log.json +0 -257
  180. package/.as-test/logs/swar/run.box.spec.ts.log.json +0 -353
  181. package/.as-test/logs/swar/run.custom.spec.ts.log.json +0 -309
  182. package/.as-test/logs/swar/run.date.spec.ts.log.json +0 -397
  183. package/.as-test/logs/swar/run.enum.spec.ts.log.json +0 -343
  184. package/.as-test/logs/swar/run.float.spec.ts.log.json +0 -453
  185. package/.as-test/logs/swar/run.generics.spec.ts.log.json +0 -393
  186. package/.as-test/logs/swar/run.hierarchy.spec.ts.log.json +0 -325
  187. package/.as-test/logs/swar/run.integer.spec.ts.log.json +0 -373
  188. package/.as-test/logs/swar/run.map.spec.ts.log.json +0 -247
  189. package/.as-test/logs/swar/run.namespace.spec.ts.log.json +0 -361
  190. package/.as-test/logs/swar/run.null.spec.ts.log.json +0 -273
  191. package/.as-test/logs/swar/run.raw.spec.ts.log.json +0 -309
  192. package/.as-test/logs/swar/run.resolving.spec.ts.log.json +0 -273
  193. package/.as-test/logs/swar/run.set.spec.ts.log.json +0 -733
  194. package/.as-test/logs/swar/run.staticarray.spec.ts.log.json +0 -931
  195. package/.as-test/logs/swar/run.string.spec.ts.log.json +0 -2289
  196. package/.as-test/logs/swar/run.struct.spec.ts.log.json +0 -523
  197. package/.as-test/logs/swar/run.types.spec.ts.log.json +0 -273
  198. package/.as-test/logs/swar/test.arbitrary.spec.ts.log.json +0 -943
  199. package/.as-test/logs/swar/test.array.spec.ts.log.json +0 -1053
  200. package/.as-test/logs/swar/test.bool.spec.ts.log.json +0 -257
  201. package/.as-test/logs/swar/test.box.spec.ts.log.json +0 -353
  202. package/.as-test/logs/swar/test.custom.spec.ts.log.json +0 -309
  203. package/.as-test/logs/swar/test.date.spec.ts.log.json +0 -397
  204. package/.as-test/logs/swar/test.enum.spec.ts.log.json +0 -343
  205. package/.as-test/logs/swar/test.float.spec.ts.log.json +0 -453
  206. package/.as-test/logs/swar/test.generics.spec.ts.log.json +0 -393
  207. package/.as-test/logs/swar/test.hierarchy.spec.ts.log.json +0 -325
  208. package/.as-test/logs/swar/test.integer.spec.ts.log.json +0 -373
  209. package/.as-test/logs/swar/test.log.json +0 -11371
  210. package/.as-test/logs/swar/test.map.spec.ts.log.json +0 -247
  211. package/.as-test/logs/swar/test.namespace.spec.ts.log.json +0 -361
  212. package/.as-test/logs/swar/test.null.spec.ts.log.json +0 -273
  213. package/.as-test/logs/swar/test.raw.spec.ts.log.json +0 -309
  214. package/.as-test/logs/swar/test.resolving.spec.ts.log.json +0 -273
  215. package/.as-test/logs/swar/test.set.spec.ts.log.json +0 -733
  216. package/.as-test/logs/swar/test.staticarray.spec.ts.log.json +0 -931
  217. package/.as-test/logs/swar/test.string.spec.ts.log.json +0 -2345
  218. package/.as-test/logs/swar/test.struct.spec.ts.log.json +0 -523
  219. package/.as-test/logs/swar/test.types.spec.ts.log.json +0 -273
  220. package/.as-test/logs/test.arbitrary.spec.ts.log.json +0 -943
  221. package/.as-test/logs/test.array.spec.ts.log.json +0 -1053
  222. package/.as-test/logs/test.bool.spec.ts.log.json +0 -257
  223. package/.as-test/logs/test.box.spec.ts.log.json +0 -353
  224. package/.as-test/logs/test.custom.spec.ts.log.json +0 -309
  225. package/.as-test/logs/test.date.spec.ts.log.json +0 -397
  226. package/.as-test/logs/test.enum.spec.ts.log.json +0 -343
  227. package/.as-test/logs/test.float.spec.ts.log.json +0 -453
  228. package/.as-test/logs/test.generics.spec.ts.log.json +0 -393
  229. package/.as-test/logs/test.hierarchy.spec.ts.log.json +0 -325
  230. package/.as-test/logs/test.integer.spec.ts.log.json +0 -373
  231. package/.as-test/logs/test.log.json +0 -11371
  232. package/.as-test/logs/test.map.spec.ts.log.json +0 -247
  233. package/.as-test/logs/test.namespace.spec.ts.log.json +0 -361
  234. package/.as-test/logs/test.null.spec.ts.log.json +0 -273
  235. package/.as-test/logs/test.raw.spec.ts.log.json +0 -309
  236. package/.as-test/logs/test.resolving.spec.ts.log.json +0 -273
  237. package/.as-test/logs/test.set.spec.ts.log.json +0 -733
  238. package/.as-test/logs/test.staticarray.spec.ts.log.json +0 -931
  239. package/.as-test/logs/test.string.spec.ts.log.json +0 -2289
  240. package/.as-test/logs/test.struct.spec.ts.log.json +0 -523
  241. package/.as-test/logs/test.types.spec.ts.log.json +0 -273
  242. package/.as-test/runners/default.bindings.js +0 -68
  243. package/.as-test/runners/default.wasi.js +0 -38
  244. package/ARCHITECTURE.md +0 -323
  245. package/CONTRIBUTING.md +0 -244
  246. package/TODO +0 -1
  247. package/as-test.config.json +0 -40
  248. package/assembly/test.ts +0 -24
  249. package/eslint.config.js +0 -68
  250. package/lib/tsconfig.json +0 -8
  251. package/test.ts +0 -99
  252. package/tools/assemblyscript-eslint-local.js +0 -6
  253. package/tools/assemblyscript-eslint.js +0 -53
  254. package/tools/assemblyscript-prettier-plugin.js +0 -33
  255. package/tools/replacer.js +0 -63
  256. package/transform/tsconfig.json +0 -35
@@ -1,325 +0,0 @@
1
- [
2
- {
3
- "file": "assembly/__tests__/hierarchy.spec.ts",
4
- "suites": [
5
- {
6
- "file": "hierarchy.spec.ts",
7
- "order": 1,
8
- "time": {
9
- "start": 24553647.373208,
10
- "end": 24553647.668679
11
- },
12
- "description": "should use custom serializer for subclasses",
13
- "depth": 0,
14
- "suites": [],
15
- "tests": [
16
- {
17
- "order": 0,
18
- "type": "",
19
- "verdict": "ok",
20
- "left": "\"bar\"",
21
- "right": "\"bar\"",
22
- "instr": "toBe",
23
- "message": "",
24
- "location": "39:3"
25
- }
26
- ],
27
- "logs": [],
28
- "kind": "describe",
29
- "verdict": "ok"
30
- },
31
- {
32
- "file": "hierarchy.spec.ts",
33
- "order": 1,
34
- "time": {
35
- "start": 24553647.728175,
36
- "end": 24553647.81296
37
- },
38
- "description": "should use custom serializer for subclasses when type is the parent",
39
- "depth": 0,
40
- "suites": [],
41
- "tests": [
42
- {
43
- "order": 0,
44
- "type": "",
45
- "verdict": "ok",
46
- "left": "\"bar\"",
47
- "right": "\"bar\"",
48
- "instr": "toBe",
49
- "message": "",
50
- "location": "47:3"
51
- }
52
- ],
53
- "logs": [],
54
- "kind": "describe",
55
- "verdict": "ok"
56
- },
57
- {
58
- "file": "hierarchy.spec.ts",
59
- "order": 2,
60
- "time": {
61
- "start": 24553647.860231,
62
- "end": 24553647.948221
63
- },
64
- "description": "should use custom deserializer for subclass",
65
- "depth": 0,
66
- "suites": [],
67
- "tests": [
68
- {
69
- "order": 0,
70
- "type": "",
71
- "verdict": "ok",
72
- "left": "1",
73
- "right": "1",
74
- "instr": "toBe",
75
- "message": "",
76
- "location": "53:3"
77
- },
78
- {
79
- "order": 1,
80
- "type": "",
81
- "verdict": "ok",
82
- "left": "2",
83
- "right": "2",
84
- "instr": "toBe",
85
- "message": "",
86
- "location": "54:3"
87
- }
88
- ],
89
- "logs": [],
90
- "kind": "describe",
91
- "verdict": "ok"
92
- },
93
- {
94
- "file": "hierarchy.spec.ts",
95
- "order": 1,
96
- "time": {
97
- "start": 24553647.985358,
98
- "end": 24553648.051332
99
- },
100
- "description": "should use custom deserializer even when type is the parent",
101
- "depth": 0,
102
- "suites": [],
103
- "tests": [
104
- {
105
- "order": 0,
106
- "type": "",
107
- "verdict": "ok",
108
- "left": "1",
109
- "right": "1",
110
- "instr": "toBe",
111
- "message": "",
112
- "location": "60:3"
113
- }
114
- ],
115
- "logs": [],
116
- "kind": "describe",
117
- "verdict": "ok"
118
- },
119
- {
120
- "file": "hierarchy.spec.ts",
121
- "order": 6,
122
- "time": {
123
- "start": 24553648.09551,
124
- "end": 24553648.861724
125
- },
126
- "description": "Additional regression coverage - primitives and arrays",
127
- "depth": 0,
128
- "suites": [],
129
- "tests": [
130
- {
131
- "order": 0,
132
- "type": "",
133
- "verdict": "ok",
134
- "left": "\"regression\"",
135
- "right": "\"regression\"",
136
- "instr": "toBe",
137
- "message": "",
138
- "location": "64:3"
139
- },
140
- {
141
- "order": 1,
142
- "type": "",
143
- "verdict": "ok",
144
- "left": "-42",
145
- "right": "-42",
146
- "instr": "toBe",
147
- "message": "",
148
- "location": "65:3"
149
- },
150
- {
151
- "order": 2,
152
- "type": "",
153
- "verdict": "ok",
154
- "left": "false",
155
- "right": "false",
156
- "instr": "toBe",
157
- "message": "",
158
- "location": "66:3"
159
- },
160
- {
161
- "order": 3,
162
- "type": "",
163
- "verdict": "ok",
164
- "left": "3.5",
165
- "right": "3.5",
166
- "instr": "toBe",
167
- "message": "",
168
- "location": "67:3"
169
- },
170
- {
171
- "order": 4,
172
- "type": "",
173
- "verdict": "ok",
174
- "left": "[1,2,3,4]",
175
- "right": "[1,2,3,4]",
176
- "instr": "toBe",
177
- "message": "",
178
- "location": "68:3"
179
- },
180
- {
181
- "order": 5,
182
- "type": "",
183
- "verdict": "ok",
184
- "left": "[\"a\",\"b\",\"c\"]",
185
- "right": "[\"a\",\"b\",\"c\"]",
186
- "instr": "toBe",
187
- "message": "",
188
- "location": "69:3"
189
- }
190
- ],
191
- "logs": [],
192
- "kind": "describe",
193
- "verdict": "ok"
194
- },
195
- {
196
- "file": "hierarchy.spec.ts",
197
- "order": 2,
198
- "time": {
199
- "start": 24553648.905946,
200
- "end": 24553648.977265
201
- },
202
- "description": "should return default subclass value on unmatched custom payload",
203
- "depth": 0,
204
- "suites": [],
205
- "tests": [
206
- {
207
- "order": 0,
208
- "type": "",
209
- "verdict": "ok",
210
- "left": "0",
211
- "right": "0",
212
- "instr": "toBe",
213
- "message": "",
214
- "location": "74:3"
215
- },
216
- {
217
- "order": 1,
218
- "type": "",
219
- "verdict": "ok",
220
- "left": "0",
221
- "right": "0",
222
- "instr": "toBe",
223
- "message": "",
224
- "location": "75:3"
225
- }
226
- ],
227
- "logs": [],
228
- "kind": "describe",
229
- "verdict": "ok"
230
- },
231
- {
232
- "file": "hierarchy.spec.ts",
233
- "order": 1,
234
- "time": {
235
- "start": 24553649.026673,
236
- "end": 24553649.103887
237
- },
238
- "description": "should keep base behavior for plain base object",
239
- "depth": 0,
240
- "suites": [],
241
- "tests": [
242
- {
243
- "order": 0,
244
- "type": "",
245
- "verdict": "ok",
246
- "left": "{\"a\":99}",
247
- "right": "{\"a\":99}",
248
- "instr": "toBe",
249
- "message": "",
250
- "location": "81:3"
251
- }
252
- ],
253
- "logs": [],
254
- "kind": "describe",
255
- "verdict": "ok"
256
- },
257
- {
258
- "file": "hierarchy.spec.ts",
259
- "order": 5,
260
- "time": {
261
- "start": 24553649.143812,
262
- "end": 24553649.478673
263
- },
264
- "description": "Extended regression coverage - nested and escaped payloads",
265
- "depth": 0,
266
- "suites": [],
267
- "tests": [
268
- {
269
- "order": 0,
270
- "type": "",
271
- "verdict": "ok",
272
- "left": "0",
273
- "right": "0",
274
- "instr": "toBe",
275
- "message": "",
276
- "location": "85:3"
277
- },
278
- {
279
- "order": 1,
280
- "type": "",
281
- "verdict": "ok",
282
- "left": "true",
283
- "right": "true",
284
- "instr": "toBe",
285
- "message": "",
286
- "location": "86:3"
287
- },
288
- {
289
- "order": 2,
290
- "type": "",
291
- "verdict": "ok",
292
- "left": "-0.125",
293
- "right": "-0.125",
294
- "instr": "toBe",
295
- "message": "",
296
- "location": "87:3"
297
- },
298
- {
299
- "order": 3,
300
- "type": "",
301
- "verdict": "ok",
302
- "left": "[[1],[2,3],[]]",
303
- "right": "[[1],[2,3],[]]",
304
- "instr": "toBe",
305
- "message": "",
306
- "location": "88:3"
307
- },
308
- {
309
- "order": 4,
310
- "type": "",
311
- "verdict": "ok",
312
- "left": "\"line\\nbreak\"",
313
- "right": "\"line\\nbreak\"",
314
- "instr": "toBe",
315
- "message": "",
316
- "location": "89:3"
317
- }
318
- ],
319
- "logs": [],
320
- "kind": "describe",
321
- "verdict": "ok"
322
- }
323
- ]
324
- }
325
- ]
@@ -1,373 +0,0 @@
1
- [
2
- {
3
- "file": "assembly/__tests__/integer.spec.ts",
4
- "suites": [
5
- {
6
- "file": "integer.spec.ts",
7
- "order": 5,
8
- "time": {
9
- "start": 24554454.225312,
10
- "end": 24554454.56702
11
- },
12
- "description": "Should serialize integers",
13
- "depth": 0,
14
- "suites": [],
15
- "tests": [
16
- {
17
- "order": 0,
18
- "type": "",
19
- "verdict": "ok",
20
- "left": "0",
21
- "right": "0",
22
- "instr": "toBe",
23
- "message": "",
24
- "location": "5:3"
25
- },
26
- {
27
- "order": 1,
28
- "type": "",
29
- "verdict": "ok",
30
- "left": "100",
31
- "right": "100",
32
- "instr": "toBe",
33
- "message": "",
34
- "location": "7:3"
35
- },
36
- {
37
- "order": 2,
38
- "type": "",
39
- "verdict": "ok",
40
- "left": "101",
41
- "right": "101",
42
- "instr": "toBe",
43
- "message": "",
44
- "location": "9:3"
45
- },
46
- {
47
- "order": 3,
48
- "type": "",
49
- "verdict": "ok",
50
- "left": "-100",
51
- "right": "-100",
52
- "instr": "toBe",
53
- "message": "",
54
- "location": "11:3"
55
- },
56
- {
57
- "order": 4,
58
- "type": "",
59
- "verdict": "ok",
60
- "left": "-101",
61
- "right": "-101",
62
- "instr": "toBe",
63
- "message": "",
64
- "location": "13:3"
65
- }
66
- ],
67
- "logs": [],
68
- "kind": "describe",
69
- "verdict": "ok"
70
- },
71
- {
72
- "file": "integer.spec.ts",
73
- "order": 5,
74
- "time": {
75
- "start": 24554454.617823,
76
- "end": 24554454.723036
77
- },
78
- "description": "Should deserialize integers",
79
- "depth": 0,
80
- "suites": [],
81
- "tests": [
82
- {
83
- "order": 0,
84
- "type": "",
85
- "verdict": "ok",
86
- "left": "0",
87
- "right": "0",
88
- "instr": "toBe",
89
- "message": "",
90
- "location": "17:3"
91
- },
92
- {
93
- "order": 1,
94
- "type": "",
95
- "verdict": "ok",
96
- "left": "100",
97
- "right": "100",
98
- "instr": "toBe",
99
- "message": "",
100
- "location": "19:3"
101
- },
102
- {
103
- "order": 2,
104
- "type": "",
105
- "verdict": "ok",
106
- "left": "101",
107
- "right": "101",
108
- "instr": "toBe",
109
- "message": "",
110
- "location": "21:3"
111
- },
112
- {
113
- "order": 3,
114
- "type": "",
115
- "verdict": "ok",
116
- "left": "-100",
117
- "right": "-100",
118
- "instr": "toBe",
119
- "message": "",
120
- "location": "23:3"
121
- },
122
- {
123
- "order": 4,
124
- "type": "",
125
- "verdict": "ok",
126
- "left": "-101",
127
- "right": "-101",
128
- "instr": "toBe",
129
- "message": "",
130
- "location": "25:3"
131
- }
132
- ],
133
- "logs": [],
134
- "kind": "describe",
135
- "verdict": "ok"
136
- },
137
- {
138
- "file": "integer.spec.ts",
139
- "order": 6,
140
- "time": {
141
- "start": 24554454.751288,
142
- "end": 24554455.438538
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": "29:3"
157
- },
158
- {
159
- "order": 1,
160
- "type": "",
161
- "verdict": "ok",
162
- "left": "-42",
163
- "right": "-42",
164
- "instr": "toBe",
165
- "message": "",
166
- "location": "30:3"
167
- },
168
- {
169
- "order": 2,
170
- "type": "",
171
- "verdict": "ok",
172
- "left": "false",
173
- "right": "false",
174
- "instr": "toBe",
175
- "message": "",
176
- "location": "31: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": "32: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": "33: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": "34:3"
207
- }
208
- ],
209
- "logs": [],
210
- "kind": "describe",
211
- "verdict": "ok"
212
- },
213
- {
214
- "file": "integer.spec.ts",
215
- "order": 3,
216
- "time": {
217
- "start": 24554455.47948,
218
- "end": 24554455.567086
219
- },
220
- "description": "Should serialize integer boundaries",
221
- "depth": 0,
222
- "suites": [],
223
- "tests": [
224
- {
225
- "order": 0,
226
- "type": "",
227
- "verdict": "ok",
228
- "left": "2147483647",
229
- "right": "2147483647",
230
- "instr": "toBe",
231
- "message": "",
232
- "location": "38:3"
233
- },
234
- {
235
- "order": 1,
236
- "type": "",
237
- "verdict": "ok",
238
- "left": "-2147483648",
239
- "right": "-2147483648",
240
- "instr": "toBe",
241
- "message": "",
242
- "location": "39:3"
243
- },
244
- {
245
- "order": 2,
246
- "type": "",
247
- "verdict": "ok",
248
- "left": "4294967295",
249
- "right": "4294967295",
250
- "instr": "toBe",
251
- "message": "",
252
- "location": "40:3"
253
- }
254
- ],
255
- "logs": [],
256
- "kind": "describe",
257
- "verdict": "ok"
258
- },
259
- {
260
- "file": "integer.spec.ts",
261
- "order": 3,
262
- "time": {
263
- "start": 24554455.596371,
264
- "end": 24554455.686001
265
- },
266
- "description": "Should deserialize integer boundaries",
267
- "depth": 0,
268
- "suites": [],
269
- "tests": [
270
- {
271
- "order": 0,
272
- "type": "",
273
- "verdict": "ok",
274
- "left": "2147483647",
275
- "right": "2147483647",
276
- "instr": "toBe",
277
- "message": "",
278
- "location": "44:3"
279
- },
280
- {
281
- "order": 1,
282
- "type": "",
283
- "verdict": "ok",
284
- "left": "-2147483648",
285
- "right": "-2147483648",
286
- "instr": "toBe",
287
- "message": "",
288
- "location": "45:3"
289
- },
290
- {
291
- "order": 2,
292
- "type": "",
293
- "verdict": "ok",
294
- "left": "4294967295",
295
- "right": "4294967295",
296
- "instr": "toBe",
297
- "message": "",
298
- "location": "46:3"
299
- }
300
- ],
301
- "logs": [],
302
- "kind": "describe",
303
- "verdict": "ok"
304
- },
305
- {
306
- "file": "integer.spec.ts",
307
- "order": 5,
308
- "time": {
309
- "start": 24554455.716472,
310
- "end": 24554456.035313
311
- },
312
- "description": "Extended regression coverage - nested and escaped payloads",
313
- "depth": 0,
314
- "suites": [],
315
- "tests": [
316
- {
317
- "order": 0,
318
- "type": "",
319
- "verdict": "ok",
320
- "left": "0",
321
- "right": "0",
322
- "instr": "toBe",
323
- "message": "",
324
- "location": "50:3"
325
- },
326
- {
327
- "order": 1,
328
- "type": "",
329
- "verdict": "ok",
330
- "left": "true",
331
- "right": "true",
332
- "instr": "toBe",
333
- "message": "",
334
- "location": "51:3"
335
- },
336
- {
337
- "order": 2,
338
- "type": "",
339
- "verdict": "ok",
340
- "left": "-0.125",
341
- "right": "-0.125",
342
- "instr": "toBe",
343
- "message": "",
344
- "location": "52:3"
345
- },
346
- {
347
- "order": 3,
348
- "type": "",
349
- "verdict": "ok",
350
- "left": "[[1],[2,3],[]]",
351
- "right": "[[1],[2,3],[]]",
352
- "instr": "toBe",
353
- "message": "",
354
- "location": "53:3"
355
- },
356
- {
357
- "order": 4,
358
- "type": "",
359
- "verdict": "ok",
360
- "left": "\"line\\nbreak\"",
361
- "right": "\"line\\nbreak\"",
362
- "instr": "toBe",
363
- "message": "",
364
- "location": "54:3"
365
- }
366
- ],
367
- "logs": [],
368
- "kind": "describe",
369
- "verdict": "ok"
370
- }
371
- ]
372
- }
373
- ]