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.1 to 0.5.2

3

index.js

@@ -90,3 +90,4 @@ var http = require('http');

var next = c || b;
var params = request.params = pattern(request.url);
var index = request.url.indexOf('?');
var params = request.params = pattern(index === -1 ? request.url : request.url.substring(0, index));

@@ -93,0 +94,0 @@ if (!params) {

{
"name":"router",
"version":"0.5.1",
"version":"0.5.2",
"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