Comparing version 0.0.9 to 0.0.10
@@ -48,3 +48,3 @@ var binding = require("./build/Release/binding"); | ||
superConnect.call(this,db,user,pass,role,function (err){ | ||
if(err) obj.emit('error',err); | ||
if(err && (!cb || obj.listeners('error').length)) obj.emit('error',err); | ||
else obj.emit('connected'); | ||
@@ -55,2 +55,3 @@ if(cb) cb(err); | ||
var superQuery = Connection.prototype.query; | ||
@@ -60,3 +61,3 @@ Connection.prototype.query = function(sql,cb){ | ||
superQuery.call(this,sql,function(err,res){ | ||
if(err) obj.emit('error',err); | ||
if(err && (!cb || obj.listeners('error').length)) obj.emit('error',err); | ||
else obj.emit('result',res); | ||
@@ -67,2 +68,3 @@ if(cb) cb(err,res); | ||
binding.FBblob.prototype._readAll = function(initialSize, chunkSize, callback){ | ||
@@ -69,0 +71,0 @@ if(initialSize instanceof Function) |
{ "name" : "firebird" | ||
, "version" : "v0.0.9" | ||
, "version" : "v0.0.10" | ||
, "description" : "Firebird binding to node, uses libfbclient." | ||
, "author": "Denys Khanzhiyev" | ||
, "main": "./firebird" | ||
, "scripts": { "install": "node-waf configure build" } | ||
, "maintainers" : | ||
@@ -8,0 +7,0 @@ [ { "name": "Denys Khanzhiyev" |
@@ -25,14 +25,10 @@ C++ NodeJS module to work with Firebird SQL Server. Uses libfbclient. | ||
##Under Linux | ||
##Under Linux and Windows | ||
You will need: | ||
NodeJS (tested with v0.6.13) | ||
NodeJS (tested with v0.10.25) | ||
Firebird (tested with v2.5) | ||
All things below were tested on CentOS 5.5. | ||
Get Firebird: | ||
wget http://downloads.sourceforge.net/project/firebird/firebird-linux-i386/2.5-Release/FirebirdCS-2.5.0.26074-0.i686.rpm | ||
rpm -ivh FirebirdCS-2.5.0.26074-0.i686.rpm | ||
Get Firebird. | ||
Update your path: | ||
@@ -52,4 +48,3 @@ export PATH=$PATH:/opt/firebird/bin | ||
git clone git://github.com/xdenser/node-firebird-libfbclient.git | ||
node-waf configure build | ||
node-waf configure install | ||
npm install | ||
@@ -62,4 +57,4 @@ or use npm: | ||
git submodule update --init | ||
node-waf test | ||
npm install nodeunit | ||
./node_modules/.bin/nodeunit tests/def | ||
@@ -81,14 +76,2 @@ Play with it from node: | ||
##Under Windows | ||
You need Firebird client library installed. | ||
- [Experimental build for Windows link1](https://github.com/downloads/xdenser/node-firebird-libfbclient/node-firebird-win.zip) | ||
- [Experimental build for Windows link2](http://www.xdenser.com/downloads/node-firebird-win.zip) | ||
Unzip, modify config.js for your DB. Run: | ||
node.exe test.js | ||
# Links | ||
@@ -95,0 +78,0 @@ |
@@ -0,0 +0,0 @@ var Deferred = require('../../tools/node-deferred/lib/deferred.js').Deferred, |
@@ -0,0 +0,0 @@ var fb = require('./fb-deferred.js'); |
@@ -0,0 +0,0 @@ var connect = require('connect'); |
@@ -0,0 +0,0 @@ var fb=require('../../firebird'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
0
1
4
1555006
56
3
70
5961
331