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

@contrast/route-coverage

Package Overview
Dependencies
Maintainers
9
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/route-coverage - npm Package Compare versions

Comparing version 1.15.0 to 1.15.1

3

lib/install/express.js

@@ -81,3 +81,4 @@ /*

const url = `${req.baseUrl}${req._parsedUrl.pathname}`;
const normalizedUrl = req.route.path;
const { path } = req.route;
const normalizedUrl = path instanceof RegExp ? path.toString() : path;
const { signature } = signatureMap.get(route.signature);

@@ -84,0 +85,0 @@ if (method) routeCoverage.observe({ signature, url, method, normalizedUrl });

{
"name": "@contrast/route-coverage",
"version": "1.15.0",
"version": "1.15.1",
"description": "Handles route discovery and observation",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE",

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