Comparing version 1.0.2 to 1.1.0
13
index.js
@@ -13,3 +13,3 @@ 'use strict'; | ||
/** | ||
* slice() reference. | ||
* slice() reference. | ||
*/ | ||
@@ -48,3 +48,3 @@ | ||
/** | ||
* Inherit from `Emitter.prototype`. | ||
* Inherit from `Emitter.prototype`. | ||
*/ | ||
@@ -72,3 +72,3 @@ | ||
* @param {Mixed} args... | ||
* @param {Function} callback (optional) | ||
* @param {GeneratorFunction} callback (optional) | ||
* @return {Ware} | ||
@@ -91,2 +91,3 @@ * @api public | ||
ctx.input = args; | ||
ctx.output = Object.create(null); | ||
ctx.onerror = function (err) { | ||
@@ -101,6 +102,6 @@ if (!err) return; | ||
/** | ||
* Default error handler. | ||
* Default error handler. | ||
* | ||
* @param {Error} err | ||
* @api private | ||
* @param {Error} err | ||
* @api private | ||
*/ | ||
@@ -107,0 +108,0 @@ |
{ | ||
"name": "co-ware", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Ware inspired, easily create your own middleware layer using generators via co.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
9476
232