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

restify-prom-bundle

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restify-prom-bundle - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

built/js/preMiddleware.js

@@ -130,5 +130,6 @@ "use strict";

if (!routeFindError) {
path = (route.spec.path instanceof RegExp) ?
"RegExp(" + route.spec.path + ")" :
route.spec.path.toString();
var routePath = route.spec.path || route.spec.url;
path = (routePath instanceof RegExp) ?
"RegExp(" + routePath + ")" :
routePath.toString();
}

@@ -135,0 +136,0 @@ debug('Using path: %s', path);

@@ -7,4 +7,8 @@ # Change Log

## [1.0.1] - 2017-04-27
### Fixed
- Handle { url: '' } route parameters
## [1.0.0] - 2017-02-10
### Added
- First version
{
"name": "restify-prom-bundle",
"version": "1.0.0",
"version": "1.0.1",
"description": "Restify prometheus middleware to expose HTTP metrics",

@@ -5,0 +5,0 @@ "main": "./built/js/index.js",

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