groupon / assertive

Assertive is a terse yet expressive assertion library
BSD 3-Clause "New" or "Revised" License
21 stars 11 forks source link

no longer depend/break on global `_` #43

Closed dbushong closed 6 years ago

dbushong commented 6 years ago

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)