Upgrade to lodash v4

This commit is contained in:
Tim Perry 2017-08-16 18:16:21 +02:00
parent b28a4a5f99
commit e204707ee0
4 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Upgrade to Lodash v4, drastically reducing install size (due to dedupes)
- Updated npm package description
- Added support for looking up shared apps via [owner]/[appname] strings

View File

@ -145,7 +145,7 @@ buildConfig = function(image, deviceType, advanced) {
return helpers.getManifest(image, deviceType).get('options').then(function(questions) {
var advancedGroup, override;
if (!advanced) {
advancedGroup = _.findWhere(questions, {
advancedGroup = _.find(questions, {
name: 'advanced',
isGroup: true
});

View File

@ -152,7 +152,7 @@ buildConfig = (image, deviceType, advanced = false) ->
.get('options')
.then (questions) ->
if not advanced
advancedGroup = _.findWhere questions,
advancedGroup = _.find questions,
name: 'advanced'
isGroup: true

View File

@ -59,7 +59,7 @@
"is-root": "^1.0.0",
"js-yaml": "^3.7.0",
"klaw": "^1.3.1",
"lodash": "^3.10.0",
"lodash": "^4.17.4",
"mixpanel": "^0.4.0",
"moment": "^2.12.0",
"mz": "^2.6.0",