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.7 to 1.0.9

33

lib/index.js

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

var _anno = require("./anno");
var _model = require("./model");
var _interceptor = require("./interceptor");
var createError = require('http-errors');

@@ -18,7 +24,26 @@

var _require = require('./model'),
Fail = _require.Fail;
var app = express();
module.exports = {
HttpInterceptor: _interceptor.HttpInterceptor,
model: {
Fail: _model.Fail,
Success: _model.Success,
RestModel: _model.RestModel,
View: _model.View,
Redirect: _model.Redirect,
Forward: _model.Forward
},
annotation: {
Controller: _anno.Controller,
RequestMapping: _anno.RequestMapping,
Interceptor: _anno.Interceptor,
GetMapping: _anno.GetMapping,
PostMapping: _anno.PostMapping,
PutMapping: _anno.PutMapping,
DeleteMapping: _anno.DeleteMapping,
AppScope: _anno.AppScope,
Validator: _anno.Validator,
RequestParam: _anno.RequestParam,
ResponseBody: _anno.ResponseBody
},
name: 'mvc',

@@ -64,3 +89,3 @@ launch: function launch(config) {

} else {
res.json(new Fail(err.message, err.status || 500));
res.json(new _model.Fail(err.message, err.status || 500));
}

@@ -67,0 +92,0 @@ });

14

package.json
{
"name": "vweb-mvc",
"version": "1.0.7",
"version": "1.0.9",
"description": "mvc ",

@@ -25,14 +25,14 @@ "main": "./lib/index",

"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.4",
"@babel/plugin-proposal-decorators": "^7.15.4",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",
"@babel/preset-env": "^7.15.4",
"@babel/register": "^7.7.7",
"@babel/runtime": "^7.7.7",
"@babel/runtime": "^7.15.4",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"connect-redis": "^6.0.0",
"redis": "^3.1.2",
"vweb-core": "^1.0.11"
"vweb-core": "^1.0.24"
},

@@ -39,0 +39,0 @@ "dependencies": {

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