Skip to content

Commit 6917b23

Browse files
author
Jonathan
committed
chore: remove precise locking of lodash dependency
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).
1 parent 9bc67e3 commit 6917b23

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package-lock.json

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"dependencies": {
6060
"babel-runtime": "^6.26.0",
6161
"invariant": "^2.2.2",
62-
"lodash": "4.17.13"
62+
"lodash": "^4.17.13"
6363
},
6464
"peerDependencies": {
6565
"redux": ">3.0.0"

0 commit comments

Comments
 (0)