mirror of
https://git.fuwafuwa.moe/SMLoadrDev/SMLoadr
synced 2024-11-17 00:44:33 +01:00
Update dependencies
This commit is contained in:
parent
44e37986ff
commit
49881b797b
12
SMLoadr.js
12
SMLoadr.js
@ -14,7 +14,6 @@
|
||||
const chalk = require('chalk');
|
||||
const ora = require('ora');
|
||||
const sanitize = require('sanitize-filename');
|
||||
const Promise = require('bluebird');
|
||||
const cacheManager = require('cache-manager');
|
||||
require('./node_modules/cache-manager/lib/stores/memory');
|
||||
const requestPlus = require('request-plus');
|
||||
@ -30,6 +29,7 @@ const commandLineArgs = require('command-line-args');
|
||||
const commandLineUsage = require('command-line-usage');
|
||||
const openUrl = require('openurl');
|
||||
const packageJson = require('./package.json');
|
||||
const winston = require('winston');
|
||||
|
||||
const configFile = 'SMLoadrConfig.json';
|
||||
const ConfigService = require('./src/service/ConfigService');
|
||||
@ -41,7 +41,13 @@ let encryptionService = new EncryptionService();
|
||||
const NamingService = require('./src/service/NamingService');
|
||||
let namingService = new NamingService(configService);
|
||||
|
||||
const Log = require('log');
|
||||
|
||||
const log = winston.createLogger({
|
||||
level: 'debug',
|
||||
transports: [
|
||||
new winston.transports.File({filename: 'SMLoadr.log'})
|
||||
]
|
||||
});
|
||||
|
||||
let PLAYLIST_DIR = 'PLAYLISTS/';
|
||||
let PLAYLIST_FILE_ITEMS = {};
|
||||
@ -49,8 +55,6 @@ let PLAYLIST_FILE_ITEMS = {};
|
||||
let DOWNLOAD_LINKS_FILE = 'downloadLinks.txt';
|
||||
let DOWNLOAD_MODE = 'single';
|
||||
|
||||
const log = new Log('debug', fs.createWriteStream('SMLoadr.log'));
|
||||
|
||||
const musicQualities = {
|
||||
MP3_128: {
|
||||
id: 1,
|
||||
|
1697
package-lock.json
generated
1697
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -15,23 +15,21 @@
|
||||
"node": ">=8.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"bluebird": "^3.5.3",
|
||||
"cache-manager": "^2.9.0",
|
||||
"cache-manager": "^2.10.0",
|
||||
"chalk": "^2.4.2",
|
||||
"command-line-args": "^5.0.2",
|
||||
"command-line-args": "^5.1.1",
|
||||
"command-line-usage": "^5.0.5",
|
||||
"fs-finder": "^1.8.1",
|
||||
"inquirer": "^6.2.2",
|
||||
"inquirer": "^6.5.2",
|
||||
"jsonfile": "^5.0.0",
|
||||
"log": "^1.4.0",
|
||||
"openurl": "^1.1.1",
|
||||
"ora": "^3.2.0",
|
||||
"ora": "^3.4.0",
|
||||
"request": "^2.88.0",
|
||||
"request-plus": "^2.0.0",
|
||||
"sanitize-filename": "^1.6.1",
|
||||
"util": "^0.11.1"
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"winston": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"pkg": "4.3.1"
|
||||
"pkg": "*"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user