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

@storyous/common-utils

Package Overview
Dependencies
Maintainers
4
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storyous/common-utils - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

4

lib/models/prometheus/prometheusMiddlewares.js

@@ -54,3 +54,3 @@ 'use strict';

const summary = new promClient.Summary({
const histogram = new promClient.Histogram({
name: 'httpRequestDuration',

@@ -62,3 +62,3 @@ help: 'Requests duration tracking',

return async (ctx, next) => {
const end = summary.startTimer({
const end = histogram.startTimer({
name: options.appName,

@@ -65,0 +65,0 @@ method: ctx.request.method,

{
"name": "@storyous/common-utils",
"version": "4.3.0",
"version": "4.3.1",
"description": "Common utils for storyous microservices",

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

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