total4
Advanced tools
Comparing version 0.0.92 to 0.0.93
======================== | ||
0.0.93 | ||
======================== | ||
- fixed internal FlowStream module (critical) | ||
======================== | ||
0.0.92 | ||
@@ -3,0 +9,0 @@ ======================== |
15
flow.js
@@ -78,3 +78,3 @@ // Internal module | ||
var instance = FS.instances[flow.id]; | ||
instance.worker = flow.worker; | ||
instance.workertype = flow.worker; | ||
instance.proxypath = flow.proxypath; | ||
@@ -151,10 +151,3 @@ | ||
FS.$events.load && FS.emit('load', instance, flow); | ||
// instance.httprouting(); | ||
if (callback) | ||
instance.ondone = err => callback(err, err ? null : instance); | ||
instance.onerror = FS.onerror; | ||
instance.onsave = function(data) { | ||
@@ -167,2 +160,8 @@ data.unixsocket = flow.unixsocket; | ||
FS.instances[id] = instance; | ||
// instance.httprouting(); | ||
instance.ondone = function(err) { | ||
FS.$events.load && FS.emit('load', instance, flow); | ||
callback && callback(err, err ? null : instance); | ||
}; | ||
}); | ||
@@ -169,0 +168,0 @@ |
@@ -759,3 +759,3 @@ // Total.js FlowStream | ||
self.$events = null; | ||
delete F.flowstreams[self.name]; | ||
delete F.flows[self.name]; | ||
}); | ||
@@ -1272,4 +1272,4 @@ | ||
err && error.push(err); | ||
self.clean(); | ||
callback && callback(err); | ||
self.clean(); | ||
}); | ||
@@ -1327,4 +1327,4 @@ | ||
err && error.push(err); | ||
self.clean(); | ||
callback && callback(err); | ||
self.clean(); | ||
}); | ||
@@ -2063,4 +2063,4 @@ }); | ||
let flowstream = new FlowStream(id, errorhandler); | ||
F.flowstreams[id] = flowstream; | ||
F.flows[id] = flowstream; | ||
return flowstream; | ||
}; |
{ | ||
"name": "total4", | ||
"version": "0.0.92", | ||
"version": "0.0.93", | ||
"description": "Total.js framework v4", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -108,3 +108,3 @@ // UIBuilder compiler | https://uibuilder.totaljs.com | ||
if (com.value.indexOf('.json') === -1 & !used[com.id]) | ||
if (com.value.indexOf('.json') === -1 && !used[com.id]) | ||
continue; | ||
@@ -111,0 +111,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1656442
53607
52