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.8 to 0.2.9

4

lib/Lib/Core/Cache.class.js

@@ -25,3 +25,3 @@ /**

if (!value) {
return get_promise(false);
return get_promise();
};

@@ -37,3 +37,3 @@ var data = value.data;

delete caches[name];
return get_promise(false);
return get_promise();
};

@@ -40,0 +40,0 @@ return get_promise(data);

@@ -816,2 +816,9 @@ var util = require('util');

return this;
},
/**
* 关闭数据库连接
* @return {[type]} [description]
*/
close: function(){
this.db && this.db.close();
}

@@ -818,0 +825,0 @@ }

@@ -51,3 +51,3 @@ var crypto = require('crypto');

get: function(name){
return get_promise("");
return get_promise();
},

@@ -54,0 +54,0 @@ /**

@@ -48,3 +48,3 @@ var fs = require("fs");

if (!is_file(filename)) {
return get_promise(false);
return get_promise();
};

@@ -59,3 +59,3 @@ N('cache_read', 1);

fs.unlink(filename, function(){});
return get_promise(false);
return get_promise();
};

@@ -67,3 +67,3 @@ if(C('data_cache_check')){

fs.unlink(filename, function(){});
return get_promise(false);
return get_promise();
};

@@ -76,3 +76,3 @@ }else{

};
return get_promise(false);
return get_promise();
},

@@ -79,0 +79,0 @@ /**

@@ -40,3 +40,3 @@ /**

if (!this._linkID) {
return get_promise(false);
return get_promise("_linkID is null", true);
};

@@ -56,3 +56,3 @@ this.queryStr = str;

if (!this._linkID) {
return false;
return get_promise("_linkID is null", true);
};

@@ -59,0 +59,0 @@ this.queryStr = str;

{
"name": "thinkjs",
"description": "thinkphp web framework for nodejs",
"version": "0.2.8",
"version": "0.2.9",
"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