1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red/nodes/core
Kristian Heljas 7b8ed487e9
Function node: add node.outputCount property to sandbox (#2918)
* Function node: add `node.outputs` property to sandbox

https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848

* style: indetation for function node sanbox code

I guess this was unintentionally unindented in d51aefa156 (diff-24cd715c3b7405ea194bfdc0dc2a350ceb2f5d18696b8163c3e40105b981a666)

* Function node: tests for accessing node properties

consistently tests that `node.id`, `node.name` and `node.outputs`
are available in `init()`, `func()` and `finalize()` methods.

* Function node: rename `node.outputs` to `node.outputCount`

https://discourse.nodered.org/t/expose-configured-output-count-to-function-node-i-can-pr/43848/9?u=kristian
2021-04-08 14:52:02 +01:00
..
common Flag validation errors in Inject node props config 2021-04-06 16:45:21 +01:00
function Function node: add node.outputCount property to sandbox (#2918) 2021-04-08 14:52:02 +01:00
network Request node: set followAllRedirects to work with POSTs 2021-04-07 14:35:29 +01:00
parsers CSV better handling of messages with incoming parts - to create array output 2021-03-11 12:47:54 +00:00
sequence fix join node in array mode with repeated messages, and rallow reset all 2021-02-09 17:27:58 +00:00
storage Remove old leagcy wording from file node info to stop confusing users. 2020-03-13 11:28:19 +00:00