mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-25 22:00:30 +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
|
### Changed
|
||||||
|
|
||||||
|
- Upgrade to Lodash v4, drastically reducing install size (due to dedupes)
|
||||||
- Updated npm package description
|
- Updated npm package description
|
||||||
- Added support for looking up shared apps via [owner]/[appname] strings
|
- 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) {
|
return helpers.getManifest(image, deviceType).get('options').then(function(questions) {
|
||||||
var advancedGroup, override;
|
var advancedGroup, override;
|
||||||
if (!advanced) {
|
if (!advanced) {
|
||||||
advancedGroup = _.findWhere(questions, {
|
advancedGroup = _.find(questions, {
|
||||||
name: 'advanced',
|
name: 'advanced',
|
||||||
isGroup: true
|
isGroup: true
|
||||||
});
|
});
|
||||||
|
@ -152,7 +152,7 @@ buildConfig = (image, deviceType, advanced = false) ->
|
|||||||
.get('options')
|
.get('options')
|
||||||
.then (questions) ->
|
.then (questions) ->
|
||||||
if not advanced
|
if not advanced
|
||||||
advancedGroup = _.findWhere questions,
|
advancedGroup = _.find questions,
|
||||||
name: 'advanced'
|
name: 'advanced'
|
||||||
isGroup: true
|
isGroup: true
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
"is-root": "^1.0.0",
|
"is-root": "^1.0.0",
|
||||||
"js-yaml": "^3.7.0",
|
"js-yaml": "^3.7.0",
|
||||||
"klaw": "^1.3.1",
|
"klaw": "^1.3.1",
|
||||||
"lodash": "^3.10.0",
|
"lodash": "^4.17.4",
|
||||||
"mixpanel": "^0.4.0",
|
"mixpanel": "^0.4.0",
|
||||||
"moment": "^2.12.0",
|
"moment": "^2.12.0",
|
||||||
"mz": "^2.6.0",
|
"mz": "^2.6.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user