Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/node_modules
node_modules
modules
package-lock.json
.vscode
*.log
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ so if your code worked on a standard function node it should also work on `unsaf
(like calling `require('fs')` and its operations).

## Additional Features
`nodeRedContribUnsafeFunctionAsyncSend`, `nodeRedContribUnsafeFunctionAsyncReceive` -
<del>`nodeRedContribUnsafeFunctionAsyncSend`, `nodeRedContribUnsafeFunctionAsyncReceive` -
Set these RED settings variables in order to make the sending\receiving of messages asynchronous.
The current behavior of node-red is that sending a message pauses until all the following nodes
in the flow finish handling the sent message (unless they specifically do it asynchronously).
For more information, see [issue 833](https://github.com/node-red/node-red/issues/833).
For more information, see [issue 833](https://github.com/node-red/node-red/issues/833).</del>

`nodeRedContribUnsafeFunctionProfiling`: Set this RED settings variable to show
<del>`nodeRedContribUnsafeFunctionProfiling`: Set this RED settings variable to show
for each node a status message with basic profiling information: how many messages
were handled and what's the total\max execution time.
were handled and what's the total\max execution time.</del>

## Change Log
### From 0.4.0 to 1.0.0
https://github.com/ozomer/node-red-contrib-unsafe-function/issues/10#issue-852665839
* Updating package dependency `require-from-string` to version 2.0.2.
* Added package dependency `mkdirp` version 1.0.4.

## Change Log
### From 0.3.0 to 0.4.0
Expand Down
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "node-red-contrib-unsafe-function",
"version": "0.8.0",
"version": "1.0.0",
"description": "The fast and furious version of function nodes",
"dependencies": {
"require-from-string": "1.2.1"
"mkdirp": "^1.0.4",
"require-from-string": "^2.0.2"
},
"repository": {
"type": "git",
Expand All @@ -13,6 +14,13 @@
"name": "Oren Zomer",
"email": "oren.zomer@gmail.com"
},
"contributors": [
{
"name": "Daniele",
"email": "hanc2006@gmail.com",
"url": "https://github.com/hanc2006"
}
],
"license": "Apache-2.0",
"keywords": [
"node-red",
Expand All @@ -27,5 +35,8 @@
"undef": true,
"unused": true,
"node": true
},
"scripts": {
"postinstall": "mkdirp ./modules"
}
}
Loading