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

no longer depend/break on global _ #43

Merged
merged 1 commit into from
Apr 27, 2018

Conversation

dbushong
Copy link
Member

browser-side there might be underscorejs present, which doesn't have all
of the lodash methods.

node-side we don't really need all of lodash all that much anymore.

the one sticking point is _.isEqual(), which is a bit large to
replicate, so we'll go ahead and depend on lodash.isequal, which will
break some browser use cases

BREAKING CHANGE: no longer works without SOME CommonJS compatibility (e.g. node, browserify)

browser-side there might be underscorejs present, which doesn't have all
of the lodash methods.

node-side we don't really need all of lodash all that much anymore.

the one sticking point is `_.isEqual()`, which is a bit large to
replicate, so we'll go ahead and depend on `lodash.isequal`, which will
break some browser use cases

BREAKING CHANGE: no longer works without SOME CommonJS compatibility (e.g. node, browserify)
@dbushong dbushong force-pushed the dbushong/feature/master/nuke-lodash branch from bc32dc9 to 58884fe Compare April 27, 2018 00:50
Copy link
Contributor

@jkrems jkrems left a comment

Choose a reason for hiding this comment

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

LGTM

@dbushong dbushong merged commit a828e60 into master Apr 27, 2018
@dbushong dbushong deleted the dbushong/feature/master/nuke-lodash branch April 27, 2018 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants