@gregoriusrippenstein/erlang-red-unittest 0.20.2 → 0.21.4

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 (362) hide show
  1. package/README.md +4 -2
  2. package/examples/.core/support JS hash naming in variable access.json +1 -0
  3. package/examples/.elixir/support basic module code.json +1 -0
  4. package/examples/.jsonata/$privdir operator.json +1 -0
  5. package/examples/.jsonata/$replace should be working for newlines.json +1 -0
  6. package/examples/.jsonata/$type operator.json +1 -0
  7. package/examples/.jsonata/ensure that $millis() works.json +1 -0
  8. package/examples/.jsonata/non-string key names.json +1 -0
  9. package/examples/.jsonata/split function.json +1 -0
  10. package/examples/.jsonata/support array definition.json +1 -0
  11. package/examples/assert values/ignores failures if requested and boolean not-equal test.json +1 -0
  12. package/examples/batch/basic behaviour.json +1 -0
  13. package/examples/binary/initial test.json +1 -0
  14. package/examples/binary/parse PNG image data.json +1 -0
  15. package/examples/captureio/Capture io from function node.json +1 -0
  16. package/examples/captureio/Mutliple captures.json +1 -0
  17. package/examples/captureio/capture io from gen_server behaviour.json +1 -0
  18. package/examples/captureio/collect io from event handlers.json +1 -0
  19. package/examples/captureio/collect io from state machine node.json +1 -0
  20. package/examples/catch/catch all exceptions in a single group.json +1 -0
  21. package/examples/catch/catch all in group except those handler elsewhere.json +1 -0
  22. package/examples/catch/deal with it yourself.json +1 -0
  23. package/examples/catch/don't catch if the node isn't selected.json +1 -0
  24. package/examples/change/debug message if no catch node.json +1 -0
  25. package/examples/change/set functionality.json +1 -0
  26. package/examples/change/support buffer type.json +1 -0
  27. package/examples/change/support num types.json +1 -0
  28. package/examples/change/support underscores in binary, hex & octal values.json +1 -0
  29. package/examples/clientcode/Client code node test.json +1 -0
  30. package/examples/complete/avoid endless recursion.json +1 -0
  31. package/examples/complete/avoid recursion - test case 2.json +1 -0
  32. package/examples/complete/its complete nodes all the way down.json +1 -0
  33. package/examples/complete/split node.json +1 -0
  34. package/examples/complete/when is a join complete.json +1 -0
  35. package/examples/csv-decode/comma separated, parse numbers & msg per row.json +1 -0
  36. package/examples/csv-decode/separators other than comma.json +1 -0
  37. package/examples/csv-decode/single message for entire CSV, comma, RFC4180.json +1 -0
  38. package/examples/csv-decode/single message per line.json +1 -0
  39. package/examples/csv-decode/skip line happens before parsing content.json +1 -0
  40. package/examples/csv-encode/line termination and separator.json +1 -0
  41. package/examples/csv-encode/simple object.json +1 -0
  42. package/examples/debug/Jsonata expressions in output field.json +1 -0
  43. package/examples/debug/ensure debug messages are generated.json +1 -0
  44. package/examples/debug/handle largish json files as content.json +1 -0
  45. package/examples/debug/only debug specific property.json +1 -0
  46. package/examples/debug/status message counter.json +1 -0
  47. package/examples/debug/type hadling of JSONata results (ered).json +1 -0
  48. package/examples/debug/type hadling of JSONata results (node-red).json +1 -0
  49. package/examples/delay/delay messages by 5 seconds.json +1 -0
  50. package/examples/delay/delay multiple message for the same length of time.json +1 -0
  51. package/examples/delay/need to provide a status message of queue size.json +1 -0
  52. package/examples/delay/respect the reset flag and dont pass on the reset msg.json +1 -0
  53. package/examples/eventhandler/handle kill exits.json +1 -0
  54. package/examples/eventhandler/handle normal exits.json +1 -0
  55. package/examples/eventhandler/multiple dynamic event handlers.json +1 -0
  56. package/examples/eventhandler/register and unregister handler.json +1 -0
  57. package/examples/eventhandler/static configuration.json +1 -0
  58. package/examples/eventhandler/static handler with arguments.json +1 -0
  59. package/examples/eventhandler/static handler: multiple instances.json +1 -0
  60. package/examples/eventhandler/used with a supervisor node.json +1 -0
  61. package/examples/exec/async with noisy command.json +1 -0
  62. package/examples/exec/empty commands are not supported.json +1 -0
  63. package/examples/exec/generate complete msg once command is done.json +1 -0
  64. package/examples/exec/handle multiple process at once (ered).json +1 -0
  65. package/examples/exec/handle multiple process at once (nred).json +1 -0
  66. package/examples/exec/support timeout specification (ered).json +1 -0
  67. package/examples/exec/support timeout specification (nred).json +1 -0
  68. package/examples/exec/synchronised execution (ered).json +1 -0
  69. package/examples/exec/synchronised execution (nred).json +1 -0
  70. package/examples/file in/basic functionality of being able to read a file.json +1 -0
  71. package/examples/file in/error when file not found.json +1 -0
  72. package/examples/file in/warning if no file name is defined.json +1 -0
  73. package/examples/file in/will accept file name from msg obj.json +1 -0
  74. package/examples/filter/ignore initial value per topic.json +1 -0
  75. package/examples/filter/ignore initial value.json +1 -0
  76. package/examples/filter/post if value changed.json +1 -0
  77. package/examples/flowhubpull/retrieve flow id.json +1 -0
  78. package/examples/function/divide by zero throws kills node.json +1 -0
  79. package/examples/function/ensure /"on stop/" code is executed.json" +1 -0
  80. package/examples/function/function and module work together.json +1 -0
  81. package/examples/function/handle corrupt code.json +1 -0
  82. package/examples/function/return values are important.json +1 -0
  83. package/examples/function/set node context.json +1 -0
  84. package/examples/function/speaks Erlang.json +1 -0
  85. package/examples/function/supervisor interaction.json +1 -0
  86. package/examples/function/support multiple outputs.json +1 -0
  87. package/examples/function/support not returning a message.json +1 -0
  88. package/examples/function/support timeout setting.json +1 -0
  89. package/examples/function/supports completed node.json +1 -0
  90. package/examples/genserver/addressing modules.json +1 -0
  91. package/examples/genserver/triggering functionality.json +1 -0
  92. package/examples/http/Dynamic Routing.json +1 -0
  93. package/examples/http/POST & GET have different endpoints.json +1 -0
  94. package/examples/http/dynamic redirect.json +1 -0
  95. package/examples/http/have params in the path.json +1 -0
  96. package/examples/http/http static routing.json +1 -0
  97. package/examples/http/multiple endpoints don't all get the request.json +1 -0
  98. package/examples/http/nodes should be able to handle requests.json +1 -0
  99. package/examples/http/post requests - json content.json +1 -0
  100. package/examples/http/request parses JSON conent.json +1 -0
  101. package/examples/http/request, ensure url and method are handled.json +1 -0
  102. package/examples/http/set content type.json +1 -0
  103. package/examples/http/support query string on get request.json +1 -0
  104. package/examples/inject/repeat interval.json +1 -0
  105. package/examples/inject/support octal, binary & hex underscore values.json +1 -0
  106. package/examples/inject/trigger after - does not trigger.json +1 -0
  107. package/examples/inject/unsupported JSONata function.json +1 -0
  108. package/examples/join/manual config with count & nested property name.json +1 -0
  109. package/examples/json/parse example json content.json +1 -0
  110. package/examples/json/raise exception if content not valid.json +1 -0
  111. package/examples/json/support prettify json content.json +1 -0
  112. package/examples/link nodes/across flow tabs.json +1 -0
  113. package/examples/link nodes/cascading link calls.json +1 -0
  114. package/examples/markdown/allow for inline html.json +1 -0
  115. package/examples/markdown/convert markdown to html.json +1 -0
  116. package/examples/markdown/support code block.json +1 -0
  117. package/examples/module/Using with Statemachine.json +1 -0
  118. package/examples/module/Using with function node.json +1 -0
  119. package/examples/mqtt/auto-(re)connect.json +1 -0
  120. package/examples/noop/Noop node will error out.json +1 -0
  121. package/examples/process/Can send messages.json +1 -0
  122. package/examples/range/basic examples.json +1 -0
  123. package/examples/split/Array type.json +1 -0
  124. package/examples/split/binary type.json +1 -0
  125. package/examples/split/using strings and buffers.json +1 -0
  126. package/examples/split/work with binary data as string data (ered).json +1 -0
  127. package/examples/split/work with binary data as string data (nred).json +1 -0
  128. package/examples/statemachine/Representing gen_statem in Erlang-Red.json +1 -0
  129. package/examples/statemachine/combined with supervisor.json +1 -0
  130. package/examples/statemachine/exception if no action to perform.json +1 -0
  131. package/examples/status/basic working version.json +1 -0
  132. package/examples/status/only one message per status value.json +1 -0
  133. package/examples/status/source map inside the status map.json +1 -0
  134. package/examples/supervisor/inform user if config needs updating.json +1 -0
  135. package/examples/supervisor/multiple individual supervisors.json +1 -0
  136. package/examples/supervisor/order defined by Y coordinate..json +1 -0
  137. package/examples/supervisor/restart after exit call.json +1 -0
  138. package/examples/supervisor/supervising two function nodes.json +1 -0
  139. package/examples/supervisor/supervisor loops.json +1 -0
  140. package/examples/supervisor/supervisor of supervisor of supervisor of .....json +1 -0
  141. package/examples/supervisor/supervisor told to stop.json +1 -0
  142. package/examples/supervisor/supervisor tree.json +1 -0
  143. package/examples/supervisor/two supervisors cannot supervise the same nodes.json +1 -0
  144. package/examples/supervisor/unsupported configrations.json +1 -0
  145. package/examples/switch/JSONata undefined value & exceptions.json +1 -0
  146. package/examples/switch/post debug on JSONata exception.json +1 -0
  147. package/examples/switch/raise exception if JSONata has exception.json +1 -0
  148. package/examples/tcp/Bad value on output port (3425).json +1 -0
  149. package/examples/tcp/multiple tcp in connectors (1194).json +1 -0
  150. package/examples/tcp/request node - disconnect immediately (1001).json +1 -0
  151. package/examples/tcp/tcp-out node in reply mode (1202).json +1 -0
  152. package/examples/tcp/transfer string between nodes (1201).json +1 -0
  153. package/examples/template/handle base64 encoded data.json +1 -0
  154. package/examples/template/support mustache template.json +1 -0
  155. package/examples/trigger/initial example.json +1 -0
  156. package/nodes/ut-assert-debug.js +305 -19
  157. package/nodes/ut-assert-values.js +179 -161
  158. package/package.json +3 -2
  159. package/plugins/sidebar.html +99 -55
  160. package/priv/testdata/helloworld.txt +1 -0
  161. package/{examples/9e7ccc97f80d9afb/flows.json → priv/testdata/test.json} +53 -20
  162. package/examples/069552b2eb6bce48/flows.json +0 -265
  163. package/examples/08183069b5f8ef9c/flows.json +0 -156
  164. package/examples/084fb0fc954b7156/flows.json +0 -132
  165. package/examples/090eb2d5d71fd45f/flows.json +0 -158
  166. package/examples/0c35d269ca7178c6/flows.json +0 -443
  167. package/examples/0cc95e44532c14ec/flows.json +0 -94
  168. package/examples/0e54563ba63b1501/flows.json +0 -1
  169. package/examples/16b0bc0cdb0c5807/flows.json +0 -1
  170. package/examples/16b254125478329a/flows.json +0 -114
  171. package/examples/182731f54d855071/flows.json +0 -52
  172. package/examples/1ace9e051618db79/flows.json +0 -125
  173. package/examples/1c1d2cb981cf9f01/flows.json +0 -120
  174. package/examples/1db9c9a1b92e0263/flows.json +0 -172
  175. package/examples/20eeaf41372f7b17/flows.json +0 -62
  176. package/examples/27804627fb8f56bd/flows.json +0 -178
  177. package/examples/2a2c508260b96236/flows.json +0 -141
  178. package/examples/34f859d75b76d03c/flows.json +0 -200
  179. package/examples/36846ad6698e1bc0/flows.json +0 -163
  180. package/examples/3be6bc074c7647bd/flows.json +0 -319
  181. package/examples/44f12f6e4a455084/flows.json +0 -272
  182. package/examples/45209c67f865ce73/flows.json +0 -1
  183. package/examples/4657dbc0aa4a97bb/flows.json +0 -268
  184. package/examples/47514a335b4cd67e/flows.json +0 -362
  185. package/examples/486c1412721bb241/flows.json +0 -525
  186. package/examples/51bfa9456b1745c0/flows.json +0 -639
  187. package/examples/538be5947c639b32/flows.json +0 -75
  188. package/examples/545871d31c3f5f3f/flows.json +0 -376
  189. package/examples/55f105cfd894b06c/flows.json +0 -121
  190. package/examples/57d44c342a1f00e2/flows.json +0 -1
  191. package/examples/597ee2a683d9908f/flows.json +0 -129
  192. package/examples/59da63b5adb460db/flows.json +0 -188
  193. package/examples/61142eb3e4e54eab/flows.json +0 -536
  194. package/examples/64445798b59d2630/flows.json +0 -257
  195. package/examples/6d46e3fe1f2245b8/flows.json +0 -86
  196. package/examples/6dd3a5754f83dc2e/flows.json +0 -232
  197. package/examples/6ff45e2a0ce77393/flows.json +0 -131
  198. package/examples/700c94899fdd3334/flows.json +0 -107
  199. package/examples/7581c2be261f9c17/flows.json +0 -1874
  200. package/examples/7ecfd18f58fc6510/flows.json +0 -1
  201. package/examples/7fea9696f6186962/flows.json +0 -141
  202. package/examples/80655e5d4035fa71/flows.json +0 -215
  203. package/examples/8421f37b6c40e1ec/flows.json +0 -1
  204. package/examples/866410b56fa42447/flows.json +0 -1076
  205. package/examples/89aeaeef64509bed/flows.json +0 -101
  206. package/examples/8a627c9bfe3b4aff/flows.json +0 -552
  207. package/examples/96f6f83dcab507e5/flows.json +0 -105
  208. package/examples/9746601768c3b3b6/flows.json +0 -93
  209. package/examples/9942fa1aeb1b2428/flows.json +0 -2346
  210. package/examples/9b1023c95a2613cc/flows.json +0 -141
  211. package/examples/9d11bfc3a6d88535/flows.json +0 -301
  212. package/examples/9f0d6c3ad7798a77/flows.json +0 -142
  213. package/examples/9f7351d7a7304584/flows.json +0 -83
  214. package/examples/a123cd431f1967cd/flows.json +0 -1757
  215. package/examples/a4c9cabf4b335488/flows.json +0 -86
  216. package/examples/a916165378c446e3/flows.json +0 -240
  217. package/examples/ae38b2dbd23d1681/flows.json +0 -3089
  218. package/examples/ae8a9b0bbbaff447/flows.json +0 -271
  219. package/examples/b07b511dc8bb8339/flows.json +0 -92
  220. package/examples/b1501de32c769cf2/flows.json +0 -94
  221. package/examples/b5fbcdbffb568569/flows.json +0 -1
  222. package/examples/b723353a316fa50e/flows.json +0 -1
  223. package/examples/b864b3e3510cd120/flows.json +0 -205
  224. package/examples/bdbe94d065f3b3a6/flows.json +0 -143
  225. package/examples/bfced61e72c69715/flows.json +0 -616
  226. package/examples/c0b1cf6656eac77f/flows.json +0 -518
  227. package/examples/c381b5135cc947cd/flows.json +0 -272
  228. package/examples/c4690c0a085d6ef5/flows.json +0 -145
  229. package/examples/c5f513bc380bc30a/flows.json +0 -696
  230. package/examples/cfa8595b2e2b8269/flows.json +0 -255
  231. package/examples/d17fb2553fe8013a/flows.json +0 -157
  232. package/examples/d61182e87a604efa/flows.json +0 -340
  233. package/examples/eb24c92ce5621760/flows.json +0 -141
  234. package/examples/eb447048178f6e16/flows.json +0 -201
  235. package/examples/eed68dbcecd1431f/flows.json +0 -204
  236. package/examples/ef61f644d5436dbe/flows.json +0 -1
  237. package/examples/f19fdae0c02b4f03/flows.json +0 -1008
  238. package/examples/f2f61ec9fc46a468/flows.json +0 -575
  239. package/examples/f346d45c81f595e5/flows.json +0 -501
  240. package/examples/f38603a59963386c/flows.json +0 -1
  241. package/examples/f5f82ca50317fda7/flows.json +0 -121
  242. package/examples/f946aafaebb1398d/flows.json +0 -135
  243. package/examples/f94db507552f4934/flows.json +0 -165
  244. package/examples/fb50bac16667fc54/flows.json +0 -364
  245. /package/examples/{684b9066e98b9722/flows.json → .core/Disabled node should not be sent messages.json} +0 -0
  246. /package/examples/{7b77600dcf78933f/flows.json → .core/attribute parsing.json} +0 -0
  247. /package/examples/{93c6e969dcf84e70/flows.json → .core/ensure that message ids don't change.json} +0 -0
  248. /package/examples/{d206746f9f2594a6/flows.json → .jsonata/$match operator.json} +0 -0
  249. /package/examples/{37883612d913fd66/flows.json → .jsonata/$not operator.json} +0 -0
  250. /package/examples/{caccb020fce3f485/flows.json → .jsonata/$pad function.json} +0 -0
  251. /package/examples/{a862ae412a70ded1/flows.json → .jsonata/$substring functionality.json} +0 -0
  252. /package/examples/{0b299a3175fc0df1/flows.json → .jsonata/array indexing both forwards and backwards.json} +0 -0
  253. /package/examples/{2037454a5ee0d6c3/flows.json → .jsonata/basic support for JSONata.json} +0 -0
  254. /package/examples/{3e9e526b992d4c48/flows.json → .jsonata/ensure random is seeded.json} +0 -0
  255. /package/examples/{e7184b7ca4f07907/flows.json → .jsonata/sum arrays of objects.json} +0 -0
  256. /package/examples/{218350f2e240a15d/flows.json → .jsonata/support $keys function.json} +0 -0
  257. /package/examples/{b50f775ae3b74d38/flows.json → .jsonata/testing the modulo operator.json} +0 -0
  258. /package/examples/{1658196c31549916/flows.json → batch/batch until batch is full.json} +0 -0
  259. /package/examples/{c843dacf753a19d8/flows.json → batch/ensure batch size of 1 works.json} +0 -0
  260. /package/examples/{9a1bdfdcd7b2be8e/flows.json → batch/performance.json} +0 -0
  261. /package/examples/{538d2f4704cd2eca/flows.json → catch/ensure source is inside error map.json} +0 -0
  262. /package/examples/{6a9ffd45c418497b/flows.json → catch/file not found exception.json} +0 -0
  263. /package/examples/{71f65246c742cfc9/flows.json → catch/multiple nodes in one flow is possible.json} +0 -0
  264. /package/examples/{ed621e03921c13de/flows.json → catch/uncaught catch - part 2 - work.json} +0 -0
  265. /package/examples/{f5bdafa844f6d280/flows.json → catch/uncaught catches.json} +0 -0
  266. /package/examples/{9c51a179141515b2/flows.json → change/change functionality.json} +0 -0
  267. /package/examples/{ea246f68766c8630/flows.json → change/delete functionality.json} +0 -0
  268. /package/examples/{30465efe017cc9b0/flows.json → change/delete nested keys.json} +0 -0
  269. /package/examples/{ced70c769db825eb/flows.json → change/ensure rules are expected in order.json} +0 -0
  270. /package/examples/{7dae2b1a7881c607/flows.json → change/move functionality.json} +0 -0
  271. /package/examples/{92054e0dd22f14c6/flows.json → change/raises an exception if JSONata has exception.json} +0 -0
  272. /package/examples/{b85795a24882502b/flows.json → change/set support nested properties.json} +0 -0
  273. /package/examples/{c28048d859db3773/flows.json → change/support boolean types.json} +0 -0
  274. /package/examples/{12572f9ac11e1786/flows.json → change/support json values in the set.json} +0 -0
  275. /package/examples/{def45a46c8f4da72/flows.json → change/support nested array indicies - setting & getting & deleting.json} +0 -0
  276. /package/examples/{0cb8971e5f88ed1e/flows.json → change/support nested keys on the set operation.json} +0 -0
  277. /package/examples/{48d9fdcde317974e/flows.json → change/support timestamp type.json} +0 -0
  278. /package/examples/{1bac0a78e0a36ec0/flows.json → comment/what is there to test-.json} +0 -0
  279. /package/examples/{b9cd19107a5145c4/flows.json → complete/disabled nodes don't receive.json} +0 -0
  280. /package/examples/{5e07acf2da13b504/flows.json → complete/ensure the altered msg object is sent.json} +0 -0
  281. /package/examples/{01b074cfa6ae8818/flows.json → complete/link nodes.json} +0 -0
  282. /package/examples/{cd44a688eb2ab3cf/flows.json → complete/messags from unconnected inject.json} +0 -0
  283. /package/examples/{30c79fc42a5c35eb/flows.json → complete/only handle messages from listened to nodes.json} +0 -0
  284. /package/examples/{f8727464c799eb22/flows.json → complete/switch node isn't compatible with complete.json} +0 -0
  285. /package/examples/{b2a67e301fabab0e/flows.json → debug/handle the button press to active and deactive debug output.json} +0 -0
  286. /package/examples/{a6dc7002d0a8640e/flows.json → debug/if not active, no debug message in panel.json} +0 -0
  287. /package/examples/{b1463d7bbf545725/flows.json → debug/inactive debug nodes still count messages.json} +0 -0
  288. /package/examples/{5a06352874fa379d/flows.json → debug/only send debug message to server console if asked to.json} +0 -0
  289. /package/examples/{c1370220fd37968e/flows.json → delay/ignore msg.delay if its not set.json} +0 -0
  290. /package/examples/{d17062b01c4a9435/flows.json → delay/random between two values.json} +0 -0
  291. /package/examples/{3ea113b4ec3b6e5e/flows.json → delay/set delay via msg.delay.json} +0 -0
  292. /package/examples/{e2a801d2b3e2143f/flows.json → exec/add payload and append arguments.json} +0 -0
  293. /package/examples/{b98d0b05a760ad79/flows.json → exec/execute simple command.json} +0 -0
  294. /package/examples/{6ea4c6b373eeaa8d/flows.json → filter/narrowband no topic.json} +0 -0
  295. /package/examples/{cef9dd7dc179b8b3/flows.json → filter/value differ by topic.json} +0 -0
  296. /package/examples/{b2fcc5806b2715c0/flows.json → inject/JSONata undefined value & exceptions.json} +0 -0
  297. /package/examples/{09aab59a2455cf15/flows.json → inject/Payload, topic and fubar set on inject.json} +0 -0
  298. /package/examples/{8180ae5891c673de/flows.json → inject/ensure that topic is set correctly.json} +0 -0
  299. /package/examples/{1eb35963b752eca9/flows.json → inject/json support for properties other than payload.json} +0 -0
  300. /package/examples/{61847d719e50f83f/flows.json → inject/jsonata support for both payload and other properties.json} +0 -0
  301. /package/examples/{459322e0f8e0b785/flows.json → inject/nested hash & array support.json} +0 -0
  302. /package/examples/{c163c627bd2a37c7/flows.json → inject/support boolean type.json} +0 -0
  303. /package/examples/{7e1d04570c6bdff9/flows.json → inject/support jsonata for topic values.json} +0 -0
  304. /package/examples/{1a196bce3e57f5c1/flows.json → inject/support nested property names.json} +0 -0
  305. /package/examples/{2a12af161b544aa1/flows.json → inject/support num types.json} +0 -0
  306. /package/examples/{ec921769b3c24fb6/flows.json → inject/support the msg property type.json} +0 -0
  307. /package/examples/{9ff2e8ab21d922c5/flows.json → inject/trigger once - default value.json} +0 -0
  308. /package/examples/{1d3326a724ecbea0/flows.json → join/automatic mode.json} +0 -0
  309. /package/examples/{24f35eaa8656755f/flows.json → join/count overrides parts, complete overrides count.json} +0 -0
  310. /package/examples/{987cd33b9cda8529/flows.json → join/manual configration with count and property name.json} +0 -0
  311. /package/examples/{50d5679818477b66/flows.json → join/manual configuration counting messages.json} +0 -0
  312. /package/examples/{894f6e38bfd1aca6/flows.json → join/remove parts once matched.json} +0 -0
  313. /package/examples/{5cf6aec7d688fce4/flows.json → join/results are not ordered by index.json} +0 -0
  314. /package/examples/{d5424657b497d5af/flows.json → join/useparts with count value.json} +0 -0
  315. /package/examples/{77854a5ea962257b/flows.json → join/useparts without count value.json} +0 -0
  316. /package/examples/{f1e71f2ccb34fd6e/flows.json → join/wait for complete until messages are sent.json} +0 -0
  317. /package/examples/{d4ce58359ff6ff96/flows.json → join/with parts until complete received.json} +0 -0
  318. /package/examples/{b3f365d0b7d1f97d/flows.json → json/overwrite the attribute.json} +0 -0
  319. /package/examples/{e1ced3b16782f7c8/flows.json → junction/should just pass on the message.json} +0 -0
  320. /package/examples/{51870a76d1aaf67a/flows.json → link nodes/_linkSource support.json} +0 -0
  321. /package/examples/{bbb1fc2d47c3cd5f/flows.json → link nodes/basic test whether out and in can connect.json} +0 -0
  322. /package/examples/{15c2fad089960984/flows.json → link nodes/dynamic targets and timeout.json} +0 -0
  323. /package/examples/{c274a07715a87ca4/flows.json → link nodes/exception if dynamic link does not exist.json} +0 -0
  324. /package/examples/{9463eba0ab843567/flows.json → link nodes/exception if multiple link nodes match.json} +0 -0
  325. /package/examples/{641ddaab2819c61d/flows.json → link nodes/flow for call and returning.json} +0 -0
  326. /package/examples/{b6d4e4592b27a344/flows.json → link nodes/implement time out on link call node.json} +0 -0
  327. /package/examples/{c6ee6e89a51c98fc/flows.json → link nodes/link call - return to sender.json} +0 -0
  328. /package/examples/{38616d22e1569aa5/flows.json → link nodes/link call to a dynamic link in node - by name.json} +0 -0
  329. /package/examples/{5433b57035d597f9/flows.json → link nodes/link call to a dynamic link in node - by node id.json} +0 -0
  330. /package/examples/{213803d61ecfde3a/flows.json → link nodes/mutliple links.json} +0 -0
  331. /package/examples/{b7ebaf91f4d66ab3/flows.json → sort/array of objects.json} +0 -0
  332. /package/examples/{cffa610c817beb43/flows.json → sort/msg.complete is not respected.json} +0 -0
  333. /package/examples/{5f6929bb3374b782/flows.json → sort/sort by parts.index.json} +0 -0
  334. /package/examples/{b1430ea37ba7cc19/flows.json → split/array split.json} +0 -0
  335. /package/examples/{4de34883c5d93dc3/flows.json → split/len value is the array split size.json} +0 -0
  336. /package/examples/{2c59ef974b2523ba/flows.json → split/nested parts.json} +0 -0
  337. /package/examples/{02b18fc0ed9de178/flows.json → split/parts id is identical.json} +0 -0
  338. /package/examples/{435d3b48dd0f462c/flows.json → split/silently ignore integer as a value to split.json} +0 -0
  339. /package/examples/{5cd133958df17529/flows.json → switch/catch all v. stop after first.json} +0 -0
  340. /package/examples/{562c518969666f24/flows.json → switch/empty, non-empty, null & not-null operators.json} +0 -0
  341. /package/examples/{3edda6bd788f88c2/flows.json → switch/ensure JSONata support.json} +0 -0
  342. /package/examples/{2c1c291ec8466bfb/flows.json → switch/handle is true & is false.json} +0 -0
  343. /package/examples/{59aa8a866d8d7a70/flows.json → switch/handle nested values.json} +0 -0
  344. /package/examples/{def56742e02f6a75/flows.json → switch/property is not defined on msg object.json} +0 -0
  345. /package/examples/{f4c4a57e77439a1b/flows.json → switch/regular expression operator.json} +0 -0
  346. /package/examples/{ce2f98273da05245/flows.json → switch/support otherwise /"catchall/" rule.json"} +0 -0
  347. /package/examples/{0616f795a4aee63e/flows.json → switch/working JSONata expression operator.json} +0 -0
  348. /package/examples/{84a5a362cafe703f/flows.json → tcp/request node - stream of strings (1101).json} +0 -0
  349. /package/examples/{6f0dcbf18234c5e2/flows.json → tcp/tcp in node connect to (9393).json} +0 -0
  350. /package/examples/{2a95a7b40a798878/flows.json → tcp/telnet server (2323).json} +0 -0
  351. /package/examples/{698b83b8aeb5d5b6/flows.json → template/contains plain text and no mustache content.json} +0 -0
  352. /package/examples/{63ca9baf860d1d8f/flows.json → template/support Json encoding.json} +0 -0
  353. /package/examples/{3ed472eab9503b4f/flows.json → template/support logic in logicless mustache template.json} +0 -0
  354. /package/examples/{ad2bf1089481dcfb/flows.json → trigger/extend timer.json} +0 -0
  355. /package/examples/{8bc7412d6a4869c6/flows.json → trigger/loops of triggers.json} +0 -0
  356. /package/examples/{55f7fbe90e5befa8/flows.json → trigger/msg.delay overrides the configured delay.json} +0 -0
  357. /package/examples/{34d211e37618313c/flows.json → trigger/override via delay but no delay set.json} +0 -0
  358. /package/examples/{988f27b9abdde6e9/flows.json → trigger/send both messages on one pipe.json} +0 -0
  359. /package/examples/{338c5b411f4edfe8/flows.json → trigger/send first but not second message.json} +0 -0
  360. /package/examples/{5d4908af3d4f95e5/flows.json → trigger/send second message only.json} +0 -0
  361. /package/examples/{d595c53abba88f72/flows.json → trigger/the noop trigger.json} +0 -0
  362. /package/examples/{1566e453a88578a9/flows.json → trigger/two outputs.json} +0 -0
@@ -1,340 +0,0 @@
1
- [
2
- {
3
- "id": "d61182e87a604efa",
4
- "type": "tab",
5
- "label": "[mqtt] sending an integer should also work",
6
- "disabled": false,
7
- "info": "",
8
- "env": [
9
- {
10
- "name": "NRED_PENDING",
11
- "value": "true",
12
- "type": "bool"
13
- }
14
- ]
15
- },
16
- {
17
- "id": "ee8339e78d86c381",
18
- "type": "group",
19
- "z": "d61182e87a604efa",
20
- "name": "",
21
- "style": {
22
- "fill": "#ff0000",
23
- "label": true
24
- },
25
- "nodes": [
26
- "39234a0243afaba2"
27
- ],
28
- "x": 554,
29
- "y": 93,
30
- "w": 364,
31
- "h": 134
32
- },
33
- {
34
- "id": "39234a0243afaba2",
35
- "type": "group",
36
- "z": "d61182e87a604efa",
37
- "g": "ee8339e78d86c381",
38
- "name": "",
39
- "style": {
40
- "fill": "#ffffff",
41
- "label": true
42
- },
43
- "nodes": [
44
- "510266169eb41755"
45
- ],
46
- "x": 580,
47
- "y": 119,
48
- "w": 312,
49
- "h": 82
50
- },
51
- {
52
- "id": "0b1677240ac7aa76",
53
- "type": "exec",
54
- "z": "d61182e87a604efa",
55
- "command": "mosquitto",
56
- "addpay": "",
57
- "append": "",
58
- "useSpawn": "false",
59
- "timer": "",
60
- "winHide": false,
61
- "oldrc": false,
62
- "name": "",
63
- "x": 322,
64
- "y": 319,
65
- "wires": [
66
- [],
67
- [],
68
- []
69
- ]
70
- },
71
- {
72
- "id": "c99bfd2028220d49",
73
- "type": "inject",
74
- "z": "d61182e87a604efa",
75
- "name": "spin up mosquitto",
76
- "props": [],
77
- "repeat": "",
78
- "crontab": "",
79
- "once": false,
80
- "onceDelay": 0.1,
81
- "topic": "",
82
- "x": 303,
83
- "y": 246,
84
- "wires": [
85
- [
86
- "0b1677240ac7aa76"
87
- ]
88
- ]
89
- },
90
- {
91
- "id": "a8b8bf609a3f1928",
92
- "type": "inject",
93
- "z": "d61182e87a604efa",
94
- "name": "",
95
- "props": [
96
- {
97
- "p": "payload"
98
- },
99
- {
100
- "p": "topic",
101
- "vt": "str"
102
- }
103
- ],
104
- "repeat": "",
105
- "crontab": "",
106
- "once": false,
107
- "onceDelay": 0.1,
108
- "topic": "",
109
- "payload": "123456789",
110
- "payloadType": "num",
111
- "x": 186,
112
- "y": 443,
113
- "wires": [
114
- [
115
- "aab34a4de1112b5b"
116
- ]
117
- ]
118
- },
119
- {
120
- "id": "cd145778333a2659",
121
- "type": "mqtt out",
122
- "z": "d61182e87a604efa",
123
- "name": "",
124
- "topic": "number",
125
- "qos": "0",
126
- "retain": "false",
127
- "respTopic": "",
128
- "contentType": "",
129
- "userProps": "",
130
- "correl": "",
131
- "expiry": "",
132
- "broker": "7f5d1ea6113ca12f",
133
- "x": 211,
134
- "y": 565,
135
- "wires": []
136
- },
137
- {
138
- "id": "9b9bd5def9bf3159",
139
- "type": "mqtt in",
140
- "z": "d61182e87a604efa",
141
- "name": "",
142
- "topic": "number",
143
- "qos": "0",
144
- "datatype": "auto-detect",
145
- "broker": "7f5d1ea6113ca12f",
146
- "nl": false,
147
- "rap": true,
148
- "rh": 0,
149
- "inputs": 0,
150
- "x": 340,
151
- "y": 739,
152
- "wires": [
153
- [
154
- "2f0eb5415c9029c0",
155
- "1ba8b109a808b8ab"
156
- ]
157
- ]
158
- },
159
- {
160
- "id": "342667808c89eb76",
161
- "type": "inject",
162
- "z": "d61182e87a604efa",
163
- "name": "",
164
- "props": [
165
- {
166
- "p": "payload"
167
- },
168
- {
169
- "p": "topic",
170
- "vt": "str"
171
- }
172
- ],
173
- "repeat": "",
174
- "crontab": "",
175
- "once": false,
176
- "onceDelay": 0.1,
177
- "topic": "",
178
- "payload": "123456789.123456789",
179
- "payloadType": "num",
180
- "x": 503,
181
- "y": 447,
182
- "wires": [
183
- [
184
- "6f4c5200201c7926"
185
- ]
186
- ]
187
- },
188
- {
189
- "id": "3e55b3bd534e59d9",
190
- "type": "mqtt out",
191
- "z": "d61182e87a604efa",
192
- "name": "",
193
- "topic": "number",
194
- "qos": "0",
195
- "retain": "false",
196
- "respTopic": "",
197
- "contentType": "",
198
- "userProps": "",
199
- "correl": "",
200
- "expiry": "",
201
- "broker": "7f5d1ea6113ca12f",
202
- "x": 488,
203
- "y": 569,
204
- "wires": []
205
- },
206
- {
207
- "id": "aab34a4de1112b5b",
208
- "type": "delay",
209
- "z": "d61182e87a604efa",
210
- "name": "",
211
- "pauseType": "delay",
212
- "timeout": "1",
213
- "timeoutUnits": "seconds",
214
- "rate": "1",
215
- "nbRateUnits": "1",
216
- "rateUnits": "second",
217
- "randomFirst": "1",
218
- "randomLast": "5",
219
- "randomUnits": "seconds",
220
- "drop": false,
221
- "allowrate": false,
222
- "outputs": 1,
223
- "x": 184,
224
- "y": 504,
225
- "wires": [
226
- [
227
- "cd145778333a2659"
228
- ]
229
- ]
230
- },
231
- {
232
- "id": "6f4c5200201c7926",
233
- "type": "delay",
234
- "z": "d61182e87a604efa",
235
- "name": "",
236
- "pauseType": "delay",
237
- "timeout": "1",
238
- "timeoutUnits": "seconds",
239
- "rate": "1",
240
- "nbRateUnits": "1",
241
- "rateUnits": "second",
242
- "randomFirst": "1",
243
- "randomLast": "5",
244
- "randomUnits": "seconds",
245
- "drop": false,
246
- "allowrate": false,
247
- "outputs": 1,
248
- "x": 493,
249
- "y": 509,
250
- "wires": [
251
- [
252
- "3e55b3bd534e59d9"
253
- ]
254
- ]
255
- },
256
- {
257
- "id": "2f0eb5415c9029c0",
258
- "type": "ut-assert-values",
259
- "z": "d61182e87a604efa",
260
- "name": "",
261
- "ignore_failure_if_succeed": true,
262
- "rules": [
263
- {
264
- "p": "payload",
265
- "pt": "msg",
266
- "t": "eql",
267
- "to": "1.23456789123456791043e+08",
268
- "tot": "str"
269
- }
270
- ],
271
- "x": 692,
272
- "y": 790,
273
- "wires": [
274
- []
275
- ]
276
- },
277
- {
278
- "id": "1ba8b109a808b8ab",
279
- "type": "ut-assert-values",
280
- "z": "d61182e87a604efa",
281
- "name": "",
282
- "ignore_failure_if_succeed": true,
283
- "rules": [
284
- {
285
- "p": "payload",
286
- "pt": "msg",
287
- "t": "eql",
288
- "to": "123456789",
289
- "tot": "str"
290
- }
291
- ],
292
- "x": 711,
293
- "y": 682,
294
- "wires": [
295
- []
296
- ]
297
- },
298
- {
299
- "id": "510266169eb41755",
300
- "type": "comment",
301
- "z": "d61182e87a604efa",
302
- "g": "39234a0243afaba2",
303
- "name": "Requires mosquitto is installed",
304
- "info": "",
305
- "x": 736,
306
- "y": 160,
307
- "wires": []
308
- },
309
- {
310
- "id": "7f5d1ea6113ca12f",
311
- "type": "mqtt-broker",
312
- "name": "",
313
- "broker": "localhost",
314
- "port": 1883,
315
- "clientid": "",
316
- "autoConnect": true,
317
- "usetls": false,
318
- "protocolVersion": 4,
319
- "keepalive": 60,
320
- "cleansession": true,
321
- "autoUnsubscribe": true,
322
- "birthTopic": "",
323
- "birthQos": "0",
324
- "birthRetain": "false",
325
- "birthPayload": "",
326
- "birthMsg": {},
327
- "closeTopic": "",
328
- "closeQos": "0",
329
- "closeRetain": "false",
330
- "closePayload": "",
331
- "closeMsg": {},
332
- "willTopic": "",
333
- "willQos": "0",
334
- "willRetain": "false",
335
- "willPayload": "",
336
- "willMsg": {},
337
- "userProps": "",
338
- "sessionExpiry": ""
339
- }
340
- ]
@@ -1,141 +0,0 @@
1
- [
2
- {
3
- "id": "eb24c92ce5621760",
4
- "type": "tab",
5
- "label": "[catch] catch all in group except those handler elsewhere",
6
- "disabled": false,
7
- "info": "",
8
- "env": []
9
- },
10
- {
11
- "id": "5ea70f167d125afc",
12
- "type": "group",
13
- "z": "eb24c92ce5621760",
14
- "style": {
15
- "stroke": "#999999",
16
- "stroke-opacity": "1",
17
- "fill": "none",
18
- "fill-opacity": "1",
19
- "label": true,
20
- "label-position": "nw",
21
- "color": "#a4a4a4"
22
- },
23
- "nodes": [
24
- "a703aaba38a383b9",
25
- "3bf38b22cdb0fa95",
26
- "98023732b523561f",
27
- "e846b7ff5f8f635f",
28
- "b4a34cf82fc8630d",
29
- "0fb3435653486c14"
30
- ],
31
- "x": 347.85716247558594,
32
- "y": 426.8214364051819,
33
- "w": 956.1428375244141,
34
- "h": 271.46425199508667
35
- },
36
- {
37
- "id": "a703aaba38a383b9",
38
- "type": "function",
39
- "z": "eb24c92ce5621760",
40
- "g": "5ea70f167d125afc",
41
- "name": "function 22",
42
- "func": "node.wrnd(\"dd\")\nreturn msg;",
43
- "outputs": 1,
44
- "timeout": 0,
45
- "noerr": 0,
46
- "initialize": "",
47
- "finalize": "",
48
- "libs": [],
49
- "x": 952.4285736083984,
50
- "y": 657.2856884002686,
51
- "wires": [
52
- []
53
- ]
54
- },
55
- {
56
- "id": "3bf38b22cdb0fa95",
57
- "type": "inject",
58
- "z": "eb24c92ce5621760",
59
- "g": "5ea70f167d125afc",
60
- "name": "",
61
- "props": [
62
- {
63
- "p": "payload"
64
- },
65
- {
66
- "p": "topic",
67
- "vt": "str"
68
- }
69
- ],
70
- "repeat": "",
71
- "crontab": "",
72
- "once": false,
73
- "onceDelay": 0.1,
74
- "topic": "",
75
- "payload": "",
76
- "payloadType": "date",
77
- "x": 545.2857666015625,
78
- "y": 657.2856884002686,
79
- "wires": [
80
- [
81
- "a703aaba38a383b9"
82
- ]
83
- ]
84
- },
85
- {
86
- "id": "98023732b523561f",
87
- "type": "catch",
88
- "z": "eb24c92ce5621760",
89
- "g": "5ea70f167d125afc",
90
- "name": "",
91
- "scope": [
92
- "a703aaba38a383b9"
93
- ],
94
- "uncaught": false,
95
- "x": 952.4285736083984,
96
- "y": 604.4285936355591,
97
- "wires": [
98
- [
99
- "0fb3435653486c14"
100
- ]
101
- ]
102
- },
103
- {
104
- "id": "e846b7ff5f8f635f",
105
- "type": "catch",
106
- "z": "eb24c92ce5621760",
107
- "g": "5ea70f167d125afc",
108
- "name": "catch all in group except those already dealt with",
109
- "scope": "group",
110
- "uncaught": true,
111
- "x": 553.8571624755859,
112
- "y": 467.8214364051819,
113
- "wires": [
114
- [
115
- "b4a34cf82fc8630d"
116
- ]
117
- ]
118
- },
119
- {
120
- "id": "b4a34cf82fc8630d",
121
- "type": "ut-assert-failure",
122
- "z": "eb24c92ce5621760",
123
- "g": "5ea70f167d125afc",
124
- "name": "",
125
- "x": 936,
126
- "y": 467.8214364051819,
127
- "wires": []
128
- },
129
- {
130
- "id": "0fb3435653486c14",
131
- "type": "ut-assert-success",
132
- "z": "eb24c92ce5621760",
133
- "g": "5ea70f167d125afc",
134
- "name": "",
135
- "msglimit": "==",
136
- "count": 1,
137
- "x": 1188,
138
- "y": 467.8214364051819,
139
- "wires": []
140
- }
141
- ]
@@ -1,201 +0,0 @@
1
- [
2
- {
3
- "id": "eb447048178f6e16",
4
- "type": "tab",
5
- "label": "[.jsonata] ensure that $millis() works",
6
- "disabled": false,
7
- "info": "$millis() is a NodeRED special that has special behaviour:\n\n> All invocations of $millis() within an evaluation of an expression will all return the same value.\n\nSo this test ensures that behaviour is covered.",
8
- "env": [
9
- {
10
- "name": "ERED_PENDING",
11
- "value": "false",
12
- "type": "bool"
13
- },
14
- {
15
- "name": "NRED_PENDING",
16
- "value": "false",
17
- "type": "bool"
18
- }
19
- ]
20
- },
21
- {
22
- "id": "4305d2a6e180fe99",
23
- "type": "group",
24
- "z": "eb447048178f6e16",
25
- "g": "8d99a4ba3d02349a",
26
- "name": "",
27
- "style": {
28
- "fill": "#ffffff",
29
- "label": true
30
- },
31
- "nodes": [
32
- "a37d9d97bc0b6647"
33
- ],
34
- "x": 230.5,
35
- "y": 100,
36
- "w": 232,
37
- "h": 82
38
- },
39
- {
40
- "id": "8d99a4ba3d02349a",
41
- "type": "group",
42
- "z": "eb447048178f6e16",
43
- "name": "",
44
- "style": {
45
- "fill": "#ff0000",
46
- "label": true
47
- },
48
- "nodes": [
49
- "4305d2a6e180fe99"
50
- ],
51
- "x": 204.5,
52
- "y": 74,
53
- "w": 284,
54
- "h": 134
55
- },
56
- {
57
- "id": "6e4e7d888cabf325",
58
- "type": "inject",
59
- "z": "eb447048178f6e16",
60
- "name": "",
61
- "props": [
62
- {
63
- "p": "payload"
64
- }
65
- ],
66
- "repeat": "",
67
- "crontab": "",
68
- "once": false,
69
- "onceDelay": 0.1,
70
- "topic": "",
71
- "payload": "{ \"key\": $millis() - $millis() }",
72
- "payloadType": "jsonata",
73
- "x": 279,
74
- "y": 326.5,
75
- "wires": [
76
- [
77
- "11c4e9bc27404a44"
78
- ]
79
- ]
80
- },
81
- {
82
- "id": "11c4e9bc27404a44",
83
- "type": "ut-assert-values",
84
- "z": "eb447048178f6e16",
85
- "name": "",
86
- "ignore_failure_if_succeed": false,
87
- "rules": [
88
- {
89
- "t": "eql",
90
- "p": "payload",
91
- "pt": "msg",
92
- "to": "{ \"key\": 0 }",
93
- "tot": "json"
94
- }
95
- ],
96
- "x": 710,
97
- "y": 326.5,
98
- "wires": [
99
- []
100
- ]
101
- },
102
- {
103
- "id": "e671799b9d0a12a2",
104
- "type": "inject",
105
- "z": "eb447048178f6e16",
106
- "name": "",
107
- "props": [
108
- {
109
- "p": "one",
110
- "v": "$millis()",
111
- "vt": "jsonata"
112
- },
113
- {
114
- "p": "pause",
115
- "v": "$flowContext(\"ddd\")",
116
- "vt": "jsonata"
117
- },
118
- {
119
- "p": "pause2",
120
- "v": "$flowContext(\"ddd1\")",
121
- "vt": "str"
122
- },
123
- {
124
- "p": "pause3",
125
- "v": "$flowContext(\"ddd2\")",
126
- "vt": "str"
127
- },
128
- {
129
- "p": "pause4",
130
- "v": "$flowContext(\"ddd3\")",
131
- "vt": "str"
132
- },
133
- {
134
- "p": "two",
135
- "v": "$millis()",
136
- "vt": "jsonata"
137
- },
138
- {
139
- "p": "three",
140
- "v": "$$.two - $$.one",
141
- "vt": "jsonata"
142
- },
143
- {
144
- "p": "should_be_zero",
145
- "v": "$reverse($split( $millis() & \" \" & $flowContext(\"ddd\") & \" \" & $millis() & \" \" & ($millis() - $millis()), \" \"))[0]",
146
- "vt": "jsonata"
147
- }
148
- ],
149
- "repeat": "",
150
- "crontab": "",
151
- "once": false,
152
- "onceDelay": 0.1,
153
- "topic": "",
154
- "x": 279,
155
- "y": 478,
156
- "wires": [
157
- [
158
- "c0da342d8ede7a27"
159
- ]
160
- ]
161
- },
162
- {
163
- "id": "c0da342d8ede7a27",
164
- "type": "ut-assert-values",
165
- "z": "eb447048178f6e16",
166
- "name": "",
167
- "ignore_failure_if_succeed": false,
168
- "rules": [
169
- {
170
- "t": "noteql",
171
- "p": "three",
172
- "pt": "msg",
173
- "to": "0",
174
- "tot": "num"
175
- },
176
- {
177
- "t": "eql",
178
- "p": "should_be_zero",
179
- "pt": "msg",
180
- "to": "0",
181
- "tot": "str"
182
- }
183
- ],
184
- "x": 673,
185
- "y": 478,
186
- "wires": [
187
- []
188
- ]
189
- },
190
- {
191
- "id": "a37d9d97bc0b6647",
192
- "type": "comment",
193
- "z": "eb447048178f6e16",
194
- "g": "4305d2a6e180fe99",
195
- "name": "Warning might fail",
196
- "info": "This is time depended test where steps in the second inject node need to take longer than a second. The point is to demostrate that $millis() is the same within one call but differs between separate calls.\n\nFor that, there a couple of $flowContext(..) calls that meant to take non-zero time, collectively they should hit at least one second. This isn't always the case, hence false negatives.",
197
- "x": 346.5,
198
- "y": 141,
199
- "wires": []
200
- }
201
- ]