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.55 to 1.0.56

5

lib/controller/index.js

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

var skip = [];
var service = assist.replace(/Controller$/, 'Service');
assists.forEach(function (_ref3) {

@@ -315,3 +316,3 @@ var name = _ref3.name,

return this[assist][name].apply(this[assist], params);
return this[service][name].apply(this[service], params);
};

@@ -324,3 +325,3 @@

});
logger.info("@Assist for ".concat(name, " ").concat(assist, " assist [").concat(assists.filter(function (e) {
logger.info("@Assist for ".concat(name, " ").concat(service, " assist [").concat(assists.filter(function (e) {
return skip.indexOf(e.name) === -1;

@@ -327,0 +328,0 @@ }).map(function (e) {

4

package.json
{
"name": "vweb-mvc",
"version": "1.0.55",
"version": "1.0.56",
"description": "mvc ",

@@ -37,3 +37,3 @@ "main": "./lib/index",

"redis": "^3.1.2",
"vweb-core": "^1.0.98"
"vweb-core": "^1.0.99"
},

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

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

let skip = [];
let service = assist.replace(/Controller$/, 'Service');
assists.forEach(({name, method, path, args}) => {

@@ -217,3 +218,3 @@ if (!controller[name]) {

}
return this[assist][name].apply(this[assist], params);
return this[service][name].apply(this[service], params);
}

@@ -224,3 +225,3 @@ return;

});
logger.info(`@Assist for ${name} ${assist} assist [${assists.filter(e => skip.indexOf(e.name) === -1).map(e => e.name)}] skip [${skip.join(',')}]`);
logger.info(`@Assist for ${name} ${service} assist [${assists.filter(e => skip.indexOf(e.name) === -1).map(e => e.name)}] skip [${skip.join(',')}]`);
}

@@ -227,0 +228,0 @@

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