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

keep-or-skip

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keep-or-skip - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.0.2 / 2018-07-20
* Fixed middleware skipping.
# 1.0.1 / 2018-05-12

@@ -7,2 +11,2 @@

* Initial version of `keep-or-skip` - dynamically execute or skip express middlewares.
* Initial version of `keep-or-skip` - dynamically execute or skip express middlewares.

@@ -0,0 +0,0 @@ /*******************************************************************************

7

lib/keep-or-skip.js

@@ -44,3 +44,3 @@ /*******************************************************************************

* @returns {Function[]} An array of middlewares.
* @version 1.0.1
* @version 1.0.2
* @author Nicola Del Gobbo - Mauro Doganieri

@@ -75,4 +75,5 @@ */

next()
} else {
middleware(req, res, next)
}
middleware(req, res, next)
}

@@ -126,2 +127,2 @@ }

module.exports = keepOrSkip
module.exports = keepOrSkip
{
"name": "keep-or-skip",
"description": "Dynamically execute or skip express middlewares",
"version": "1.0.1",
"version": "1.0.2",
"contributors": [

@@ -51,2 +51,2 @@ {

]
}
}

@@ -0,0 +0,0 @@ # keep-or-skip

Sorry, the diff of this file is not supported yet

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