mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
update deps
This commit is contained in:
1 parent
722d964c5e
commit
5589b7dabe
13 files changed
+21
-17
No files matched your search
@@ -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": {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -145,6 +145,10 @@ const scripts: UpgradeScript[] = [
|
||||
}
|
||||
return true;
|
||||
},
|
||||
async function _5_6() {
|
||||
// Issue #58
|
||||
await domain.edit('system', { owner: 1 });
|
||||
},
|
||||
];
|
||||
|
||||
export = scripts;
|
||||
Reference in new issue
Block a user