Upgrade to version 7

Check is lodash can help here.