Socket
Socket
Sign inDemoInstall

koa-route

Package Overview
Dependencies
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-route - npm Package Compare versions

Comparing version 1.1.2 to 1.1.4

10

index.js

@@ -32,3 +32,3 @@

if (m = re.exec(this.path)) {
var args = m.slice(1).map(decodeURIComponent);
var args = m.slice(1).map(decode);
debug('%s %s matches %s %j', this.method, path, this.path, args);

@@ -45,1 +45,9 @@ args.push(next);

}
/**
* Decode value.
*/
function decode(val) {
if (val) return decodeURIComponent(val);
}

2

package.json

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

"repository": "koajs/route",
"version": "1.1.2",
"version": "1.1.4",
"keywords": [

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

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