mysql-promise
Advanced tools
Comparing version 0.1.0 to 0.2.0
'use strict'; | ||
var Q = require('q'), | ||
var Promise = require('bluebird'), | ||
mysql = require('mysql'), | ||
@@ -22,3 +22,3 @@ pool = null; | ||
exports.query = function (query, params) { | ||
var defer = Q.defer(); | ||
var defer = Promise.defer(); | ||
params = params || {}; | ||
@@ -25,0 +25,0 @@ |
{ | ||
"name": "mysql-promise", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Small wrapper for mysql that use promises.", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"mysql": "~2.0.0-alpha9", | ||
"q": "~0.9.7" | ||
"bluebird": "~1.0.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
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
2726
+ Addedbluebird@~1.0.0
+ Addedbluebird@1.0.8(transitive)
- Removedq@~0.9.7
- Removedq@0.9.7(transitive)