Skip to content

Commit 59ab93f

Browse files
burkedavisonepicfaace
authored andcommitted
Use declared lodash dependencies. Resolve build failures for dependen… (rjsf-team#1366)
* Use declared lodash dependencies. Resolve build failures for dependent projects using Yarn PnP. * Use cherry-picked lodash requires. * Correct lodash/toPath require.
1 parent 91e66e6 commit 59ab93f

File tree

3 files changed

+5
-23
lines changed

3 files changed

+5
-23
lines changed

package-lock.json

Lines changed: 3 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@
4646
"@babel/runtime-corejs2": "^7.4.5",
4747
"ajv": "^6.7.0",
4848
"core-js": "^2.5.7",
49-
"lodash.get": "^4.4.2",
50-
"lodash.pick": "^4.4.0",
51-
"lodash.topath": "^4.5.2",
49+
"lodash": "^4.17.15",
5250
"prop-types": "^15.5.8",
5351
"react-is": "^16.8.4",
5452
"react-lifecycles-compat": "^3.0.4",

src/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import toPath from "lodash.topath";
1+
import toPath from "lodash/toPath";
22
import Ajv from "ajv";
33
let ajv = createAjvInstance();
44
import { deepEquals } from "./utils";

0 commit comments

Comments
 (0)