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

mvcjs

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvcjs - npm Package Compare versions

Comparing version 0.1.22 to 0.1.23

20

framework/core/view.js

@@ -139,3 +139,3 @@ "use strict";

if (!(moduleInstance instanceof ModuleInterface)) {
if (!(moduleInstance instanceof ModuleInterface)) {
throw new error.HttpError(500, moduleInstance, 'Module must be instance of ModuleInterface "core/module"');

@@ -273,2 +273,4 @@ }

path,
pathRegex,
pathReplace,
trace = [];

@@ -279,4 +281,6 @@

path = di.normalizePath(normalizers.shift());
if (file.match(path)) {
file = file.replace(path, '').replace(this.suffix, '');
pathReplace = path.replace(/\\/g, '\\\\');
pathRegex = new RegExp(pathReplace);
if (file.match(pathRegex)) {
file = file.replace(pathRegex, '').replace(this.suffix, '');
isNormalized = true;

@@ -293,3 +297,5 @@ break;

path = di.normalizePath(normalizers.shift());
if (fromPath.match(path)) {
pathReplace = path.replace(/\\/g, '\\\\');
pathRegex = new RegExp(pathReplace);
if (fromPath.match(pathRegex)) {
isNormalized = true;

@@ -304,4 +310,5 @@ break;

while (themes.length) {
theme = themes.shift();
re = new RegExp('^' + theme + '/');
theme = di.normalizePath(themes.shift() + '/');
pathReplace = theme.replace(/\\/g, '\\\\');
re = new RegExp('^' + pathReplace);
file = file.replace(re, '');

@@ -322,3 +329,2 @@

throw new error.HttpError(500, {

@@ -325,0 +331,0 @@ from: fromPath,

@@ -5,3 +5,3 @@ {

"description": "Powerful lightweight mvc framework for nodejs",
"version": "0.1.22",
"version": "0.1.23",
"dependencies": {

@@ -8,0 +8,0 @@ "mongoose": "4.1.x",

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