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.15 to 0.1.16

9

framework/core/request.js

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

Promise = di.load('promise'),
EventEmitter = di.load('events'),
Request;

@@ -74,2 +75,3 @@

body: Type.ARRAY,
eventHander: Type.OBJECT,
id: Type.STRING

@@ -93,3 +95,5 @@ }, {

this.isCompressed = false;
this.eventHander = new EventEmitter();
this.eventHander.setMaxListeners(1000);
this.request.once('destroy', this.eventHander.emit.bind(this.eventHander, 'destroy'));
if (!this.id) {

@@ -108,3 +112,3 @@ this.id = this._uuid();

onEnd: function Request_onEnd(callback) {
this.request.once('destory', callback);
this.eventHander.once('destory', callback);
},

@@ -489,2 +493,3 @@ /**

this.request.emit('destory');
this.eventHander.removeAllListeners();
this.destroy();

@@ -491,0 +496,0 @@ },

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

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