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

vweb-mvc

Package Overview
Dependencies
Maintainers
1
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.0.35 to 1.0.36

8

lib/controller/index.js

@@ -178,2 +178,8 @@ "use strict";

converters = _controller$annotatio3 === void 0 ? {} : _controller$annotatio3;
if (!mappings) {
logger.warn("Controller ".concat(name, " does not define RequestMapping"));
return;
}
parameterConverters[name] = converters;

@@ -264,2 +270,4 @@ parameterValidators[name] = validators;

logger.debug(err);
if (!req.xhr) {

@@ -266,0 +274,0 @@ res.render('error', {

2

package.json
{
"name": "vweb-mvc",
"version": "1.0.35",
"version": "1.0.36",
"description": "mvc ",

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

@@ -122,2 +122,6 @@ import {AppScope, Controller} from "../anno";

const {mapping, mappings, name, validators = {}, converters = {}} = controller.annotation;
if (!mappings) {
logger.warn(`Controller ${name} does not define RequestMapping`);
return;
}
parameterConverters[name] = converters;

@@ -181,2 +185,3 @@ parameterValidators[name] = validators;

}
logger.debug(err);
if (!req.xhr) {

@@ -183,0 +188,0 @@ res.render('error', {err});

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