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 #1122

Merged
merged 3 commits into from
Sep 29, 2020
Merged

Avoid lodash where possible #1122

merged 3 commits into from
Sep 29, 2020

Conversation

TrySound
Copy link
Contributor

Lodash is quote big project and it's required less with a time in modern
environments. In this diff I bumped node support to 8+ and used native
methods where possible instead of lodash. Later we can go further and
completely remove it from the project.

This can make the project much smaller.
https://packagephobia.com/result?p=soap

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.882% when pulling d37647b on TrySound:avoid-lodash into 8884a96 on vpulim:master.

@coveralls
Copy link

coveralls commented Sep 26, 2020

Coverage Status

Coverage remained the same at 94.882% when pulling bcd18f9 on TrySound:avoid-lodash into 3e49710 on vpulim:master.

@jsdevel
Copy link
Collaborator

jsdevel commented Sep 29, 2020

you're killing it @TrySound ! can you rebase onto latest master?

@@ -1,5 +1,3 @@
var _ = require('lodash');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove lodash altogether?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just one module. I will try to cover other cases in upcoming PRs.

Lodash is quote big project and it's required less with a time in modern
environments. In this diff I bumped node support to 8+ and used native
methods where possible instead of lodash. Later we can go further and
completely remove it from the project.

This can make the project much smaller.
https://packagephobia.com/result?p=soap
@TrySound
Copy link
Contributor Author

@jsdevel Done

@jsdevel jsdevel merged commit 2120a1a into vpulim:master Sep 29, 2020
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.

3 participants