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.23 to 0.1.24

12

framework/core/bodyParser.js

@@ -44,2 +44,10 @@ "use strict";

parse: function BodyParser_parse() {
if (
(typeof this.type !== "string") ||
(typeof this.body !== "string")
) {
throw new error.HttpError(500, {type: this.type, body: this.body}, "Unsupported body type");
}
if (this.type.indexOf('multipart/form-data') > -1) {

@@ -72,3 +80,3 @@ this.parsedBody = this.parseBoundary(this.body, this.type.replace(/^.*boundary=/, ''));

} else {
throw new error.HttpError(500, {type: this.type, body: this.body}, "Unsupported form type");
throw new error.HttpError(500, {type: this.type, body: this.body}, "Unsupported body type");
}

@@ -217,2 +225,2 @@ },

module.exports = BodyParser;
module.exports = BodyParser;

2

package.json

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

"description": "Powerful lightweight mvc framework for nodejs",
"version": "0.1.23",
"version": "0.1.24",
"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