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

chanel

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chanel - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

LICENSE

6

lib/proto.js

@@ -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')

}
}
}

15

package.json
{
"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

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