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:
Jordan Klassen
2016-05-13 14:15:14 -07:00
committed by Henry Zhu
parent 2607f35b9f
commit dc1f40540d
46 changed files with 76 additions and 76 deletions

View File

@@ -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"
}
}

View File

@@ -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";

View File

@@ -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;