forked from bitpay/bitcore-lib
-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Labels
Description
dashcore-lib/lib/transaction/transaction.js
Line 356 in c3c3fe5
| _.each(this.inputs, function (input) { |
lodash is a gigantic, heavy dependency that hasn't had an update since 2021. It's being used for very, very little (type checking, replacing Array.forEach ...)
Possible Solution
Replace calls to lodash helper functions with the type checking functions from is-what (10 million+ weekly downloads).
Alternatives Considered
Write polyfills? But is-what is already tiny and minimal.