diff options
-rw-r--r-- | package.json | 4 | ||||
-rw-r--r-- | scripts/create-import-video-file-job.ts | 2 | ||||
-rwxr-xr-x | scripts/create-transcoding-job.ts | 2 | ||||
-rwxr-xr-x | scripts/parse-log.ts | 2 | ||||
-rwxr-xr-x | scripts/plugin/install.ts | 2 | ||||
-rwxr-xr-x | scripts/plugin/uninstall.ts | 2 | ||||
-rw-r--r-- | scripts/print-transcode-command.ts | 2 | ||||
-rw-r--r-- | scripts/regenerate-thumbnails.ts | 2 | ||||
-rwxr-xr-x | scripts/reset-password.ts | 2 | ||||
-rw-r--r-- | server.ts | 2 | ||||
-rw-r--r-- | server/helpers/express-utils.ts | 4 | ||||
-rw-r--r-- | server/tools/cli.ts | 10 | ||||
-rw-r--r-- | server/tools/peertube-auth.ts | 4 | ||||
-rw-r--r-- | server/tools/peertube-get-access-token.ts | 2 | ||||
-rw-r--r-- | server/tools/peertube-import-videos.ts | 2 | ||||
-rw-r--r-- | server/tools/peertube-plugins.ts | 11 | ||||
-rw-r--r-- | server/tools/peertube-redundancy.ts | 7 | ||||
-rw-r--r-- | server/tools/peertube-upload.ts | 2 | ||||
-rw-r--r-- | server/tools/peertube-watch.ts | 6 | ||||
-rw-r--r-- | server/tools/peertube.ts | 6 | ||||
-rw-r--r-- | server/tools/test.ts | 2 | ||||
-rw-r--r-- | yarn.lock | 273 |
22 files changed, 177 insertions, 174 deletions
diff --git a/package.json b/package.json index e4f047b61..9fa1e4a0f 100644 --- a/package.json +++ b/package.json | |||
@@ -83,7 +83,7 @@ | |||
83 | "bull": "^3.4.2", | 83 | "bull": "^3.4.2", |
84 | "bytes": "^3.0.0", | 84 | "bytes": "^3.0.0", |
85 | "chokidar": "^3.4.2", | 85 | "chokidar": "^3.4.2", |
86 | "commander": "^7.0.0", | 86 | "commander": "^8.0.0", |
87 | "config": "^3.0.0", | 87 | "config": "^3.0.0", |
88 | "cookie-parser": "^1.4.3", | 88 | "cookie-parser": "^1.4.3", |
89 | "cors": "^2.8.1", | 89 | "cors": "^2.8.1", |
@@ -151,7 +151,7 @@ | |||
151 | "@types/apicache": "^1.2.0", | 151 | "@types/apicache": "^1.2.0", |
152 | "@types/async": "^3.0.0", | 152 | "@types/async": "^3.0.0", |
153 | "@types/async-lock": "^1.1.0", | 153 | "@types/async-lock": "^1.1.0", |
154 | "@types/bcrypt": "^3.0.0", | 154 | "@types/bcrypt": "^5.0.0", |
155 | "@types/bluebird": "^3.5.33", | 155 | "@types/bluebird": "^3.5.33", |
156 | "@types/body-parser": "^1.16.3", | 156 | "@types/body-parser": "^1.16.3", |
157 | "@types/bull": "^3.15.0", | 157 | "@types/bull": "^3.15.0", |
diff --git a/scripts/create-import-video-file-job.ts b/scripts/create-import-video-file-job.ts index 094544e05..a3a35bc10 100644 --- a/scripts/create-import-video-file-job.ts +++ b/scripts/create-import-video-file-job.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program } from 'commander' |
5 | import { resolve } from 'path' | 5 | import { resolve } from 'path' |
6 | import { VideoModel } from '../server/models/video/video' | 6 | import { VideoModel } from '../server/models/video/video' |
7 | import { initDatabaseModels } from '../server/initializers/database' | 7 | import { initDatabaseModels } from '../server/initializers/database' |
diff --git a/scripts/create-transcoding-job.ts b/scripts/create-transcoding-job.ts index 56a5f4938..65e65b616 100755 --- a/scripts/create-transcoding-job.ts +++ b/scripts/create-transcoding-job.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program } from 'commander' |
5 | import { VideoModel } from '../server/models/video/video' | 5 | import { VideoModel } from '../server/models/video/video' |
6 | import { initDatabaseModels } from '../server/initializers/database' | 6 | import { initDatabaseModels } from '../server/initializers/database' |
7 | import { JobQueue } from '../server/lib/job-queue' | 7 | import { JobQueue } from '../server/lib/job-queue' |
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts index 1617e4446..fca288dbd 100755 --- a/scripts/parse-log.ts +++ b/scripts/parse-log.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program } from 'commander' |
5 | import { createReadStream, readdir } from 'fs-extra' | 5 | import { createReadStream, readdir } from 'fs-extra' |
6 | import { join } from 'path' | 6 | import { join } from 'path' |
7 | import { createInterface } from 'readline' | 7 | import { createInterface } from 'readline' |
diff --git a/scripts/plugin/install.ts b/scripts/plugin/install.ts index 2ea8a658b..de045c2d2 100755 --- a/scripts/plugin/install.ts +++ b/scripts/plugin/install.ts | |||
@@ -2,7 +2,7 @@ import { registerTSPaths } from '../../server/helpers/register-ts-paths' | |||
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import { initDatabaseModels } from '../../server/initializers/database' | 4 | import { initDatabaseModels } from '../../server/initializers/database' |
5 | import * as program from 'commander' | 5 | import { program } from 'commander' |
6 | import { PluginManager } from '../../server/lib/plugins/plugin-manager' | 6 | import { PluginManager } from '../../server/lib/plugins/plugin-manager' |
7 | import { isAbsolute } from 'path' | 7 | import { isAbsolute } from 'path' |
8 | 8 | ||
diff --git a/scripts/plugin/uninstall.ts b/scripts/plugin/uninstall.ts index 8710b1750..1e14cc18f 100755 --- a/scripts/plugin/uninstall.ts +++ b/scripts/plugin/uninstall.ts | |||
@@ -2,7 +2,7 @@ import { registerTSPaths } from '../../server/helpers/register-ts-paths' | |||
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import { initDatabaseModels } from '../../server/initializers/database' | 4 | import { initDatabaseModels } from '../../server/initializers/database' |
5 | import * as program from 'commander' | 5 | import { program } from 'commander' |
6 | import { PluginManager } from '../../server/lib/plugins/plugin-manager' | 6 | import { PluginManager } from '../../server/lib/plugins/plugin-manager' |
7 | 7 | ||
8 | program | 8 | program |
diff --git a/scripts/print-transcode-command.ts b/scripts/print-transcode-command.ts index 00ac9ab6c..d83363215 100644 --- a/scripts/print-transcode-command.ts +++ b/scripts/print-transcode-command.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program } from 'commander' |
5 | import * as ffmpeg from 'fluent-ffmpeg' | 5 | import * as ffmpeg from 'fluent-ffmpeg' |
6 | import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils' | 6 | import { buildx264VODCommand, runCommand, TranscodeOptions } from '@server/helpers/ffmpeg-utils' |
7 | import { exit } from 'process' | 7 | import { exit } from 'process' |
diff --git a/scripts/regenerate-thumbnails.ts b/scripts/regenerate-thumbnails.ts index b95343c0b..078f3830b 100644 --- a/scripts/regenerate-thumbnails.ts +++ b/scripts/regenerate-thumbnails.ts | |||
@@ -2,7 +2,7 @@ import { registerTSPaths } from '../server/helpers/register-ts-paths' | |||
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as Bluebird from 'bluebird' | 4 | import * as Bluebird from 'bluebird' |
5 | import * as program from 'commander' | 5 | import { program } from 'commander' |
6 | import { pathExists, remove } from 'fs-extra' | 6 | import { pathExists, remove } from 'fs-extra' |
7 | import { generateImageFilename, processImage } from '@server/helpers/image-utils' | 7 | import { generateImageFilename, processImage } from '@server/helpers/image-utils' |
8 | import { THUMBNAILS_SIZE } from '@server/initializers/constants' | 8 | import { THUMBNAILS_SIZE } from '@server/initializers/constants' |
diff --git a/scripts/reset-password.ts b/scripts/reset-password.ts index 7c1a64a3f..4c45396d4 100755 --- a/scripts/reset-password.ts +++ b/scripts/reset-password.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program } from 'commander' |
5 | import { initDatabaseModels } from '../server/initializers/database' | 5 | import { initDatabaseModels } from '../server/initializers/database' |
6 | import { UserModel } from '../server/models/user/user' | 6 | import { UserModel } from '../server/models/user/user' |
7 | import { isUserPasswordValid } from '../server/helpers/custom-validators/users' | 7 | import { isUserPasswordValid } from '../server/helpers/custom-validators/users' |
@@ -14,7 +14,7 @@ import * as cookieParser from 'cookie-parser' | |||
14 | import * as helmet from 'helmet' | 14 | import * as helmet from 'helmet' |
15 | import * as useragent from 'useragent' | 15 | import * as useragent from 'useragent' |
16 | import * as anonymize from 'ip-anonymize' | 16 | import * as anonymize from 'ip-anonymize' |
17 | import * as cli from 'commander' | 17 | import { program as cli } from 'commander' |
18 | 18 | ||
19 | process.title = 'peertube' | 19 | process.title = 'peertube' |
20 | 20 | ||
diff --git a/server/helpers/express-utils.ts b/server/helpers/express-utils.ts index 003e02818..0ff113274 100644 --- a/server/helpers/express-utils.ts +++ b/server/helpers/express-utils.ts | |||
@@ -30,9 +30,7 @@ function buildNSFWFilter (res?: express.Response, paramNSFW?: string) { | |||
30 | return null | 30 | return null |
31 | } | 31 | } |
32 | 32 | ||
33 | function cleanUpReqFiles ( | 33 | function cleanUpReqFiles (req: express.Request) { |
34 | req: { files: { [fieldname: string]: Express.Multer.File[] } | Express.Multer.File[] } | ||
35 | ) { | ||
36 | const filesObject = req.files | 34 | const filesObject = req.files |
37 | if (!filesObject) return | 35 | if (!filesObject) return |
38 | 36 | ||
diff --git a/server/tools/cli.ts b/server/tools/cli.ts index cc89fe46e..7b94306cd 100644 --- a/server/tools/cli.ts +++ b/server/tools/cli.ts | |||
@@ -3,12 +3,12 @@ import { getAppNumber, isTestInstance } from '../helpers/core-utils' | |||
3 | import { join } from 'path' | 3 | import { join } from 'path' |
4 | import { root } from '../../shared/extra-utils/miscs/miscs' | 4 | import { root } from '../../shared/extra-utils/miscs/miscs' |
5 | import { getVideoChannel } from '../../shared/extra-utils/videos/video-channels' | 5 | import { getVideoChannel } from '../../shared/extra-utils/videos/video-channels' |
6 | import { CommanderStatic } from 'commander' | ||
7 | import { VideoChannel, VideoPrivacy } from '../../shared/models/videos' | 6 | import { VideoChannel, VideoPrivacy } from '../../shared/models/videos' |
8 | import { createLogger, format, transports } from 'winston' | 7 | import { createLogger, format, transports } from 'winston' |
9 | import { getMyUserInformation } from '@shared/extra-utils/users/users' | 8 | import { getMyUserInformation } from '@shared/extra-utils/users/users' |
10 | import { User, UserRole } from '@shared/models' | 9 | import { User, UserRole } from '@shared/models' |
11 | import { getAccessToken } from '@shared/extra-utils/users/login' | 10 | import { getAccessToken } from '@shared/extra-utils/users/login' |
11 | import { Command } from 'commander' | ||
12 | 12 | ||
13 | let configName = 'PeerTube/CLI' | 13 | let configName = 'PeerTube/CLI' |
14 | if (isTestInstance()) configName += `-${getAppNumber()}` | 14 | if (isTestInstance()) configName += `-${getAppNumber()}` |
@@ -69,7 +69,7 @@ function deleteSettings () { | |||
69 | } | 69 | } |
70 | 70 | ||
71 | function getRemoteObjectOrDie ( | 71 | function getRemoteObjectOrDie ( |
72 | program: CommanderStatic, | 72 | program: Command, |
73 | settings: Settings, | 73 | settings: Settings, |
74 | netrc: Netrc | 74 | netrc: Netrc |
75 | ): { url: string, username: string, password: string } { | 75 | ): { url: string, username: string, password: string } { |
@@ -106,7 +106,7 @@ function getRemoteObjectOrDie ( | |||
106 | } | 106 | } |
107 | } | 107 | } |
108 | 108 | ||
109 | function buildCommonVideoOptions (command: CommanderStatic) { | 109 | function buildCommonVideoOptions (command: Command) { |
110 | function list (val) { | 110 | function list (val) { |
111 | return val.split(',') | 111 | return val.split(',') |
112 | } | 112 | } |
@@ -128,7 +128,7 @@ function buildCommonVideoOptions (command: CommanderStatic) { | |||
128 | .option('-v, --verbose <verbose>', 'Verbosity, from 0/\'error\' to 4/\'debug\'', 'info') | 128 | .option('-v, --verbose <verbose>', 'Verbosity, from 0/\'error\' to 4/\'debug\'', 'info') |
129 | } | 129 | } |
130 | 130 | ||
131 | async function buildVideoAttributesFromCommander (url: string, command: CommanderStatic, defaultAttributes: any = {}) { | 131 | async function buildVideoAttributesFromCommander (url: string, command: Command, defaultAttributes: any = {}) { |
132 | const options = command.opts() | 132 | const options = command.opts() |
133 | 133 | ||
134 | const defaultBooleanAttributes = { | 134 | const defaultBooleanAttributes = { |
@@ -177,7 +177,7 @@ async function buildVideoAttributesFromCommander (url: string, command: Commande | |||
177 | return videoAttributes | 177 | return videoAttributes |
178 | } | 178 | } |
179 | 179 | ||
180 | function getServerCredentials (program: CommanderStatic) { | 180 | function getServerCredentials (program: Command) { |
181 | return Promise.all([ getSettings(), getNetrc() ]) | 181 | return Promise.all([ getSettings(), getNetrc() ]) |
182 | .then(([ settings, netrc ]) => { | 182 | .then(([ settings, netrc ]) => { |
183 | return getRemoteObjectOrDie(program, settings, netrc) | 183 | return getRemoteObjectOrDie(program, settings, netrc) |
diff --git a/server/tools/peertube-auth.ts b/server/tools/peertube-auth.ts index e54649002..1934e7986 100644 --- a/server/tools/peertube-auth.ts +++ b/server/tools/peertube-auth.ts | |||
@@ -3,7 +3,7 @@ | |||
3 | import { registerTSPaths } from '../helpers/register-ts-paths' | 3 | import { registerTSPaths } from '../helpers/register-ts-paths' |
4 | registerTSPaths() | 4 | registerTSPaths() |
5 | 5 | ||
6 | import * as program from 'commander' | 6 | import { OptionValues, program } from 'commander' |
7 | import * as prompt from 'prompt' | 7 | import * as prompt from 'prompt' |
8 | import { getNetrc, getSettings, writeSettings } from './cli' | 8 | import { getNetrc, getSettings, writeSettings } from './cli' |
9 | import { isUserUsernameValid } from '../helpers/custom-validators/users' | 9 | import { isUserUsernameValid } from '../helpers/custom-validators/users' |
@@ -66,7 +66,7 @@ program | |||
66 | .option('-U, --username <username>', 'Username') | 66 | .option('-U, --username <username>', 'Username') |
67 | .option('-p, --password <token>', 'Password') | 67 | .option('-p, --password <token>', 'Password') |
68 | .option('--default', 'add the entry as the new default') | 68 | .option('--default', 'add the entry as the new default') |
69 | .action((options: program.OptionValues) => { | 69 | .action((options: OptionValues) => { |
70 | /* eslint-disable no-import-assign */ | 70 | /* eslint-disable no-import-assign */ |
71 | prompt.override = options | 71 | prompt.override = options |
72 | prompt.start() | 72 | prompt.start() |
diff --git a/server/tools/peertube-get-access-token.ts b/server/tools/peertube-get-access-token.ts index b2c278c48..9488eba0e 100644 --- a/server/tools/peertube-get-access-token.ts +++ b/server/tools/peertube-get-access-token.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program } from 'commander' |
5 | import { getClient, Server, serverLogin } from '../../shared/extra-utils' | 5 | import { getClient, Server, serverLogin } from '../../shared/extra-utils' |
6 | 6 | ||
7 | program | 7 | program |
diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts index b3f57a8f9..101a95b2a 100644 --- a/server/tools/peertube-import-videos.ts +++ b/server/tools/peertube-import-videos.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program } from 'commander' |
5 | import { accessSync, constants } from 'fs' | 5 | import { accessSync, constants } from 'fs' |
6 | import { remove } from 'fs-extra' | 6 | import { remove } from 'fs-extra' |
7 | import { truncate } from 'lodash' | 7 | import { truncate } from 'lodash' |
diff --git a/server/tools/peertube-plugins.ts b/server/tools/peertube-plugins.ts index cb591377b..54ea1264d 100644 --- a/server/tools/peertube-plugins.ts +++ b/server/tools/peertube-plugins.ts | |||
@@ -3,13 +3,12 @@ | |||
3 | import { registerTSPaths } from '../helpers/register-ts-paths' | 3 | import { registerTSPaths } from '../helpers/register-ts-paths' |
4 | registerTSPaths() | 4 | registerTSPaths() |
5 | 5 | ||
6 | import * as program from 'commander' | 6 | import { program, Command, OptionValues } from 'commander' |
7 | import { installPlugin, listPlugins, uninstallPlugin, updatePlugin } from '../../shared/extra-utils/server/plugins' | 7 | import { installPlugin, listPlugins, uninstallPlugin, updatePlugin } from '../../shared/extra-utils/server/plugins' |
8 | import { getAdminTokenOrDie, getServerCredentials } from './cli' | 8 | import { getAdminTokenOrDie, getServerCredentials } from './cli' |
9 | import { PeerTubePlugin, PluginType } from '../../shared/models' | 9 | import { PeerTubePlugin, PluginType } from '../../shared/models' |
10 | import { isAbsolute } from 'path' | 10 | import { isAbsolute } from 'path' |
11 | import * as CliTable3 from 'cli-table3' | 11 | import * as CliTable3 from 'cli-table3' |
12 | import commander = require('commander') | ||
13 | 12 | ||
14 | program | 13 | program |
15 | .name('plugins') | 14 | .name('plugins') |
@@ -62,7 +61,7 @@ program.parse(process.argv) | |||
62 | 61 | ||
63 | // ---------------------------------------------------------------------------- | 62 | // ---------------------------------------------------------------------------- |
64 | 63 | ||
65 | async function pluginsListCLI (command: commander.CommanderStatic, options: commander.OptionValues) { | 64 | async function pluginsListCLI (command: Command, options: OptionValues) { |
66 | const { url, username, password } = await getServerCredentials(command) | 65 | const { url, username, password } = await getServerCredentials(command) |
67 | const accessToken = await getAdminTokenOrDie(url, username, password) | 66 | const accessToken = await getAdminTokenOrDie(url, username, password) |
68 | 67 | ||
@@ -101,7 +100,7 @@ async function pluginsListCLI (command: commander.CommanderStatic, options: comm | |||
101 | process.exit(0) | 100 | process.exit(0) |
102 | } | 101 | } |
103 | 102 | ||
104 | async function installPluginCLI (command: commander.CommanderStatic, options: commander.OptionValues) { | 103 | async function installPluginCLI (command: Command, options: OptionValues) { |
105 | if (!options.path && !options.npmName) { | 104 | if (!options.path && !options.npmName) { |
106 | console.error('You need to specify the npm name or the path of the plugin you want to install.\n') | 105 | console.error('You need to specify the npm name or the path of the plugin you want to install.\n') |
107 | program.outputHelp() | 106 | program.outputHelp() |
@@ -132,7 +131,7 @@ async function installPluginCLI (command: commander.CommanderStatic, options: co | |||
132 | process.exit(0) | 131 | process.exit(0) |
133 | } | 132 | } |
134 | 133 | ||
135 | async function updatePluginCLI (command: commander.CommanderStatic, options: commander.OptionValues) { | 134 | async function updatePluginCLI (command: Command, options: OptionValues) { |
136 | if (!options.path && !options.npmName) { | 135 | if (!options.path && !options.npmName) { |
137 | console.error('You need to specify the npm name or the path of the plugin you want to update.\n') | 136 | console.error('You need to specify the npm name or the path of the plugin you want to update.\n') |
138 | program.outputHelp() | 137 | program.outputHelp() |
@@ -163,7 +162,7 @@ async function updatePluginCLI (command: commander.CommanderStatic, options: com | |||
163 | process.exit(0) | 162 | process.exit(0) |
164 | } | 163 | } |
165 | 164 | ||
166 | async function uninstallPluginCLI (command: commander.CommanderStatic, options: commander.OptionValues) { | 165 | async function uninstallPluginCLI (command: Command, options: OptionValues) { |
167 | if (!options.npmName) { | 166 | if (!options.npmName) { |
168 | console.error('You need to specify the npm name of the plugin/theme you want to uninstall.\n') | 167 | console.error('You need to specify the npm name of the plugin/theme you want to uninstall.\n') |
169 | program.outputHelp() | 168 | program.outputHelp() |
diff --git a/server/tools/peertube-redundancy.ts b/server/tools/peertube-redundancy.ts index 5bc80ddb9..4810deee0 100644 --- a/server/tools/peertube-redundancy.ts +++ b/server/tools/peertube-redundancy.ts | |||
@@ -3,7 +3,7 @@ | |||
3 | import { registerTSPaths } from '../helpers/register-ts-paths' | 3 | import { registerTSPaths } from '../helpers/register-ts-paths' |
4 | registerTSPaths() | 4 | registerTSPaths() |
5 | 5 | ||
6 | import * as program from 'commander' | 6 | import { program, Command } from 'commander' |
7 | import { getAdminTokenOrDie, getServerCredentials } from './cli' | 7 | import { getAdminTokenOrDie, getServerCredentials } from './cli' |
8 | import { VideoRedundanciesTarget, VideoRedundancy } from '@shared/models' | 8 | import { VideoRedundanciesTarget, VideoRedundancy } from '@shared/models' |
9 | import { addVideoRedundancy, listVideoRedundancies, removeVideoRedundancy } from '@shared/extra-utils/server/redundancy' | 9 | import { addVideoRedundancy, listVideoRedundancies, removeVideoRedundancy } from '@shared/extra-utils/server/redundancy' |
@@ -14,7 +14,6 @@ import { URL } from 'url' | |||
14 | import { uniq } from 'lodash' | 14 | import { uniq } from 'lodash' |
15 | 15 | ||
16 | import bytes = require('bytes') | 16 | import bytes = require('bytes') |
17 | import commander = require('commander') | ||
18 | 17 | ||
19 | program | 18 | program |
20 | .name('plugins') | 19 | .name('plugins') |
@@ -105,7 +104,7 @@ async function listRedundanciesCLI (target: VideoRedundanciesTarget) { | |||
105 | process.exit(0) | 104 | process.exit(0) |
106 | } | 105 | } |
107 | 106 | ||
108 | async function addRedundancyCLI (options: { video: number }, command: commander.CommanderStatic) { | 107 | async function addRedundancyCLI (options: { video: number }, command: Command) { |
109 | const { url, username, password } = await getServerCredentials(command) | 108 | const { url, username, password } = await getServerCredentials(command) |
110 | const accessToken = await getAdminTokenOrDie(url, username, password) | 109 | const accessToken = await getAdminTokenOrDie(url, username, password) |
111 | 110 | ||
@@ -138,7 +137,7 @@ async function addRedundancyCLI (options: { video: number }, command: commander. | |||
138 | } | 137 | } |
139 | } | 138 | } |
140 | 139 | ||
141 | async function removeRedundancyCLI (options: { video: number }, command: commander.CommanderStatic) { | 140 | async function removeRedundancyCLI (options: { video: number }, command: Command) { |
142 | const { url, username, password } = await getServerCredentials(command) | 141 | const { url, username, password } = await getServerCredentials(command) |
143 | const accessToken = await getAdminTokenOrDie(url, username, password) | 142 | const accessToken = await getAdminTokenOrDie(url, username, password) |
144 | 143 | ||
diff --git a/server/tools/peertube-upload.ts b/server/tools/peertube-upload.ts index 86c7f3d91..02edbd809 100644 --- a/server/tools/peertube-upload.ts +++ b/server/tools/peertube-upload.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program } from 'commander' |
5 | import { access, constants } from 'fs-extra' | 5 | import { access, constants } from 'fs-extra' |
6 | import { isAbsolute } from 'path' | 6 | import { isAbsolute } from 'path' |
7 | import { getAccessToken } from '../../shared/extra-utils' | 7 | import { getAccessToken } from '../../shared/extra-utils' |
diff --git a/server/tools/peertube-watch.ts b/server/tools/peertube-watch.ts index 3ca3e242a..892c9e7a6 100644 --- a/server/tools/peertube-watch.ts +++ b/server/tools/peertube-watch.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { registerTSPaths } from '../helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../helpers/register-ts-paths' |
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import * as program from 'commander' | 4 | import { program, Option, OptionValues } from 'commander' |
5 | import { join } from 'path' | 5 | import { join } from 'path' |
6 | import { execSync } from 'child_process' | 6 | import { execSync } from 'child_process' |
7 | 7 | ||
@@ -9,7 +9,7 @@ program | |||
9 | .name('watch') | 9 | .name('watch') |
10 | .arguments('<url>') | 10 | .arguments('<url>') |
11 | .addOption( | 11 | .addOption( |
12 | new program.Option('-g, --gui <player>', 'player type') | 12 | new Option('-g, --gui <player>', 'player type') |
13 | .default('vlc') | 13 | .default('vlc') |
14 | .choices([ 'airplay', 'stdout', 'chromecast', 'mpv', 'vlc', 'mplayer', 'xbmc' ]) | 14 | .choices([ 'airplay', 'stdout', 'chromecast', 'mpv', 'vlc', 'mplayer', 'xbmc' ]) |
15 | ) | 15 | ) |
@@ -22,7 +22,7 @@ program | |||
22 | .action((url, options) => run(url, options)) | 22 | .action((url, options) => run(url, options)) |
23 | .parse(process.argv) | 23 | .parse(process.argv) |
24 | 24 | ||
25 | function run (url: string, options: program.OptionValues) { | 25 | function run (url: string, options: OptionValues) { |
26 | if (!url) { | 26 | if (!url) { |
27 | console.error('<url> positional argument is required.') | 27 | console.error('<url> positional argument is required.') |
28 | process.exit(-1) | 28 | process.exit(-1) |
diff --git a/server/tools/peertube.ts b/server/tools/peertube.ts index 655f07f0c..a40c1332e 100644 --- a/server/tools/peertube.ts +++ b/server/tools/peertube.ts | |||
@@ -5,7 +5,7 @@ | |||
5 | import { registerTSPaths } from '../helpers/register-ts-paths' | 5 | import { registerTSPaths } from '../helpers/register-ts-paths' |
6 | registerTSPaths() | 6 | registerTSPaths() |
7 | 7 | ||
8 | import * as program from 'commander' | 8 | import { CommandOptions, program } from 'commander' |
9 | import { getSettings, version } from './cli' | 9 | import { getSettings, version } from './cli' |
10 | 10 | ||
11 | program | 11 | program |
@@ -28,11 +28,11 @@ program | |||
28 | .command( | 28 | .command( |
29 | 'diagnostic [action]', | 29 | 'diagnostic [action]', |
30 | 'like couple therapy, but for your instance', | 30 | 'like couple therapy, but for your instance', |
31 | { noHelp: true } as program.CommandOptions | 31 | { noHelp: true } as CommandOptions |
32 | ).alias('d') | 32 | ).alias('d') |
33 | .command('admin', | 33 | .command('admin', |
34 | 'manage an instance where you have elevated rights', | 34 | 'manage an instance where you have elevated rights', |
35 | { noHelp: true } as program.CommandOptions | 35 | { noHelp: true } as CommandOptions |
36 | ).alias('a') | 36 | ).alias('a') |
37 | 37 | ||
38 | // help on no command | 38 | // help on no command |
diff --git a/server/tools/test.ts b/server/tools/test.ts index fc7f8d769..fbdbae0b0 100644 --- a/server/tools/test.ts +++ b/server/tools/test.ts | |||
@@ -2,7 +2,7 @@ import { registerTSPaths } from '../helpers/register-ts-paths' | |||
2 | registerTSPaths() | 2 | registerTSPaths() |
3 | 3 | ||
4 | import { LiveVideo, LiveVideoCreate, VideoPrivacy } from '@shared/models' | 4 | import { LiveVideo, LiveVideoCreate, VideoPrivacy } from '@shared/models' |
5 | import * as program from 'commander' | 5 | import { program } from 'commander' |
6 | import { | 6 | import { |
7 | createLive, | 7 | createLive, |
8 | flushAndRunServer, | 8 | flushAndRunServer, |
@@ -78,9 +78,9 @@ | |||
78 | js-tokens "^4.0.0" | 78 | js-tokens "^4.0.0" |
79 | 79 | ||
80 | "@babel/parser@^7.6.0", "@babel/parser@^7.9.6": | 80 | "@babel/parser@^7.6.0", "@babel/parser@^7.9.6": |
81 | version "7.14.6" | 81 | version "7.14.7" |
82 | resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.6.tgz#d85cc68ca3cac84eae384c06f032921f5227f4b2" | 82 | resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.7.tgz#6099720c8839ca865a2637e6c85852ead0bdb595" |
83 | integrity sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ== | 83 | integrity sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA== |
84 | 84 | ||
85 | "@babel/runtime@^7.7.2": | 85 | "@babel/runtime@^7.7.2": |
86 | version "7.14.6" | 86 | version "7.14.6" |
@@ -478,20 +478,20 @@ | |||
478 | semver "^7.3.4" | 478 | semver "^7.3.4" |
479 | tar "^6.1.0" | 479 | tar "^6.1.0" |
480 | 480 | ||
481 | "@nestjs/common@7.6.17": | 481 | "@nestjs/common@7.6.18": |
482 | version "7.6.17" | 482 | version "7.6.18" |
483 | resolved "https://registry.yarnpkg.com/@nestjs/common/-/common-7.6.17.tgz#623c7f93117bea15fff07a6b63fcd644a8764655" | 483 | resolved "https://registry.yarnpkg.com/@nestjs/common/-/common-7.6.18.tgz#d89e6d248985eec13af60507a8725cb2142d660a" |
484 | integrity sha512-RHvD32FxfV7yDWX9GPmn0ZSv7ka5kLeVamU5ZpoXSTUjkGqWFt3MTyIP+HUQD2778kDqT+CgEtVJ1fxDG5Oh9g== | 484 | integrity sha512-BUJQHNhWzwWOkS4Ryndzd4HTeRObcAWV2Fh+ermyo3q3xYQQzNoEWclJVL/wZec8AONELwIJ+PSpWI53VP0leg== |
485 | dependencies: | 485 | dependencies: |
486 | axios "0.21.1" | 486 | axios "0.21.1" |
487 | iterare "1.2.1" | 487 | iterare "1.2.1" |
488 | tslib "2.2.0" | 488 | tslib "2.2.0" |
489 | uuid "8.3.2" | 489 | uuid "8.3.2" |
490 | 490 | ||
491 | "@nestjs/core@7.6.17": | 491 | "@nestjs/core@7.6.18": |
492 | version "7.6.17" | 492 | version "7.6.18" |
493 | resolved "https://registry.yarnpkg.com/@nestjs/core/-/core-7.6.17.tgz#8fba8739e81f4206905109bec62b02a00530c258" | 493 | resolved "https://registry.yarnpkg.com/@nestjs/core/-/core-7.6.18.tgz#36448f0ae7f7d08f032e1e7e53b4a4c82ae844d7" |
494 | integrity sha512-dH7PGDj1dvBfOYgxJlxh54vdnFFSLst7+Spg3E7Jpo+n11Ht5Ee5mTjSzXieRVfFba/sI3NIHF/N1stn36bU9w== | 494 | integrity sha512-CGu20OjIxgFDY7RJT5t1TDGL8wSlTSlbZEkn8U5OlICZEB3WIpi98G7ajJpnRWmEgW8S4aDJmRKGjT+Ntj5U4A== |
495 | dependencies: | 495 | dependencies: |
496 | "@nuxtjs/opencollective" "0.3.2" | 496 | "@nuxtjs/opencollective" "0.3.2" |
497 | fast-safe-stringify "2.0.7" | 497 | fast-safe-stringify "2.0.7" |
@@ -532,12 +532,12 @@ | |||
532 | node-fetch "^2.6.1" | 532 | node-fetch "^2.6.1" |
533 | 533 | ||
534 | "@openapitools/openapi-generator-cli@^2.1.4": | 534 | "@openapitools/openapi-generator-cli@^2.1.4": |
535 | version "2.3.3" | 535 | version "2.3.5" |
536 | resolved "https://registry.yarnpkg.com/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.3.3.tgz#23fe4a7e94376110afb53c169d3ef5bbf5ed06c8" | 536 | resolved "https://registry.yarnpkg.com/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.3.5.tgz#20f3974879ae22beb18a0f5a3685cabacf380cef" |
537 | integrity sha512-dUP9NO93qY5/QXymaP+/prMnmQejZVxWsuCfEsijoQw4IlbiLQNbZibQw7sufDp4OEekdDrNXbCc+aME+oddSQ== | 537 | integrity sha512-b9dX47j3+g08qM/EMg/Ftw2qBOpfhKB31xyPJ7+kBvGvcoNoMed3aPyojv1iWNfU1KlJvp6k9zJvViOND0ckGg== |
538 | dependencies: | 538 | dependencies: |
539 | "@nestjs/common" "7.6.17" | 539 | "@nestjs/common" "7.6.18" |
540 | "@nestjs/core" "7.6.17" | 540 | "@nestjs/core" "7.6.18" |
541 | "@nuxtjs/opencollective" "0.3.2" | 541 | "@nuxtjs/opencollective" "0.3.2" |
542 | chalk "4.1.1" | 542 | chalk "4.1.1" |
543 | commander "6.2.1" | 543 | commander "6.2.1" |
@@ -546,7 +546,7 @@ | |||
546 | console.table "0.10.0" | 546 | console.table "0.10.0" |
547 | fs-extra "10.0.0" | 547 | fs-extra "10.0.0" |
548 | glob "7.1.6" | 548 | glob "7.1.6" |
549 | inquirer "8.1.0" | 549 | inquirer "8.1.1" |
550 | lodash "4.17.21" | 550 | lodash "4.17.21" |
551 | reflect-metadata "0.1.13" | 551 | reflect-metadata "0.1.13" |
552 | rxjs "7.1.0" | 552 | rxjs "7.1.0" |
@@ -582,9 +582,9 @@ | |||
582 | integrity sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg== | 582 | integrity sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg== |
583 | 583 | ||
584 | "@tsconfig/node12@^1.0.7": | 584 | "@tsconfig/node12@^1.0.7": |
585 | version "1.0.8" | 585 | version "1.0.9" |
586 | resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.8.tgz#a883d62f049a64fea1e56a6bbe66828d11c6241b" | 586 | resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.9.tgz#62c1f6dee2ebd9aead80dc3afa56810e58e1a04c" |
587 | integrity sha512-LM6XwBhjZRls1qJGpiM/It09SntEwe9M0riXRfQ9s6XlJQG0JPGl92ET18LtGeYh/GuOtafIXqwZeqLOd0FNFQ== | 587 | integrity sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw== |
588 | 588 | ||
589 | "@tsconfig/node14@^1.0.0": | 589 | "@tsconfig/node14@^1.0.0": |
590 | version "1.0.1" | 590 | version "1.0.1" |
@@ -613,10 +613,12 @@ | |||
613 | resolved "https://registry.yarnpkg.com/@types/async/-/async-3.2.6.tgz#1d49339846c6aa0b0a8a08303c21176f1b64dc4f" | 613 | resolved "https://registry.yarnpkg.com/@types/async/-/async-3.2.6.tgz#1d49339846c6aa0b0a8a08303c21176f1b64dc4f" |
614 | integrity sha512-ZkrXnZLC1mc4b9QLKaSrsxV4oxTRs10OI2kgSApT8G0v1jrmqppSHUVQ15kLorzsFBTjvf7OKF4kAibuuNQ+xA== | 614 | integrity sha512-ZkrXnZLC1mc4b9QLKaSrsxV4oxTRs10OI2kgSApT8G0v1jrmqppSHUVQ15kLorzsFBTjvf7OKF4kAibuuNQ+xA== |
615 | 615 | ||
616 | "@types/bcrypt@^3.0.0": | 616 | "@types/bcrypt@^5.0.0": |
617 | version "3.0.1" | 617 | version "5.0.0" |
618 | resolved "https://registry.yarnpkg.com/@types/bcrypt/-/bcrypt-3.0.1.tgz#9c767594e31aa1c4ce78d23aa4351984403ca28f" | 618 | resolved "https://registry.yarnpkg.com/@types/bcrypt/-/bcrypt-5.0.0.tgz#a835afa2882d165aff5690893db314eaa98b9f20" |
619 | integrity sha512-SwBrq5wb6jXP0o3O3jStdPWbKpimTImfdFD/OZE3uW+jhGpds/l5wMX9lfYOTDOa5Bod2QmOgo9ln+tMp2XP/w== | 619 | integrity sha512-agtcFKaruL8TmcvqbndlqHPSJgsolhf/qPWchFlgnW1gECTN/nKbFcoFnvKAQRFfKbh+BO6A3SWdJu9t+xF3Lw== |
620 | dependencies: | ||
621 | "@types/node" "*" | ||
620 | 622 | ||
621 | "@types/bittorrent-protocol@*": | 623 | "@types/bittorrent-protocol@*": |
622 | version "3.1.1" | 624 | version "3.1.1" |
@@ -680,9 +682,9 @@ | |||
680 | "@types/chai" "*" | 682 | "@types/chai" "*" |
681 | 683 | ||
682 | "@types/chai@*", "@types/chai@^4.0.4": | 684 | "@types/chai@*", "@types/chai@^4.0.4": |
683 | version "4.2.18" | 685 | version "4.2.19" |
684 | resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.18.tgz#0c8e298dbff8205e2266606c1ea5fbdba29b46e4" | 686 | resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.19.tgz#80f286b515897413c7a35bdda069cc80f2344233" |
685 | integrity sha512-rS27+EkB/RE1Iz3u0XtVL5q36MGDWbgYe7zWiodyKNUnthxY0rukK5V36eiUCtCisB7NN8zKYH6DO2M37qxFEQ== | 687 | integrity sha512-jRJgpRBuY+7izT7/WNXP/LsMO9YonsstuL+xuvycDyESpoDoIAsMd7suwpB4h9oEWB+ZlPTqJJ8EHomzNhwTPQ== |
686 | 688 | ||
687 | "@types/component-emitter@^1.2.10": | 689 | "@types/component-emitter@^1.2.10": |
688 | version "1.2.10" | 690 | version "1.2.10" |
@@ -854,21 +856,21 @@ | |||
854 | "@types/node" "*" | 856 | "@types/node" "*" |
855 | 857 | ||
856 | "@types/multer@^1.3.3": | 858 | "@types/multer@^1.3.3": |
857 | version "1.4.5" | 859 | version "1.4.6" |
858 | resolved "https://registry.yarnpkg.com/@types/multer/-/multer-1.4.5.tgz#db0557562307e9adb6661a9500c334cd7ddd0cd9" | 860 | resolved "https://registry.yarnpkg.com/@types/multer/-/multer-1.4.6.tgz#411950b7a99ba0de6ee8f6e3713f4628980cdc73" |
859 | integrity sha512-9b/0a8JyrR0r2nQhL73JR86obWL7cogfX12augvlrvcpciCo/hkvEsgu80Z4S2g2DHGVXHr8pUIi1VhqFJ8Ufw== | 861 | integrity sha512-F4EZ+KRrzdiSm3jSFj1GVUlw3zWXus5nXYBbrQW/0MGIUv9YHw1dM0cJOxq++v2+Gl4IBdSDvQ3YCORLdyCU+Q== |
860 | dependencies: | 862 | dependencies: |
861 | "@types/express" "*" | 863 | "@types/express" "*" |
862 | 864 | ||
863 | "@types/node@*", "@types/node@>=10.0.0", "@types/node@^15.0.1": | 865 | "@types/node@*", "@types/node@>=10.0.0", "@types/node@^15.0.1": |
864 | version "15.12.2" | 866 | version "15.12.4" |
865 | resolved "https://registry.yarnpkg.com/@types/node/-/node-15.12.2.tgz#1f2b42c4be7156ff4a6f914b2fb03d05fa84e38d" | 867 | resolved "https://registry.yarnpkg.com/@types/node/-/node-15.12.4.tgz#e1cf817d70a1e118e81922c4ff6683ce9d422e26" |
866 | integrity sha512-zjQ69G564OCIWIOHSXyQEEDpdpGl+G348RAKY0XXy9Z5kU9Vzv1GMNnkar/ZJ8dzXB3COzD9Mo9NtRZ4xfgUww== | 868 | integrity sha512-zrNj1+yqYF4WskCMOHwN+w9iuD12+dGm0rQ35HLl9/Ouuq52cEtd0CH9qMgrdNmi5ejC1/V7vKEXYubB+65DkA== |
867 | 869 | ||
868 | "@types/node@^14.14.31": | 870 | "@types/node@^14.14.31": |
869 | version "14.17.3" | 871 | version "14.17.4" |
870 | resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.3.tgz#6d327abaa4be34a74e421ed6409a0ae2f47f4c3d" | 872 | resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.4.tgz#218712242446fc868d0e007af29a4408c7765bc0" |
871 | integrity sha512-e6ZowgGJmTuXa3GyaPbTGxX17tnThl2aSSizrFthQ7m9uLGZBXiGhgE55cjRZTF5kjZvYn9EOPOMljdjwbflxw== | 873 | integrity sha512-8kQ3+wKGRNN0ghtEn7EGps/B8CzuBz1nXZEIGGLP2GnwbqYn4dbTs7k+VKLTq1HvZLRCIDtN3Snx1Ege8B7L5A== |
872 | 874 | ||
873 | "@types/nodemailer@^6.2.0": | 875 | "@types/nodemailer@^6.2.0": |
874 | version "6.4.2" | 876 | version "6.4.2" |
@@ -923,9 +925,9 @@ | |||
923 | integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== | 925 | integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== |
924 | 926 | ||
925 | "@types/redis@*", "@types/redis@^2.8.5": | 927 | "@types/redis@*", "@types/redis@^2.8.5": |
926 | version "2.8.29" | 928 | version "2.8.30" |
927 | resolved "https://registry.yarnpkg.com/@types/redis/-/redis-2.8.29.tgz#f272dba985156e599e2523afb4f5f7e7586b56b5" | 929 | resolved "https://registry.yarnpkg.com/@types/redis/-/redis-2.8.30.tgz#2b63ce9ff93959355d8a1f6d7a45e483b5fe0299" |
928 | integrity sha512-/pjQ9lwnL/t1bEfRHQFEJB3kHCR65tpB19NEWmbqcgGgqrfeGo/9b4tUtHbClxQoy3+g6Esx2QRtV7fk7kBPYg== | 930 | integrity sha512-4D3XwfIc671FSNXNruE/wmf6jWL7QYtyAhiWXJDkY41F4atMnOol4584oP4WqnW3uHe8d+Jn+wDLuQaxbfMgXQ== |
929 | dependencies: | 931 | dependencies: |
930 | "@types/node" "*" | 932 | "@types/node" "*" |
931 | 933 | ||
@@ -1009,80 +1011,79 @@ | |||
1009 | "@types/simple-peer" "*" | 1011 | "@types/simple-peer" "*" |
1010 | 1012 | ||
1011 | "@types/ws@^7.2.1": | 1013 | "@types/ws@^7.2.1": |
1012 | version "7.4.4" | 1014 | version "7.4.5" |
1013 | resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.4.tgz#93e1e00824c1de2608c30e6de4303ab3b4c0c9bc" | 1015 | resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.5.tgz#8ff0f7efcd8fea19f51f9dd66cb8b498d172a752" |
1014 | integrity sha512-d/7W23JAXPodQNbOZNXvl2K+bqAQrCMwlh/nuQsPSQk6Fq0opHoPrUw43aHsvSbIiQPr8Of2hkFbnz1XBFVyZQ== | 1016 | integrity sha512-8mbDgtc8xpxDDem5Gwj76stBDJX35KQ3YBoayxlqUQcL5BZUthiqP/VQ4PQnLHqM4PmlbyO74t98eJpURO+gPA== |
1015 | dependencies: | 1017 | dependencies: |
1016 | "@types/node" "*" | 1018 | "@types/node" "*" |
1017 | 1019 | ||
1018 | "@typescript-eslint/eslint-plugin@^4.8.1": | 1020 | "@typescript-eslint/eslint-plugin@^4.8.1": |
1019 | version "4.27.0" | 1021 | version "4.28.0" |
1020 | resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.27.0.tgz#0b7fc974e8bc9b2b5eb98ed51427b0be529b4ad0" | 1022 | resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.28.0.tgz#1a66f03b264844387beb7dc85e1f1d403bd1803f" |
1021 | integrity sha512-DsLqxeUfLVNp3AO7PC3JyaddmEHTtI9qTSAs+RB6ja27QvIM0TA8Cizn1qcS6vOu+WDLFJzkwkgweiyFhssDdQ== | 1023 | integrity sha512-KcF6p3zWhf1f8xO84tuBailV5cN92vhS+VT7UJsPzGBm9VnQqfI9AsiMUFUCYHTYPg1uCCo+HyiDnpDuvkAMfQ== |
1022 | dependencies: | 1024 | dependencies: |
1023 | "@typescript-eslint/experimental-utils" "4.27.0" | 1025 | "@typescript-eslint/experimental-utils" "4.28.0" |
1024 | "@typescript-eslint/scope-manager" "4.27.0" | 1026 | "@typescript-eslint/scope-manager" "4.28.0" |
1025 | debug "^4.3.1" | 1027 | debug "^4.3.1" |
1026 | functional-red-black-tree "^1.0.1" | 1028 | functional-red-black-tree "^1.0.1" |
1027 | lodash "^4.17.21" | ||
1028 | regexpp "^3.1.0" | 1029 | regexpp "^3.1.0" |
1029 | semver "^7.3.5" | 1030 | semver "^7.3.5" |
1030 | tsutils "^3.21.0" | 1031 | tsutils "^3.21.0" |
1031 | 1032 | ||
1032 | "@typescript-eslint/experimental-utils@4.27.0": | 1033 | "@typescript-eslint/experimental-utils@4.28.0": |
1033 | version "4.27.0" | 1034 | version "4.28.0" |
1034 | resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.27.0.tgz#78192a616472d199f084eab8f10f962c0757cd1c" | 1035 | resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.28.0.tgz#13167ed991320684bdc23588135ae62115b30ee0" |
1035 | integrity sha512-n5NlbnmzT2MXlyT+Y0Jf0gsmAQzCnQSWXKy4RGSXVStjDvS5we9IWbh7qRVKdGcxT0WYlgcCYUK/HRg7xFhvjQ== | 1036 | integrity sha512-9XD9s7mt3QWMk82GoyUpc/Ji03vz4T5AYlHF9DcoFNfJ/y3UAclRsfGiE2gLfXtyC+JRA3trR7cR296TEb1oiQ== |
1036 | dependencies: | 1037 | dependencies: |
1037 | "@types/json-schema" "^7.0.7" | 1038 | "@types/json-schema" "^7.0.7" |
1038 | "@typescript-eslint/scope-manager" "4.27.0" | 1039 | "@typescript-eslint/scope-manager" "4.28.0" |
1039 | "@typescript-eslint/types" "4.27.0" | 1040 | "@typescript-eslint/types" "4.28.0" |
1040 | "@typescript-eslint/typescript-estree" "4.27.0" | 1041 | "@typescript-eslint/typescript-estree" "4.28.0" |
1041 | eslint-scope "^5.1.1" | 1042 | eslint-scope "^5.1.1" |
1042 | eslint-utils "^3.0.0" | 1043 | eslint-utils "^3.0.0" |
1043 | 1044 | ||
1044 | "@typescript-eslint/parser@^4.0.0": | 1045 | "@typescript-eslint/parser@^4.0.0": |
1045 | version "4.27.0" | 1046 | version "4.28.0" |
1046 | resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.27.0.tgz#85447e573364bce4c46c7f64abaa4985aadf5a94" | 1047 | resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.28.0.tgz#2404c16751a28616ef3abab77c8e51d680a12caa" |
1047 | integrity sha512-XpbxL+M+gClmJcJ5kHnUpBGmlGdgNvy6cehgR6ufyxkEJMGP25tZKCaKyC0W/JVpuhU3VU1RBn7SYUPKSMqQvQ== | 1048 | integrity sha512-7x4D22oPY8fDaOCvkuXtYYTQ6mTMmkivwEzS+7iml9F9VkHGbbZ3x4fHRwxAb5KeuSkLqfnYjs46tGx2Nour4A== |
1048 | dependencies: | 1049 | dependencies: |
1049 | "@typescript-eslint/scope-manager" "4.27.0" | 1050 | "@typescript-eslint/scope-manager" "4.28.0" |
1050 | "@typescript-eslint/types" "4.27.0" | 1051 | "@typescript-eslint/types" "4.28.0" |
1051 | "@typescript-eslint/typescript-estree" "4.27.0" | 1052 | "@typescript-eslint/typescript-estree" "4.28.0" |
1052 | debug "^4.3.1" | 1053 | debug "^4.3.1" |
1053 | 1054 | ||
1054 | "@typescript-eslint/scope-manager@4.27.0": | 1055 | "@typescript-eslint/scope-manager@4.28.0": |
1055 | version "4.27.0" | 1056 | version "4.28.0" |
1056 | resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.27.0.tgz#b0b1de2b35aaf7f532e89c8e81d0fa298cae327d" | 1057 | resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.28.0.tgz#6a3009d2ab64a30fc8a1e257a1a320067f36a0ce" |
1057 | integrity sha512-DY73jK6SEH6UDdzc6maF19AHQJBFVRf6fgAXHPXCGEmpqD4vYgPEzqpFz1lf/daSbOcMpPPj9tyXXDPW2XReAw== | 1058 | integrity sha512-eCALCeScs5P/EYjwo6se9bdjtrh8ByWjtHzOkC4Tia6QQWtQr3PHovxh3TdYTuFcurkYI4rmFsRFpucADIkseg== |
1058 | dependencies: | 1059 | dependencies: |
1059 | "@typescript-eslint/types" "4.27.0" | 1060 | "@typescript-eslint/types" "4.28.0" |
1060 | "@typescript-eslint/visitor-keys" "4.27.0" | 1061 | "@typescript-eslint/visitor-keys" "4.28.0" |
1061 | 1062 | ||
1062 | "@typescript-eslint/types@4.27.0": | 1063 | "@typescript-eslint/types@4.28.0": |
1063 | version "4.27.0" | 1064 | version "4.28.0" |
1064 | resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.27.0.tgz#712b408519ed699baff69086bc59cd2fc13df8d8" | 1065 | resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.28.0.tgz#a33504e1ce7ac51fc39035f5fe6f15079d4dafb0" |
1065 | integrity sha512-I4ps3SCPFCKclRcvnsVA/7sWzh7naaM/b4pBO2hVxnM3wrU51Lveybdw5WoIktU/V4KfXrTt94V9b065b/0+wA== | 1066 | integrity sha512-p16xMNKKoiJCVZY5PW/AfILw2xe1LfruTcfAKBj3a+wgNYP5I9ZEKNDOItoRt53p4EiPV6iRSICy8EPanG9ZVA== |
1066 | 1067 | ||
1067 | "@typescript-eslint/typescript-estree@4.27.0": | 1068 | "@typescript-eslint/typescript-estree@4.28.0": |
1068 | version "4.27.0" | 1069 | version "4.28.0" |
1069 | resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.27.0.tgz#189a7b9f1d0717d5cccdcc17247692dedf7a09da" | 1070 | resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.28.0.tgz#e66d4e5aa2ede66fec8af434898fe61af10c71cf" |
1070 | integrity sha512-KH03GUsUj41sRLLEy2JHstnezgpS5VNhrJouRdmh6yNdQ+yl8w5LrSwBkExM+jWwCJa7Ct2c8yl8NdtNRyQO6g== | 1071 | integrity sha512-m19UQTRtxMzKAm8QxfKpvh6OwQSXaW1CdZPoCaQuLwAq7VZMNuhJmZR4g5281s2ECt658sldnJfdpSZZaxUGMQ== |
1071 | dependencies: | 1072 | dependencies: |
1072 | "@typescript-eslint/types" "4.27.0" | 1073 | "@typescript-eslint/types" "4.28.0" |
1073 | "@typescript-eslint/visitor-keys" "4.27.0" | 1074 | "@typescript-eslint/visitor-keys" "4.28.0" |
1074 | debug "^4.3.1" | 1075 | debug "^4.3.1" |
1075 | globby "^11.0.3" | 1076 | globby "^11.0.3" |
1076 | is-glob "^4.0.1" | 1077 | is-glob "^4.0.1" |
1077 | semver "^7.3.5" | 1078 | semver "^7.3.5" |
1078 | tsutils "^3.21.0" | 1079 | tsutils "^3.21.0" |
1079 | 1080 | ||
1080 | "@typescript-eslint/visitor-keys@4.27.0": | 1081 | "@typescript-eslint/visitor-keys@4.28.0": |
1081 | version "4.27.0" | 1082 | version "4.28.0" |
1082 | resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.27.0.tgz#f56138b993ec822793e7ebcfac6ffdce0a60cb81" | 1083 | resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.28.0.tgz#255c67c966ec294104169a6939d96f91c8a89434" |
1083 | integrity sha512-es0GRYNZp0ieckZ938cEANfEhsfHrzuLrePukLKtY3/KPXcq1Xd555Mno9/GOgXhKzn0QfkDLVgqWO3dGY80bg== | 1084 | integrity sha512-PjJyTWwrlrvM5jazxYF5ZPs/nl0kHDZMVbuIcbpawVXaDPelp3+S9zpOz5RmVUfS/fD5l5+ZXNKnWhNYjPzCvw== |
1084 | dependencies: | 1085 | dependencies: |
1085 | "@typescript-eslint/types" "4.27.0" | 1086 | "@typescript-eslint/types" "4.28.0" |
1086 | eslint-visitor-keys "^2.0.0" | 1087 | eslint-visitor-keys "^2.0.0" |
1087 | 1088 | ||
1088 | "@ungap/promise-all-settled@1.1.2": | 1089 | "@ungap/promise-all-settled@1.1.2": |
@@ -1823,9 +1824,9 @@ bufferutil@^4.0.3: | |||
1823 | node-gyp-build "^4.2.0" | 1824 | node-gyp-build "^4.2.0" |
1824 | 1825 | ||
1825 | bull@^3.4.2: | 1826 | bull@^3.4.2: |
1826 | version "3.22.8" | 1827 | version "3.22.9" |
1827 | resolved "https://registry.yarnpkg.com/bull/-/bull-3.22.8.tgz#ca15630d5eab2d41cc6f98a786bafcab15d1575f" | 1828 | resolved "https://registry.yarnpkg.com/bull/-/bull-3.22.9.tgz#9d86493e1bb4afeb7e6e259c45141185bd78111d" |
1828 | integrity sha512-HqUKZqGqhIUY3JJSypUNICxa8q4Ka2812S3Alth6tSBsjYf7NBQQlMifCpX9ua4Y+JMQHoYIqz7b9midzpwxqg== | 1829 | integrity sha512-waVaXkjS1+aPxZpmqcKKQX1KeWx7uZXcg9bhe+y5xx/3k8Xu0vqUL1FxMUfp0f3O4KSAHk1EDlD5DGXxBlFDFQ== |
1829 | dependencies: | 1830 | dependencies: |
1830 | cron-parser "^2.13.0" | 1831 | cron-parser "^2.13.0" |
1831 | debuglog "^1.0.0" | 1832 | debuglog "^1.0.0" |
@@ -2299,10 +2300,10 @@ commander@^5.1.0: | |||
2299 | resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" | 2300 | resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" |
2300 | integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== | 2301 | integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== |
2301 | 2302 | ||
2302 | commander@^7.0.0: | 2303 | commander@^8.0.0: |
2303 | version "7.2.0" | 2304 | version "8.0.0" |
2304 | resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" | 2305 | resolved "https://registry.yarnpkg.com/commander/-/commander-8.0.0.tgz#1da2139548caef59bd23e66d18908dfb54b02258" |
2305 | integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== | 2306 | integrity sha512-Xvf85aAtu6v22+E5hfVoLHqyul/jyxh91zvqk/ioJTQuJR7Z78n7H558vMPKanPSRgIEeZemT92I2g9Y8LPbSQ== |
2306 | 2307 | ||
2307 | compact2string@^1.4.1: | 2308 | compact2string@^1.4.1: |
2308 | version "1.4.1" | 2309 | version "1.4.1" |
@@ -2978,9 +2979,9 @@ engine.io-client@~3.3.1: | |||
2978 | yeast "0.1.2" | 2979 | yeast "0.1.2" |
2979 | 2980 | ||
2980 | engine.io-client@~5.1.1: | 2981 | engine.io-client@~5.1.1: |
2981 | version "5.1.1" | 2982 | version "5.1.2" |
2982 | resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-5.1.1.tgz#f5c3aaaef1bdc9443aac6ffde48b3b2fb2dc56fc" | 2983 | resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-5.1.2.tgz#27108da9b39ae03262443d945caf2caa3655c4cb" |
2983 | integrity sha512-jPFpw2HLL0lhZ2KY0BpZhIJdleQcUO9W1xkIpo0h3d6s+5D6+EV/xgQw9qWOmymszv2WXef/6KUUehyxEKomlQ== | 2984 | integrity sha512-blRrgXIE0A/eurWXRzvfCLG7uUFJqfTGFsyJzXSK71srMMGJ2VraBLg8Mdw28uUxSpVicepBN9X7asqpD1mZcQ== |
2984 | dependencies: | 2985 | dependencies: |
2985 | base64-arraybuffer "0.1.4" | 2986 | base64-arraybuffer "0.1.4" |
2986 | component-emitter "~1.3.0" | 2987 | component-emitter "~1.3.0" |
@@ -3279,9 +3280,9 @@ eslint-visitor-keys@^2.0.0: | |||
3279 | integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== | 3280 | integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== |
3280 | 3281 | ||
3281 | eslint@^7.2.0: | 3282 | eslint@^7.2.0: |
3282 | version "7.28.0" | 3283 | version "7.29.0" |
3283 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.28.0.tgz#435aa17a0b82c13bb2be9d51408b617e49c1e820" | 3284 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.29.0.tgz#ee2a7648f2e729485e4d0bd6383ec1deabc8b3c0" |
3284 | integrity sha512-UMfH0VSjP0G4p3EWirscJEQ/cHqnT/iuH6oNZOB94nBjWbMnhGEPxsZm1eyIW0C/9jLI0Fow4W5DXLjEI7mn1g== | 3285 | integrity sha512-82G/JToB9qIy/ArBzIWG9xvvwL3R86AlCjtGw+A29OMZDqhTybz/MByORSukGxeI+YPCR4coYyITKk8BFH9nDA== |
3285 | dependencies: | 3286 | dependencies: |
3286 | "@babel/code-frame" "7.12.11" | 3287 | "@babel/code-frame" "7.12.11" |
3287 | "@eslint/eslintrc" "^0.4.2" | 3288 | "@eslint/eslintrc" "^0.4.2" |
@@ -3919,9 +3920,9 @@ globals@^13.6.0, globals@^13.9.0: | |||
3919 | type-fest "^0.20.2" | 3920 | type-fest "^0.20.2" |
3920 | 3921 | ||
3921 | globby@^11.0.3: | 3922 | globby@^11.0.3: |
3922 | version "11.0.3" | 3923 | version "11.0.4" |
3923 | resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb" | 3924 | resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5" |
3924 | integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg== | 3925 | integrity sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg== |
3925 | dependencies: | 3926 | dependencies: |
3926 | array-union "^2.1.0" | 3927 | array-union "^2.1.0" |
3927 | dir-glob "^3.0.1" | 3928 | dir-glob "^3.0.1" |
@@ -4335,10 +4336,10 @@ ini@~1.3.0: | |||
4335 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" | 4336 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" |
4336 | integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== | 4337 | integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== |
4337 | 4338 | ||
4338 | inquirer@8.1.0: | 4339 | inquirer@8.1.1: |
4339 | version "8.1.0" | 4340 | version "8.1.1" |
4340 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.1.0.tgz#68ce5ce5376cf0e89765c993d8b7c1e62e184d69" | 4341 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.1.1.tgz#7c53d94c6d03011c7bb2a947f0dca3b98246c26a" |
4341 | integrity sha512-1nKYPoalt1vMBfCMtpomsUc32wmOoWXAoq3kM/5iTfxyQ2f/BxjixQpC+mbZ7BI0JUXHED4/XPXekDVtJNpXYw== | 4342 | integrity sha512-hUDjc3vBkh/uk1gPfMAD/7Z188Q8cvTGl0nxwaCdwSbzFh6ZKkZh+s2ozVxbE5G9ZNRyeY0+lgbAIOUFsFf98w== |
4342 | dependencies: | 4343 | dependencies: |
4343 | ansi-escapes "^4.2.1" | 4344 | ansi-escapes "^4.2.1" |
4344 | chalk "^4.1.1" | 4345 | chalk "^4.1.1" |
@@ -5267,9 +5268,9 @@ marked-man@^0.7.0: | |||
5267 | integrity sha512-zxK5E4jbuARALc+fIUAanM2njVGnrd9YvKrqoDHUg2XwNLJijo39EzMIg59LecHBHsIHNtPqepqnJp4SmL/EVg== | 5268 | integrity sha512-zxK5E4jbuARALc+fIUAanM2njVGnrd9YvKrqoDHUg2XwNLJijo39EzMIg59LecHBHsIHNtPqepqnJp4SmL/EVg== |
5268 | 5269 | ||
5269 | marked@^2.0.1: | 5270 | marked@^2.0.1: |
5270 | version "2.0.7" | 5271 | version "2.1.2" |
5271 | resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.7.tgz#bc5b857a09071b48ce82a1f7304913a993d4b7d1" | 5272 | resolved "https://registry.yarnpkg.com/marked/-/marked-2.1.2.tgz#59579e17b02443312caa1509994d5a0b18ae38e1" |
5272 | integrity sha512-BJXxkuIfJchcXOJWTT2DOL+yFWifFv2yGYOUzvXg8Qz610QKw+sHCvTMYwA+qWGhlA2uivBezChZ/pBy1tWdkQ== | 5273 | integrity sha512-ueJhIvklJJw04qxQbGIAu63EXwwOCYc7yKMBjgagTM4rjC5QtWyqSNgW7jCosV1/Km/1TUfs5qEpAqcGG0Mo5g== |
5273 | 5274 | ||
5274 | math-interval-parser@^2.0.1: | 5275 | math-interval-parser@^2.0.1: |
5275 | version "2.0.1" | 5276 | version "2.0.1" |
@@ -5494,9 +5495,9 @@ mkdirp@^1.0.3, mkdirp@~1.0.4: | |||
5494 | integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== | 5495 | integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== |
5495 | 5496 | ||
5496 | mocha@^9.0.0: | 5497 | mocha@^9.0.0: |
5497 | version "9.0.0" | 5498 | version "9.0.1" |
5498 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-9.0.0.tgz#67ce848170cb6426f9e84c57e38376dc9017bab4" | 5499 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-9.0.1.tgz#01e66b7af0012330c0a38c4b6eaa6d92b8a81bf9" |
5499 | integrity sha512-GRGG/q9bIaUkHJB9NL+KZNjDhMBHB30zW3bZW9qOiYr+QChyLjPzswaxFWkI1q6lGlSL28EQYzAi2vKWNkPx+g== | 5500 | integrity sha512-9zwsavlRO+5csZu6iRtl3GHImAbhERoDsZwdRkdJ/bE+eVplmoxNKE901ZJ9LdSchYBjSCPbjKc5XvcAri2ylw== |
5500 | dependencies: | 5501 | dependencies: |
5501 | "@ungap/promise-all-settled" "1.1.2" | 5502 | "@ungap/promise-all-settled" "1.1.2" |
5502 | ansi-colors "4.1.1" | 5503 | ansi-colors "4.1.1" |
@@ -5738,9 +5739,9 @@ nodemailer@^3.1.1: | |||
5738 | integrity sha1-/r+sy0vSc2eEc6MJxstLSi88SOM= | 5739 | integrity sha1-/r+sy0vSc2eEc6MJxstLSi88SOM= |
5739 | 5740 | ||
5740 | nodemailer@^6.0.0, nodemailer@^6.5.0, nodemailer@^6.6.0: | 5741 | nodemailer@^6.0.0, nodemailer@^6.5.0, nodemailer@^6.6.0: |
5741 | version "6.6.1" | 5742 | version "6.6.2" |
5742 | resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-6.6.1.tgz#2a05fbf205b897d71bf43884167b5d4d3bd01b99" | 5743 | resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-6.6.2.tgz#e184c9ed5bee245a3e0bcabc7255866385757114" |
5743 | integrity sha512-1xzFN3gqv+/qJ6YRyxBxfTYstLNt0FCtZaFRvf4Sg9wxNGWbwFmGXVpfSi6ThGK6aRxAo+KjHtYSW8NvCsNSAg== | 5744 | integrity sha512-YSzu7TLbI+bsjCis/TZlAXBoM4y93HhlIgo0P5oiA2ua9Z4k+E2Fod//ybIzdJxOlXGRcHIh/WaeCBehvxZb/Q== |
5744 | 5745 | ||
5745 | nodemon@^2.0.1: | 5746 | nodemon@^2.0.1: |
5746 | version "2.0.7" | 5747 | version "2.0.7" |
@@ -5793,9 +5794,9 @@ normalize-url@^4.1.0: | |||
5793 | integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== | 5794 | integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== |
5794 | 5795 | ||
5795 | normalize-url@^6.0.1: | 5796 | normalize-url@^6.0.1: |
5796 | version "6.0.1" | 5797 | version "6.1.0" |
5797 | resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.0.1.tgz#a4f27f58cf8c7b287b440b8a8201f42d0b00d256" | 5798 | resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" |
5798 | integrity sha512-VU4pzAuh7Kip71XEmO9aNREYAdMHFGTVj/i+CaTImS8x0i1d3jUZkXhqluy/PRgjPLMgsLQulYY3PJ/aSbSjpQ== | 5799 | integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== |
5799 | 5800 | ||
5800 | npm-run-path@^2.0.0: | 5801 | npm-run-path@^2.0.0: |
5801 | version "2.0.2" | 5802 | version "2.0.2" |
@@ -6393,9 +6394,9 @@ pngjs@^3.0.0, pngjs@^3.3.3: | |||
6393 | integrity sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w== | 6394 | integrity sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w== |
6394 | 6395 | ||
6395 | postcss@^8.0.2: | 6396 | postcss@^8.0.2: |
6396 | version "8.3.4" | 6397 | version "8.3.5" |
6397 | resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.4.tgz#41ece1c43f2f7c74dc7d90144047ce052757b822" | 6398 | resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.5.tgz#982216b113412bc20a86289e91eb994952a5b709" |
6398 | integrity sha512-/tZY0PXExXXnNhKv3TOvZAOUYRyuqcCbBm2c17YMDK0PlVII3K7/LKdt3ScHL+hhouddjUWi+1sKDf9xXW+8YA== | 6399 | integrity sha512-NxTuJocUhYGsMiMFHDUkmjSKT3EdH4/WbGF6GCi1NDGk+vbcUTun4fpbOqaPtD8IIsztA2ilZm2DhYCuyN58gA== |
6399 | dependencies: | 6400 | dependencies: |
6400 | colorette "^1.2.2" | 6401 | colorette "^1.2.2" |
6401 | nanoid "^3.1.23" | 6402 | nanoid "^3.1.23" |
@@ -8185,9 +8186,9 @@ typedarray@^0.0.6: | |||
8185 | integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= | 8186 | integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= |
8186 | 8187 | ||
8187 | typescript@^4.0.5: | 8188 | typescript@^4.0.5: |
8188 | version "4.3.2" | 8189 | version "4.3.4" |
8189 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.2.tgz#399ab18aac45802d6f2498de5054fcbbe716a805" | 8190 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.4.tgz#3f85b986945bcf31071decdd96cf8bfa65f9dcbc" |
8190 | integrity sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw== | 8191 | integrity sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew== |
8191 | 8192 | ||
8192 | uc.micro@^1.0.1, uc.micro@^1.0.5: | 8193 | uc.micro@^1.0.1, uc.micro@^1.0.5: |
8193 | version "1.0.6" | 8194 | version "1.0.6" |
@@ -8370,9 +8371,9 @@ utils-merge@1.0.1: | |||
8370 | integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= | 8371 | integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= |
8371 | 8372 | ||
8372 | utp-native@^2.4.0: | 8373 | utp-native@^2.4.0: |
8373 | version "2.5.0" | 8374 | version "2.5.1" |
8374 | resolved "https://registry.yarnpkg.com/utp-native/-/utp-native-2.5.0.tgz#3d8321760108b30cb15391196c8cc93db85b61ce" | 8375 | resolved "https://registry.yarnpkg.com/utp-native/-/utp-native-2.5.1.tgz#445a3fcf23db0a841a48c4e353f8900ea852b3e8" |
8375 | integrity sha512-HoHPE6gwLxC0xlpYJUl+Xw2sh809lhXx3TexHsb2/xY8vEd6NwuvAxOI/X27dBTc/TOT5diWUpCJWDaunkcVvA== | 8376 | integrity sha512-wbrJwR8DZx8N9s1ffTcMuBK7tMBQ9tvKpIL+mWHrDvGUYfV7ivroEGFTXUr4meqy/PVbUdMfURSoBbwuGtt/YQ== |
8376 | dependencies: | 8377 | dependencies: |
8377 | napi-macros "^2.0.0" | 8378 | napi-macros "^2.0.0" |
8378 | node-gyp-build "^4.2.0" | 8379 | node-gyp-build "^4.2.0" |
@@ -8494,9 +8495,9 @@ webfinger.js@^2.6.6: | |||
8494 | xhr2 "^0.1.4" | 8495 | xhr2 "^0.1.4" |
8495 | 8496 | ||
8496 | webtorrent@^1.0.0: | 8497 | webtorrent@^1.0.0: |
8497 | version "1.0.0" | 8498 | version "1.0.2" |
8498 | resolved "https://registry.yarnpkg.com/webtorrent/-/webtorrent-1.0.0.tgz#1d8fd388726ca013feb17d2437b1b9df2d24b5e8" | 8499 | resolved "https://registry.yarnpkg.com/webtorrent/-/webtorrent-1.0.2.tgz#acd0ae3bedcfa8cb732043489ff506d07d90140a" |
8499 | integrity sha512-htwcY5OBOWL/OMwaw3xi1Mp2gE9k5UmGTKeO3n1ixQDH9QgeqqRlBJz2ZLEyOL8yN1FdS/D9z+ijm06bZ3oW5w== | 8500 | integrity sha512-uv9fq5md/98JyeDDyziy1H28Wc/idO80AKv+9pQ4XK0WNNjdE3FMtCKfrvU2VNS1PdAOrA6sFuUq2x0mV7k7WQ== |
8500 | dependencies: | 8501 | dependencies: |
8501 | addr-to-ip-port "^1.5.1" | 8502 | addr-to-ip-port "^1.5.1" |
8502 | bitfield "^4.0.0" | 8503 | bitfield "^4.0.0" |
@@ -8541,6 +8542,7 @@ webtorrent@^1.0.0: | |||
8541 | unordered-array-remove "^1.0.2" | 8542 | unordered-array-remove "^1.0.2" |
8542 | ut_metadata "^3.5.2" | 8543 | ut_metadata "^3.5.2" |
8543 | ut_pex "^3.0.0" | 8544 | ut_pex "^3.0.0" |
8545 | optionalDependencies: | ||
8544 | utp-native "^2.4.0" | 8546 | utp-native "^2.4.0" |
8545 | 8547 | ||
8546 | which-boxed-primitive@^1.0.2: | 8548 | which-boxed-primitive@^1.0.2: |
@@ -8687,10 +8689,10 @@ write-file-atomic@^3.0.0: | |||
8687 | signal-exit "^3.0.2" | 8689 | signal-exit "^3.0.2" |
8688 | typedarray-to-buffer "^3.1.5" | 8690 | typedarray-to-buffer "^3.1.5" |
8689 | 8691 | ||
8690 | ws@^7.0.0, ws@^7.4.2, ws@^7.4.5, ws@^7.4.6, ws@~7.4.2: | 8692 | ws@^7.0.0, ws@^7.4.2, ws@^7.4.5, ws@^7.4.6: |
8691 | version "7.4.6" | 8693 | version "7.5.0" |
8692 | resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" | 8694 | resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.0.tgz#0033bafea031fb9df041b2026fc72a571ca44691" |
8693 | integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== | 8695 | integrity sha512-6ezXvzOZupqKj4jUqbQ9tXuJNo+BR2gU8fFRk3XCP3e0G6WT414u5ELe6Y0vtp7kmSJ3F7YWObSNr1ESsgi4vw== |
8694 | 8696 | ||
8695 | ws@~6.1.0: | 8697 | ws@~6.1.0: |
8696 | version "6.1.4" | 8698 | version "6.1.4" |
@@ -8699,6 +8701,11 @@ ws@~6.1.0: | |||
8699 | dependencies: | 8701 | dependencies: |
8700 | async-limiter "~1.0.0" | 8702 | async-limiter "~1.0.0" |
8701 | 8703 | ||
8704 | ws@~7.4.2: | ||
8705 | version "7.4.6" | ||
8706 | resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" | ||
8707 | integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== | ||
8708 | |||
8702 | xdg-basedir@^4.0.0: | 8709 | xdg-basedir@^4.0.0: |
8703 | version "4.0.0" | 8710 | version "4.0.0" |
8704 | resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" | 8711 | resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" |
@@ -8793,9 +8800,9 @@ yargs-parser@^18.1.2: | |||
8793 | decamelize "^1.2.0" | 8800 | decamelize "^1.2.0" |
8794 | 8801 | ||
8795 | yargs-parser@^20.2.2: | 8802 | yargs-parser@^20.2.2: |
8796 | version "20.2.7" | 8803 | version "20.2.9" |
8797 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.7.tgz#61df85c113edfb5a7a4e36eb8aa60ef423cbc90a" | 8804 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" |
8798 | integrity sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw== | 8805 | integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== |
8799 | 8806 | ||
8800 | yargs-unparser@2.0.0: | 8807 | yargs-unparser@2.0.0: |
8801 | version "2.0.0" | 8808 | version "2.0.0" |