Socket
Socket
Sign inDemoInstall

nx

Package Overview
Dependencies
9
Maintainers
1
Versions
1216
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.7 to 0.8.8

4

History.md

@@ -0,1 +1,5 @@

# 0.8.8
======================
* Fixed MySQLのコネクションプーリング復活、次々別々のコネクションが作成されエラーが発生するため
# 0.8.7

@@ -2,0 +6,0 @@ ======================

70

lib/nx/app/action/Abstract/init.js

@@ -18,25 +18,2 @@ /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/*
me.uses.forEach(function(item) {
var name = item;
var conn = 'default';
if(NX.isObject(item)) {
name = item.name;
conn = item.conn;
}
tmp.push({
name: name,
conn: conn,
path: paths.modules + '/' + name + '.js',
define: null,
ready: false
});
});
me.uses = tmp;
*/
var callback = function() {

@@ -63,49 +40,2 @@

/*
me.uses.forEach(function(item) {
NX.Path.exists(item.path, function(exists) {
if(!exists) {
item.ready = true;
return;
}
NX.Fs.stat(item.path, function(err, stat) {
// モジュールキャッシュクリア
NX.moduleCacheClear(item.path, stat.mtime);
// モジュール生成
item.define = NX.create('NX.app.module.Module', require(item.path));
if(!NX.isString(item.define.useTable)) {
var TableName = NX.Path.basename(item.path);
TableName = TableName.substr(0, TableName.lastIndexOf('.'));
item.define.useTable = TableName;
}
// コネクション名設定
item.define.setConnName(item.conn);
// 初期化
item.define.init(paths, req, function() {
item.ready = true;
callback();
});
});
});
});
*/
if(me.uses.length === 0) {

@@ -112,0 +42,0 @@

@@ -185,3 +185,2 @@ /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

});

@@ -188,0 +187,0 @@

@@ -280,3 +280,2 @@ /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

console.log(e);
// {{{ 500エラー

@@ -283,0 +282,0 @@

@@ -48,3 +48,5 @@ /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

} else {
fn();
}

@@ -51,0 +53,0 @@

@@ -19,3 +19,2 @@ /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/*
if(driver === undefined) {

@@ -28,4 +27,3 @@

}
*/
driver = require('mysql').createClient(config);
//driver = require('mysql').createClient(config);

@@ -32,0 +30,0 @@ // }}}

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

"keywords": ["framework", "web", "Web Server", "Application Server", "NextJS", "Ext JS"],
"version" : "0.8.7",
"version" : "0.8.8",
"author" : "Kazuhiro Kotsutsumi <kotsutsumi@xenophy.com>",

@@ -8,0 +8,0 @@ "repository" : "git://github.com/xenophy/NextJS.git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc