Skip to content

Commit

Permalink
Updated the mongoose version and used Q instead of Bluebird as promis…
Browse files Browse the repository at this point in the history
…e library.
  • Loading branch information
SamVerschueren committed May 28, 2015
1 parent e1bd9d2 commit 222dd69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/mongoose-seeder.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var mongoose = require('mongoose'),
async = require('async'),
_ = require('lodash'),
Promise = require('bluebird');
Q = require('q');

module.exports = (function() {

Expand Down Expand Up @@ -234,7 +234,7 @@ module.exports = (function() {
}

// Create a deferred object for the promise
var def = Promise.defer();
var def = Q.defer();

// If no callback is provided, use a noop function
callback = callback || function() {};
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"homepage": "https://github.com/SamVerschueren/mongoose-seeder",
"dependencies": {
"async": "^0.9.0",
"bluebird": "^2.9.23",
"lodash": "^3.6.0",
"mongoose": "3.8.25"
"mongoose": "^4.0.3",
"q": "^1.4.1"
},
"devDependencies": {
"chai": "^2.1.1",
Expand Down

0 comments on commit 222dd69

Please sign in to comment.