Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use specific lodash package instead of full package lodash #2959

Merged
merged 1 commit into from
Oct 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { camelCase } from 'lodash'
import camelCase from 'lodash/camelCase'

import { getBar } from './thing2'

Expand Down
Loading