diff --git a/.bowerrc b/.bowerrc deleted file mode 100644 index 1d69e778685..00000000000 --- a/.bowerrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "directory": "./public/bower_components" -} - diff --git a/watcher/lib/inject_stats.js b/watcher/lib/inject_stats.js index e14ec726915..c81e85c7270 100644 --- a/watcher/lib/inject_stats.js +++ b/watcher/lib/inject_stats.js @@ -1,5 +1,4 @@ var _ = require('lodash'); -_.mixin(require('lodash-deep')); var moment = require('moment'); var client = require('./client'); @@ -21,7 +20,7 @@ module.exports = function (fixture) { var index = workingDate.format(indexPattern); var entry = { '@timestamp': workingDate.toISOString() }; row.forEach(function (val, index) { - _.deepSet(entry, fields[index], val); + _.set(entry, fields[index], val); }); indices.push(index); @@ -40,7 +39,7 @@ module.exports = function (fixture) { var index = moment.utc(row[dateField]).format(indexPattern); var entry = {}; _.each(row, function (val, key) { - _.deepSet(entry, key, val); + _.set(entry, key, val); }); indices.push(index); body.push({