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

koa-compose

Package Overview
Dependencies
Maintainers
9
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-compose - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

History.md

9

index.js

@@ -20,12 +20,11 @@

return function *(next){
if (!next) next = noop();
var i = middleware.length;
var prev = next || noop();
var curr;
while (i--) {
curr = middleware[i];
prev = curr.call(this, prev);
next = middleware[i].call(this, next);
}
yield *prev;
return yield *next;
}

@@ -32,0 +31,0 @@ }

@@ -5,3 +5,3 @@ {

"repository": "koajs/compose",
"version": "2.3.0",
"version": "2.4.0",
"keywords": [

@@ -17,11 +17,13 @@ "koa",

"devDependencies": {
"co": "~3.0.1",
"mocha": "~1.6.0",
"should": "~2.1.0",
"koa": "~0.3.0"
"co": "^3.0.0",
"istanbul": "^0.4.2",
"mocha": "^2.4.5",
"should": "^2.0.0"
},
"scripts": {
"test": "make test"
"test": "mocha --harmony --require should --reporter spec",
"test-cov": "node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should",
"test-travis": "node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"
},
"license": "MIT"
}

@@ -6,2 +6,8 @@

## Installation
```js
$ npm install koa-compose
```
## API

@@ -15,2 +21,2 @@

MIT
MIT
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