Merge pull request #50 from substantial/lodash4

Upgrade to lodash4
main
Aaron Jensen 2016-02-04 06:20:10 -08:00
commit 50ccee2dee
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",