migrate to "export default"

also, set no-use-before-define in linter
This commit is contained in:
Girish Ramakrishnan
2026-02-14 15:43:24 +01:00
parent ddb46646fa
commit 36aa641cb9
231 changed files with 2846 additions and 2728 deletions
+7 -6
View File
@@ -8,12 +8,6 @@ import superagent from '@cloudron/superagent';
const debug = debugModule('box:community');
export {
getAppVersion,
downloadManifest,
getAppUpdate,
downloadIcon
};
async function getAppVersion(url, version) {
assert.strictEqual(typeof url, 'string');
@@ -120,3 +114,10 @@ async function downloadIcon(manifest) {
return response.body;
});
}
export default {
getAppVersion,
downloadManifest,
getAppUpdate,
downloadIcon
};