Skip to content

Commit f037aa9

Browse files
committed
update dependencies
1 parent c94c5c5 commit f037aa9

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

cli-boot-wrapper.js

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@
44
// Check if we are in an electron environment
55
if (process.versions["electron"]) {
66
// off to a separate electron boot environment
7-
return require("./build/electron");
7+
require("./build/electron");
8+
} else {
9+
const program = require('commander');
10+
program
11+
.version(require('./package.json').version)
12+
.option('-j, --json <json>', 'Specify JSON Boot File', require('path').join(__dirname, 'save/conf/default.json'))
13+
.parse(process.argv);
14+
15+
console.clear();
16+
console.log(`
17+
____ _
18+
_ __ ___ / ___|| |_ _ __ ___ __ _ _ __ ___
19+
| '_ \` _ \\\\___ \\| __| '__/ _ \\/ _\` | '_ \` _ \\
20+
| | | | | |___) | |_| | | __/ (_| | | | | | |
21+
|_| |_| |_|____/ \\__|_| \\___|\\__,_|_| |_| |_|`);
22+
console.log(`v${program.version()}`);
23+
console.log();
24+
console.log('Check out our Discord server:');
25+
console.log('https://discord.gg/AM896Rr');
26+
console.log();
27+
28+
// Boot the server
29+
require("./src/server").serveIt(program.opts().json);
830
}
9-
10-
const program = require('commander');
11-
program
12-
.version(require('./package.json').version)
13-
.option('-j, --json <json>', 'Specify JSON Boot File', require('path').join(__dirname, 'save/conf/default.json'))
14-
.parse(process.argv);
15-
16-
console.clear();
17-
console.log(`
18-
____ _
19-
_ __ ___ / ___|| |_ _ __ ___ __ _ _ __ ___
20-
| '_ \` _ \\\\___ \\| __| '__/ _ \\/ _\` | '_ \` _ \\
21-
| | | | | |___) | |_| | | __/ (_| | | | | | |
22-
|_| |_| |_|____/ \\__|_| \\___|\\__,_|_| |_| |_|`);
23-
console.log(`v${program.version()}`);
24-
console.log();
25-
console.log('Check out our Discord server:');
26-
console.log('https://discord.gg/AM896Rr');
27-
console.log();
28-
29-
// Boot the server
30-
require("./src/server").serveIt(program.json);

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@
9191
},
9292
"dependencies": {
9393
"archiver": "^5.3.0",
94-
"axios": "^0.25.0",
95-
"busboy": "^1.4.0",
96-
"commander": "^6.2.1",
94+
"axios": "^0.26.1",
95+
"busboy": "^1.5.0",
96+
"commander": "^9.1.0",
9797
"cookie-parser": "^1.4.6",
98-
"electron-updater": "^4.6.1",
98+
"electron-updater": "^4.6.5",
9999
"escape-string-regexp": "^4.0.0",
100-
"express": "^4.17.2",
101-
"fast-xml-parser": "^3.20.0",
100+
"express": "^4.17.3",
101+
"fast-xml-parser": "^4.0.7",
102102
"ffbinaries": "^1.1.4",
103103
"fluent-ffmpeg": "^2.1.2",
104104
"http-proxy": "^1.18.1",
@@ -108,15 +108,15 @@
108108
"lokijs": "^1.5.12",
109109
"m3u8-parser": "^4.7.0",
110110
"make-dir": "^3.1.0",
111-
"mime-types": "^2.1.34",
112-
"music-metadata": "^7.11.7",
113-
"nanoid": "^3.2.0",
111+
"mime-types": "^2.1.35",
112+
"music-metadata": "^7.12.2",
113+
"nanoid": "^3.3.1",
114114
"tree-kill": "^1.2.2",
115-
"winston": "^3.5.0",
116-
"winston-daily-rotate-file": "^4.6.0",
117-
"ws": "^8.4.2"
115+
"winston": "^3.6.0",
116+
"winston-daily-rotate-file": "^4.6.1",
117+
"ws": "^8.5.0"
118118
},
119119
"devDependencies": {
120-
"electron-builder": "22.11.7"
120+
"electron-builder": "22.14.13"
121121
}
122122
}

0 commit comments

Comments
 (0)