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 pelias-mergeable with lodash.merge #266

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

Echelon9
Copy link
Contributor

pelias-mergeable is to be deprecated, so replace usage with the functionality provided by lodash.

Given we only require a small subset of lodash, add dependency for lodash.merge to avoid pulling in an unnecessarily large dependency.

See further the objective in: https://github.com/pelias/mergeable/issues/5

@ghost ghost added the in review label Jan 30, 2018
Copy link
Member

@orangejulius orangejulius left a comment

Choose a reason for hiding this comment

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

Awesome thank you. So glad someone finally did this.

One little suggestion before it can be merged.

package.json Outdated
@@ -37,7 +37,7 @@
"colors": "^1.1.2",
"elasticsearch": "^13.3.1",
"joi": "^12.0.0",
"mergeable": "latest",
"lodash.merge": "latest",
Copy link
Member

Choose a reason for hiding this comment

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

Can you change this to whatever the latest version is? That way Greenkeeper will help us detect breaking changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I'll update the PR to reflect that.

pelias-mergeable is to be deprecated, so replace usage with the functionality
provided by lodash.

Given we only require a small subset of lodash, add dependency for lodash.merge
to avoid pulling in an unnecessarily large dependency.
@Echelon9 Echelon9 force-pushed the refactor/deprecate-mergeable branch from 63e3ffc to e5318f7 Compare January 31, 2018 02:06
@Echelon9
Copy link
Contributor Author

@orangejulius done! Ready to merge.

Copy link
Member

@orangejulius orangejulius left a comment

Choose a reason for hiding this comment

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

perfect

@orangejulius orangejulius merged commit c54717f into pelias:master Jan 31, 2018
@ghost ghost removed the in review label Jan 31, 2018
@Echelon9 Echelon9 deleted the refactor/deprecate-mergeable branch January 31, 2018 02:23
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.

2 participants