Socket
Socket
Sign inDemoInstall

router

Package Overview
Dependencies
8
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

8

HISTORY.md

@@ -0,1 +1,9 @@

1.1.1 / 2015-05-25
==================
* Fix issue where `next('route')` in `app.param` would incorrectly skip values
* deps: array-flatten@1.1.0
* deps: debug@~2.2.0
- deps: ms@0.7.1
1.1.0 / 2015-04-22

@@ -2,0 +10,0 @@ ==================

3

index.js

@@ -385,3 +385,4 @@ /*!

// param previously called with same value or error occurred
if (paramCalled && (paramCalled.error || paramCalled.match === paramVal)) {
if (paramCalled && (paramCalled.match === paramVal
|| (paramCalled.error && paramCalled.error !== 'route'))) {
// restore value

@@ -388,0 +389,0 @@ req.params[name] = paramCalled.value

{
"name": "router",
"description": "Simple middleware-style router",
"version": "1.1.0",
"version": "1.1.1",
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",

@@ -9,4 +9,4 @@ "license": "MIT",

"dependencies": {
"array-flatten": "1.0.2",
"debug": "~2.1.3",
"array-flatten": "1.1.0",
"debug": "~2.2.0",
"methods": "~1.1.1",

@@ -20,6 +20,6 @@ "parseurl": "~1.3.0",

"after": "0.8.1",
"finalhandler": "0.3.5",
"finalhandler": "0.3.6",
"istanbul": "0.3.9",
"mocha": "~2.2.4",
"supertest": "~0.15.0"
"mocha": "2.2.5",
"supertest": "1.0.1"
},

@@ -26,0 +26,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc