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.3.7 to 0.3.8

7

lib/Lib/Core/Model.class.js

@@ -682,10 +682,5 @@ var util = require('util');

return self.db.select(options).then(function(data){
var result = data ? data[0] : [];
var result = data[0] ? data[0] : {};
return self._afterFind(result, options);
})
}).then(function(result){
if (result === false) {
return getPromise("_afterFind return false", true);
};
return result;
})

@@ -692,0 +687,0 @@ },

2

lib/Lib/Core/Think.class.js

@@ -122,3 +122,3 @@ //自动加载进行识别的路径

if (APP_MODE) {
var modeDebugFile = THINK_PATH + "/Confg/" + APP_MODE + "_debug.js";
var modeDebugFile = THINK_PATH + "/Conf/" + APP_MODE + "_debug.js";
if (isFile(modeDebugFile)) {

@@ -125,0 +125,0 @@ C(require(modeDebugFile));

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