Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.3 to 0.5.4

9

index.js

@@ -41,5 +41,3 @@ var http = require('http');

this.on('request', function(request, response) {
self._find(request, response);
});
this.on('request', this.route);

@@ -105,2 +103,7 @@ if (options && options.hang) {

Router.prototype.detach = function() {
this.removeListener('request', this.route);
return this.route;
};
Router.prototype.upgrade = function(fn) {

@@ -107,0 +110,0 @@ this.on('upgrade', fn);

{
"name":"router",
"version":"0.5.3",
"version":"0.5.4",
"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