1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00

upgrade pg and knex

This commit is contained in:
Ivar 2016-09-10 10:35:35 +02:00 committed by Ivar Conradi Østhus
parent 5ee3cd3ddb
commit 36a57ae5b4
2 changed files with 3 additions and 5 deletions

View File

@ -9,9 +9,7 @@ function EventStore (eventDb) {
util.inherits(EventStore, EventEmitter); util.inherits(EventStore, EventEmitter);
EventStore.prototype.create = function (event) { EventStore.prototype.create = function (event) {
return this.eventDb.store(event).then(() => { return this.eventDb.store(event).then(() => this.emit(event.type, event));
this.emit(event.type, event);
});
}; };
module.exports = EventStore; module.exports = EventStore;

View File

@ -55,9 +55,9 @@
"express": "4.14.0", "express": "4.14.0",
"express-validator": "2.20.8", "express-validator": "2.20.8",
"install": "^0.8.1", "install": "^0.8.1",
"knex": "^0.10.0", "knex": "^0.11.10",
"log4js": "^0.6.38", "log4js": "^0.6.38",
"pg": "^4.5.5", "pg": "^6.1.0",
"serve-favicon": "^2.3.0" "serve-favicon": "^2.3.0"
}, },
"devDependencies": { "devDependencies": {