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.1.10 to 0.1.11

188

dist/nflow.js

@@ -97,5 +97,5 @@ (function(e, a) { for(var i in a) e[i] = a[i]; }(this, /******/ (function(modules) { // webpackBootstrap

var behaviours = _interopRequireWildcard(_behaviours);
var _behaviours2 = _interopRequireDefault(_behaviours);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

@@ -106,3 +106,3 @@ exports['default'] = function (defaults, name, data) {

defaults.behaviours.forEach(function (d) {
behaviours[d](flow, defaults, name, data);
_behaviours2['default'][d](flow, defaults, name, data);
});

@@ -117,89 +117,56 @@ return flow;

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _cancellable = __webpack_require__(4);
Object.defineProperty(exports, 'cancellable', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_cancellable)['default'];
}
});
var _cancellable2 = _interopRequireDefault(_cancellable);
var _connect = __webpack_require__(8);
Object.defineProperty(exports, 'connect', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_connect)['default'];
}
});
var _connect2 = _interopRequireDefault(_connect);
var _create = __webpack_require__(9);
Object.defineProperty(exports, 'create', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_create)['default'];
}
});
var _create2 = _interopRequireDefault(_create);
var _emit = __webpack_require__(10);
Object.defineProperty(exports, 'emit', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_emit)['default'];
}
});
var _emit2 = _interopRequireDefault(_emit);
var _identify = __webpack_require__(16);
Object.defineProperty(exports, 'identify', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_identify)['default'];
}
});
var _identify2 = _interopRequireDefault(_identify);
var _listen = __webpack_require__(17);
Object.defineProperty(exports, 'listen', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_listen)['default'];
}
});
var _listen2 = _interopRequireDefault(_listen);
var _loggable = __webpack_require__(18);
Object.defineProperty(exports, 'loggable', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_loggable)['default'];
}
});
var _loggable2 = _interopRequireDefault(_loggable);
var _stateful = __webpack_require__(19);
Object.defineProperty(exports, 'stateful', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_stateful)['default'];
}
});
var _stateful2 = _interopRequireDefault(_stateful);
var _get = __webpack_require__(20);
Object.defineProperty(exports, 'get', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_get)['default'];
}
});
var _get2 = _interopRequireDefault(_get);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = {
cancellable: _cancellable2['default'],
connect: _connect2['default'],
create: _create2['default'],
emit: _emit2['default'],
identify: _identify2['default'],
listen: _listen2['default'],
loggable: _loggable2['default'],
stateful: _stateful2['default'],
get: _get2['default']
};

@@ -677,6 +644,4 @@ /***/ },

var routes = _interopRequireWildcard(_routes);
var _routes2 = _interopRequireDefault(_routes);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

@@ -777,6 +742,6 @@

flow.emit.route.DOWNSTREAM = routes.downstream;
flow.emit.route.UPSTREAM = routes.upstream;
flow.emit.route.DEFAULT = routes['default'];
flow.emit.route.NONE = routes.none;
flow.emit.route.DOWNSTREAM = _routes2['default'].downstream;
flow.emit.route.UPSTREAM = _routes2['default'].upstream;
flow.emit.route.DEFAULT = _routes2['default']['default'];
flow.emit.route.NONE = _routes2['default'].none;

@@ -811,44 +776,31 @@ function notify(flow, currentNode) {

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _upstream = __webpack_require__(12);
Object.defineProperty(exports, 'upstream', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_upstream)['default'];
}
});
var _upstream2 = _interopRequireDefault(_upstream);
var _none = __webpack_require__(13);
Object.defineProperty(exports, 'none', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_none)['default'];
}
});
var _none2 = _interopRequireDefault(_none);
var _downstream = __webpack_require__(14);
Object.defineProperty(exports, 'downstream', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_downstream)['default'];
}
});
var _downstream2 = _interopRequireDefault(_downstream);
var _default = __webpack_require__(15);
Object.defineProperty(exports, 'default', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_default)['default'];
}
});
var _default2 = _interopRequireDefault(_default);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = {
upstream: _upstream2['default'],
downstream: _downstream2['default'],
none: _none2['default'],
"default": _default2['default'] // IE8 compatibility fix
};

@@ -855,0 +807,0 @@ /***/ },

{
"name": "nflow",
"version": "0.1.10",
"version": "0.1.11",
"description": "event/data/control flow",

@@ -5,0 +5,0 @@ "main": "dist/nflow.js",

@@ -9,3 +9,3 @@ import { DEFAULTS

import logger from '../logger'
import * as routes from '../routes'
import routes from '../routes'

@@ -12,0 +12,0 @@ var log = logger.log

@@ -1,9 +0,21 @@

export {default as cancellable } from './cancellable'
export {default as connect } from './connect'
export {default as create } from './create'
export {default as emit } from './emit'
export {default as identify } from './identify'
export {default as listen } from './listen'
export {default as loggable } from './loggable'
export {default as stateful } from './stateful'
export {default as get } from './get'
import cancellable from './cancellable'
import connect from './connect'
import create from './create'
import emit from './emit'
import identify from './identify'
import listen from './listen'
import loggable from './loggable'
import stateful from './stateful'
import get from './get'
export default {
cancellable,
connect,
create,
emit,
identify,
listen,
loggable,
stateful,
get
}

@@ -1,2 +0,2 @@

import * as behaviours from './behaviours'
import behaviours from './behaviours'
export default (defaults, name, data)=>{

@@ -3,0 +3,0 @@ var flow = defaults.factory()

@@ -1,4 +0,11 @@

export { default as upstream } from './upstream'
export { default as none } from './none'
export { default as downstream } from './downstream'
export { default as default } from './default'
import upstream from './upstream'
import none from './none'
import downstream from './downstream'
import defaultDirection from './default'
export default {
upstream,
downstream,
none,
"default": defaultDirection // IE8 compatibility fix
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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