Skip to content

Commit

Permalink
Merge pull request #150 from appscot/update_deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
dmarcelino authored Jul 5, 2016
2 parents 384deb3 + e06ed75 commit 4c2da6c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/associations.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Associations.prototype.getFetchPlan = function getFetchPlan(collectionName, crit
var where = fetchPlan.slice(-1) === ' ' ? fetchPlan.slice(0, -1) : fetchPlan;
return {
where: where,
select: _.unique(select)
select: _.uniq(select)
};
};

Expand Down
2 changes: 1 addition & 1 deletion lib/collection/edge.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Edge.prototype.destroy = function destroy(criteria, cb) {

if(results.length === 0){ return cb(null, results); }

var rids = _.pluck(results, 'id');
var rids = _.map(results, 'id');
log.debug('Destroy rids: ' + rids);

self.connection.db.delete(self.classCommand)
Expand Down
2 changes: 1 addition & 1 deletion lib/collection/vertex.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Vertex.prototype.destroy = function destroy(criteria, cb) {

if(results.length === 0){ return cb(null, results); }

var rids = _.pluck(results, 'id');
var rids = _.map(results, 'id');
log.debug('Destroy rids: ' + rids);

self.connection.db.delete(self.classCommand)
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@
"readmeFilename": "README.md",
"dependencies": {
"async": "^1.0.0",
"bluebird": "^2.9.24",
"bluebird": "^3.4.1",
"debug-logger": "^0.4.0",
"lodash": "^3.3.0",
"orientjs": "~2.1.0",
"waterline-criteria": "~0.11.1",
"lodash": "^3.10.1",
"orientjs": "^2.2.1",
"waterline-criteria": "^1.0.1",
"waterline-cursor": "~0.0.5",
"waterline-sequel-orientdb": "^0.1.0"
},
"devDependencies": {
"codeclimate-test-reporter": "~0.0.4",
"istanbul": "^0.3.5",
"codeclimate-test-reporter": "~0.3.3",
"istanbul": "^0.4.4",
"jshint": "*",
"mocha": "*",
"waterline-schema": "0.1.18",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('Adapter Custom Methods', function () {
function complete(err, results){
assert.equal(err, null);

var uniqueCounts = _.unique(results);
var uniqueCounts = _.uniq(results);
assert.strictEqual(uniqueCounts.length, opsNumber);
done();
});
Expand Down

0 comments on commit 4c2da6c

Please sign in to comment.