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

Replace underscore with native - use @aminya/underscore-plus for the rest #19

Merged
merged 10 commits into from
Jul 24, 2021

Conversation

aminya
Copy link
Member

@aminya aminya commented Jul 23, 2021

No description provided.

replaced `/_.clone\(([^)]*)\)/` with `{ ...$1 }`
replaced `_.contains\(([^)]*), ([^)]*)\)` with `$1.includes($2)`
replaced `_.isString\(([^)]*)\)` with `typeof $1 === "string"`
replaced `_.extend\({}, (.*), {(.*)}\)` with `({ ...$1, $2 })`
replaced `_.extend\((.*), (.*)\)` with `({...$1, ...$2})`
replaced `_.isFunction\(([^)]*)\)` with `typeof $1 === "function"`
replaced `_.filter\((.*), (.*)\)` with `$1.filter($2)`
@aminya aminya marked this pull request as ready for review July 23, 2021 23:32
@aminya aminya changed the title Remove underscore Replace underscore with native - use @aminya/underscore-plus for the rest Jul 24, 2021
@aminya aminya merged commit afabd47 into master Jul 24, 2021
@aminya aminya deleted the unused-imports branch July 24, 2021 17:58
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.

1 participant