Skip to content

Commit b0372e3

Browse files
committed
Merge pull request brianc#297 from tmont/lodash-upgrade
upgraded to lodash@4.1.x
2 parents d0cc3c7 + e734df2 commit b0372e3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/dialect/postgres.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Postgres.prototype._getParameterValue = function(value, quoteChar) {
5656
value = '\'{' + value.join(',') + '}\'';
5757
}
5858
} else {
59-
value = _.map(value, this._getParameterValue, this);
59+
value = _.map(value, this._getParameterValue.bind(this));
6060
value = '(' + value.join(', ') + ')';
6161
}
6262
} else if (_.isFunction(value.toISOString)) {

lib/table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Table.prototype.createColumn = function(col) {
7878
name: subfield
7979
})];
8080
}, this))
81-
.object()
81+
.fromPairs()
8282
.value();
8383
}
8484
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"dependencies": {
2222
"sliced": "0.0.x",
23-
"lodash": "1.3.x"
23+
"lodash": "4.1.x"
2424
},
2525
"devDependencies": {
2626
"jshint": "*",

0 commit comments

Comments
 (0)