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

thinkjs

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thinkjs - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

3

lib/Lib/Behavior/DenyIpBehavior.class.js

@@ -25,6 +25,5 @@ /**

if (flag) {
var deferred = when.defer();
this.http.res.statusCode = 403;
this.http.res.end();
return deferred.promise;
return when.defer().promise;
};

@@ -31,0 +30,0 @@ return true;

@@ -43,3 +43,2 @@ var util = require('util');

/**
* 架构函数
* 取得DB类的实例对象 字段检查

@@ -46,0 +45,0 @@ * @access public

@@ -11,3 +11,6 @@ /**

start: function(){
this.register_exception();
//debug模式下不捕获异常
if (!APP_DEBUG) {
this.register_exception();
};
//think_require的autoload

@@ -14,0 +17,0 @@ register_autoload(this.autoload);

{
"name": "thinkjs",
"description": "thinkphp web framework for nodejs",
"version": "0.2.12",
"version": "0.2.13",
"author": {

@@ -6,0 +6,0 @@ "name": "welefen",

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