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

nflow

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nflow - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

9

dist/flow.js

@@ -363,3 +363,2 @@ "use strict";

behaviours.loggable = function (flow) {
flow.toString = function () {

@@ -369,2 +368,6 @@ return "{ Object Flow, name:%name }".replace("%name", flow.name());

};
function log(flow, name, newData, oldData) {
instance.logger && !isInternal(flow) && instance.logger(flow, name, newData, oldData);
}
behaviours.stateful = function (flow, defaults, name, data) {

@@ -462,6 +465,2 @@ flow.data = function () {

function log(flow, name, newData, oldData) {
instance.logger && !isInternal(flow) && instance.logger(flow, name, newData, oldData);
}
function dispatchInternalEvent(flow, name, newData, oldData) {

@@ -468,0 +467,0 @@ var e = create(DEFAULTS, "flow." + name);

{
"name": "nflow",
"version": "0.0.4",
"version": "0.0.5",
"description": "event/data/control flow",

@@ -18,12 +18,13 @@ "main": "dist/flow.js",

"devDependencies": {
"karma": "~0.12.31",
"chai": "~2.1.2",
"gulp": "~3.8.11",
"gulp-babel": "~4.0.0",
"gulp-concat": "~2.5.2",
"gulp-mocha": "~2.0.0",
"gulp-sourcemaps": "~1.5.1",
"gulp-traceur": "~0.17.0",
"gulp-util": "~3.0.4",
"gulp-concat": "~2.5.2",
"gulp-traceur": "~0.17.0",
"gulp-sourcemaps": "~1.5.1",
"chai": "~2.1.2",
"gulp-babel": "~4.0.0"
"html-webpack-plugin": "^1.6.2",
"karma": "~0.12.31"
}
}

@@ -24,2 +24,8 @@ var guid = 0

flow.call = (...functions){
functions
.filter(f=>typeof(f)=='function')
.forEach(f=>f(flow))
}
}
behaviours.loggable = (flow)=>{
flow.toString = () => {

@@ -7,3 +6,8 @@ return "{ Object Flow, name:%name }"

}
}
function log(flow, name, newData, oldData){
instance.logger
&& !isInternal(flow)
&& instance.logger(flow, name, newData, oldData)
}

@@ -45,8 +45,2 @@ /**

function log(flow, name, newData, oldData){
instance.logger
&& !isInternal(flow)
&& instance.logger(flow, name, newData, oldData)
}
function dispatchInternalEvent(flow, name, newData, oldData){

@@ -53,0 +47,0 @@ var e= create(DEFAULTS, "flow."+name)

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