Comparing version 1.2.2 to 1.2.3
10
index.js
@@ -35,10 +35,10 @@ | ||
// compose | ||
var downstream = app.middleware | ||
? compose(app.middleware) | ||
: app; | ||
return function *(upstream){ | ||
var prev = this.path; | ||
// compose | ||
var downstream = app.middleware | ||
? compose(app.middleware) | ||
: app; | ||
// not a match | ||
@@ -45,0 +45,0 @@ if (0 != this.url.indexOf(path)) return yield upstream; |
@@ -5,3 +5,3 @@ { | ||
"repository": "koajs/mount", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "koa", |
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
4136