Upgrade to lodash4

This commit is contained in:
Aaron Jensen 2016-01-14 08:02:59 -08:00
parent 95e641542a
commit d823fb0186
6 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
import update from './update';
import wrap from './wrap';
import forEach from 'lodash/collection/forEach';
import mapArray from 'lodash/collection/map';
import mapObject from 'lodash/object/mapValues';
import forEach from 'lodash/forEach';
import mapArray from 'lodash/map';
import mapObject from 'lodash/mapValues';
function shallowEqual(object, otherObject) {
let equal = true;

View File

@ -1,4 +1,4 @@
import _omit from 'lodash/object/omit';
import _omit from 'lodash/omit';
import wrap from './wrap';
function omit(predicate, collection) {

View File

@ -1,4 +1,4 @@
import _reject from 'lodash/collection/reject';
import _reject from 'lodash/reject';
import wrap from './wrap';
function reject(predicate, collection) {

View File

@ -1,5 +1,5 @@
import wrap from './wrap';
import isPlainObject from 'lodash/lang/isPlainObject';
import isPlainObject from 'lodash/isPlainObject';
function isEmpty(object) {
return !Object.keys(object).length;

View File

@ -1,4 +1,4 @@
import reject from 'lodash/collection/reject';
import reject from 'lodash/reject';
export default function splitPath(path) {
return Array.isArray(path) ?

View File

@ -29,7 +29,7 @@
"url": "https://github.com/aaronjensen/updeep/issues"
},
"dependencies": {
"lodash": "^3.0.0"
"lodash": "^4.2.0"
},
"devDependencies": {
"babel-core": "^6.4.0",