Skip to content

Commit

Permalink
fix: use specific lodash package instead of full package lodash (#…
Browse files Browse the repository at this point in the history
…2959)

Closes #2954
  • Loading branch information
ahnpnl committed Oct 11, 2021
1 parent 4c6637f commit dc89fe5
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 58 deletions.
177 changes: 123 additions & 54 deletions package-lock.json

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

8 changes: 6 additions & 2 deletions package.json
Expand Up @@ -60,7 +60,7 @@
"fast-json-stable-stringify": "2.x",
"jest-util": "^27.0.0",
"json5": "2.x",
"lodash": "4.x",
"lodash.memoize": "4.x",
"make-error": "1.x",
"semver": "7.x",
"yargs-parser": "20.x"
Expand Down Expand Up @@ -100,7 +100,9 @@
"@types/fs-extra": "latest",
"@types/jest": "latest",
"@types/js-yaml": "latest",
"@types/lodash": "4.x",
"@types/lodash.camelcase": "4.x",
"@types/lodash.memoize": "4.x",
"@types/lodash.set": "4.x",
"@types/micromatch": "4.x",
"@types/node": "16.10.3",
"@types/node-fetch": "^3.0.3",
Expand Down Expand Up @@ -128,6 +130,8 @@
"js-yaml": "latest",
"json-schema-to-typescript": "^10.1.4",
"lint-staged": "latest",
"lodash.camelcase": "^4.3.0",
"lodash.set": "^4.3.2",
"node-fetch": "^3.0.0",
"npm-run-all": "latest",
"prettier": "^2.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/__mocks__/thing1.ts
@@ -1,4 +1,4 @@
import { camelCase } from 'lodash'
import camelCase from 'lodash/camelCase'

import { getBar } from './thing2'

Expand Down

0 comments on commit dc89fe5

Please sign in to comment.