Comparing version 0.9.4 to 0.9.5
@@ -66,4 +66,4 @@ var util = require('util'); | ||
// @TODO WTF is this supposed to do? | ||
if (!self.connected) { | ||
this.emit('error', new Error('reconnection attempt failed before connection was fully set up')); | ||
return; | ||
@@ -70,0 +70,0 @@ } |
{ | ||
"name": "mysql", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)", | ||
@@ -20,4 +20,4 @@ "description": "A pure node.js JavaScript Client implementing the MySQL protocol.", | ||
"gently": "0.8.0", | ||
"far": "0.0.6", | ||
"fast-or-slow": "0.0.5" | ||
"urun": "0.0.4", | ||
"utest": "0.0.3" | ||
}, | ||
@@ -24,0 +24,0 @@ "engines": { |
# node-mysql | ||
[![Build Status](https://secure.travis-ci.org/felixge/node-mysql.png)](http://travis-ci.org/felixge/node-mysql) | ||
## Purpose | ||
@@ -151,6 +153,5 @@ | ||
### client.destroy([cb]) | ||
### client.destroy() | ||
Forces the client connection to be destroyed right away. This is not a | ||
nice way to terminate the connection, use with caution. | ||
Forces the client connection / socket to be destroyed right away. | ||
@@ -244,2 +245,22 @@ ### client.end([cb]) | ||
### v0.9.5 | ||
* Fix #142 Driver stalls upon reconnect attempt that's immediately closed | ||
* Add travis build | ||
* Switch to urun as a test runner | ||
* Switch to utest for unit tests | ||
* Remove fast-or-slow dependency for tests | ||
* Split integration tests into individual files again | ||
### v0.9.4 | ||
* Expose package.json as `mysql.PACKAGE` (#104) | ||
### v0.9.3 | ||
* Set default `client.user` to root | ||
* Fix #91: Client#format should not mutate params array | ||
* Fix #94: TypeError in client.js | ||
* Parse decimals as string (vadimg) | ||
### v0.9.2 | ||
@@ -246,0 +267,0 @@ |
@@ -24,3 +24,1 @@ var mysql = require('..'); | ||
}; | ||
exports.fastOrSlow = require('fast-or-slow'); |
@@ -7,3 +7,3 @@ // Copy this file to test/config.js and fill in your own credentials in order | ||
user: 'root', | ||
password: 'root' | ||
password: '' | ||
}; |
@@ -1,7 +0,1 @@ | ||
#!/usr/bin/env node | ||
var far = require('far').create(); | ||
far.add(__dirname); | ||
far.include(/test-.*\.js$/); | ||
far.execute(); | ||
require('urun')(__dirname) |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 43 instances in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 7 instances 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
118
291
0
14
1500894
3137
54