Comparing version 2.0.2 to 2.1.0
@@ -0,1 +1,2 @@ | ||
var co = require('co'); | ||
var EventEmitter = require('events').EventEmitter | ||
@@ -95,2 +96,5 @@ | ||
if (fn && 'function' == typeof fn.next && 'function' == typeof fn.throw) | ||
fn = co(fn); | ||
if (typeof fn !== 'function') | ||
@@ -249,2 +253,2 @@ throw new TypeError('you may only push functions') | ||
} | ||
} | ||
} |
{ | ||
"name": "chanel", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Channel-based control-flow for parallel tasks with concurrency control", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/cojs/chanel.git" | ||
}, | ||
"repository": "cojs/chanel", | ||
"author": { | ||
@@ -16,7 +13,5 @@ "name": "Jonathan Ong", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/cojs/chanel/issues" | ||
}, | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"co": "*", | ||
"generator-supported": "~0.0.1", | ||
@@ -26,3 +21,2 @@ "to-descriptor": "^1.0.0" | ||
"devDependencies": { | ||
"co": "^3.0.2", | ||
"mocha": "^1.7.0", | ||
@@ -34,4 +28,3 @@ "should": "^3.0.0", | ||
"test": "NODE=gnode make test" | ||
}, | ||
"homepage": "https://github.com/cojs/chanel" | ||
} | ||
} |
@@ -136,25 +136,1 @@ # chanel [![Build Status](https://travis-ci.org/cojs/chanel.png)](https://travis-ci.org/cojs/chanel) | ||
If you're using an open channel, you want to wait until `yield ch.pushed` before you start reading the data. | ||
## License | ||
The MIT License (MIT) | ||
Copyright (c) 2014 Jonathan Ong me@jongleberry.com | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
26194
3
10
730
3
2
1
2
136
1
1