Socket
Socket
Sign inDemoInstall

vweb-mvc

Package Overview
Dependencies
104
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.21 to 1.2.22

1

lib/controller/index.js

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

err.message = `${err.message}【${req.originalUrl}】`;
err.path = req.originalUrl;
if (!req.originalUrl.endsWith(".ico") && err.status !== 404) {

@@ -274,0 +275,0 @@ logger.error(err);

2

lib/model/index.d.ts

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

private data;
constructor(data?: any);
constructor(data?: {});
put(key: any, value: any): void;

@@ -25,0 +25,0 @@ add(value: any): void;

@@ -19,7 +19,6 @@ "use strict";

class Success extends RestModel {
constructor(data) {
constructor(data = {}) {
super();
this.success = false;
this.success = true;
this.data = data || {};
this.data = data;
}

@@ -26,0 +25,0 @@ put(key, value) {

{
"name": "vweb-mvc",
"version": "1.2.21",
"version": "1.2.22",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc