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.0 to 0.1.1

circle.yml

8

package.json
{
"name": "nflow",
"version": "0.1.0",
"version": "0.1.1",
"description": "event/data/control flow",

@@ -11,3 +11,4 @@ "main": "dist/nflow.js",

"start": "webpack --watch --colors",
"dev": "webpack-dev-server"
"dev": "webpack-dev-server",
"publish-to-npm": "publish"
},

@@ -38,3 +39,4 @@ "keywords": [

"webpack": "^1.12.8",
"webpack-dev-server": "^1.12.1"
"webpack-dev-server": "^1.12.1",
"publish": "0.5.0"
},

@@ -41,0 +43,0 @@ "directories": {

@@ -1,8 +0,12 @@

![](https://avatars2.githubusercontent.com/u/16370234?v=3&s=200)
# nFlow JS [![Build Status](https://travis-ci.org/mere/nflow.svg?branch=master)](https://travis-ci.org/mere/nflow) [![npm version](https://badge.fury.io/js/nflow.svg)](https://badge.fury.io/js/nflow) [![Dependency Status](https://www.versioneye.com/nodejs/nflow/0.0.4/badge.svg)](https://www.versioneye.com/nodejs/nflow/0.0.4)
<img height=80 src="http://nflow-js.github.io/assets/logo.svg">
# nFlow JS
Event/data/control flow
[![npm version](https://badge.fury.io/js/nflow.svg)](https://badge.fury.io/js/nflow) [![Dependency Status](https://www.versioneye.com/nodejs/nflow/0.0.4/badge.svg)](https://www.versioneye.com/nodejs/nflow/0.0.4)
> Work in progress, decent docs and examples are on the way
nflow-js.github.io
http://nflow-js.github.io

@@ -25,5 +29,6 @@ ### What is it?

### Unit tests
[![Circle CI](https://circleci.com/gh/nflow-js/nflow.svg?style=svg&circle-token=c48681c248ecfdd1fcbc94ca9f5dd2b39fd06fbc)](https://circleci.com/gh/nflow-js/nflow)
To run the unit tests, clone this repo and run:
- `npm install`
- `npm test`
- `npm test`
- [ ] allow multiple siblings to share the same name
- [x] allow multiple siblings to share the same name
- [ ] automatically set hight of tree() in flow-vis

@@ -7,6 +7,2 @@ - [ ] flow-vis: deal with cyclick dependency

- [ ] implement `.clone`
- [ ]
- [ ]
- [ ]
- [ ]
- [ ]
- [x] migrate over to webpack

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

import logger from '../logger'
import {assert} from '../utils'
import {assert, dispatchInternalEvent} from '../utils'

@@ -27,3 +27,3 @@ var guid = 0

flow.name.value = name
logger.dispatchInternalEvent(flow, 'name', name, previousName)
dispatchInternalEvent(flow, 'name', name, previousName)
return flow

@@ -41,2 +41,2 @@ }

}
}

@@ -5,19 +5,6 @@ import factory from './factory'

var flow = factory(DEFAULTS, "flow")
logger.init(flow)
var root = factory(DEFAULTS, "flow")
logger.init(root)
console.log('t', this)
// if (typeof define === 'function' && define.amd) {
// // AMD. Register as an anonymous module.
// define([], ()=>instance);
// } else if (typeof module === 'object' && module.exports) {
// // Node. Does not work with strict CommonJS, but
// // only CommonJS-like environments that support module.exports,
// // like Node.
// module.exports = instance;
// } else {
// // Browser globals ("this" is window)
// scope["this"].flow = instance
// }
export default flow
global.nflow = root
module.exports = root
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