Skip to content

Commit

Permalink
Use declared lodash dependencies. Resolve build failures for dependen… (
Browse files Browse the repository at this point in the history
#1366)

* Use declared lodash dependencies. Resolve build failures for dependent projects using Yarn PnP.

* Use cherry-picked lodash requires.

* Correct lodash/toPath require.
  • Loading branch information
burkedavison authored and epicfaace committed Jul 25, 2019
1 parent 91e66e6 commit 59ab93f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
22 changes: 3 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@
"@babel/runtime-corejs2": "^7.4.5",
"ajv": "^6.7.0",
"core-js": "^2.5.7",
"lodash.get": "^4.4.2",
"lodash.pick": "^4.4.0",
"lodash.topath": "^4.5.2",
"lodash": "^4.17.15",
"prop-types": "^15.5.8",
"react-is": "^16.8.4",
"react-lifecycles-compat": "^3.0.4",
Expand Down
2 changes: 1 addition & 1 deletion src/validate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import toPath from "lodash.topath";
import toPath from "lodash/toPath";
import Ajv from "ajv";
let ajv = createAjvInstance();
import { deepEquals } from "./utils";
Expand Down

0 comments on commit 59ab93f

Please sign in to comment.