Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to lodash 4
Browse files Browse the repository at this point in the history
mtorp committed Mar 16, 2020

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent d570d18 commit 5c16780
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ Object.assign(config.storage, {

var pubsubConnection = pubsub.create();

new RpcServer(socket, _.extend({}, databaseMethods, queueMethods, pubsubConnection.methods));
new RpcServer(socket, _.extend({}, databaseMethods, queueMethods.bind(pubsubConnection.methods)));

socket.on('close', () => {
pubsubConnection.close();
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
"url": "https://github.com/screeps/storage.git"
},
"dependencies": {
"lodash": "^3.10.1",
"lodash": "^4.0.0",
"lokijs": "^1.5.6",
"q": "^1.4.1"
}

0 comments on commit 5c16780

Please sign in to comment.