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

vweb-mvc

Package Overview
Dependencies
Maintainers
0
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vweb-mvc - npm Package Compare versions

Comparing version 1.2.29 to 1.2.30

3

lib/controller/index.js

@@ -17,2 +17,3 @@ "use strict";

const config_1 = require("./config");
const vweb_core_1 = require("vweb-core");
let createError = require('http-errors');

@@ -48,3 +49,3 @@ let { util, LogicError } = require('vweb-core');

}
let response = new Response_1.default(req, res, component, logger);
let response = new Response_1.default(req, res, component, vweb_core_1.LoggerFactory.getLogger(controller));
let proxy = new Proxy(component, {

@@ -51,0 +52,0 @@ get: (target, prop, receiver) => {

@@ -160,5 +160,5 @@ "use strict";

const { req } = this;
let info = `${this.controller.constructor.name} from ${req.ip} ${req.method} ${req.url} cost `;
info += `${Date.now() - this.begin}ms`;
this.logger.debug(i + info);
let info = `${req.method} ${req.url} cost `;
info += `${Date.now() - this.begin}ms from ${req.ip} ${i}`;
this.logger.debug(info);
}

@@ -165,0 +165,0 @@ }

{
"name": "vweb-mvc",
"version": "1.2.29",
"version": "1.2.30",
"description": "mvc ",

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

Sorry, the diff of this file is not supported yet

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