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.5.7 to 0.5.9

11

index.js

@@ -70,3 +70,6 @@ var http = require('http');

return this;
};
}
this.emit('mount', method, pattern, rewrite, fn);
if (typeof pattern === 'function') {

@@ -199,3 +202,7 @@ this._end[httpMethod] = pattern;

var loop = function() {
var loop = function(err) {
if (err && next) {
next(err);
return;
}
if (index >= routes.length) {

@@ -202,0 +209,0 @@ if (next && (!end || end === NOT_FOUND)) {

2

package.json
{
"name":"router",
"version":"0.5.7",
"version":"0.5.9",
"description":"A lean and mean web router",

@@ -5,0 +5,0 @@ "contributors": [

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