New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

connect-roles

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-roles - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

index.js

@@ -51,3 +51,3 @@ "use strict";

var match;
if (match = exp.exec(req.app.path() + req.path)) {
if (match = exp.exec(req.app.path().replace(/\/$/, '') + req.path)) {
req = Object.create(req);

@@ -54,0 +54,0 @@ req.params = Object.create(req.params || {});

{
"name": "connect-roles",
"description": "Provides dynamic roles based authentication for node.js connect and express servers.",
"version": "2.0.2",
"version": "2.0.3",
"homepage": "http://documentup.com/ForbesLindesay/connect-roles",

@@ -6,0 +6,0 @@ "repository": {

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