update deps

This commit is contained in:
undefined committed 2020-12-29 18:23:05 +08:00
1 parent 722d964c5e
commit 5589b7dabe
13 files changed
+21 -17

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.15.7",
"version": "2.15.8",
"bin": "bin/hydrooj.js",
"main": "dist/loader.js",
"typings": "dist/loader.d.ts",
@@ -32,8 +32,8 @@
"serialize-javascript": "^5.0.1",
"sockjs": "^0.3.20",
"superagent": "^6.1.0",
"systeminformation": "^4.33.1",
"terminal-kit": "^1.44.0",
"systeminformation": "^4.33.4",
"terminal-kit": "^1.44.3",
"yargs": "^16.2.0"
},
"devDependencies": {
+1 -1
View File
@@ -66,7 +66,7 @@ async function entry(config: EntryConfig) {
const p = await fork([`--entry=${config.entry}`]);
await new Promise((resolve, reject) => {
p.on('exit', (code, signal) => {
if (code === 0) resolve();
if (code === 0) resolve(null);
else reject(signal);
});
p.on('error', (err: Error) => {
+4
View File
@@ -145,6 +145,10 @@ const scripts: UpgradeScript[] = [
}
return true;
},
async function _5_6() {
// Issue #58
await domain.edit('system', { owner: 1 });
},
];
export = scripts;