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

@vmm/service

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vmm/service - npm Package Compare versions

Comparing version 1.0.55 to 1.0.56

2

package.json
{
"name": "@vmm/service",
"version": "1.0.55",
"version": "1.0.56",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "description": "VMM Service library",

@@ -64,3 +64,5 @@ /// <reference types="node" />

sessionExpire?: number;
customApi?: RequestHandler[];
customApi?: {
[k: string]: RequestHandler;
};
}

@@ -67,0 +69,0 @@ export declare class Service<T_API extends IApiDefines> {

@@ -76,3 +76,5 @@ "use strict";

if (options.customApi) {
this.router.use(options.customApi);
Object.keys(options.customApi).forEach((k) => {
this.router.use(k, options.customApi[k]);
});
}

@@ -79,0 +81,0 @@ this.router.use(body_parser_1.default.json({

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