Update lodash dependency
This commit is contained in:
parent
438150f7a2
commit
e88f936329
|
@ -48,7 +48,11 @@
|
|||
"eslint-plugin-react": "^6.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"lodash": "^4.17.2",
|
||||
"lodash.find": "^4.6.0",
|
||||
"lodash.flowright": "^3.5.0",
|
||||
"lodash.isfunction": "^3.0.8",
|
||||
"lodash.isobject": "^3.0.2",
|
||||
"lodash.omit": "^4.5.0",
|
||||
"redux": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ import {
|
|||
PROP_TYPES,
|
||||
} from './structure';
|
||||
import reduce from 'lodash/reduce';
|
||||
import compose from 'lodash/fp/compose';
|
||||
import flowright from 'lodash/fp/flowright';
|
||||
import { createShapeReducer } from './reducers/objectReducer';
|
||||
import { createArrayReducer } from './reducers/arrayReducer';
|
||||
import { createPrimitiveReducer } from './reducers/primitiveReducer';
|
||||
|
@ -120,4 +120,4 @@ export function calculateDefaults(typeDescription: StructureType | PrimitiveType
|
|||
}
|
||||
|
||||
|
||||
export const createReducer = compose(callReducer, determineReducerType);
|
||||
export const createReducer = flowright(callReducer, determineReducerType);
|
||||
|
|
Loading…
Reference in New Issue