Skip to content

Commit 9cdd920

Browse files
authored
Add lodash-es to support tsdx lodash optimisation (#610)
1 parent 8d2e660 commit 9cdd920

File tree

2 files changed

+8
-33
lines changed

2 files changed

+8
-33
lines changed

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@
4141
},
4242
"dependencies": {
4343
"lodash": "^4.17.20",
44+
"lodash-es": "^4.17.21",
4445
"prop-types": "^15.7.2"
4546
},
4647
"devDependencies": {
4748
"@types/enzyme": "^3.10.3",
4849
"@types/jest": "^26.0.13",
49-
"@types/lodash.get": "^4.4.6",
50-
"@types/lodash.has": "^4.5.6",
51-
"@types/lodash.isplainobject": "^4.0.6",
52-
"@types/lodash.set": "^4.3.6",
50+
"@types/lodash": "^4.14.168",
5351
"@types/prop-types": "^15.7.1",
5452
"@types/react": "^17.0.0",
5553
"@types/react-dom": "^17.0.0",

yarn.lock

+6-29
Original file line numberDiff line numberDiff line change
@@ -1272,35 +1272,7 @@
12721272
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
12731273
integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=
12741274

1275-
"@types/lodash.get@^4.4.6":
1276-
version "4.4.6"
1277-
resolved "https://registry.yarnpkg.com/@types/lodash.get/-/lodash.get-4.4.6.tgz#0c7ac56243dae0f9f09ab6f75b29471e2e777240"
1278-
integrity sha512-E6zzjR3GtNig8UJG/yodBeJeIOtgPkMgsLjDU3CbgCAPC++vJ0eCMnJhVpRZb/ENqEFlov1+3K9TKtY4UdWKtQ==
1279-
dependencies:
1280-
"@types/lodash" "*"
1281-
1282-
"@types/lodash.has@^4.5.6":
1283-
version "4.5.6"
1284-
resolved "https://registry.yarnpkg.com/@types/lodash.has/-/lodash.has-4.5.6.tgz#d94d3f0b45ced2ae76d632080daf70e9b76e29eb"
1285-
integrity sha512-SpUCvze0uHilQX/mt4K/cak5OQny1pVfz3pJx6H70dE3Tvw9s7EtlMK+vY6UBS+PQgETDfv6vhwoa3FPS2wrhg==
1286-
dependencies:
1287-
"@types/lodash" "*"
1288-
1289-
"@types/lodash.isplainobject@^4.0.6":
1290-
version "4.0.6"
1291-
resolved "https://registry.yarnpkg.com/@types/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#757d2dcdecbb32f4452018b285a586776092efd1"
1292-
integrity sha512-8G41YFhmOl8Ck6NrwLK5hhnbz6ADfuDJP+zusDnX3PoYhfC60+H/rQE6zmdO4yFzPCPJPY4oGZK2spbXm6gYEA==
1293-
dependencies:
1294-
"@types/lodash" "*"
1295-
1296-
"@types/lodash.set@^4.3.6":
1297-
version "4.3.6"
1298-
resolved "https://registry.yarnpkg.com/@types/lodash.set/-/lodash.set-4.3.6.tgz#33e635c2323f855359225df6a5c8c6f1f1908264"
1299-
integrity sha512-ZeGDDlnRYTvS31Laij0RsSaguIUSBTYIlJFKL3vm3T2OAZAQj2YpSvVWJc0WiG4jqg9fGX6PAPGvDqBcHfSgFg==
1300-
dependencies:
1301-
"@types/lodash" "*"
1302-
1303-
"@types/lodash@*":
1275+
"@types/lodash@^4.14.168":
13041276
version "4.14.168"
13051277
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.168.tgz#fe24632e79b7ade3f132891afff86caa5e5ce008"
13061278
integrity sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==
@@ -5105,6 +5077,11 @@ locate-path@^6.0.0:
51055077
dependencies:
51065078
p-locate "^5.0.0"
51075079

5080+
lodash-es@^4.17.21:
5081+
version "4.17.21"
5082+
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"
5083+
integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==
5084+
51085085
lodash.debounce@^4.0.8:
51095086
version "4.0.8"
51105087
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"

0 commit comments

Comments
 (0)