Update balena-sdk to 15.x

Update balena-config-json from 4.0.0 to 4.1.0
Update balena-image-manager from 7.0.1 to 7.0.3
Update balena-preload from 10.2.0 to 10.2.4
Update balena-sdk from 14.8.0 to 15.2.1
Update balena-sync from 11.0.0 to 11.0.2

Change-type: patch
This commit is contained in:
Pagan Gazzard 2020-07-31 16:25:48 +01:00
parent 5c8a5165e0
commit e021ad9af6
11 changed files with 341 additions and 445 deletions

View File

@ -80,7 +80,8 @@ export default class DevicesSupportedCmd extends Command {
SDK.DeviceTypeJson.DeviceType SDK.DeviceTypeJson.DeviceType
>> = await getBalenaSdk() >> = await getBalenaSdk()
.models.config.getDeviceTypes() .models.config.getDeviceTypes()
.map((d) => { .then((dts) =>
dts.map((d) => {
if (d.aliases && d.aliases.length) { if (d.aliases && d.aliases.length) {
// remove aliases that are equal to the slug // remove aliases that are equal to the slug
d.aliases = d.aliases.filter((alias: string) => alias !== d.slug); d.aliases = d.aliases.filter((alias: string) => alias !== d.slug);
@ -93,7 +94,8 @@ export default class DevicesSupportedCmd extends Command {
d.aliases = []; d.aliases = [];
} }
return d; return d;
}); }),
);
if (!options.discontinued) { if (!options.discontinued) {
deviceTypes = deviceTypes.filter((dt) => dt.state !== 'DISCONTINUED'); deviceTypes = deviceTypes.filter((dt) => dt.state !== 'DISCONTINUED');
} }

View File

@ -53,8 +53,9 @@ const getDeviceTypes = async function () {
return balena.models.config return balena.models.config
.getDeviceTypes() .getDeviceTypes()
.then((deviceTypes) => _.sortBy(deviceTypes, 'name')) .then((deviceTypes) => _.sortBy(deviceTypes, 'name'))
.tap((dt) => { .then((dt) => {
allDeviceTypes = dt; allDeviceTypes = dt;
return dt;
}); });
}; };

View File

@ -63,30 +63,27 @@ export const getDashboardLoginURL = (callbackUrl: string) => {
* if loggedIn * if loggedIn
* console.log('Token is valid!') * console.log('Token is valid!')
*/ */
export const loginIfTokenValid = async (token: string) => { export const loginIfTokenValid = async (token: string): Promise<boolean> => {
if (_.isEmpty(token?.trim())) { if (_.isEmpty(token?.trim())) {
return false; return false;
} }
const balena = getBalenaSdk(); const balena = getBalenaSdk();
return balena.auth let currentToken;
.getToken() try {
.catchReturn(undefined) currentToken = await balena.auth.getToken();
.then((currentToken) => } catch {
balena.auth // ignore
.loginWithToken(token)
.return(token)
.then(balena.auth.isLoggedIn)
.tap((isLoggedIn) => {
if (isLoggedIn) {
return;
} }
await balena.auth.loginWithToken(token);
const isLoggedIn = await balena.auth.isLoggedIn();
if (!isLoggedIn) {
if (currentToken != null) { if (currentToken != null) {
return balena.auth.loginWithToken(currentToken); await balena.auth.loginWithToken(currentToken);
} else { } else {
return balena.auth.logout(); await balena.auth.logout();
} }
}), }
); return isLoggedIn;
}; };

View File

@ -695,9 +695,8 @@ export const authorizePush = function (
scope: images.map((repo) => `repository:${repo}:pull,push`), scope: images.map((repo) => `repository:${repo}:pull,push`),
}, },
}) })
.get('body') .then(({ body }) => body.token)
.get('token') .catch(() => '');
.catchReturn('');
}; };
/** /**

View File

@ -139,16 +139,18 @@ export function generateDeviceConfig(
function addApplicationKey(config: any, applicationNameOrId: string | number) { function addApplicationKey(config: any, applicationNameOrId: string | number) {
return getBalenaSdk() return getBalenaSdk()
.models.application.generateApiKey(applicationNameOrId) .models.application.generateApiKey(applicationNameOrId)
.tap((apiKey) => { .then((apiKey) => {
config.apiKey = apiKey; config.apiKey = apiKey;
return apiKey;
}); });
} }
function addProvisioningKey(config: any, applicationNameOrId: string | number) { function addProvisioningKey(config: any, applicationNameOrId: string | number) {
return getBalenaSdk() return getBalenaSdk()
.models.application.generateProvisioningKey(applicationNameOrId) .models.application.generateProvisioningKey(applicationNameOrId)
.tap((apiKey) => { .then((apiKey) => {
config.apiKey = apiKey; config.apiKey = apiKey;
return apiKey;
}); });
} }

View File

@ -183,6 +183,7 @@ export function getAppWithArch(
}); });
} }
// TODO: Drop this. The sdk now has this baked in application.get().
function getApplication( function getApplication(
applicationName: string, applicationName: string,
): Promise<ApplicationWithDeviceType> { ): Promise<ApplicationWithDeviceType> {
@ -207,10 +208,13 @@ function getApplication(
match[1], match[1],
match[0], match[0],
extraOptions, extraOptions,
); ) as Promise<ApplicationWithDeviceType>;
} }
return balena.models.application.get(applicationName, extraOptions); return balena.models.application.get(
applicationName,
extraOptions,
) as Promise<ApplicationWithDeviceType>;
} }
export const delay = promisify(setTimeout); export const delay = promisify(setTimeout);

View File

@ -174,14 +174,21 @@ export function selectApplication(
const balena = getBalenaSdk(); const balena = getBalenaSdk();
return balena.models.application return balena.models.application
.hasAny() .hasAny()
.then(function (hasAnyApplications) { .then(async (hasAnyApplications) => {
if (!hasAnyApplications) { if (!hasAnyApplications) {
throw new ExpectedError("You don't have any applications"); throw new ExpectedError("You don't have any applications");
} }
return balena.models.application.getAll() as Promise<ApplicationWithDeviceType[]>; const apps = (await balena.models.application.getAll({
$select: 'app_name',
$expand: {
is_for__device_type: {
$select: 'slug',
},
},
})) as ApplicationWithDeviceType[];
return apps.filter(filter || _.constant(true));
}) })
.filter(filter || _.constant(true))
.then((applications) => { .then((applications) => {
if (errorOnEmptySelection && applications.length === 0) { if (errorOnEmptySelection && applications.length === 0) {
throw new ExpectedError('No suitable applications found for selection'); throw new ExpectedError('No suitable applications found for selection');
@ -327,10 +334,8 @@ export async function awaitDeviceOsUpdate(
export function inferOrSelectDevice(preferredUuid: string) { export function inferOrSelectDevice(preferredUuid: string) {
const balena = getBalenaSdk(); const balena = getBalenaSdk();
return balena.models.device return balena.models.device.getAll().then((devices) => {
.getAll() const onlineDevices = devices.filter((device) => device.is_online);
.filter<BalenaSdk.Device>((device) => device.is_online)
.then((onlineDevices) => {
if (_.isEmpty(onlineDevices)) { if (_.isEmpty(onlineDevices)) {
throw new ExpectedError("You don't have any devices online"); throw new ExpectedError("You don't have any devices online");
} }

610
npm-shrinkwrap.json generated
View File

@ -806,12 +806,6 @@
"integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==",
"dev": true "dev": true
}, },
"node-fetch": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==",
"dev": true
},
"universal-user-agent": { "universal-user-agent": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz",
@ -877,11 +871,6 @@
"resolved": "https://registry.npmjs.org/@resin.io/types-home-or-tmp/-/types-home-or-tmp-3.0.0.tgz", "resolved": "https://registry.npmjs.org/@resin.io/types-home-or-tmp/-/types-home-or-tmp-3.0.0.tgz",
"integrity": "sha1-PsiRM0Nv7msb7jkC8fluJgXXnU0=" "integrity": "sha1-PsiRM0Nv7msb7jkC8fluJgXXnU0="
}, },
"@resin.io/types-node-localstorage": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@resin.io/types-node-localstorage/-/types-node-localstorage-1.3.0.tgz",
"integrity": "sha1-YmvQZ8lmkrnZO+P7xqJGzBskR6E="
},
"@resin.io/valid-email": { "@resin.io/valid-email": {
"version": "0.1.0", "version": "0.1.0",
"resolved": "https://registry.npmjs.org/@resin.io/valid-email/-/valid-email-0.1.0.tgz", "resolved": "https://registry.npmjs.org/@resin.io/valid-email/-/valid-email-0.1.0.tgz",
@ -1283,9 +1272,9 @@
} }
}, },
"@types/lodash": { "@types/lodash": {
"version": "4.14.150", "version": "4.14.159",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.150.tgz", "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.159.tgz",
"integrity": "sha512-kMNLM5JBcasgYscD9x/Gvr6lTAv2NVgsKtet/hm93qMyf/D1pt+7jeEZklKJKxMVmXjxbRVQQGfqDSfipYCO6w==" "integrity": "sha512-gF7A72f7WQN33DpqOWw9geApQPh4M3PxluMtaHxWHXEGSN12/WbcEk/eNSqWNQcQhF66VSZ06vCF94CrHwXJDg=="
}, },
"@types/lru-cache": { "@types/lru-cache": {
"version": "5.1.0", "version": "5.1.0",
@ -1470,9 +1459,9 @@
} }
}, },
"@types/semver": { "@types/semver": {
"version": "7.1.0", "version": "7.3.1",
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.1.0.tgz", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.1.tgz",
"integrity": "sha512-pOKLaubrAEMUItGNpgwl0HMFPrSAFic8oSVIvfu1UwcgGNmNyK9gyhBHKmBnUTwwVvpZfkzUC0GaMgnL6P86uA==", "integrity": "sha512-ooD/FJ8EuwlDKOI6D9HWxgIgJjMg2cuziXm/42npDC8y4NjxplBUn9loewZiBNCt44450lHAU0OSb51/UqXeag==",
"requires": { "requires": {
"@types/node": "*" "@types/node": "*"
} }
@ -1579,6 +1568,11 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"@types/uuid": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.0.1.tgz",
"integrity": "sha512-2kE8rEFgJpbBAPw5JghccEevQb0XVU0tewF/8h7wPQTeCtoJ6h8qmBIwuzUVm2MutmzC/cpCkwxudixoNYDp1A=="
},
"@types/which": { "@types/which": {
"version": "1.3.2", "version": "1.3.2",
"resolved": "https://registry.npmjs.org/@types/which/-/which-1.3.2.tgz", "resolved": "https://registry.npmjs.org/@types/which/-/which-1.3.2.tgz",
@ -1610,9 +1604,9 @@
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
}, },
"abortcontroller-polyfill": { "abortcontroller-polyfill": {
"version": "1.4.0", "version": "1.5.0",
"resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.4.0.tgz", "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.5.0.tgz",
"integrity": "sha512-3ZFfCRfDzx3GFjO6RAkYx81lPGpUS20ISxux9gLxuKnqafNcFQo59+IoZqpO2WvQlyc287B62HDnDdNYRmlvWA==" "integrity": "sha512-O6Xk757Jb4o0LMzMOMdWvxpHWrQzruYBaUruFaIOfAQRnWFxfdXYobw12jrVHGtoXk6WiiyYzc0QWN9aL62HQA=="
}, },
"accepts": { "accepts": {
"version": "1.3.7", "version": "1.3.7",
@ -2202,68 +2196,32 @@
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
}, },
"balena-auth": { "balena-auth": {
"version": "3.1.0", "version": "4.0.2",
"resolved": "https://registry.npmjs.org/balena-auth/-/balena-auth-3.1.0.tgz", "resolved": "https://registry.npmjs.org/balena-auth/-/balena-auth-4.0.2.tgz",
"integrity": "sha512-RMdRmxvhfZsoahq+GApdf0TN97a55kHprLsWkvZYJugdMThookcRw7B79pJFbEPXTPLX8vlpD3RbJ5IgUf7C6w==", "integrity": "sha512-a0IfAN53aQpFOKtgKK+MSLMVZC/HsHZLiDsJhpPKTUd257fEcnmQWzBYxot9ny9NfJhhhoyalcu5e4RSH0TsiQ==",
"requires": { "requires": {
"@types/bluebird": "^3.5.29",
"@types/jwt-decode": "^2.2.1", "@types/jwt-decode": "^2.2.1",
"balena-errors": "^4.2.1", "balena-errors": "^4.2.1",
"balena-settings-storage": "^5.0.0", "balena-settings-storage": "^6.0.0",
"bluebird": "^3.7.2", "jwt-decode": "^2.2.0",
"jwt-decode": "^2.2.0" "tslib": "^2.0.0"
}, },
"dependencies": { "dependencies": {
"@types/node": { "tslib": {
"version": "8.10.61", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.61.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha512-l+zSbvT8TPRaCxL1l9cwHCb0tSqGAGcjPJFItGGYat5oCTiq1uQQKYg5m7AF1mgnEBzFXGLJ2LRmNjtreRX76Q==" "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
},
"balena-settings-storage": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/balena-settings-storage/-/balena-settings-storage-5.0.2.tgz",
"integrity": "sha512-379S8kNo1NYZvTE5+iRHQ0Q4+uSXIqsE+83gxF+onBjX6ecyF7b7Z+ZVvRbmIeo5rn6xGO2P5iW72ehL5tXgaw==",
"requires": {
"@resin.io/types-node-localstorage": "^1.3.0",
"@types/bluebird": "^3.5.8",
"@types/node": "^8.0.19",
"bluebird": "^3.3.4",
"node-localstorage": "^1.3.0"
}
} }
} }
}, },
"balena-config-json": { "balena-config-json": {
"version": "4.0.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/balena-config-json/-/balena-config-json-4.0.0.tgz", "resolved": "https://registry.npmjs.org/balena-config-json/-/balena-config-json-4.1.0.tgz",
"integrity": "sha512-KD/DeDv+JkUa3TdxziJzjYMPJqSPmbv0RGtnSfpOOKiZISy/tw7agih5mqJVFa0t+pSx4gl//4adm3czuZe9pw==", "integrity": "sha512-6Q/xghrk2mqx1rMGk6zfo+Ednt0KerI17rYIoTgQmPPndQRAG5G7GEOyHD10rCFRqzY8eSiYN6u3cGFPDdsXNw==",
"requires": { "requires": {
"balena-sdk": "^14.1.0", "balena-image-fs": "^7.0.1",
"lodash": "^4.17.15", "balena-sdk": "^15.2.1",
"resin-image-fs": "^5.0.9" "lodash": "^4.17.19"
},
"dependencies": {
"balena-semver": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.3.0.tgz",
"integrity": "sha512-dlUBaYz22ZxHh3umciI/87aLcwX+HRlT1RjkpuiClO8wjkuR8U/2ZvtS16iMNe30rm2kNgAV2myamQ5eA8SxVQ==",
"requires": {
"@types/lodash": "^4.14.149",
"@types/semver": "^7.1.0",
"lodash": "^4.17.15",
"semver": "^7.1.3"
}
},
"semver": {
"version": "7.3.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="
},
"tslib": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
"integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q=="
}
} }
}, },
"balena-device-init": { "balena-device-init": {
@ -2282,51 +2240,110 @@
} }
}, },
"balena-errors": { "balena-errors": {
"version": "4.3.2", "version": "4.4.1",
"resolved": "https://registry.npmjs.org/balena-errors/-/balena-errors-4.3.2.tgz", "resolved": "https://registry.npmjs.org/balena-errors/-/balena-errors-4.4.1.tgz",
"integrity": "sha512-daa+3jHqvoha8zIIIX4jvxdus1LWhH+2Y5IJOzOuIzxmfLEq51EXeszMbcHrbSLlGlJpfaJDG7dfBmFXtabL6Q==", "integrity": "sha512-912lPp1LyBjkpxRg6m/EpOCssqMhgkzyYbrKwtT2uRvixm89WOlJrj5sPkxnbPnp5IoMNaoRONxFt1jtiQf50Q==",
"requires": { "requires": {
"tslib": "^1.11.1", "tslib": "^2.0.0",
"typed-error": "^3.0.0" "typed-error": "^3.0.0"
}, },
"dependencies": { "dependencies": {
"tslib": { "tslib": {
"version": "1.11.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==" "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
} }
} }
}, },
"balena-hup-action-utils": { "balena-hup-action-utils": {
"version": "4.0.1", "version": "4.0.2",
"resolved": "https://registry.npmjs.org/balena-hup-action-utils/-/balena-hup-action-utils-4.0.1.tgz", "resolved": "https://registry.npmjs.org/balena-hup-action-utils/-/balena-hup-action-utils-4.0.2.tgz",
"integrity": "sha512-V8AOetePCtLWNdgZzrt8QZLwrPHZgWB5Cs3UDh6FqEbUgTYx0q3lwf8lMTDnB3NjQveZbxLQafR6slz1S5/AiQ==", "integrity": "sha512-N2HVaqXodwR18HKnbOwJDzDZOLpQoPzH6MD4Ibs09Sb9OGBizgjAHiK4Qs20qX1wvztqm8sy8zWJ8nXEOFAplg==",
"requires": { "requires": {
"balena-semver": "^2.0.0" "balena-semver": "^2.0.0",
"tslib": "^2.0.0"
},
"dependencies": {
"tslib": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
}
}
},
"balena-image-fs": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/balena-image-fs/-/balena-image-fs-7.0.1.tgz",
"integrity": "sha512-EriNeRVrcoSD8lmh/CYanEvZvcOa6E+Zt+jNKXZQ8P1ZrMcFYxGG3CAYaJu5hK3B/QhPNhX9Y083hTuwIpIOWA==",
"requires": {
"ext2fs": "^2.0.0",
"fatfs": "^0.10.7",
"file-disk": "^8.0.0",
"partitioninfo": "^6.0.1",
"typed-error": "^3.2.0"
},
"dependencies": {
"ext2fs": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ext2fs/-/ext2fs-2.0.1.tgz",
"integrity": "sha512-ZhnpAINB0+Lsgt5jwyAMQKe/w9L1WaNiERyGvXlO7sd9doGaxrVotyX3+ZPbyNMgPb/7wJ0zbeRp+DLAzZQdug==",
"requires": {
"bindings": "^1.3.0",
"nan": "^2.14.0",
"prebuild-install": "^5.2.1"
}
},
"file-disk": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/file-disk/-/file-disk-8.0.0.tgz",
"integrity": "sha512-8A6YSCfrlA1ytsHWK22urpcmCgqd3v0qmVg7bdVcGl7nfDvUWbURNM8hB469DWdu/rTYcrxbx6y776fIRcchig==",
"requires": {
"tslib": "^2.0.0"
}
},
"gpt": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/gpt/-/gpt-2.0.4.tgz",
"integrity": "sha512-gCibB52dZAjDeyuAJE158FfVYpMa8poCBMYvNXCwDvZJ0+5D0YpP1hZ/KYtWpQyXu18ddoQoqj+FGnbyq2qhKw==",
"requires": {
"cyclic-32": "^1.1.0"
}
},
"nan": {
"version": "2.14.1",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw=="
},
"partitioninfo": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/partitioninfo/-/partitioninfo-6.0.1.tgz",
"integrity": "sha512-hmLiVz5G6GPzd1TsAuHTHDoSrKqb7cNr2zhJ+fwMhCg2pRoz7vftaP9kL47pMwusO0jWUwkw62oKfHfv0Wa5+A==",
"requires": {
"file-disk": "^8.0.0",
"gpt": "^2.0.4",
"mbr": "^1.1.3",
"tslib": "^2.0.0",
"typed-error": "^3.2.0"
}
},
"tslib": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
}
} }
}, },
"balena-image-manager": { "balena-image-manager": {
"version": "7.0.1", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/balena-image-manager/-/balena-image-manager-7.0.1.tgz", "resolved": "https://registry.npmjs.org/balena-image-manager/-/balena-image-manager-7.0.3.tgz",
"integrity": "sha512-Dp/w2BrElsVttE5AJWr+JGqInZ1aQAzE6jOhhv+N/fMy9edRTiR/OlyaanvKGIJPGdeerHSDfsvTnsoBCJetrQ==", "integrity": "sha512-KLb/5JksYxCR7JClq+MAuCMYPNMAXB9MgqubUvzj4mI/Yec3XD4xZ2BMITwINrl4sMKui/G7t/R5tBNFZsFe9w==",
"requires": { "requires": {
"balena-sdk": "^14.1.0", "balena-sdk": "^15.2.1",
"mime": "^2.4.6", "mime": "^2.4.6",
"mkdirp": "^1.0.4", "mkdirp": "^1.0.4",
"rimraf": "^3.0.2" "rimraf": "^3.0.2"
}, },
"dependencies": { "dependencies": {
"balena-semver": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.3.0.tgz",
"integrity": "sha512-dlUBaYz22ZxHh3umciI/87aLcwX+HRlT1RjkpuiClO8wjkuR8U/2ZvtS16iMNe30rm2kNgAV2myamQ5eA8SxVQ==",
"requires": {
"@types/lodash": "^4.14.149",
"@types/semver": "^7.1.0",
"lodash": "^4.17.15",
"semver": "^7.1.3"
}
},
"mime": { "mime": {
"version": "2.4.6", "version": "2.4.6",
"resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz", "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",
@ -2336,79 +2353,48 @@
"version": "1.0.4", "version": "1.0.4",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="
},
"semver": {
"version": "7.3.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="
},
"tslib": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
"integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q=="
} }
} }
}, },
"balena-pine": { "balena-pine": {
"version": "11.2.1", "version": "12.2.0",
"resolved": "https://registry.npmjs.org/balena-pine/-/balena-pine-11.2.1.tgz", "resolved": "https://registry.npmjs.org/balena-pine/-/balena-pine-12.2.0.tgz",
"integrity": "sha512-K8g9HQ9opaT2ZiSCxkvW8VVCsXzOZ0gBejLOs+BgsA5ECVNLu5uS0H9Qfpf1R2Yg2CB3sopBqes2nMIhq7qGJQ==", "integrity": "sha512-+9nDwg2L8/mK86q1v5y5NlWK3F+D67SEP38VmfPKdiDdeuraaKrQquOpIshfwCspMED1qRPB4wBpEPTVS1T/Zg==",
"requires": { "requires": {
"@balena/es-version": "^1.0.0", "@balena/es-version": "^1.0.0",
"@types/bluebird": "^3.5.32",
"balena-errors": "^4.2.1", "balena-errors": "^4.2.1",
"bluebird": "^3.7.2", "pinejs-client-core": "^6.1.0",
"pinejs-client-core": "^5.8.0" "tslib": "^2.0.0"
}, },
"dependencies": { "dependencies": {
"@types/bluebird": { "tslib": {
"version": "3.5.32", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.32.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha512-dIOxFfI0C+jz89g6lQ+TqhGgPQ0MxSnh/E4xuC0blhFtyW269+mPG5QeLgbdwst/LvdP8o1y0o/Gz5EHXLec/g==" "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
} }
} }
}, },
"balena-preload": { "balena-preload": {
"version": "10.2.0", "version": "10.2.4",
"resolved": "https://registry.npmjs.org/balena-preload/-/balena-preload-10.2.0.tgz", "resolved": "https://registry.npmjs.org/balena-preload/-/balena-preload-10.2.4.tgz",
"integrity": "sha512-2FDL/Piy70TDEj2JRLzx7LAfyo+wUP4Y/TDFk5OKVyjqu9bDQNgzVY0COHUMS9xHKjwpCqim6Yh62GyNQ6FyDA==", "integrity": "sha512-YcbuAeycp3PO1GZXD/NsRRpMvmSN8FFb8SzAmJCPn0k7S7Gu8YsdYuh6Xt1KUhokd7VNJoRovFN74LThPgtu/g==",
"requires": { "requires": {
"archiver": "^3.1.1", "archiver": "^3.1.1",
"balena-sdk": "^14.0.0", "balena-sdk": "^15.2.1",
"bluebird": "^3.7.2", "bluebird": "^3.7.2",
"compare-versions": "^3.6.0", "compare-versions": "^3.6.0",
"docker-progress": "^3.0.5", "docker-progress": "^3.0.5",
"dockerode": "^2.5.8", "dockerode": "^2.5.8",
"get-folder-size": "^1.0.1", "get-folder-size": "^2.0.1",
"get-port": "^3.2.0", "get-port": "^3.2.0",
"lodash": "^4.17.15", "lodash": "^4.17.19",
"node-cleanup": "^2.1.2", "node-cleanup": "^2.1.2",
"resin-cli-visuals": "^1.4.7", "resin-cli-visuals": "^1.7.0",
"tar-fs": "^2.0.0", "tar-fs": "^2.1.0",
"tmp": "0.0.33", "tmp": "0.0.33",
"unzipper": "^0.8.14" "unzipper": "^0.8.14"
}, },
"dependencies": { "dependencies": {
"balena-errors": {
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/balena-errors/-/balena-errors-4.4.1.tgz",
"integrity": "sha512-912lPp1LyBjkpxRg6m/EpOCssqMhgkzyYbrKwtT2uRvixm89WOlJrj5sPkxnbPnp5IoMNaoRONxFt1jtiQf50Q==",
"requires": {
"tslib": "^2.0.0",
"typed-error": "^3.0.0"
}
},
"balena-semver": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.3.0.tgz",
"integrity": "sha512-dlUBaYz22ZxHh3umciI/87aLcwX+HRlT1RjkpuiClO8wjkuR8U/2ZvtS16iMNe30rm2kNgAV2myamQ5eA8SxVQ==",
"requires": {
"@types/lodash": "^4.14.149",
"@types/semver": "^7.1.0",
"lodash": "^4.17.15",
"semver": "^7.1.3"
}
},
"docker-progress": { "docker-progress": {
"version": "3.0.5", "version": "3.0.5",
"resolved": "https://registry.npmjs.org/docker-progress/-/docker-progress-3.0.5.tgz", "resolved": "https://registry.npmjs.org/docker-progress/-/docker-progress-3.0.5.tgz",
@ -2421,13 +2407,6 @@
"lodash": "^4.0.0", "lodash": "^4.0.0",
"request": "^2.65.0", "request": "^2.65.0",
"semver": "^5.3.0" "semver": "^5.3.0"
},
"dependencies": {
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
}
} }
}, },
"pump": { "pump": {
@ -2440,9 +2419,9 @@
} }
}, },
"semver": { "semver": {
"version": "7.3.2", "version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==" "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
}, },
"tar-fs": { "tar-fs": {
"version": "2.1.0", "version": "2.1.0",
@ -2462,31 +2441,29 @@
"requires": { "requires": {
"os-tmpdir": "~1.0.2" "os-tmpdir": "~1.0.2"
} }
},
"tslib": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.0.tgz",
"integrity": "sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g=="
} }
} }
}, },
"balena-register-device": { "balena-register-device": {
"version": "6.1.6", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/balena-register-device/-/balena-register-device-6.1.6.tgz", "resolved": "https://registry.npmjs.org/balena-register-device/-/balena-register-device-7.1.0.tgz",
"integrity": "sha512-kS8JZoLyucZ9oUFicspN/k3jRrvdtQ4UYXVCHHyw91C3y2Z1T5CQpwfMBSqA8dp5wQKyP527K/0+lMUa2ncLhA==", "integrity": "sha512-DaAK+EtHsSyHmcgGk7LY99j5qTTBKj8xbPwukeHwheGkyVcV1g2lix9Nj6eVkmZ+JYM0pHC4TKFZOiGq6btm+Q==",
"requires": { "requires": {
"bluebird": "^3.7.2", "@types/uuid": "^8.0.0",
"randomstring": "^1.1.5", "tslib": "^2.0.0",
"typed-error": "^2.0.0" "typed-error": "^3.2.0",
"uuid": "^8.2.0"
}, },
"dependencies": { "dependencies": {
"typed-error": { "tslib": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/typed-error/-/typed-error-2.0.0.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha1-05j9hin8K3nIOfm30b/Ay7ZSYBI=", "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
"requires": { },
"tslib": "^1.7.1" "uuid": {
} "version": "8.3.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz",
"integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ=="
} }
} }
}, },
@ -2512,48 +2489,50 @@
} }
}, },
"balena-request": { "balena-request": {
"version": "10.0.9", "version": "11.1.0",
"resolved": "https://registry.npmjs.org/balena-request/-/balena-request-10.0.9.tgz", "resolved": "https://registry.npmjs.org/balena-request/-/balena-request-11.1.0.tgz",
"integrity": "sha512-Mef9c5ZH07FG/N76tXD2vHmwMzR+HBBVR3lrjnCx6n2n/CWVSPUq3T8kt5UHZr91PpFruAzxGdhGVmtFbFNY+w==", "integrity": "sha512-ppky6kxxohWENMQv5fhxSVRbElRjelHCQXzpthLEAy3qjhYEcfoQNpX5zZX3ETQH397b9RxnDDkSR921f1Izhw==",
"requires": { "requires": {
"@balena/node-web-streams": "^0.2.3", "@balena/node-web-streams": "^0.2.3",
"balena-errors": "^4.2.1", "balena-errors": "^4.4.0",
"bluebird": "^3.7.2", "fetch-ponyfill": "^6.1.1",
"fetch-ponyfill": "^4.1.0",
"fetch-readablestream": "^0.2.0", "fetch-readablestream": "^0.2.0",
"progress-stream": "^2.0.0", "progress-stream": "^2.0.0",
"qs": "^6.9.1", "qs": "^6.9.4",
"rindle": "^1.3.4" "tslib": "^2.0.0"
}, },
"dependencies": { "dependencies": {
"qs": { "qs": {
"version": "6.9.4", "version": "6.9.4",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz",
"integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ==" "integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ=="
},
"tslib": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
} }
} }
}, },
"balena-sdk": { "balena-sdk": {
"version": "14.8.0", "version": "15.2.5",
"resolved": "https://registry.npmjs.org/balena-sdk/-/balena-sdk-14.8.0.tgz", "resolved": "https://registry.npmjs.org/balena-sdk/-/balena-sdk-15.2.5.tgz",
"integrity": "sha512-GptB/Ju8BtE1E9NODHioScdF4HW8svcDhfdMHPrDjMFWbs38KOoTgiKogDjLlvEjoAg5FIvz8DaUeH27EtZ1Rg==", "integrity": "sha512-OsHAJiF2gXj5MaN7kkw8kqT4ScT3DUUcpqHwC4dwM5yg7vTRvT2r2mulC4TU0Mh5GYS2Gz1d2PqOMDRaAyALJQ==",
"requires": { "requires": {
"@balena/es-version": "^1.0.0", "@balena/es-version": "^1.0.0",
"@types/bluebird": "^3.5.30", "@types/lodash": "^4.14.158",
"@types/lodash": "^4.14.150",
"@types/memoizee": "^0.4.3", "@types/memoizee": "^0.4.3",
"@types/node": "^10.17.20", "@types/node": "^10.17.28",
"abortcontroller-polyfill": "^1.4.0", "abortcontroller-polyfill": "^1.5.0",
"balena-auth": "^3.1.0", "balena-auth": "^4.0.2",
"balena-errors": "^4.4.0", "balena-errors": "^4.4.0",
"balena-hup-action-utils": "~4.0.1", "balena-hup-action-utils": "~4.0.2",
"balena-pine": "^11.2.0", "balena-pine": "^12.2.0",
"balena-register-device": "^6.1.1", "balena-register-device": "^7.1.0",
"balena-request": "^10.0.9", "balena-request": "^11.1.0",
"balena-semver": "^2.3.0", "balena-semver": "^2.3.0",
"balena-settings-client": "^4.0.4", "balena-settings-client": "^4.0.4",
"bluebird": "^3.7.2", "lodash": "^4.17.19",
"lodash": "^4.17.15",
"memoizee": "^0.4.14", "memoizee": "^0.4.14",
"moment": "~2.24.0 || ^2.25.1", "moment": "~2.24.0 || ^2.25.1",
"ndjson": "^1.5.0", "ndjson": "^1.5.0",
@ -2561,25 +2540,10 @@
"tslib": "^2.0.0" "tslib": "^2.0.0"
}, },
"dependencies": { "dependencies": {
"balena-errors": { "@types/node": {
"version": "4.4.1", "version": "10.17.28",
"resolved": "https://registry.npmjs.org/balena-errors/-/balena-errors-4.4.1.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.28.tgz",
"integrity": "sha512-912lPp1LyBjkpxRg6m/EpOCssqMhgkzyYbrKwtT2uRvixm89WOlJrj5sPkxnbPnp5IoMNaoRONxFt1jtiQf50Q==", "integrity": "sha512-dzjES1Egb4c1a89C7lKwQh8pwjYmlOAG9dW1pBgxEk57tMrLnssOfEthz8kdkNaBd7lIqQx7APm5+mZ619IiCQ=="
"requires": {
"tslib": "^2.0.0",
"typed-error": "^3.0.0"
}
},
"balena-semver": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.3.0.tgz",
"integrity": "sha512-dlUBaYz22ZxHh3umciI/87aLcwX+HRlT1RjkpuiClO8wjkuR8U/2ZvtS16iMNe30rm2kNgAV2myamQ5eA8SxVQ==",
"requires": {
"@types/lodash": "^4.14.149",
"@types/semver": "^7.1.0",
"lodash": "^4.17.15",
"semver": "^7.1.3"
}
}, },
"semver": { "semver": {
"version": "7.3.2", "version": "7.3.2",
@ -2587,16 +2551,16 @@
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==" "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="
}, },
"tslib": { "tslib": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.0.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g==" "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
} }
} }
}, },
"balena-semver": { "balena-semver": {
"version": "2.2.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.2.0.tgz", "resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.3.0.tgz",
"integrity": "sha512-o81+kmqpfRCq7Bew7jnHgO8D+aGwqv/q2u2wB30QEOn+O3lZ1VLpuyfh7BZhmNfmw6j56nZlHlGQwBo3FR9ecA==", "integrity": "sha512-dlUBaYz22ZxHh3umciI/87aLcwX+HRlT1RjkpuiClO8wjkuR8U/2ZvtS16iMNe30rm2kNgAV2myamQ5eA8SxVQ==",
"requires": { "requires": {
"@types/lodash": "^4.14.149", "@types/lodash": "^4.14.149",
"@types/semver": "^7.1.0", "@types/semver": "^7.1.0",
@ -2627,34 +2591,40 @@
} }
}, },
"balena-settings-storage": { "balena-settings-storage": {
"version": "6.0.0", "version": "6.0.1",
"resolved": "https://registry.npmjs.org/balena-settings-storage/-/balena-settings-storage-6.0.0.tgz", "resolved": "https://registry.npmjs.org/balena-settings-storage/-/balena-settings-storage-6.0.1.tgz",
"integrity": "sha512-8FqYzKtKz7CqaKpwlak6p25qMwx2Lo5+1v1pl+xuAv6kxJrKBX+HDHElciIRJtfYI//PmtwjuMTSoTeHU0crnA==", "integrity": "sha512-jdDoKzbJXlF696EZSbwD6lZ1dMe98aUtx7btFE4j4PRCSeh2BWx5P5VLGh9Bk3sH2FUcqYg0iw/wdKvkcv44oA==",
"requires": { "requires": {
"@types/node": "^10.17.26" "@types/node": "^10.17.26",
"tslib": "^2.0.0"
}, },
"dependencies": { "dependencies": {
"@types/node": { "@types/node": {
"version": "10.17.26", "version": "10.17.28",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.26.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.28.tgz",
"integrity": "sha512-myMwkO2Cr82kirHY8uknNRHEVtn0wV3DTQfkrjx17jmkstDRZ24gNUdl8AHXVyVclTYI/bNjgTPTAWvWLqXqkw==" "integrity": "sha512-dzjES1Egb4c1a89C7lKwQh8pwjYmlOAG9dW1pBgxEk57tMrLnssOfEthz8kdkNaBd7lIqQx7APm5+mZ619IiCQ=="
},
"tslib": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
"integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ=="
} }
} }
}, },
"balena-sync": { "balena-sync": {
"version": "11.0.0", "version": "11.0.2",
"resolved": "https://registry.npmjs.org/balena-sync/-/balena-sync-11.0.0.tgz", "resolved": "https://registry.npmjs.org/balena-sync/-/balena-sync-11.0.2.tgz",
"integrity": "sha512-emfkM2jeCAY9+Dca2kLZM5pTl+AJwbzozQJyv6osN2BmL4czOgCIFj1YF+MdOgIiJXHz85IyyDaL/qzKnvqLzQ==", "integrity": "sha512-z096L+1hYO4S7n5L5GUzn8VA5VGqFh22Nrp8iidUFw91Lo9jzO4yL/hL+2HOxkTFg1L5x8m+bxd4qr9GXgmMVg==",
"requires": { "requires": {
"JSONStream": "^1.3.5", "JSONStream": "^1.3.5",
"balena-sdk": "^14.1.0", "balena-sdk": "^15.2.1",
"balena-semver": "^2.3.0", "balena-semver": "^2.3.0",
"balena-settings-client": "^4.0.5", "balena-settings-client": "^4.0.5",
"bluebird": "^3.7.2", "bluebird": "^3.7.2",
"chalk": "^4.1.0", "chalk": "^4.1.0",
"docker-toolbelt": "^3.3.8", "docker-toolbelt": "^3.3.8",
"js-yaml": "^3.14.0", "js-yaml": "^3.14.0",
"lodash": "^4.17.15", "lodash": "^4.17.19",
"resin-cli-form": "^2.0.2", "resin-cli-form": "^2.0.2",
"resin-cli-visuals": "^1.7.0", "resin-cli-visuals": "^1.7.0",
"resin-discoverable-services": "git+https://github.com/resin-io-modules/resin-discoverable-services.git#find-on-all-interfaces", "resin-discoverable-services": "git+https://github.com/resin-io-modules/resin-discoverable-services.git#find-on-all-interfaces",
@ -2676,33 +2646,6 @@
"color-convert": "^2.0.1" "color-convert": "^2.0.1"
} }
}, },
"balena-errors": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/balena-errors/-/balena-errors-4.4.0.tgz",
"integrity": "sha512-w5Zje97Gl0veNKpAhH4OQ3R7ACt0MYNUBfb37o1/Yq7EeeB7HsVFsvXNhZwBn8DIBvJamxZWSIbqjw53GKjUzQ==",
"requires": {
"tslib": "^1.11.1",
"typed-error": "^3.0.0"
},
"dependencies": {
"typed-error": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/typed-error/-/typed-error-3.2.0.tgz",
"integrity": "sha512-n0NojMTp7jD2MMgJxtjzS1it/sKIlDfQwqOECSPAGwsIU2jns3G0R6alnakRelQzxz7t8PhjYrlqYoQKUVGOsQ=="
}
}
},
"balena-semver": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.3.0.tgz",
"integrity": "sha512-dlUBaYz22ZxHh3umciI/87aLcwX+HRlT1RjkpuiClO8wjkuR8U/2ZvtS16iMNe30rm2kNgAV2myamQ5eA8SxVQ==",
"requires": {
"@types/lodash": "^4.14.149",
"@types/semver": "^7.1.0",
"lodash": "^4.17.15",
"semver": "^7.1.3"
}
},
"chalk": { "chalk": {
"version": "4.1.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
@ -2748,11 +2691,6 @@
"once": "^1.3.1" "once": "^1.3.1"
} }
}, },
"semver": {
"version": "7.3.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="
},
"supports-color": { "supports-color": {
"version": "7.1.0", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
@ -2772,11 +2710,6 @@
"tar-stream": "^2.0.0" "tar-stream": "^2.0.0"
} }
}, },
"tslib": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
"integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q=="
},
"typed-error": { "typed-error": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/typed-error/-/typed-error-2.0.0.tgz", "resolved": "https://registry.npmjs.org/typed-error/-/typed-error-2.0.0.tgz",
@ -4142,17 +4075,6 @@
"version": "6.3.0", "version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
},
"write-file-atomic": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
"integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==",
"requires": {
"imurmurhash": "^0.1.4",
"is-typedarray": "^1.0.0",
"signal-exit": "^3.0.2",
"typedarray-to-buffer": "^3.1.5"
}
} }
} }
}, },
@ -5402,14 +5324,6 @@
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
"integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
}, },
"encoding": {
"version": "0.1.12",
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
"integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
"requires": {
"iconv-lite": "~0.4.13"
}
},
"end-of-stream": { "end-of-stream": {
"version": "1.4.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
@ -6446,11 +6360,11 @@
} }
}, },
"fetch-ponyfill": { "fetch-ponyfill": {
"version": "4.1.0", "version": "6.1.1",
"resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz", "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-6.1.1.tgz",
"integrity": "sha1-rjzl9zLGReq4fkroeTQUcJsjmJM=", "integrity": "sha512-rWLgTr5A44/XhvCQPYj0X9Tc+cjUaHofSM4lcwjc9MavD5lkjIhJ+h8JQlavPlTIgDpwhuRozaIykBvX9ItaSA==",
"requires": { "requires": {
"node-fetch": "~1.7.1" "node-fetch": "~2.6.0"
} }
}, },
"fetch-readablestream": { "fetch-readablestream": {
@ -6949,19 +6863,12 @@
"dev": true "dev": true
}, },
"get-folder-size": { "get-folder-size": {
"version": "1.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/get-folder-size/-/get-folder-size-1.0.1.tgz", "resolved": "https://registry.npmjs.org/get-folder-size/-/get-folder-size-2.0.1.tgz",
"integrity": "sha1-gC+kIIQ03nEgUYKxWrfxNSCI5YA=", "integrity": "sha512-+CEb+GDCM7tkOS2wdMKTn9vU7DgnKUTuDlehkNJKNSovdCOVxs14OfKCk4cvSaR3za4gj+OBdl9opPN9xrJ0zA==",
"requires": { "requires": {
"async": "^1.4.2", "gar": "^1.0.4",
"gar": "^1.0.2" "tiny-each-async": "2.0.3"
},
"dependencies": {
"async": {
"version": "1.5.2",
"resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
"integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo="
}
} }
}, },
"get-func-name": { "get-func-name": {
@ -8943,9 +8850,9 @@
} }
}, },
"lodash": { "lodash": {
"version": "4.17.15", "version": "4.17.19",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
}, },
"lodash._arraycopy": { "lodash._arraycopy": {
"version": "3.0.0", "version": "3.0.0",
@ -10180,13 +10087,9 @@
} }
}, },
"node-fetch": { "node-fetch": {
"version": "1.7.3", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
"integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
"requires": {
"encoding": "^0.1.11",
"is-stream": "^1.0.1"
}
}, },
"node-gyp-build": { "node-gyp-build": {
"version": "4.2.3", "version": "4.2.3",
@ -10194,14 +10097,6 @@
"integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==", "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==",
"optional": true "optional": true
}, },
"node-localstorage": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/node-localstorage/-/node-localstorage-1.3.1.tgz",
"integrity": "sha512-NMWCSWWc6JbHT5PyWlNT2i8r7PgGYXVntmKawY83k/M0UJScZ5jirb61TLnqKwd815DfBQu+lR3sRw08SPzIaQ==",
"requires": {
"write-file-atomic": "^1.1.4"
}
},
"node-pre-gyp": { "node-pre-gyp": {
"version": "0.11.0", "version": "0.11.0",
"resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz", "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz",
@ -10556,9 +10451,9 @@
"integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==" "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
}, },
"is-regex": { "is-regex": {
"version": "1.1.0", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
"integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==", "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==",
"requires": { "requires": {
"has-symbols": "^1.0.1" "has-symbols": "^1.0.1"
} }
@ -11191,9 +11086,9 @@
"integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY="
}, },
"pinejs-client-core": { "pinejs-client-core": {
"version": "5.8.0", "version": "6.6.0",
"resolved": "https://registry.npmjs.org/pinejs-client-core/-/pinejs-client-core-5.8.0.tgz", "resolved": "https://registry.npmjs.org/pinejs-client-core/-/pinejs-client-core-6.6.0.tgz",
"integrity": "sha512-O+tDtZMnj63WqMQd9LRJC6qJJn6fFHdpOt0Sm3W6MQWDUmFUu02VYR0p0PCegePC8XPp0TMR0TSejYRrg4NMtQ==", "integrity": "sha512-JrQv8j6mlFwXJA0JF/py0fseKLFaDhNUdka/vvoi6KWniQKZIYhqGroYc4/qtEIQYkJR3KONCK9yHPBdfip8+A==",
"requires": { "requires": {
"@balena/es-version": "^1.0.0" "@balena/es-version": "^1.0.0"
} }
@ -11213,11 +11108,6 @@
"typed-error": "^3.2.0" "typed-error": "^3.2.0"
}, },
"dependencies": { "dependencies": {
"@types/lodash": {
"version": "4.14.158",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.158.tgz",
"integrity": "sha512-InCEXJNTv/59yO4VSfuvNrZHt7eeNtWQEgnieIA+mIC+MOWM9arOWG2eQ8Vhk6NbOre6/BidiXhkZYeDY9U35w=="
},
"@types/request": { "@types/request": {
"version": "2.48.5", "version": "2.48.5",
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.5.tgz", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.5.tgz",
@ -11239,11 +11129,6 @@
"mime-types": "^2.1.12" "mime-types": "^2.1.12"
} }
}, },
"lodash": {
"version": "4.17.19",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ=="
},
"lru-cache": { "lru-cache": {
"version": "6.0.0", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
@ -11252,14 +11137,6 @@
"yallist": "^4.0.0" "yallist": "^4.0.0"
} }
}, },
"pinejs-client-core": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/pinejs-client-core/-/pinejs-client-core-6.1.0.tgz",
"integrity": "sha512-sp9/LYOOsJuYtlp8d8gR3QqW/oZNN/WEb1UhNJJqRMawNh/LBQRCP3TXCkBwhVmTcH3kYsopj/oCc4Gei+htkQ==",
"requires": {
"@balena/es-version": "^1.0.0"
}
},
"yallist": { "yallist": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
@ -13460,11 +13337,6 @@
"through2": "^2.0.1" "through2": "^2.0.1"
} }
}, },
"slide": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz",
"integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc="
},
"snapdragon": { "snapdragon": {
"version": "0.8.2", "version": "0.8.2",
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
@ -13967,9 +13839,9 @@
"integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==" "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
}, },
"is-regex": { "is-regex": {
"version": "1.1.0", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
"integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==", "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==",
"requires": { "requires": {
"has-symbols": "^1.0.1" "has-symbols": "^1.0.1"
} }
@ -14037,9 +13909,9 @@
"integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==" "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
}, },
"is-regex": { "is-regex": {
"version": "1.1.0", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
"integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==", "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==",
"requires": { "requires": {
"has-symbols": "^1.0.1" "has-symbols": "^1.0.1"
} }
@ -14550,6 +14422,11 @@
"next-tick": "1" "next-tick": "1"
} }
}, },
"tiny-each-async": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/tiny-each-async/-/tiny-each-async-2.0.3.tgz",
"integrity": "sha1-jru/1tYpXxNwAD+7NxYq/loKUdE="
},
"tmp": { "tmp": {
"version": "0.2.1", "version": "0.2.1",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz",
@ -14838,9 +14715,9 @@
} }
}, },
"typed-error": { "typed-error": {
"version": "3.2.0", "version": "3.2.1",
"resolved": "https://registry.npmjs.org/typed-error/-/typed-error-3.2.0.tgz", "resolved": "https://registry.npmjs.org/typed-error/-/typed-error-3.2.1.tgz",
"integrity": "sha512-n0NojMTp7jD2MMgJxtjzS1it/sKIlDfQwqOECSPAGwsIU2jns3G0R6alnakRelQzxz7t8PhjYrlqYoQKUVGOsQ==" "integrity": "sha512-XlUv4JMrT2dpN0c4Vm3lOm88ga21Z6pNJUmjejRz/mkh6sdBtkMwyRf4fF+yhRGZgfgWam31Lkxu11GINKiBTQ=="
}, },
"typedarray": { "typedarray": {
"version": "0.0.6", "version": "0.0.6",
@ -15699,13 +15576,14 @@
} }
}, },
"write-file-atomic": { "write-file-atomic": {
"version": "1.3.4", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.4.tgz", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
"integrity": "sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8=", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==",
"requires": { "requires": {
"graceful-fs": "^4.1.11",
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
"slide": "^1.1.5" "is-typedarray": "^1.0.0",
"signal-exit": "^3.0.2",
"typedarray-to-buffer": "^3.1.5"
} }
}, },
"write-json-file": { "write-json-file": {

View File

@ -134,7 +134,7 @@
"@types/is-root": "^2.1.2", "@types/is-root": "^2.1.2",
"@types/js-yaml": "^3.12.3", "@types/js-yaml": "^3.12.3",
"@types/klaw": "^3.0.1", "@types/klaw": "^3.0.1",
"@types/lodash": "^4.14.150", "@types/lodash": "^4.14.159",
"@types/mixpanel": "^2.14.2", "@types/mixpanel": "^2.14.2",
"@types/mkdirp": "^0.5.2", "@types/mkdirp": "^0.5.2",
"@types/mocha": "^5.2.7", "@types/mocha": "^5.2.7",
@ -194,17 +194,17 @@
"@zeit/dockerignore": "0.0.3", "@zeit/dockerignore": "0.0.3",
"JSONStream": "^1.0.3", "JSONStream": "^1.0.3",
"archiver": "^3.1.1", "archiver": "^3.1.1",
"balena-config-json": "^4.0.0", "balena-config-json": "^4.1.0",
"balena-device-init": "^5.0.2", "balena-device-init": "^5.0.2",
"balena-errors": "^4.3.0", "balena-errors": "^4.4.1",
"balena-image-manager": "^7.0.1", "balena-image-manager": "^7.0.3",
"balena-preload": "^10.2.0", "balena-preload": "^10.2.4",
"balena-release": "^3.0.0", "balena-release": "^3.0.0",
"balena-sdk": "^14.8.0", "balena-sdk": "^15.2.3",
"balena-semver": "^2.2.0", "balena-semver": "^2.3.0",
"balena-settings-client": "^4.0.5", "balena-settings-client": "^4.0.5",
"balena-settings-storage": "^6.0.0", "balena-settings-storage": "^6.0.1",
"balena-sync": "^11.0.0", "balena-sync": "^11.0.2",
"bluebird": "^3.7.2", "bluebird": "^3.7.2",
"body-parser": "^1.19.0", "body-parser": "^1.19.0",
"capitano": "^1.9.2", "capitano": "^1.9.2",
@ -236,7 +236,7 @@
"js-yaml": "^3.13.1", "js-yaml": "^3.13.1",
"klaw": "^3.0.0", "klaw": "^3.0.0",
"livepush": "^3.5.0", "livepush": "^3.5.0",
"lodash": "^4.17.15", "lodash": "^4.17.19",
"minimatch": "^3.0.4", "minimatch": "^3.0.4",
"mixpanel": "^0.10.3", "mixpanel": "^0.10.3",
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",
@ -269,7 +269,7 @@
"tar-utils": "^2.1.0", "tar-utils": "^2.1.0",
"through2": "^2.0.3", "through2": "^2.0.3",
"tmp": "^0.2.1", "tmp": "^0.2.1",
"typed-error": "^3.2.0", "typed-error": "^3.2.1",
"umount": "^1.1.6", "umount": "^1.1.6",
"update-notifier": "^4.1.0", "update-notifier": "^4.1.0",
"which": "^2.0.2", "which": "^2.0.2",

View File

@ -4,3 +4,11 @@ publishMetadata: true
upstream: upstream:
- repo: 'balena-sdk' - repo: 'balena-sdk'
url: 'https://github.com/balena-io/balena-sdk' url: 'https://github.com/balena-io/balena-sdk'
- repo: 'balena-config-json'
url: 'https://github.com/balena-io-modules/balena-config-json'
- repo: 'balena-image-manager'
url: 'https://github.com/balena-io-modules/balena-image-manager'
- repo: 'balena-preload'
url: 'https://github.com/balena-io-modules/balena-preload'
- repo: 'balena-sync'
url: 'https://github.com/balena-io-modules/balena-sync'

View File

@ -70,7 +70,7 @@ describe('Utils:', function () {
describe('given the token does not authenticate with the server', function () { describe('given the token does not authenticate with the server', function () {
beforeEach(function () { beforeEach(function () {
this.balenaAuthIsLoggedInStub = sinon.stub(balena.auth, 'isLoggedIn'); this.balenaAuthIsLoggedInStub = sinon.stub(balena.auth, 'isLoggedIn');
return this.balenaAuthIsLoggedInStub.returns(Bluebird.resolve(false)); return this.balenaAuthIsLoggedInStub.resolves(false);
}); });
afterEach(function () { afterEach(function () {
@ -112,7 +112,7 @@ describe('Utils:', function () {
return describe('given the token does authenticate with the server', function () { return describe('given the token does authenticate with the server', function () {
beforeEach(function () { beforeEach(function () {
this.balenaAuthIsLoggedInStub = sinon.stub(balena.auth, 'isLoggedIn'); this.balenaAuthIsLoggedInStub = sinon.stub(balena.auth, 'isLoggedIn');
return this.balenaAuthIsLoggedInStub.returns(Bluebird.resolve(true)); return this.balenaAuthIsLoggedInStub.resolves(true);
}); });
afterEach(function () { afterEach(function () {