mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-23 15:32:22 +00:00
Upgrade to lodash v4
This commit is contained in:
parent
b28a4a5f99
commit
e204707ee0
@ -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
|
||||
|
||||
|
@ -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
|
||||
});
|
||||
|
@ -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
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user