Skip to content

Commit

Permalink
chore: remove precise locking of lodash dependency
Browse files Browse the repository at this point in the history
Use the caret (^) operator to allow any version of lodash with a version over the specified
version (4.17.13).  This means that when this package is installed alongside other packages
depending on a higher version of lodash, the shared lodash dependencies can be deduped properly
across all dependents.

The caret also ensures that this package will not automatically upgrade to 5.x versions of
lodash (the next major version).
  • Loading branch information
Jonathan committed Oct 21, 2019
1 parent 9bc67e3 commit 6917b23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"dependencies": {
"babel-runtime": "^6.26.0",
"invariant": "^2.2.2",
"lodash": "4.17.13"
"lodash": "^4.17.13"
},
"peerDependencies": {
"redux": ">3.0.0"
Expand Down

0 comments on commit 6917b23

Please sign in to comment.