Upgrade to lodash 4 (#3315)
* Upgrade to lodash 4 * Fix incorrect require in babel-runtime/scripts * Replace cloneDeep with cloneDeepWith where applicable
This commit is contained in:
committed by
Henry Zhu
parent
2607f35b9f
commit
dc1f40540d
@@ -11,7 +11,7 @@
|
||||
"babel-runtime": "^6.0.0",
|
||||
"babel-traverse": "^6.8.0",
|
||||
"esutils": "^2.0.2",
|
||||
"lodash": "^3.10.1",
|
||||
"lodash": "^4.2.0",
|
||||
"to-fast-properties": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import isPlainObject from "lodash/lang/isPlainObject";
|
||||
import isNumber from "lodash/lang/isNumber";
|
||||
import isRegExp from "lodash/lang/isRegExp";
|
||||
import isString from "lodash/lang/isString";
|
||||
import isPlainObject from "lodash/isPlainObject";
|
||||
import isNumber from "lodash/isNumber";
|
||||
import isRegExp from "lodash/isRegExp";
|
||||
import isString from "lodash/isString";
|
||||
import type { Scope } from "babel-traverse";
|
||||
import * as t from "./index";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import toFastProperties from "to-fast-properties";
|
||||
import compact from "lodash/array/compact";
|
||||
import loClone from "lodash/lang/clone";
|
||||
import each from "lodash/collection/each";
|
||||
import uniq from "lodash/array/uniq";
|
||||
import compact from "lodash/compact";
|
||||
import loClone from "lodash/clone";
|
||||
import each from "lodash/each";
|
||||
import uniq from "lodash/uniq";
|
||||
|
||||
let t = exports;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user