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

express-api-common

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-api-common - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

8

dist/server.js

@@ -32,2 +32,6 @@ 'use strict';

var _expressServicebus = require('express-servicebus');
var _expressServicebus2 = _interopRequireDefault(_expressServicebus);
var _expressPromBundle = require('express-prom-bundle');

@@ -43,3 +47,3 @@

log('creating express server');
const { logger, notFoundHandler } = options;
const { logger, notFoundHandler, bus } = options;
const metricsMiddleware = (0, _expressPromBundle2.default)({ includeMethod: true });

@@ -52,2 +56,4 @@

_expressServer2.default.use((0, _expressServicebus2.default)(bus));
log('using middleware - logRequests and bodyParser');

@@ -54,0 +60,0 @@ _expressServer2.default.use((0, _logRequests2.default)(logger));

6

package.json
{
"name": "express-api-common",
"version": "4.0.0",
"version": "4.1.0",
"description": "express api configured with logging, healthcheck, prometheus metrics, and other things I commonly use",

@@ -29,3 +29,4 @@ "scripts": {

"express": "^4.16.2",
"express-prom-bundle": "^3.3.0"
"express-prom-bundle": "^3.3.0",
"express-servicebus": "^1.0.1"
},

@@ -51,3 +52,2 @@ "devDependencies": {

"jest": "^22.4.0",
"llog": "0.1.0",
"regenerator-runtime": "^0.11.1",

@@ -54,0 +54,0 @@ "semantic-release": "^15.0.3",

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