Comparing version 0.1.1 to 0.1.2
@@ -23,6 +23,7 @@ // Generated by CoffeeScript 1.3.1 | ||
this.inPorts = { | ||
"in": new noflo.Port() | ||
"in": new noflo.Port | ||
}; | ||
this.outPorts = { | ||
count: new noflo.Port() | ||
count: new noflo.Port, | ||
out: new noflo.Port | ||
}; | ||
@@ -33,3 +34,6 @@ this.inPorts["in"].on("data", function(data) { | ||
} | ||
return _this.count++; | ||
_this.count++; | ||
if (_this.outPorts.out.isAttached()) { | ||
return _this.outPorts.out.send(data); | ||
} | ||
}); | ||
@@ -36,0 +40,0 @@ this.inPorts["in"].on("disconnect", function() { |
@@ -27,8 +27,13 @@ // Generated by CoffeeScript 1.3.1 | ||
this.inPorts = { | ||
"in": new noflo.ArrayPort(), | ||
options: new noflo.Port() | ||
"in": new noflo.ArrayPort, | ||
options: new noflo.Port | ||
}; | ||
this.outPorts = {}; | ||
this.outPorts = { | ||
out: new noflo.Port | ||
}; | ||
this.inPorts["in"].on("data", function(data) { | ||
return _this.log(data); | ||
_this.log(data); | ||
if (_this.outPorts.out.isAttached()) { | ||
return _this.outPorts.out.send(data); | ||
} | ||
}); | ||
@@ -35,0 +40,0 @@ this.inPorts.options.on("data", function(data) { |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"licenses": [{ | ||
@@ -31,3 +31,4 @@ "type": "MIT", | ||
"kckupmq": "0.3.x", | ||
"jsdom": "0.2.x" | ||
"jsdom": "0.2.x", | ||
"request": "2.x.x" | ||
}, | ||
@@ -34,0 +35,0 @@ "main": "./lib/NoFlo", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2313523
277
8309
7
14