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

koa-compose

Package Overview
Dependencies
Maintainers
10
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.5.0 to 2.5.1

5

History.md
2.5.1 / 2016-10-26
==================
* reverts variadic support #64, an unintended breaking change
2.5.0 / 2016-10-25

@@ -3,0 +8,0 @@ ==================

9

index.js
/**
* Module dependencies.
*/
var flatten = require('lodash/flatten');
/**
* Expose compositor.

@@ -19,3 +13,3 @@ */

*
* @param {Array|Function...} middleware
* @param {Array} middleware
* @return {Function}

@@ -26,3 +20,2 @@ * @api public

function compose(middleware){
middleware = flatten(arguments);
return function *(next){

@@ -29,0 +22,0 @@ if (!next) next = noop();

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

"repository": "koajs/compose",
"version": "2.5.0",
"version": "2.5.1",
"keywords": [

@@ -15,5 +15,3 @@ "koa",

],
"dependencies": {
"lodash": "^4.16.4"
},
"dependencies": {},
"devDependencies": {

@@ -20,0 +18,0 @@ "co": "^3.0.0",

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