Socket
Socket
Sign inDemoInstall

koa-route

Package Overview
Dependencies
4
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

9

index.js

@@ -24,7 +24,6 @@

if (method != this.method) {
yield next;
return;
}
// method
if (method != this.method) return yield next;
// path
if (m = re.exec(this.path)) {

@@ -34,4 +33,6 @@ var args = m.slice(1);

yield fn.apply(this, args);
return;
}
// miss
yield next;

@@ -38,0 +39,0 @@ }

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

"repository": "koajs/route",
"version": "1.0.1",
"version": "1.0.2",
"keywords": [

@@ -8,0 +8,0 @@ "koa",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc