Socket
Socket
Sign inDemoInstall

router

Package Overview
Dependencies
Maintainers
2
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

router - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

2

index.js

@@ -41,3 +41,3 @@ var matcher = require('./matcher');

if (route.rewrite) {
req.url = url = route.rewrite(req.params);
req.url = url = route.rewrite(req.params)+(index === -1 ? '' : req.url.substr(index));
}

@@ -44,0 +44,0 @@ route.fn(req, res, loop);

{
"name":"router",
"version":"0.6.1",
"version":"0.6.2",
"description":"A lean and mean http router",

@@ -5,0 +5,0 @@ "keywords":["connect","middleware","router","route","http"],

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