Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-prib-functions

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-prib-functions - npm Package Compare versions

Comparing version 0.16.1 to 0.17.0

.vscode/extensions.json

6

package.json
{
"name": "node-red-contrib-prib-functions",
"version": "0.16.1",
"version": "0.17.0",
"description": "Node-RED added node functions.",

@@ -16,4 +16,4 @@ "dependencies": {

"bl": "^5.0.0",
"mocha": "^8.3.2",
"node-red": "^1.3.1",
"mocha": "^9.2.2",
"node-red": "^2.2.2",
"node-red-node-test-helper": "^0.2.7"

@@ -20,0 +20,0 @@ },

@@ -162,3 +162,3 @@ # [node-red-contrib-prib-functions][2]

![Levenshtein Distance](documentation/levenshteinDistance.JPG "Levenshtein Distance")
![Levenshtein Distance](documentation/levenshteinDistance.jpg "Levenshtein Distance")

@@ -251,2 +251,4 @@ ------------------------------------------------------------

0.17.0 Add finished wire to load injector
0.16.10 data analysis add eulcidean distance functions. Add array pairs

@@ -270,37 +272,3 @@

0.10.2 Transform validate for array source, bug fixes on transform and add improvements to array to messages. Added node for levenshtein distance.
0.10.1 Real time weighted moving average, levenshtein Distance, for test allow testing of "infinity","-infinity" and "NaN" in JSON.
0.10.0 Many fixes to transform. Array and csv to various forms work. Added test to validate.
Improved test to allow for escape to put special characters into a string.
0.9.6 Enhance transform with csv ignore lead or trailing lines.
Add Array and CSV to Messages. Add in topic override
0.9.5 Enhance transform with path and setting source and target.
Outlier allowed to set number of deviations if median and reset or set stats
Add outlier detection and Pearson R realtime metrics.
0.8.1 Add realtime metrics to data analysis.
0.7.1
* fix json to table html and minor code improvements.
turn off debug mode on spawn process.
clear down timer on close for host available
* add Host Available
0.6.0
* add Spawn Process
* improve experimental transform with json to table html
0.5.0
* test node add select property tested for result
* dataAnalysis add property analysed
* add experimental transform
0.4.0 Add test, monitor flow, data analysis
0.0.1 base
# Author

@@ -307,0 +275,0 @@

@@ -11,4 +11,5 @@ const nodeLabel="Load Injector";

if (this.runtimeTimer) {
this.count++;
this.receive();
var node=this;
const node=this;
this.nextMessageInjectTimer=setTimeout(function(node){nextMessageInjection.apply(node);},thinkTimeTime.apply(node),node);

@@ -26,2 +27,4 @@ }

}
this.stopped=Date.now();
this.send([null,{payload:{count:this.count,started:this.started,stopped:this.stopped}}])
this.status({fill:"red",shape:"ring",text:"Stopped"});

@@ -31,3 +34,5 @@ this.error("Stopped injector");

function runtimeStart() {
var node=this;
const node=this;
this.started=Date.now();
this.count=0;
this.runtimeTimer=true;

@@ -43,3 +48,3 @@ this.runtimeTimer=setTimeout(function(){runtimeStop.apply(node);},this.runtime*1000);

RED.nodes.createNode(this, n);
var node=Object.assign(this,n);
const node=Object.assign(this,n);
this.thinktimemin=Number(this.thinktimemin);

@@ -103,3 +108,3 @@ this.thinktimemax=Number(this.thinktimemax);

RED.httpAdmin.get("/loadinjector/:id", function(req,res) {
var node = RED.nodes.getNode(req.params.id);
const node = RED.nodes.getNode(req.params.id);
if (node && node.type==="Load Injector") {

@@ -106,0 +111,0 @@ try {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc