[ALOY-1583] Alloy: Update underscore to the latest version (1.8.3)
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2017-12-07T11:17:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rene Pot |
Assignee | Feon Sua Xin Miao |
Created | 2017-09-28T09:00:07.000+0000 |
Updated | 2017-12-07T11:17:59.000+0000 |
Description
Underscore should be updated to the latest version to support the newest functionality of underscore. Since 1.6 a lot of new functions have been added to underscore.
I created a PR: https://github.com/appcelerator/alloy/pull/852
We are in the [process of moving from underscore to lodash](https://github.com/appcelerator/alloy/pull/842) (more advanced and up-to-date). But as it's a breaking change, we may integrate this in Alloy 1.x. [~cwilliams] [~fmiao] thoughts?
By looking at the migration guide for lodash there really are a lot of migration steps to take. So this would really help on short term: https://github.com/lodash/lodash/wiki/Migrating
As discussed in the linked PR, we will replace underscore with lodash in Alloy 2.0.0 which has a PR linked to TIMOB-24980.