Upgrade to lodash4
This commit is contained in:
parent
95e641542a
commit
d823fb0186
@ -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;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import _omit from 'lodash/object/omit';
|
||||
import _omit from 'lodash/omit';
|
||||
import wrap from './wrap';
|
||||
|
||||
function omit(predicate, collection) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import _reject from 'lodash/collection/reject';
|
||||
import _reject from 'lodash/reject';
|
||||
import wrap from './wrap';
|
||||
|
||||
function reject(predicate, collection) {
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import reject from 'lodash/collection/reject';
|
||||
import reject from 'lodash/reject';
|
||||
|
||||
export default function splitPath(path) {
|
||||
return Array.isArray(path) ?
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user