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

Avoid lodash where possible #395

Merged
merged 2 commits into from Nov 18, 2020
Merged

Conversation

TrySound
Copy link
Contributor

@TrySound TrySound commented Nov 12, 2020

In this diff I replaced some lodash methods with native ones without
complicating code.

(Related PR: #393)

In this diff I replaced some lodash methods with native ones without
complicating code.
@TrySound
Copy link
Contributor Author

@th0r Is this better?

@valscion
Copy link
Member

I would like to 👍 this idea of reducing the surface area of lodash in favor of native ones. I have had trouble deciphering what the lodash methods do as I'm myself more accustomed to the native methods.

src/analyzer.js Outdated Show resolved Hide resolved
src/parseUtils.js Outdated Show resolved Hide resolved
src/utils.js Show resolved Hide resolved
@TrySound
Copy link
Contributor Author

Hi @th0r is this good now?

@th0r
Copy link
Collaborator

th0r commented Nov 18, 2020

Yep, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants