fixes #5251 The code changed from 4.0.x to 4.1.x This change to to prevent making changes to the orginial input `msg` object incase any values were stored in context (pass by refernce). The change meant that for every output message the whole original input `msg` was being cloned, which could be huge, causing a big performance regresion. This fix ensures the clone of the orginial `msg` is only done once and the much smaller output message is then cloned again to update `msg.parts` object for each output. This results in lots of small clones rather than lots of very large clones.
Node-RED
Low-code programming for event-driven applications.
Quick Start
Check out https://nodered.org/docs/getting-started/ for full instructions on getting started.
sudo npm install -g --unsafe-perm node-rednode-red- Open http://localhost:1880
Getting Help
More documentation can be found here.
For further help, or general discussion, please use the Node-RED Forum or slack team.
Developers
If you want to run the latest code from git, here's how to get started:
-
Clone the code:
git clone https://github.com/node-red/node-red.git cd node-red -
Install the node-red dependencies
npm install -
Build the code
npm run build -
Run
npm start
Contributing
Before raising a pull-request, please read our contributing guide.
This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team at team@nodered.org.
Authors
Node-RED is a project of the OpenJS Foundation.
It is maintained by:
- Nick O'Leary @knolleary
- Dave Conway-Jones @ceejay
- And many others...
Copyright and license
Copyright OpenJS Foundation and other contributors, https://openjsf.org under the Apache 2.0 license.
