ActivityPub-federated video streaming platform using P2P directly in your web browser
Update dependencies
Chocobozzzbdd428a6d913
diff --git a/.eslintrc.json b/.eslintrc.jsonindex a86c5bbbab..f099f38ba5 100644--- a/.eslintrc.json+++ b/.eslintrc.json@@ -63,11 +63,13 @@"allowNumber": "true"}],+"@typescript-eslint/quotes": "off","@typescript-eslint/no-var-requires": "off","@typescript-eslint/explicit-function-return-type": "off","@typescript-eslint/promise-function-async": "off","@typescript-eslint/no-dynamic-delete": "off",+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off","@typescript-eslint/strict-boolean-expressions": "off","@typescript-eslint/consistent-type-definitions": "off","@typescript-eslint/no-misused-promises": "off",diff --git a/package.json b/package.jsonindex 0b944cce98..9e01a12b41 100644--- a/package.json+++ b/package.json@@ -82,7 +82,7 @@"apicache": "^1.4.0","async": "^3.0.1","async-lru": "^1.1.1",- "bcrypt": "3.0.7",+ "bcrypt": "4.0.0","bittorrent-tracker": "^9.0.0","bluebird": "^3.5.0","body-parser": "^1.12.4",@@ -102,7 +102,7 @@"fluent-ffmpeg": "^2.1.0","fs-extra": "^8.0.1","helmet": "^3.12.1",- "http-signature": "1.3.1",+ "http-signature": "1.3.2","ip-anonymize": "^0.1.0","ipaddr.js": "1.9.1","is-cidr": "^3.0.0",@@ -122,11 +122,11 @@"pfeed": "1.1.11","pg": "^7.4.1","prompt": "^1.0.0",- "redis": "^2.8.0",+ "redis": "^3.0.2","reflect-metadata": "^0.1.12","request": "^2.81.0","scripty": "^1.5.0",- "sequelize": "5.21.3",+ "sequelize": "5.21.5","sequelize-typescript": "^1.0.0-beta.4","sharp": "^0.24.0","sitemap": "^5.0.0",@@ -134,7 +134,7 @@"srt-to-vtt": "^1.1.2","tsconfig-paths": "^3.9.0","useragent": "^2.3.0",- "uuid": "^3.1.0",+ "uuid": "^7.0.1","validator": "^12.1.0","webfinger.js": "^2.6.6","webtorrent": "^0.107.16",@@ -150,14 +150,14 @@"@types/bcrypt": "^3.0.0","@types/bluebird": "3.5.29","@types/body-parser": "^1.16.3",- "@types/bull": "3.12.0",+ "@types/bull": "3.12.1","@types/bytes": "^3.0.0","@types/chai": "^4.0.4","@types/chai-json-schema": "^1.4.3","@types/chai-xml": "^0.3.1","@types/config": "^0.0.36","@types/express": "^4.0.35",- "@types/express-rate-limit": "^3.3.0",+ "@types/express-rate-limit": "^5.0.0","@types/fluent-ffmpeg": "^2.1.8","@types/fs-extra": "^8.0.0","@types/libxmljs": "^0.18.0",@@ -166,7 +166,7 @@"@types/magnet-uri": "^5.1.1","@types/maildev": "^0.0.1","@types/memoizee": "^0.4.2",- "@types/mkdirp": "^0.5.1",+ "@types/mkdirp": "^1.0.0","@types/mocha": "^7.0.1","@types/morgan": "^1.7.32","@types/multer": "^1.3.3",@@ -188,7 +188,7 @@"chai-xml": "^0.3.2","concurrently": "^5.0.0","eslint": "^6.8.0",- "eslint-config-standard-with-typescript": "^12.0.1",+ "eslint-config-standard-with-typescript": "^14.0.0","eslint-plugin-import": "^2.20.1","eslint-plugin-node": "^11.0.0","eslint-plugin-promise": "^4.2.1",diff --git a/server/controllers/activitypub/inbox.ts b/server/controllers/activitypub/inbox.tsindex 3b8fb34a84..c5edf86b75 100644--- a/server/controllers/activitypub/inbox.ts+++ b/server/controllers/activitypub/inbox.ts@@ -56,9 +56,9 @@ function inboxController (req: express.Request, res: express.Response) {const rootActivity: RootActivity = req.bodylet activities: Activity[]- if ([ 'Collection', 'CollectionPage' ].indexOf(rootActivity.type) !== -1) {+ if ([ 'Collection', 'CollectionPage' ].includes(rootActivity.type)) {activities = (rootActivity as ActivityPubCollection).items- } else if ([ 'OrderedCollection', 'OrderedCollectionPage' ].indexOf(rootActivity.type) !== -1) {+ } else if ([ 'OrderedCollection', 'OrderedCollectionPage' ].includes(rootActivity.type)) {activities = (rootActivity as ActivityPubOrderedCollection<Activity>).orderedItems} else {activities = [ rootActivity as Activity ]diff --git a/server/controllers/api/search.ts b/server/controllers/api/search.tsindex 349650aca6..16ffbf6839 100644--- a/server/controllers/api/search.ts+++ b/server/controllers/api/search.ts@@ -60,7 +60,7 @@ function searchVideoChannels (req: express.Request, res: express.Response) {// Handle strings like @[email protected]if (parts.length === 3 && parts[0].length === 0) parts.shift()- const isWebfingerSearch = parts.length === 2 && parts.every(p => p && p.indexOf(' ') === -1)+ const isWebfingerSearch = parts.length === 2 && parts.every(p => p && !p.includes(' '))if (isURISearch || isWebfingerSearch) return searchVideoChannelURI(search, isWebfingerSearch, res)diff --git a/server/controllers/client.ts b/server/controllers/client.tsindex 20689fb58a..08c0f1fa61 100644--- a/server/controllers/client.ts+++ b/server/controllers/client.ts@@ -76,7 +76,7 @@ function serveServerTranslations (req: express.Request, res: express.Response) {const locale = req.params.localeconst file = req.params.file- if (is18nLocale(locale) && LOCALE_FILES.indexOf(file) !== -1) {+ if (is18nLocale(locale) && LOCALE_FILES.includes(file)) {const completeLocale = getCompleteLocale(locale)const completeFileLocale = buildFileLocale(completeLocale)diff --git a/server/helpers/custom-validators/activitypub/actor.ts b/server/helpers/custom-validators/activitypub/actor.tsindex fec67823d7..2f44522a58 100644--- a/server/helpers/custom-validators/activitypub/actor.ts+++ b/server/helpers/custom-validators/activitypub/actor.ts@@ -28,7 +28,7 @@ function isActorPublicKeyValid (publicKey: string) {return exists(publicKey) &&typeof publicKey === 'string' &&publicKey.startsWith('-----BEGIN PUBLIC KEY-----') &&- publicKey.indexOf('-----END PUBLIC KEY-----') !== -1 &&+ publicKey.includes('-----END PUBLIC KEY-----') &&validator.isLength(publicKey, CONSTRAINTS_FIELDS.ACTORS.PUBLIC_KEY)}@@ -43,7 +43,7 @@ function isActorPrivateKeyValid (privateKey: string) {typeof privateKey === 'string' &&privateKey.startsWith('-----BEGIN RSA PRIVATE KEY-----') &&// Sometimes there is a \n at the end, so just assert the string contains the end mark- privateKey.indexOf('-----END RSA PRIVATE KEY-----') !== -1 &&+ privateKey.includes('-----END RSA PRIVATE KEY-----') &&validator.isLength(privateKey, CONSTRAINTS_FIELDS.ACTORS.PRIVATE_KEY)}diff --git a/server/helpers/custom-validators/activitypub/videos.ts b/server/helpers/custom-validators/activitypub/videos.tsindex 22b5e14a2b..af8c8a0c85 100644--- a/server/helpers/custom-validators/activitypub/videos.ts+++ b/server/helpers/custom-validators/activitypub/videos.ts@@ -84,19 +84,19 @@ function sanitizeAndCheckVideoTorrentObject (video: any) {function isRemoteVideoUrlValid (url: any) {return url.type === 'Link' &&(- ACTIVITY_PUB.URL_MIME_TYPES.VIDEO.indexOf(url.mediaType) !== -1 &&+ ACTIVITY_PUB.URL_MIME_TYPES.VIDEO.includes(url.mediaType) &&isActivityPubUrlValid(url.href) &&validator.isInt(url.height + '', { min: 0 }) &&validator.isInt(url.size + '', { min: 0 }) &&(!url.fps || validator.isInt(url.fps + '', { min: -1 }))) ||(- ACTIVITY_PUB.URL_MIME_TYPES.TORRENT.indexOf(url.mediaType) !== -1 &&+ ACTIVITY_PUB.URL_MIME_TYPES.TORRENT.includes(url.mediaType) &&isActivityPubUrlValid(url.href) &&validator.isInt(url.height + '', { min: 0 })) ||(- ACTIVITY_PUB.URL_MIME_TYPES.MAGNET.indexOf(url.mediaType) !== -1 &&+ ACTIVITY_PUB.URL_MIME_TYPES.MAGNET.includes(url.mediaType) &&validator.isLength(url.href, { min: 5 }) &&validator.isInt(url.height + '', { min: 0 })) ||diff --git a/server/helpers/custom-validators/feeds.ts b/server/helpers/custom-validators/feeds.tsindex 638e814f03..fa35a7da6c 100644--- a/server/helpers/custom-validators/feeds.ts+++ b/server/helpers/custom-validators/feeds.ts@@ -13,7 +13,7 @@ function isValidRSSFeed (value: string) {'atom1']- return feedExtensions.indexOf(value) !== -1+ return feedExtensions.includes(value)}// ---------------------------------------------------------------------------diff --git a/server/helpers/custom-validators/logs.ts b/server/helpers/custom-validators/logs.tsindex 30d0ce2629..0f266ed3b8 100644--- a/server/helpers/custom-validators/logs.ts+++ b/server/helpers/custom-validators/logs.ts@@ -4,7 +4,7 @@ import { LogLevel } from '../../../shared/models/server/log-level.type'const logLevels: LogLevel[] = [ 'debug', 'info', 'warn', 'error' ]function isValidLogLevel (value: any) {- return exists(value) && logLevels.indexOf(value) !== -1+ return exists(value) && logLevels.includes(value)}// ---------------------------------------------------------------------------diff --git a/server/helpers/custom-validators/users.ts b/server/helpers/custom-validators/users.tsindex 1ddbe08153..d6e91ad35d 100644--- a/server/helpers/custom-validators/users.ts+++ b/server/helpers/custom-validators/users.ts@@ -46,7 +46,7 @@ function isUserEmailVerifiedValid (value: any) {const nsfwPolicies = values(NSFW_POLICY_TYPES)function isUserNSFWPolicyValid (value: any) {- return exists(value) && nsfwPolicies.indexOf(value) !== -1+ return exists(value) && nsfwPolicies.includes(value)}function isUserWebTorrentEnabledValid (value: any) {diff --git a/server/helpers/custom-validators/videos.ts b/server/helpers/custom-validators/videos.tsindex cfb430c638..60e8075f64 100644--- a/server/helpers/custom-validators/videos.ts+++ b/server/helpers/custom-validators/videos.ts@@ -73,7 +73,7 @@ function isVideoViewsValid (value: string) {}function isVideoRatingTypeValid (value: string) {- return value === 'none' || values(VIDEO_RATE_TYPES).indexOf(value as VideoRateType) !== -1+ return value === 'none' || values(VIDEO_RATE_TYPES).includes(value as VideoRateType)}function isVideoFileExtnameValid (value: string) {diff --git a/server/helpers/youtube-dl.ts b/server/helpers/youtube-dl.tsindex fc9d416a17..26dbe65430 100644--- a/server/helpers/youtube-dl.ts+++ b/server/helpers/youtube-dl.ts@@ -257,7 +257,7 @@ function getTags (tags: any) {function getLicence (licence: string) {if (!licence) return undefined- if (licence.indexOf('Creative Commons Attribution') !== -1) return 1+ if (licence.includes('Creative Commons Attribution')) return 1return undefined}diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.tsindex e01609eefc..bc4aae9572 100644--- a/server/initializers/checker-after-init.ts+++ b/server/initializers/checker-after-init.ts@@ -54,7 +54,7 @@ function checkConfig () {const defaultNSFWPolicy = CONFIG.INSTANCE.DEFAULT_NSFW_POLICY{const available = [ 'do_not_list', 'blur', 'display' ]- if (available.indexOf(defaultNSFWPolicy) === -1) {+ if (available.includes(defaultNSFWPolicy) === false) {return 'NSFW policy setting should be ' + available.join(' or ') + ' instead of ' + defaultNSFWPolicy}}@@ -64,7 +64,7 @@ function checkConfig () {if (isArray(redundancyVideos)) {const available = [ 'most-views', 'trending', 'recently-added' ]for (const r of redundancyVideos) {- if (available.indexOf(r.strategy) === -1) {+ if (available.includes(r.strategy) === false) {return 'Videos redundancy should have ' + available.join(' or ') + ' strategy instead of ' + r.strategy}diff --git a/server/initializers/config.ts b/server/initializers/config.tsindex 950ca61bd3..3c07624e84 100644--- a/server/initializers/config.ts+++ b/server/initializers/config.ts@@ -335,7 +335,7 @@ export function reloadConfig () {function purge () {for (const fileName in require.cache) {- if (fileName.indexOf(directory()) === -1) {+ if (fileName.includes(directory()) === false) {continue}diff --git a/server/initializers/migrations/0080-video-channels.ts b/server/initializers/migrations/0080-video-channels.tsindex b8e9bd6d06..883224cb02 100644--- a/server/initializers/migrations/0080-video-channels.ts+++ b/server/initializers/migrations/0080-video-channels.ts@@ -1,5 +1,5 @@import * as Sequelize from 'sequelize'-import * as uuidv4 from 'uuid/v4'+import { v4 as uuidv4 } from 'uuid'async function up (utils: {transaction: Sequelize.Transactiondiff --git a/server/initializers/migrations/0345-video-playlists.ts b/server/initializers/migrations/0345-video-playlists.tsindex 76813f93f0..89a14a6eef 100644--- a/server/initializers/migrations/0345-video-playlists.ts+++ b/server/initializers/migrations/0345-video-playlists.ts@@ -1,6 +1,6 @@import * as Sequelize from 'sequelize'import { VideoPlaylistPrivacy, VideoPlaylistType } from '../../../shared/models/videos'-import * as uuidv4 from 'uuid/v4'+import { v4 as uuidv4 } from 'uuid'import { WEBSERVER } from '../constants'async function up (utils: {diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.tsindex 9eabef4b0b..c3598b75b4 100644--- a/server/lib/activitypub/actor.ts+++ b/server/lib/activitypub/actor.ts@@ -1,8 +1,8 @@import * as Bluebird from 'bluebird'import { Transaction } from 'sequelize'import { URL } from 'url'-import * as uuidv4 from 'uuid/v4'-import { ActivityPubActor, ActivityPubActorType } from '../../../shared/models/activitypub'+import { v4 as uuidv4 } from 'uuid'+import { ActivityPubActor, ActivityPubActorType, ActivityPubOrderedCollection } from '../../../shared/models/activitypub'import { ActivityPubAttributedTo } from '../../../shared/models/activitypub/objects'import { checkUrlsSameHost, getAPId } from '../../helpers/activitypub'import { sanitizeAndCheckActorObject } from '../../helpers/custom-validators/activitypub/actor'@@ -207,7 +207,7 @@ async function fetchActorTotalItems (url: string) {}try {- const { body } = await doRequest(options)+ const { body } = await doRequest<ActivityPubOrderedCollection<unknown>>(options)return body.totalItems ? body.totalItems : 0} catch (err) {logger.warn('Cannot fetch remote actor count %s.', url, { err })diff --git a/server/lib/activitypub/playlist.ts b/server/lib/activitypub/playlist.tsindex c52b715ef2..c1d932a686 100644--- a/server/lib/activitypub/playlist.ts+++ b/server/lib/activitypub/playlist.ts@@ -20,7 +20,9 @@ import { MAccountDefault, MAccountId, MVideoId } from '../../typings/models'import { MVideoPlaylist, MVideoPlaylistId, MVideoPlaylistOwner } from '../../typings/models/video/video-playlist'function playlistObjectToDBAttributes (playlistObject: PlaylistObject, byAccount: MAccountId, to: string[]) {- const privacy = to.indexOf(ACTIVITY_PUB.PUBLIC) !== -1 ? VideoPlaylistPrivacy.PUBLIC : VideoPlaylistPrivacy.UNLISTED+ const privacy = to.includes(ACTIVITY_PUB.PUBLIC)+ ? VideoPlaylistPrivacy.PUBLIC+ : VideoPlaylistPrivacy.UNLISTEDreturn {name: playlistObject.name,@@ -205,7 +207,7 @@ async function fetchRemoteVideoPlaylist (playlistUrl: string): Promise<{ statusClogger.info('Fetching remote playlist %s.', playlistUrl)- const { response, body } = await doRequest(options)+ const { response, body } = await doRequest<any>(options)if (isPlaylistObjectValid(body) === false || checkUrlsSameHost(body.id, playlistUrl) !== true) {logger.debug('Remote video playlist JSON is not valid.', { body })diff --git a/server/lib/activitypub/send/utils.ts b/server/lib/activitypub/send/utils.tsindex b57bae8fdf..6fd53d71b6 100644--- a/server/lib/activitypub/send/utils.ts+++ b/server/lib/activitypub/send/utils.ts@@ -44,7 +44,7 @@ async function sendVideoRelatedActivity (activityBuilder: (audience: ActivityAudasync function forwardVideoRelatedActivity (activity: Activity,t: Transaction,- followersException: MActorWithInboxes[] = [],+ followersException: MActorWithInboxes[],video: MVideoId) {// Mastodon does not add our announces in audience, so we forward to them manually@@ -161,7 +161,7 @@ async function computeFollowerUris (toFollowersOf: MActorId[], actorsException:const result = await ActorFollowModel.listAcceptedFollowerSharedInboxUrls(toActorFollowerIds, t)const sharedInboxesException = await buildSharedInboxesException(actorsException)- return result.data.filter(sharedInbox => sharedInboxesException.indexOf(sharedInbox) === -1)+ return result.data.filter(sharedInbox => sharedInboxesException.includes(sharedInbox) === false)}async function computeUris (toActors: MActor[], actorsException: MActorWithInboxes[] = []) {@@ -174,7 +174,7 @@ async function computeUris (toActors: MActor[], actorsException: MActorWithInboxconst sharedInboxesException = await buildSharedInboxesException(actorsException)return Array.from(toActorSharedInboxesSet)- .filter(sharedInbox => sharedInboxesException.indexOf(sharedInbox) === -1)+ .filter(sharedInbox => sharedInboxesException.includes(sharedInbox) === false)}async function buildSharedInboxesException (actorsException: MActorWithInboxes[]) {diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.tsindex d182ca5a28..bce1666be0 100644--- a/server/lib/activitypub/videos.ts+++ b/server/lib/activitypub/videos.ts@@ -111,7 +111,7 @@ async function fetchRemoteVideo (videoUrl: string): Promise<{ response: request.logger.info('Fetching remote video %s.', videoUrl)- const { response, body } = await doRequest(options)+ const { response, body } = await doRequest<any>(options)if (sanitizeAndCheckVideoTorrentObject(body) === false || checkUrlsSameHost(body.id, videoUrl) !== true) {logger.debug('Remote video JSON is not valid.', { body })@@ -129,7 +129,7 @@ async function fetchRemoteVideoDescription (video: MVideoAccountLight) {json: true}- const { body } = await doRequest(options)+ const { body } = await doRequest<any>(options)return body.description ? body.description : ''}@@ -507,7 +507,7 @@ function isAPVideoUrlObject (url: any): url is ActivityVideoUrlObject {const mimeTypes = Object.keys(MIMETYPES.VIDEO.MIMETYPE_EXT)const urlMediaType = url.mediaType- return mimeTypes.indexOf(urlMediaType) !== -1 && urlMediaType.startsWith('video/')+ return mimeTypes.includes(urlMediaType) && urlMediaType.startsWith('video/')}function isAPStreamingPlaylistUrlObject (url: ActivityUrlObject): url is ActivityPlaylistUrlObject {@@ -623,9 +623,11 @@ async function createVideo (videoObject: VideoTorrentObject, channel: MChannelAc}function videoActivityObjectToDBAttributes (videoChannel: MChannelId, videoObject: VideoTorrentObject, to: string[] = []) {- const privacy = to.indexOf(ACTIVITY_PUB.PUBLIC) !== -1 ? VideoPrivacy.PUBLIC : VideoPrivacy.UNLISTED- const duration = videoObject.duration.replace(/[^\d]+/, '')+ const privacy = to.includes(ACTIVITY_PUB.PUBLIC)+ ? VideoPrivacy.PUBLIC+ : VideoPrivacy.UNLISTED+ const duration = videoObject.duration.replace(/[^\d]+/, '')const language = videoObject.language?.identifierconst category = videoObject.categorydiff --git a/server/lib/avatar.ts b/server/lib/avatar.tsindex ad4cdd3ab8..3de45dd192 100644--- a/server/lib/avatar.ts+++ b/server/lib/avatar.ts@@ -5,7 +5,7 @@ import { updateActorAvatarInstance } from './activitypub'import { processImage } from '../helpers/image-utils'import { extname, join } from 'path'import { retryTransactionWrapper } from '../helpers/database-utils'-import * as uuidv4 from 'uuid/v4'+import { v4 as uuidv4 } from 'uuid'import { CONFIG } from '../initializers/config'import { sequelizeTypescript } from '../initializers/database'import * as LRUCache from 'lru-cache'diff --git a/server/lib/user.ts b/server/lib/user.tsindex 88e60a7df5..316c57359e 100644--- a/server/lib/user.ts+++ b/server/lib/user.ts@@ -1,4 +1,4 @@-import * as uuidv4 from 'uuid/v4'+import { v4 as uuidv4 } from 'uuid'import { ActivityPubActorType } from '../../shared/models/activitypub'import { SERVER_ACTOR_NAME, WEBSERVER } from '../initializers/constants'import { AccountModel } from '../models/account/account'diff --git a/server/lib/video-channel.ts b/server/lib/video-channel.tsindex 14829c9d65..c9887c667c 100644--- a/server/lib/video-channel.ts+++ b/server/lib/video-channel.ts@@ -1,5 +1,5 @@import * as Sequelize from 'sequelize'-import * as uuidv4 from 'uuid/v4'+import { v4 as uuidv4 } from 'uuid'import { VideoChannelCreate } from '../../shared/models'import { VideoChannelModel } from '../models/video/video-channel'import { buildActorInstance, federateVideoIfNeeded, getVideoChannelActivityPubUrl } from './activitypub'diff --git a/server/middlewares/activitypub.ts b/server/middlewares/activitypub.tsindex ab7d04d25b..45899818e5 100644--- a/server/middlewares/activitypub.ts+++ b/server/middlewares/activitypub.ts@@ -38,7 +38,7 @@ async function checkSignature (req: Request, res: Response, next: NextFunction)function executeIfActivityPub (req: Request, res: Response, next: NextFunction) {const accepted = req.accepts(ACCEPT_HEADERS)- if (accepted === false || ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS.indexOf(accepted) === -1) {+ if (accepted === false || ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS.includes(accepted) === false) {// Bypass this routereturn next('route')}diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.tsindex 2a632e16ff..625e344fae 100644--- a/server/tests/api/notifications/user-notifications.ts+++ b/server/tests/api/notifications/user-notifications.ts@@ -63,7 +63,7 @@ import { addUserSubscription, removeUserSubscription } from '../../../../shared/import { VideoPrivacy } from '../../../../shared/models/videos'import { getBadVideoUrl, getYoutubeVideoUrl, importVideo } from '../../../../shared/extra-utils/videos/video-imports'import { addVideoCommentReply, addVideoCommentThread } from '../../../../shared/extra-utils/videos/video-comments'-import * as uuidv4 from 'uuid/v4'+import { v4 as uuidv4 } from 'uuid'import { addAccountToAccountBlocklist, removeAccountFromAccountBlocklist } from '../../../../shared/extra-utils/users/blocklist'import { CustomConfig } from '../../../../shared/models/server'import { VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model'diff --git a/server/tests/api/server/tracker.ts b/server/tests/api/server/tracker.tsindex 9d3a274d44..611d5254a5 100644--- a/server/tests/api/server/tracker.ts+++ b/server/tests/api/server/tracker.ts@@ -49,7 +49,7 @@ describe('Test tracker', function () {torrent.on('error', done)torrent.on('warning', warn => {const message = typeof warn === 'string' ? warn : warn.message- if (message.indexOf('Unknown infoHash ') !== -1) return done()+ if (message.includes('Unknown infoHash ')) return done()})torrent.on('done', () => done(new Error('No error on infohash')))@@ -64,7 +64,7 @@ describe('Test tracker', function () {torrent.on('error', done)torrent.on('warning', warn => {const message = typeof warn === 'string' ? warn : warn.message- if (message.indexOf('Unknown infoHash ') !== -1) return done(new Error('Error on infohash'))+ if (message.includes('Unknown infoHash ')) return done(new Error('Error on infohash'))})torrent.on('done', done)@@ -83,7 +83,7 @@ describe('Test tracker', function () {torrent.on('error', done)torrent.on('warning', warn => {const message = typeof warn === 'string' ? warn : warn.message- if (message.indexOf('disabled ') !== -1) return done()+ if (message.includes('disabled ')) return done()})torrent.on('done', () => done(new Error('Tracker is enabled')))diff --git a/server/tests/cli/prune-storage.ts b/server/tests/cli/prune-storage.tsindex 304c8ca56b..6cda800709 100644--- a/server/tests/cli/prune-storage.ts+++ b/server/tests/cli/prune-storage.ts@@ -22,7 +22,7 @@ import {} from '../../../shared/extra-utils'import { Account, VideoPlaylistPrivacy } from '../../../shared/models'import { createFile, readdir } from 'fs-extra'-import * as uuidv4 from 'uuid/v4'+import { v4 as uuidv4 } from 'uuid'import { join } from 'path'const expect = chai.expectdiff --git a/server/tools/peertube-auth.ts b/server/tools/peertube-auth.tsindex 6b486e5751..c1a804f831 100644--- a/server/tools/peertube-auth.ts+++ b/server/tools/peertube-auth.ts@@ -133,7 +133,7 @@ program.description('set an existing entry as default').action(async url => {const settings = await getSettings()- const instanceExists = settings.remotes.indexOf(url) !== -1+ const instanceExists = settings.remotes.includes(url)if (instanceExists) {settings.default = settings.remotes.indexOf(url)diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.tsindex 3fb9979df6..7f3b58bba7 100644--- a/server/tools/peertube-import-videos.ts+++ b/server/tools/peertube-import-videos.ts@@ -274,7 +274,7 @@ async function getCategory (categories: string[], url: string) {function getLicence (licence: string) {if (!licence) return undefined- if (licence.indexOf('Creative Commons Attribution licence') !== -1) return 1+ if (licence.includes('Creative Commons Attribution licence')) return 1return undefined}diff --git a/server/tools/peertube-repl.ts b/server/tools/peertube-repl.tsindex 7c936ae0d8..ecbba8b0ba 100644--- a/server/tools/peertube-repl.ts+++ b/server/tools/peertube-repl.ts@@ -2,10 +2,7 @@ import { registerTSPaths } from '../helpers/register-ts-paths'import * as repl from 'repl'import * as path from 'path'import * as _ from 'lodash'-import * as uuidv1 from 'uuid/v1'-import * as uuidv3 from 'uuid/v3'-import * as uuidv4 from 'uuid/v4'-import * as uuidv5 from 'uuid/v5'+import { uuidv1, uuidv3, uuidv4, uuidv5 } from 'uuid'import * as Sequelize from 'sequelize'import * as YoutubeDL from 'youtube-dl'diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.tsindex 36688382df..27b911b756 100644--- a/shared/models/i18n/i18n.ts+++ b/shared/models/i18n/i18n.ts@@ -69,11 +69,11 @@ export function peertubeTranslate (str: string, translations?: { [ id: string ]:const possiblePaths = POSSIBLE_LOCALES.map(l => '/' + l)export function is18nPath (path: string) {- return possiblePaths.indexOf(path) !== -1+ return possiblePaths.includes(path)}export function is18nLocale (locale: string) {- return POSSIBLE_LOCALES.indexOf(locale) !== -1+ return POSSIBLE_LOCALES.includes(locale)}export function getCompleteLocale (locale: string) {@@ -85,7 +85,7 @@ export function getCompleteLocale (locale: string) {}export function getShortLocale (locale: string) {- if (locale.indexOf('-') === -1) return locale+ if (locale.includes('-') === false) return localereturn locale.split('-')[0]}diff --git a/shared/models/users/user-role.ts b/shared/models/users/user-role.tsindex ae3a0d983e..2b08b58502 100644--- a/shared/models/users/user-role.ts+++ b/shared/models/users/user-role.ts@@ -38,5 +38,5 @@ const userRoleRights: { [ id in UserRole ]: UserRight[] } = {export function hasUserRight (userRole: UserRole, userRight: UserRight) {const userRights = userRoleRights[userRole]- return userRights.indexOf(UserRight.ALL) !== -1 || userRights.indexOf(userRight) !== -1+ return userRights.includes(UserRight.ALL) || userRights.includes(userRight)}diff --git a/yarn.lock b/yarn.lockindex 00959d0f5e..e103e2f4c7 100644--- a/yarn.lock+++ b/yarn.lock@@ -36,9 +36,9 @@integrity sha512-TU1X8jmAU2BjwKryBFV/GDezz7Ge0xu9ZuYC7dy6wKj4hnL0JcxeseCOr/G2JkGylff6hdUBrR+Ee5ApAQeU5g=="@types/async@^3.0.0":- version "3.0.7"- resolved "https://registry.yarnpkg.com/@types/async/-/async-3.0.7.tgz#ef2733a3d027a81cd86524d0650db55f5d8cdff6"- integrity sha512-Oqf/gYXRnUkYL0xYB5gCLr5Ft/3yckVWie8W8TPngOeT56n+NrnHRtu9xbTvFXzxA7vfaK+gPdCjFiFCyBfEPg==+ version "3.0.8"+ resolved "https://registry.yarnpkg.com/@types/async/-/async-3.0.8.tgz#8c183f149d8cc91f944d58e5594d2a614ceb33ff"+ integrity sha512-wIM8bCrHeQHCUyDqJYXyvG8P98YeERaOB1NeOvcjnjlM32pn21S13j6tZqhiWX+nkpU3EvhtE/nuO1ItCpZ+HQ=="@types/bcrypt@^3.0.0":version "3.0.0"@@ -58,17 +58,17 @@integrity sha512-kmVtnxTuUuhCET669irqQmPAez4KFnFVKvpleVRyfC3g+SHD1hIkFZcWLim9BVcwUBLO59o8VZE4yGCmTif8Yw=="@types/body-parser@*", "@types/body-parser@^1.16.3":- version "1.17.1"- resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.17.1.tgz#18fcf61768fb5c30ccc508c21d6fd2e8b3bf7897"- integrity sha512-RoX2EZjMiFMjZh9lmYrwgoP9RTpAjSHiJxdp4oidAQVO02T7HER3xj9UKue5534ULWeqVEkujhWcyvUce+d68w==+ version "1.19.0"+ resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.0.tgz#0685b3c47eb3006ffed117cdd55164b61f80538f"+ integrity sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==dependencies:"@types/connect" "*""@types/node" "*"-"@types/[email protected]":- version "3.12.0"- resolved "https://registry.yarnpkg.com/@types/bull/-/bull-3.12.0.tgz#683d7a08db64823076c4b5ac00eea73e5b6947fa"- integrity sha512-oKj9X8bxBF7OyAsCPGg2hu9msQPM/WwIRJfUHd0xzmKDMYOBepzbWdIuQDoX1xyvDskdjbW2Io7chbxqARae7A==+"@types/[email protected]":+ version "3.12.1"+ resolved "https://registry.yarnpkg.com/@types/bull/-/bull-3.12.1.tgz#dcf1ac40c4314a3dfa1a4a12662ce7201b2e4efa"+ integrity sha512-mn1xmqKBNxllUGuOSBDOvsRpLHPDTSOsGQiHTv6t1gvGtIc/L1IFsN3YTmwf3AZenKzUcBQDGFLrCKt+abhrvQ==dependencies:"@types/ioredis" "*"@@ -97,9 +97,9 @@"@types/chai" "*""@types/chai@*", "@types/chai@^4.0.4":- version "4.2.8"- resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.8.tgz#c8d645506db0d15f4aafd4dfa873f443ad87ea59"- integrity sha512-U1bQiWbln41Yo6EeHMr+34aUhvrMVyrhn9lYfPSpLTCrZlGxU4Rtn1bocX+0p2Fc/Jkd2FanCEXdw0WNfHHM0w==+ version "4.2.9"+ resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.9.tgz#194332625ed2ae914aef00b8d5ca3b77e7924cc6"+ integrity sha512-NeXgZj+MFL4izGqA4sapdYzkzQG+MtGra9vhQ58dnmDY++VgJaRUws+aLVV5zRJCYJl/8s9IjMmhiUw1WsKSmw=="@types/color-name@^1.1.1":version "1.1.1"@@ -128,10 +128,10 @@resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==-"@types/express-rate-limit@^3.3.0":- version "3.3.3"- resolved "https://registry.yarnpkg.com/@types/express-rate-limit/-/express-rate-limit-3.3.3.tgz#1be5c551be1615d243e3eec14dca091009c61113"- integrity sha512-Ys93gQSxRTTvIvUOvGk1dYeHTLqnRfLbZzSu+np6fViL/R3veFyCimMz9bjAWnfzR6InP8LphMnB/p3d7ZkSiQ==+"@types/express-rate-limit@^5.0.0":+ version "5.0.0"+ resolved "https://registry.yarnpkg.com/@types/express-rate-limit/-/express-rate-limit-5.0.0.tgz#46b0dbae748a53347a5e1c3bdbb5a54e3f5c34f9"+ integrity sha512-tVRtvshGIYTNiUET3XJaONn1Li0V9mhi9Tb23Kf3rJ19hsgbCywkZBOf5Xhd9OXBO0Ssw7B+qAHL77xe/TiqUw==dependencies:"@types/express" "*"@@ -153,23 +153,23 @@"@types/serve-static" "*""@types/fluent-ffmpeg@^2.1.8":- version "2.1.13"- resolved "https://registry.yarnpkg.com/@types/fluent-ffmpeg/-/fluent-ffmpeg-2.1.13.tgz#bfffbcf298b0980924e9ba9aa471aba234626afb"- integrity sha512-hg87ZQb9WVcNGQHNhrYwWJM0ARNYbQbLGh1c6CfPl55/I+BH5UTpFJAr5aZWYGbl8BFVY82oF5iG4I+Ra3btiQ==+ version "2.1.14"+ resolved "https://registry.yarnpkg.com/@types/fluent-ffmpeg/-/fluent-ffmpeg-2.1.14.tgz#b21d60267fe269c2ea81fa3238a36a8349f8f2f3"+ integrity sha512-nJrAX9ODNI7mUB0b7Y0Stx1a6dOpV3zXsOnWoBuEd9/woQhepBNCMeCyOL6SLJD3jn5sLw5ciDGH0RwJenCoag==dependencies:"@types/node" "*""@types/fs-extra@^8.0.0":- version "8.0.1"- resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.0.1.tgz#a2378d6e7e8afea1564e44aafa2e207dadf77686"- integrity sha512-J00cVDALmi/hJOYsunyT52Hva5TnJeKP5yd1r+mH/ZU0mbYZflR0Z5kw5kITtKTRYMhm1JMClOFYdHnQszEvqw==+ version "8.1.0"+ resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.1.0.tgz#1114834b53c3914806cd03b3304b37b3bd221a4d"+ integrity sha512-UoOfVEzAUpeSPmjm7h1uk5MH6KZma2z2O7a75onTGjnNvAvMVrPzPL/vBbT65iIGHWj6rokwfmYcmxmlSf2uwg==dependencies:"@types/node" "*""@types/ioredis@*":- version "4.14.6"- resolved "https://registry.yarnpkg.com/@types/ioredis/-/ioredis-4.14.6.tgz#446403ab0360bf12d010ba8bbd0670b292f12143"- integrity sha512-VUbEZaeCfdiqfd3UDtmPpwewCBdbnjpMZtarKuZV7XwkhqgBZN208WQpsD3hT0BJqEx3GPApFnIVnIOq/eBpbA==+ version "4.14.8"+ resolved "https://registry.yarnpkg.com/@types/ioredis/-/ioredis-4.14.8.tgz#6dea9b8ed72f33847a97569582e737d93a1eee4e"+ integrity sha512-ww38Psb0jj/8h9UYjRuT9RYF46E5O3j+03XSEBx6OQvCIkgPV52kF8DshVLh8DMSZs3fEjeoEzmyM3KP9n53tQ==dependencies:"@types/node" "*"@@ -224,10 +224,10 @@resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.1.tgz#dc488842312a7f075149312905b5e3c0b054c79d"integrity sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw==-"@types/mkdirp@^0.5.1":- version "0.5.2"- resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-0.5.2.tgz#503aacfe5cc2703d5484326b1b27efa67a339c1f"- integrity sha512-U5icWpv7YnZYGsN4/cmh3WD2onMY0aJIiTE6+51TwJCttdHvtCYmkBNOobHlXwrJRL0nkH9jH4kD+1FAdMN4Tg==+"@types/mkdirp@^1.0.0":+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-1.0.0.tgz#16ce0eabe4a9a3afe64557ad0ee6886ec3d32927"+ integrity sha512-ONFY9//bCEr3DWKON3iDv/Q8LXnhaYYaNDeFSN0AtO5o4sLf9F0pstJKKKjQhXE0kJEeHs8eR6SAsROhhc2Csw==dependencies:"@types/node" "*"@@ -244,26 +244,26 @@"@types/express" "*""@types/multer@^1.3.3":- version "1.4.0"- resolved "https://registry.yarnpkg.com/@types/multer/-/multer-1.4.0.tgz#a4a83bee02696f61f63b65a87f9ebe8bdf12b767"- integrity sha512-mF3lGy1HTixLELNGufKTvLWGUZKd0Amz/nZYj79nzCXWye2wTlgIo4CZ+mze7xMkezcWmQviV9uXYRMpZ0qk1w==+ version "1.4.2"+ resolved "https://registry.yarnpkg.com/@types/multer/-/multer-1.4.2.tgz#f73e9eab7d8e0ff2842630e7968b88336cbb7e1c"+ integrity sha512-pVcPwuC0FbVcLhopJHx8Ro3WSXjvVvEpJMfy+DFAL/3DwNYAQH+hf/Vq+PqoS5kM4mng7L/4upzXhP/12yWh4w==dependencies:"@types/express" "*""@types/node@*":- version "13.5.3"- resolved "https://registry.yarnpkg.com/@types/node/-/node-13.5.3.tgz#37f1f539b7535b9fb4ef77d59db1847a837b7f17"- integrity sha512-ZPnWX9PW992w6DUsz3JIXHaSb5v7qmKCVzC3km6SxcDGxk7zmLfYaCJTbktIa5NeywJkkZDhGldKqDIvC5DRrA==+ version "13.7.6"+ resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.6.tgz#cb734a7c191472ae6a2b3a502b4dfffcea974113"+ integrity sha512-eyK7MWD0R1HqVTp+PtwRgFeIsemzuj4gBFSQxfPHY5iMjS7474e5wq+VFgTcdpyHeNxyKSaetYAjdMLJlKoWqA=="@types/node@^10.0.8":- version "10.17.14"- resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.14.tgz#b6c60ebf2fb5e4229fdd751ff9ddfae0f5f31541"- integrity sha512-G0UmX5uKEmW+ZAhmZ6PLTQ5eu/VPaT+d/tdLd5IFsKRPcbe6lPxocBtcYBFSaLaCW8O60AX90e91Nsp8lVHCNw==+ version "10.17.16"+ resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.16.tgz#ee96ddac1a38d98d2c8a71c7df0cdad5758e8993"+ integrity sha512-A4283YSA1OmnIivcpy/4nN86YlnKRiQp8PYwI2KdPCONEBN093QTb0gCtERtkLyVNGKKIGazTZ2nAmVzQU51zA=="@types/node@^12.12.3":- version "12.12.26"- resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.26.tgz#213e153babac0ed169d44a6d919501e68f59dea9"- integrity sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA==+ version "12.12.28"+ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.28.tgz#3a2b5f8d21f96ace690a8832ae9779114612575f"+ integrity sha512-g73GJYJDXgf0jqg+P9S8h2acWbDXNkoCX8DLtJVu7Fkn788pzQ/oJsrdJz/2JejRf/SjfZaAhsw+3nd1D5EWGg=="@types/nodemailer@^6.2.0":version "6.4.0"@@ -308,9 +308,9 @@integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA=="@types/redis@*", "@types/redis@^2.8.5":- version "2.8.14"- resolved "https://registry.yarnpkg.com/@types/redis/-/redis-2.8.14.tgz#2ed46d0f923f7ccd63fbe73a46a1241e606cf716"- integrity sha512-255dzsOLJdXFHBio9/aMHGozNkoiBUgc+g2nlNjbTSp5qcAlmpm4Z6Xs3pKOBLNIKdZbA2BkUxWvYSIwKra0Yw==+ version "2.8.16"+ resolved "https://registry.yarnpkg.com/@types/redis/-/redis-2.8.16.tgz#62dd5176d53c5f133f99661000f548a75b9761e2"+ integrity sha512-7iJzu9OvKPuKiZxlIVG7P3UM7C3XX4FxXk9f24MkAvucze93Zp4XzoERmDaKQnaZP0Qv1pMAq25lAvUPCKXCHQ==dependencies:"@types/node" "*"@@ -361,9 +361,9 @@"@types/node" "*""@types/superagent@*":- version "4.1.4"- resolved "https://registry.yarnpkg.com/@types/superagent/-/superagent-4.1.4.tgz#63f74955a28073870cfd9c100bcacb26d72b3764"- integrity sha512-SRH2q6/5/nhOkAuLXm3azRGjBYpoKCZWh138Rt1AxSIyE6/1b9uClIH2V+JfyDtjIvgr5yQqYgNUmdpbneJoZQ==+ version "4.1.7"+ resolved "https://registry.yarnpkg.com/@types/superagent/-/superagent-4.1.7.tgz#a7d92d98c490ee0f802a127fdf149b9a114f77a5"+ integrity sha512-JSwNPgRYjIC4pIeOqLwWwfGj6iP1n5NE6kNBEbGx2V8H78xCPwx7QpNp9plaI30+W3cFEzJO7BIIsXE+dbtaGg==dependencies:"@types/cookiejar" "*""@types/node" "*"@@ -401,46 +401,46 @@"@types/simple-peer" "*""@types/ws@^7.2.1":- version "7.2.1"- resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.2.1.tgz#b800f2b8aee694e2b581113643e20d79dd3b8556"- integrity sha512-UEmRNbXFGvfs/sLncf01GuVv6U1mZP3Df0iXWx4kUlikJxbFyFADp95mDn1XDTE2mXpzzoHcKlfFcbytLq4vaA==+ version "7.2.2"+ resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.2.2.tgz#1bd2038bc80aea60f8a20b2dcf08602a72e65063"+ integrity sha512-oqnI3DbGCVI9zJ/WHdFo3CUE8jQ8CVQDUIKaDtlTcNeT4zs6UCg9Gvk5QrFx2QPkRszpM6yc8o0p4aGjCsTi+w==dependencies:"@types/node" "*""@typescript-eslint/eslint-plugin@^2.18.0":- version "2.18.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.18.0.tgz#f8cf272dfb057ecf1ea000fea1e0b3f06a32f9cb"- integrity sha512-kuO8WQjV+RCZvAXVRJfXWiJ8iYEtfHlKgcqqqXg9uUkIolEHuUaMmm8/lcO4xwCOtaw6mY0gStn2Lg4/eUXXYQ==+ version "2.21.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.21.0.tgz#a34de84a0791cae0357c4dda805c5b4e8203b6c6"+ integrity sha512-b5jjjDMxzcjh/Sbjuo7WyhrQmVJg0WipTHQgXh5Xwx10uYm6nPWqN1WGOsaNq4HR3Zh4wUx4IRQdDkCHwyewyw==dependencies:- "@typescript-eslint/experimental-utils" "2.18.0"+ "@typescript-eslint/experimental-utils" "2.21.0"eslint-utils "^1.4.3"functional-red-black-tree "^1.0.1"regexpp "^3.0.0"tsutils "^3.17.1"-"@typescript-eslint/[email protected]":- version "2.18.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.18.0.tgz#e4eab839082030282496c1439bbf9fdf2a4f3da8"- integrity sha512-J6MopKPHuJYmQUkANLip7g9I82ZLe1naCbxZZW3O2sIxTiq/9YYoOELEKY7oPg0hJ0V/AQ225h2z0Yp+RRMXhw==+"@typescript-eslint/[email protected]":+ version "2.21.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.21.0.tgz#71de390a3ec00b280b69138d80733406e6e86bfa"+ integrity sha512-olKw9JP/XUkav4lq0I7S1mhGgONJF9rHNhKFn9wJlpfRVjNo3PPjSvybxEldvCXnvD+WAshSzqH5cEjPp9CsBA==dependencies:"@types/json-schema" "^7.0.3"- "@typescript-eslint/typescript-estree" "2.18.0"+ "@typescript-eslint/typescript-estree" "2.21.0"eslint-scope "^5.0.0"-"@typescript-eslint/parser@^2.10.0":- version "2.18.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.18.0.tgz#d5f7fc1839abd4a985394e40e9d2454bd56aeb1f"- integrity sha512-SJJPxFMEYEWkM6pGfcnjLU+NJIPo+Ko1QrCBL+i0+zV30ggLD90huEmMMhKLHBpESWy9lVEeWlQibweNQzyc+A==+"@typescript-eslint/parser@^2.19.2":+ version "2.21.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.21.0.tgz#4f200995517c3d5fc5ef51b17527bc948992e438"+ integrity sha512-VrmbdrrrvvI6cPPOG7uOgGUFXNYTiSbnRq8ZMyuGa4+qmXJXVLEEz78hKuqupvkpwJQNk1Ucz1TenrRP90gmBg==dependencies:"@types/eslint-visitor-keys" "^1.0.0"- "@typescript-eslint/experimental-utils" "2.18.0"- "@typescript-eslint/typescript-estree" "2.18.0"+ "@typescript-eslint/experimental-utils" "2.21.0"+ "@typescript-eslint/typescript-estree" "2.21.0"eslint-visitor-keys "^1.1.0"-"@typescript-eslint/[email protected]":- version "2.18.0"- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.18.0.tgz#cfbd16ed1b111166617d718619c19b62764c8460"- integrity sha512-gVHylf7FDb8VSi2ypFuEL3hOtoC4HkZZ5dOjXvVjoyKdRrvXAOPSzpNRnKMfaUUEiSLP8UF9j9X9EDLxC0lfZg==+"@typescript-eslint/[email protected]":+ version "2.21.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.21.0.tgz#7e4be29f2e338195a2e8c818949ed0ff727cc943"+ integrity sha512-NC/nogZNb9IK2MEFQqyDBAciOT8Lp8O3KgAfvHx2Skx6WBo+KmDqlU3R9KxHONaijfTIKtojRe3SZQyMjr3wBw==dependencies:debug "^4.1.1"eslint-visitor-keys "^1.1.0"@@ -464,9 +464,9 @@ accepts@~1.3.4, accepts@~1.3.7:negotiator "0.6.2"acorn-jsx@^5.1.0:- version "5.1.0"- resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384"- integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==+ version "5.2.0"+ resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.2.0.tgz#4c66069173d6fdd68ed85239fc256226182b2ebe"+ integrity sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==acorn@^7.1.0:version "7.1.0"@@ -489,9 +489,9 @@ [email protected]:integrity sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=ajv@^6.10.0, ajv@^6.10.2, ajv@^6.5.5:- version "6.11.0"- resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.11.0.tgz#c3607cbc8ae392d8a5a536f25b21f8e5f3f87fe9"- integrity sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA==+ version "6.12.0"+ resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.0.tgz#06d60b96d87b8454a5adaba86e7854da629db4b7"+ integrity sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==dependencies:fast-deep-equal "^3.1.1"fast-json-stable-stringify "^2.0.0"@@ -589,9 +589,9 @@ are-we-there-yet@~1.1.2:readable-stream "^2.0.6"arg@^4.1.0, arg@^4.1.1:- version "4.1.2"- resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.2.tgz#e70c90579e02c63d80e3ad4e31d8bfdb8bd50064"- integrity sha512-+ytCkGcBtHZ3V2r2Z06AncYO8jz46UEamcspGoU8lHcEbpn6J77QK0vdWvChsclg/tM5XIJC5tnjmPp7Eq6Obg==+ version "4.1.3"+ resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089"+ integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==argparse@^1.0.7:version "1.0.10"@@ -667,9 +667,9 @@ async-lru@^1.1.1:lru "^3.1.0"async@>=0.2.9, async@^3.0.1, async@^3.1.0:- version "3.1.1"- resolved "https://registry.yarnpkg.com/async/-/async-3.1.1.tgz#dd3542db03de837979c9ebbca64ca01b06dc98df"- integrity sha512-X5Dj8hK1pJNC2Wzo2Rcp9FBVdJMGRR/S7V+lH46s8GVFhtbo5O4Le5GECCF/8PISVdkUA6mMPvgz7qTTD1rf1g==+ version "3.2.0"+ resolved "https://registry.yarnpkg.com/async/-/async-3.2.0.tgz#b3a2685c5ebb641d3de02d161002c60fc9f85720"+ integrity sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==async@^2.6.1:version "2.6.3"@@ -752,13 +752,13 @@ bcrypt-pbkdf@^1.0.0:dependencies:tweetnacl "^0.14.3"- version "3.0.7"- resolved "https://registry.yarnpkg.com/bcrypt/-/bcrypt-3.0.7.tgz#1187d29df2e1cde44268152b13e3d4a655a7c7de"- integrity sha512-K5UglF9VQvBMHl/1elNyyFvAfOY9Bj+rpKrCSR9sFwcW8FywAYJSRwTURNej5TaAK2TEJkcJ6r6lh1YPmspx5Q==+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/bcrypt/-/bcrypt-4.0.0.tgz#c973832823c45d6d5cbcd943f5f07dde546df252"+ integrity sha512-UroxVJgmpeek3uxjY0IgtVtegM8EQqSLXnc5HE59m388MGZr0wPpRBqKJTaTraY3YEJOo1XIczExiEY9eeOCmg==dependencies:- nan "2.14.0"- node-pre-gyp "0.13.0"+ node-addon-api "^2.0.0"+ node-pre-gyp "0.14.0"bencode@^2.0.0:version "2.0.1"@@ -918,7 +918,7 @@ [email protected], body-parser@^1.12.4:raw-body "2.4.0"type-is "~1.6.17"-bowser@^2.7.0:version "2.9.0"resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.9.0.tgz#3bed854233b419b9a7422d9ee3e85504373821c9"integrity sha512-2ld76tuLBNFekRgmJfT2+3j5MIrP6bFict8WAIT3beq+srz1gcKNAdNKMqHqauQt63NmAa88HfP1/Ypa9Er3HA==@@ -997,20 +997,20 @@ bufferutil@^4.0.0:node-gyp-build "~3.7.0"bull@^3.4.2:- version "3.12.1"- resolved "https://registry.yarnpkg.com/bull/-/bull-3.12.1.tgz#ced62d0afca81c9264b44f1b6f39243df5d2e73f"- integrity sha512-X3bSP7gTqPXLYVSyUtQuTOqZuU0GwVbV304Et84Z8bxYP60R1VD3FUOLsESVRA9LIUEOWVH3hE8MFqlszmO0Gw==+ version "3.13.0"+ resolved "https://registry.yarnpkg.com/bull/-/bull-3.13.0.tgz#232935f9a5c0c87be6eb2aa95e434ff115bacd7a"+ integrity sha512-nP8ICMNHGYDNt6cgPqBPm90n57xA+/Om2wI2EGEOIJtWutjrYt8JAWiiFYjZKrly9UkKlrfG9qgOCwFFdS5xaw==dependencies:cron-parser "^2.13.0"debuglog "^1.0.0"- get-port "^5.0.0"+ get-port "^5.1.1"ioredis "^4.14.1"lodash "^4.17.15"- p-timeout "^3.1.0"- promise.prototype.finally "^3.1.1"+ p-timeout "^3.2.0"+ promise.prototype.finally "^3.1.2"semver "^6.3.0"- util.promisify "^1.0.0"- uuid "^3.3.3"+ util.promisify "^1.0.1"+ uuid "^3.4.0"busboy@^0.2.11:version "0.2.14"@@ -1174,9 +1174,9 @@ chokidar@^3.2.2:fsevents "~2.1.2"chownr@^1.1.1, chownr@^1.1.3:- version "1.1.3"- resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142"- integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==+ version "1.1.4"+ resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"+ integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==chrome-dgram@^3.0.2:version "3.0.4"@@ -1375,9 +1375,9 @@ commander@^2.20.0, commander@^2.7.1:integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==commander@^4.0.1:- version "4.1.0"- resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.0.tgz#545983a0603fe425bc672d66c9e3c89c42121a83"- integrity sha512-NIQrwvv9V39FHgGFm36+U9SMQzbiHvU79k+iADraJTpmrFFfx7Ds0IvDoAdZsDrknlkRk14OYoWXb57uTh7/sw==+ version "4.1.1"+ resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"+ integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==compact2string@^1.2.0:version "1.4.1"@@ -1437,9 +1437,9 @@ concurrently@^5.0.0:yargs "^13.3.0"config@^3.0.0:- version "3.2.5"- resolved "https://registry.yarnpkg.com/config/-/config-3.2.5.tgz#ab10ab88b61a873fbf9a5f0c6b4a22750422f243"- integrity sha512-8itpjyR01lAJanhAlPncBngYRZez/LoRLW8wnGi+6SEcsUyA1wvHvbpIrAJYDJT+W9BScnj4mYoUgbtp9I+0+Q==+ version "3.3.0"+ resolved "https://registry.yarnpkg.com/config/-/config-3.3.0.tgz#574deb6ff1438807b7ecf6dbad20dd32dd5655ab"+ integrity sha512-Xw++JjmYOLLX2HaYpySAveO8a9o+Af0jpDdEt1st8xtLeZI0bDfNsI90DGFyE/7mNnEjHiI8ivp/PieM6ODtdw==dependencies:json5 "^1.0.1"@@ -1621,9 +1621,9 @@ [email protected]:integrity sha1-bYCcnNDPe7iVLYD8hPoT1H3bEwg=date-fns@^2.0.1:- version "2.9.0"- resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.9.0.tgz#d0b175a5c37ed5f17b97e2272bbc1fa5aec677d2"- integrity sha512-khbFLu/MlzLjEzy9Gh8oY1hNt/Dvxw3J6Rbc28cVoYWQaC1S3YI4xwkF9ZWcjDLscbZlY9hISMr66RFzZagLsA==+ version "2.10.0"+ resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.10.0.tgz#abd10604d8bafb0bcbd2ba2e9b0563b922ae4b6b"+ integrity sha512-EhfEKevYGWhWlZbNeplfhIU/+N+x0iCIx7VzKlXma2EdQyznVlZhCptXUY+BegNpPW2kjdx15Rvq503YcXXrcA==[email protected], debug@^2.2.0, debug@^2.6.9:version "2.6.9"@@ -1721,7 +1721,7 @@ delegates@^1.0.0:resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=-denque@^1.1.0:+denque@^1.1.0, denque@^1.4.1:version "1.4.1"resolved "https://registry.yarnpkg.com/denque/-/denque-1.4.1.tgz#6744ff7641c148c3f8a69c307e51235c1f4a37cf"integrity sha512-OfzPuSZKGcgr96rf1oODnfjqBFmr1DVoc/TrItj3Ohe0Ah1C5WX5Baquw/9U9KovnQ88EqmJbD66rKYUQYN1tQ==@@ -1810,11 +1810,6 @@ dottie@^2.0.0:resolved "https://registry.yarnpkg.com/dottie/-/dottie-2.0.2.tgz#cc91c0726ce3a054ebf11c55fbc92a7f266dd154"integrity sha512-fmrwR04lsniq/uSr8yikThDTrM7epXHBAAjH9TbeH3rEA8tdCO7mRzB9hdmdGyJCxF8KERo9CITcm3kGuoyMhg==-double-ended-queue@^2.1.0-0:- version "2.1.0-0"- resolved "https://registry.yarnpkg.com/double-ended-queue/-/double-ended-queue-2.1.0-0.tgz#103d3527fd31528f40188130c841efdd78264e5c"- integrity sha1-ED01J/0xUo9AGIEwyEHv3XgmTlw=-duplexer3@^0.1.4:version "0.1.4"resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"@@ -2041,12 +2036,12 @@ [email protected], escape-string-regexp@^1.0.5, escape-string-regexp@~1resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=-eslint-config-standard-with-typescript@^12.0.1:- version "12.0.1"- resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-12.0.1.tgz#60f941a3a942b50393715ca336e1c7ba76e3ab04"- integrity sha512-v0DDNzsb36Oun3N04Y27Ca9DfF+S9Orrdtqa5anUUpwIu/MMqCRxYAcKdD0Uao+Gzqz9EjaFYjBKZCPFyXH5jw==+eslint-config-standard-with-typescript@^14.0.0:+ version "14.0.0"+ resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-14.0.0.tgz#8952df9673eed1ffe59e82859002d540120bf547"+ integrity sha512-SDmsqQWqu4h62rvWCBFsntdnXJgmZyLjsmgYfzQCPAkBfEEKrobr5DDW0mquVZ3j1hcyzhbrPmX3VNJRYBPHFw==dependencies:- "@typescript-eslint/parser" "^2.10.0"+ "@typescript-eslint/parser" "^2.19.2"eslint-config-standard "^14.1.0"eslint-config-standard@^14.1.0:@@ -2203,9 +2198,9 @@ esprima@^4.0.0:integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==esquery@^1.0.1:- version "1.0.1"- resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708"- integrity sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.1.0.tgz#c5c0b66f383e7656404f86b31334d72524eddb48"+ integrity sha512-MxYW9xKmROWF672KqjO75sszsA8Mxhw06YFeS5VHlB98KDHbOSurm3ArsjO60Eaf3QmGMCP1yn+0JQkNLo/97Q==dependencies:estraverse "^4.0.0"@@ -2288,9 +2283,9 @@ express-oauth-server@^2.0.0:oauth2-server "3.0.0"express-rate-limit@^5.0.0:- version "5.0.0"- resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-5.0.0.tgz#9a6f4cacc388c1a1da7ba2f65db69f7395e9b04e"- integrity sha512-dhT57wqxfqmkOi4HM7NuT4Gd7gbUgSK2ocG27Y6lwm8lbOAw9XQfeANawGq8wLDtlGPO1ZgDj0HmKsykTxfFAg==+ version "5.1.1"+ resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-5.1.1.tgz#572e75c47ef890a6c9a3347f27bf3557d571f9ed"+ integrity sha512-puA1zcCx/quwWUOU6pT6daCt6t7SweD9wKChKhb+KSgFMKRwS81C224hiSAUANw/gnSHiwEhgozM/2ezEBZPeA==express-validator@^6.4.0:version "6.4.0"@@ -2403,9 +2398,9 @@ fecha@^2.3.3:integrity sha512-lUGBnIamTAwk4znq5BcqsDaxSmZ9nDVJaij6NvRt/Tg4R69gERA+otPKbS86ROw9nxVMw2/mp1fnaiWqbs6Sdg==figures@^3.0.0:- version "3.1.0"- resolved "https://registry.yarnpkg.com/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec"- integrity sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==+ version "3.2.0"+ resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"+ integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==dependencies:escape-string-regexp "^1.0.5"@@ -2526,9 +2521,9 @@ form-data@~2.3.2:mime-types "^2.1.12"formidable@^1.2.0:- version "1.2.1"- resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.2.1.tgz#70fb7ca0290ee6ff961090415f4b3df3d2082659"- integrity sha512-Fs9VRguL0gqGHkXS5GQiMCr1VhZBxz0JnJs4JmMp/2jL18Fmbzvv7vOFRU+U8TBkHEE/CX1qDXzJplVULgsLeg==+ version "1.2.2"+ resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.2.2.tgz#bf69aea2972982675f00865342b982986f6b8dd9"+ integrity sha512-V8gLm+41I/8kguQ4/o1D3RIHRmhYFG4pnNyonvua+40rqcEmT4+V71yaZ3B457xbbgCsCfjSPi65u/W6vK1U5Q==forwarded@~0.1.2:version "0.1.2"@@ -2638,7 +2633,7 @@ get-func-name@^2.0.0:resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41"integrity sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=-get-port@^5.0.0:+get-port@^5.1.1:version "5.1.1"resolved "https://registry.yarnpkg.com/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193"integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==@@ -2761,7 +2756,7 @@ har-schema@^2.0.0:resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=-har-validator@~5.1.0:+har-validator@~5.1.3:version "5.1.3"resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080"integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==@@ -2825,20 +2820,20 @@ [email protected]:resolved "https://registry.yarnpkg.com/helmet-crossdomain/-/helmet-crossdomain-0.4.0.tgz#5f1fe5a836d0325f1da0a78eaa5fd8429078894e"integrity sha512-AB4DTykRw3HCOxovD1nPR16hllrVImeFp5VBV9/twj66lJ2nU75DP8FPL0/Jp4jj79JhTfG+pFI2MD02kWJ+fA==- version "2.9.4"- resolved "https://registry.yarnpkg.com/helmet-csp/-/helmet-csp-2.9.4.tgz#801382bac98f2f88706dc5c89d95c7e31af3a4a9"- integrity sha512-qUgGx8+yk7Xl8XFEGI4MFu1oNmulxhQVTlV8HP8tV3tpfslCs30OZz/9uQqsWPvDISiu/NwrrCowsZBhFADYqg==+ version "2.9.5"+ resolved "https://registry.yarnpkg.com/helmet-csp/-/helmet-csp-2.9.5.tgz#ea1ebec6d481e8f9aa5f48cc4ca2714e031f627d"+ integrity sha512-w9nps5adqFQwgktVPDbXkARmZot/nr8aegzQas9AXdBSwBFBBefPpDSTV0wtgHlAUdDwY6MZo7qAl9yts3ppJg==dependencies:- bowser "^2.7.0"+ bowser "2.9.0"camelize "1.0.0"content-security-policy-builder "2.1.0"dasherize "2.0.0"helmet@^3.12.1:- version "3.21.2"- resolved "https://registry.yarnpkg.com/helmet/-/helmet-3.21.2.tgz#7e2a19d5f6d898a77b5d2858e8e4bb2cda59f19f"- integrity sha512-okUo+MeWgg00cKB8Csblu8EXgcIoDyb5ZS/3u0W4spCimeVuCUvVZ6Vj3O2VJ1Sxpyb8jCDvzu0L1KKT11pkIg==+ version "3.21.3"+ resolved "https://registry.yarnpkg.com/helmet/-/helmet-3.21.3.tgz#15777aae82a4d2678c104fd18195a4012f429b67"+ integrity sha512-8OjGNdpG3WQhPO71fSy2fT4X3FSNutU1LDeAf+YS+Vil6r+fE7w8per5mNed6egGYbZl3QhKXgFzMYSwys+YQw==dependencies:depd "2.0.0"dns-prefetch-control "0.2.0"@@ -2847,7 +2842,7 @@ helmet@^3.12.1:feature-policy "0.3.0"frameguard "3.1.0"helmet-crossdomain "0.4.0"- helmet-csp "2.9.4"+ helmet-csp "2.9.5"hide-powered-by "1.1.0"hpkp "2.0.0"hsts "2.2.0"@@ -2869,9 +2864,9 @@ [email protected]:integrity sha512-Io1zA2yOA1YJslkr+AJlWSf2yWFkKjvkcL9Ni1XSUqnGLr/qRQe2UI3Cn/J9MsJht7yEVCe0SscY1HgVMujbgg==hosted-git-info@^2.1.4:- version "2.8.5"- resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c"- integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==+ version "2.8.7"+ resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.7.tgz#4d2e0d5248e1cfabc984b0f6a6d75fe36e679511"+ integrity sha512-ChkjQtKJ3GI6SsI4O5jwr8q8EPrWCnxuc4Tbx+vRI5x6mDOpjKKltNo1lRlszw3xwgTOSns1ZRBiMmmwpcvLxg==version "2.0.0"@@ -2920,10 +2915,10 @@ http-parser-js@^0.4.3:resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.13.tgz#3bd6d6fde6e3172c9334c3b33b6c193d80fe1137"integrity sha1-O9bW/ebjFyyTNMOzO2wZPYD+ETc=- version "1.3.1"- resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.3.1.tgz#739fe2f8897ba84798e3e54b699a9008a8724ff9"- integrity sha512-Y29YKEc8MQsjch/VzkUVJ+2MXd9WcR42fK5u36CZf4G8bXw2DXMTWuESiB0R6m59JAWxlPPw5/Fri/t/AyyueA==+ version "1.3.2"+ resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.3.2.tgz#ae5ebf18631967a2ba660283606e336c0207c950"+ integrity sha512-sjgXeFLIVJ54n1+HWOvazGkIQpaawFGIQ1PYPORaFNWpPHJ28ZuDgWljvMIhAIcOelTtrh9e5wVB3IorxjiZDA==dependencies:assert-plus "^1.0.0"jsprim "^1.2.2"@@ -3060,9 +3055,9 @@ inquirer@^7.0.0:through "^2.3.6"ioredis@^4.14.1:- version "4.14.1"- resolved "https://registry.yarnpkg.com/ioredis/-/ioredis-4.14.1.tgz#b73ded95fcf220f106d33125a92ef6213aa31318"- integrity sha512-94W+X//GHM+1GJvDk6JPc+8qlM7Dul+9K+lg3/aHixPN7ZGkW6qlvX0DG6At9hWtH2v3B32myfZqWoANUJYGJA==+ version "4.16.0"+ resolved "https://registry.yarnpkg.com/ioredis/-/ioredis-4.16.0.tgz#44d51288e20da14e5b6f687b2db0312e69106556"+ integrity sha512-tlalhtuvnxXJNtrPjec1nGicuOCpi9ErYV/fRfwaWSzktX9ESrzHlcFwj1pVAL326E8dmt7h9pPQZyyVPPksRA==dependencies:cluster-key-slot "^1.1.0"debug "^4.1.1"@@ -3096,11 +3091,6 @@ ip@^1.0.1, ip@^1.1.3:resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=- version "1.9.0"- resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65"- integrity sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==-[email protected], "ipaddr.js@>= 0.1.5", ipaddr.js@^1.0.1:version "1.9.1"resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3"@@ -3566,12 +3556,12 @@ lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15:resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==- version "2.2.0"- resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"- integrity sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-3.0.0.tgz#f3a08516a5dea893336a7dee14d18a1cfdab77c4"+ integrity sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==dependencies:- chalk "^2.0.1"+ chalk "^2.4.2"logform@^2.1.1:version "2.1.2"@@ -3661,9 +3651,9 @@ make-dir@^1.0.0:pify "^3.0.0"make-error@^1.1.1:- version "1.3.5"- resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8"- integrity sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==+ version "1.3.6"+ resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"+ integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==marked-man@^0.7.0:version "0.7.0"@@ -3760,9 +3750,9 @@ mimic-fn@^2.1.0:integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==mimic-response@^2.0.0:- version "2.0.0"- resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.0.0.tgz#996a51c60adf12cb8a87d7fb8ef24c2f3d5ebb46"- integrity sha512-8ilDoEapqA4uQ3TwS0jakGONKXVJqpy+RpM+3b7pLdOjghCrEiGp9SRkFbUHAmZW9vdnrENWHjaweIoTIJExSQ==+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.1.0.tgz#d13763d35f613d09ec37ebb30bac0469c0ee8f43"+ integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA==[email protected], minimatch@^3.0.4:version "3.0.4"@@ -3818,20 +3808,25 @@ [email protected], [email protected], mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1:dependencies:minimist "0.0.8"+mkdirp@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.3.tgz#4cf2e30ad45959dddea53ad97d518b6c8205e1ea"+ integrity sha512-6uCP4Qc0sWsgMLy1EOqqS/3rjDHOEnsStVr/4vtAIK2Y5i2kA7lFFejYrpIyiN9w0pYf4ckeCYT9f1r1P9KX5g==+mocha-parallel-tests@^2.2.1:- version "2.2.2"- resolved "https://registry.yarnpkg.com/mocha-parallel-tests/-/mocha-parallel-tests-2.2.2.tgz#4a45dcf77961def902eb8fec387268c0431e61ea"- integrity sha512-TeakNjchBtm18EHi14keQPdHHwgXGIuDowh9BeelfImvZ36n2l1HRAs61PJWPinzG6HV34myUc3pYZCbysyOCw==+ version "2.3.0"+ resolved "https://registry.yarnpkg.com/mocha-parallel-tests/-/mocha-parallel-tests-2.3.0.tgz#92d5cf0a3c9ba71b1a9c08a7b56194c023a58de1"+ integrity sha512-GdU55VkOCXK2aBmjFzBE11RsSolA71WJppucU3BrTbMUpGIWnTidrje5Hvdr+hOolynEiv6fHWyoNT41mq4HkA==dependencies:circular-json "^0.5.9"debug "^4.1.1"- uuid "^3.3.2"- yargs "^13.2.4"+ uuid "^3.4.0"+ yargs "^13.3.0"mocha@^7.0.0:- version "7.0.1"- resolved "https://registry.yarnpkg.com/mocha/-/mocha-7.0.1.tgz#276186d35a4852f6249808c6dd4a1376cbf6c6ce"- integrity sha512-9eWmWTdHLXh72rGrdZjNbG3aa1/3NRPpul1z0D979QpEnFdCG0Q5tv834N+94QEN2cysfV72YocQ3fn87s70fg==+ version "7.1.0"+ resolved "https://registry.yarnpkg.com/mocha/-/mocha-7.1.0.tgz#c784f579ad0904d29229ad6cb1e2514e4db7d249"+ integrity sha512-MymHK8UkU0K15Q/zX7uflZgVoRWiTjy0fXE/QjKts6mowUvGxOdPhZ2qj3b0iZdUrNZlW9LAIMFHB4IW+2b3EQ==dependencies:ansi-colors "3.2.3"browser-stdout "1.3.1"@@ -3844,7 +3839,7 @@ mocha@^7.0.0:growl "1.10.5"he "1.2.0"js-yaml "3.13.1"- log-symbols "2.2.0"+ log-symbols "3.0.0"minimatch "3.0.4"mkdirp "0.5.1"ms "2.1.1"@@ -3859,9 +3854,9 @@ mocha@^7.0.0:yargs-unparser "1.6.0"moment-timezone@^0.5.21, moment-timezone@^0.5.25:- version "0.5.27"- resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.27.tgz#73adec8139b6fe30452e78f210f27b1f346b8877"- integrity sha512-EIKQs7h5sAsjhPCqN6ggx6cEbs94GK050254TIJySD1bzoM5JTYDwAU1IoVOeTOL6Gm27kYJ51/uuvq1kIlrbw==+ version "0.5.28"+ resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.28.tgz#f093d789d091ed7b055d82aa81a82467f72e4338"+ integrity sha512-TDJkZvAyKIVWg5EtVqRzU97w0Rb0YVbfpqyjgu6GwXCAohVRqwZjf4fOzDE6p1Ch98Sro/8hQQi65WDXW5STPw==dependencies:moment ">= 2.9.0"@@ -3938,7 +3933,7 @@ [email protected], mute-stream@~0.0.4:resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==[email protected], nan@^2.14.0, nan@~2.14.0:+nan@^2.14.0, nan@~2.14.0:version "2.14.0"resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==@@ -3959,9 +3954,9 @@ [email protected]:integrity sha1-0VNn5cuHQyuhF9K/gP30Wuz7QkY=needle@^2.2.1:- version "2.4.0"- resolved "https://registry.yarnpkg.com/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c"- integrity sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg==+ version "2.3.2"+ resolved "https://registry.yarnpkg.com/needle/-/needle-2.3.2.tgz#3342dea100b7160960a450dc8c22160ac712a528"+ integrity sha512-DUzITvPVDUy6vczKKYTnWc/pBZ0EnjMJnQ3y+Jo5zfKFimJs7S3HFCxCRZYB9FUZcrzUQr3WsmvZgddMEIZv6w==dependencies:debug "^3.2.6"iconv-lite "^0.4.4"@@ -3982,7 +3977,12 @@ next-event@^1.0.0:resolved "https://registry.yarnpkg.com/next-event/-/next-event-1.0.0.tgz#e7778acde2e55802e0ad1879c39cf6f75eda61d8"integrity sha1-53eKzeLlWALgrRh5w5z2917aYdg=-next-tick@1, next-tick@~1.0.0:+next-tick@1:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb"+ integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==++next-tick@~1.0.0:version "1.0.0"resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"integrity sha1-yobR/ogoFpsBICCOPchCS524NCw=@@ -3998,12 +3998,17 @@ [email protected]:integrity sha512-0L9FvHG3nfnnmaEQPjT9xhfN4ISk0A8/2j4M37Np4mcDesJjHgEUfgPhdCyZuFI954tjokaIj/A3NdpFNdEh4Q==node-abi@^2.7.0:- version "2.13.0"- resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.13.0.tgz#e2f2ec444d0aca3ea1b3874b6de41d1665828f63"- integrity sha512-9HrZGFVTR5SOu3PZAnAY2hLO36aW1wmA+FDsVkr85BTST32TLCA1H/AEcatVRAsWLyXS3bqUDYCAjq5/QGuSTA==+ version "2.15.0"+ resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.15.0.tgz#51d55cc711bd9e4a24a572ace13b9231945ccb10"+ integrity sha512-FeLpTS0F39U7hHZU1srAK4Vx+5AHNVOTP+hxBNQknR/54laTHSFIJkDWDqiquY1LeLUgTfPN7sLPhMubx0PLAg==dependencies:semver "^5.4.1"+node-addon-api@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.0.tgz#f9afb8d777a91525244b01775ea0ddbe1125483b"+ integrity sha512-ASCL5U13as7HhOExbT6OlWJJUV/lLzL2voOSP1UVehpRD8FbSrSDjfScK/KwAvVTI5AS6r4VwbOMlIqtvRidnA==+version "1.0.6"resolved "https://registry.yarnpkg.com/node-environment-flags/-/node-environment-flags-1.0.6.tgz#a30ac13621f6f7d674260a54dede048c3982c088"@@ -4022,10 +4027,10 @@ node-gyp-build@~3.7.0:resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-3.7.0.tgz#daa77a4f547b9aed3e2aac779eaf151afd60ec8d"integrity sha512-L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w==- version "0.13.0"- resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.13.0.tgz#df9ab7b68dd6498137717838e4f92a33fc9daa42"- integrity sha512-Md1D3xnEne8b/HGVQkZZwV27WUi1ZRuZBij24TNaZwUPU3ZAFtvT6xxJGaUVillfmMKnn5oD1HoGsp2Ftik7SQ==+ version "0.14.0"+ resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83"+ integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA==dependencies:detect-libc "^1.0.2"mkdirp "^0.5.1"@@ -4036,7 +4041,7 @@ [email protected]:rc "^1.2.7"rimraf "^2.6.1"semver "^5.3.0"- tar "^4"+ tar "^4.4.2"node-pre-gyp@~0.11.0:version "0.11.0"@@ -4065,9 +4070,9 @@ nodemailer@^3.1.1:integrity sha1-/r+sy0vSc2eEc6MJxstLSi88SOM=nodemailer@^6.0.0:- version "6.4.2"- resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-6.4.2.tgz#7147550e32cdc37453380ab78d2074533966090a"- integrity sha512-g0n4nH1ONGvqYo1v72uSWvF/MRNnnq1LzmSzXb/6EPF3LFb51akOhgG3K2+aETAsJx90/Q5eFNTntu4vBCwyQQ==+ version "6.4.3"+ resolved "https://registry.yarnpkg.com/nodemailer/-/nodemailer-6.4.3.tgz#10d29195fb020e3297495bcba39d3519b23483f3"+ integrity sha512-zmx4MTzYWQo2abFexvFYVURaiBGLekoA/yjP2Ctigd82hYtC4n38pcphQBi805t7AB2sY6DwmxnP/tb77f3KHA==nodemon@^2.0.1:version "2.0.2"@@ -4363,7 +4368,7 @@ p-locate@^4.1.0:dependencies:p-limit "^2.2.0"-p-timeout@^3.1.0:+p-timeout@^3.2.0:version "3.2.0"resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe"integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==@@ -4584,9 +4589,9 @@ pg-types@^2.1.0:postgres-interval "^1.1.0"pg@^7.4.1:- version "7.18.1"- resolved "https://registry.yarnpkg.com/pg/-/pg-7.18.1.tgz#67f59c47a99456fcb34f9fe53662b79d4a992f6d"- integrity sha512-1KtKBKg/zWrjEEv//klBbVOPGucuc7HHeJf6OEMueVcUeyF3yueHf+DvhVwBjIAe9/97RAydO/lWjkcMwssuEw==+ version "7.18.2"+ resolved "https://registry.yarnpkg.com/pg/-/pg-7.18.2.tgz#4e219f05a00aff4db6aab1ba02f28ffa4513b0bb"+ integrity sha512-Mvt0dGYMwvEADNKy5PMQGlzPudKcKKzJds/VbOeZJpb6f/pI3mmoXX0JksPgI3l3JPP/2Apq7F36O63J7mgveA==dependencies:buffer-writer "2.0.0"packet-reader "1.0.0"@@ -4704,7 +4709,7 @@ progress@^2.0.0:resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==-promise.prototype.finally@^3.1.1:+promise.prototype.finally@^3.1.2:version "3.1.2"resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-3.1.2.tgz#b8af89160c9c673cefe3b4c4435b53cfd0287067"integrity sha512-A2HuJWl2opDH0EafgdjwEw7HysI8ff/n4lW4QEVBCUXFk9QeGecBWv0Deph0UmLe3tTNYegz8MOjsVuE6SMoJA==@@ -4735,19 +4740,19 @@ prompt@^1.0.0:winston "2.1.x"proxy-addr@~2.0.5:- version "2.0.5"- resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.5.tgz#34cbd64a2d81f4b1fd21e76f9f06c8a45299ee34"- integrity sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==+ version "2.0.6"+ resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.6.tgz#fdc2336505447d3f2f2c638ed272caf614bbb2bf"+ integrity sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==dependencies:forwarded "~0.1.2"- ipaddr.js "1.9.0"+ ipaddr.js "1.9.1"pseudomap@^1.0.2:version "1.0.2"resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM=-psl@^1.1.24:+psl@^1.1.28:version "1.7.0"resolved "https://registry.yarnpkg.com/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c"integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ==@@ -4782,12 +4787,7 @@ pumpify@^1.3.3:inherits "^2.0.3"pump "^2.0.0"-punycode@^1.4.1:- version "1.4.1"- resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"- integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=--punycode@^2.1.0:+punycode@^2.1.0, punycode@^2.1.1:version "2.1.1"resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==@@ -4821,9 +4821,9 @@ random-access-file@^2.0.1:random-access-storage "^1.1.1"random-access-storage@^1.1.1:- version "1.4.0"- resolved "https://registry.yarnpkg.com/random-access-storage/-/random-access-storage-1.4.0.tgz#cbe5b5ccfb38680aac7b78a050d9f0a5ef36841f"- integrity sha512-7oszloM/+PdqWp/oFGyL6SeI14liqo8AAisHAZQGkWdHISyAnngKjNPL0JYIazeLxbHPY6oed2yUffowdq/o6A==+ version "1.4.1"+ resolved "https://registry.yarnpkg.com/random-access-storage/-/random-access-storage-1.4.1.tgz#39a524dd428ade9161ce61a8ae677766e6117ffb"+ integrity sha512-DbCc2TIzOxPaHF6KCbr8zLtiYOJQQQCBHUVNHV/SckUQobCBB2YkDtbLdxGnPwPNpJfEyMWxDAm36A2xkbxxtw==dependencies:inherits "^2.0.3"@@ -4946,9 +4946,9 @@ readable-stream@^2.0.0, readable-stream@^2.0.6, readable-stream@^2.2.2, readableutil-deprecate "~1.0.1"readable-stream@^3.0.0, readable-stream@^3.0.1, readable-stream@^3.0.2, readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0:- version "3.5.0"- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.5.0.tgz#465d70e6d1087f6162d079cd0b5db7fbebfd1606"- integrity sha512-gSz026xs2LfxBPudDuI41V1lka8cxg64E66SGe78zJlsUofOg/yqwezdIcdfwik6B4h8LFmWPA9ef9X3FiNFLA==+ version "3.6.0"+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"+ integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==dependencies:inherits "^2.0.3"string_decoder "^1.1.1"@@ -4980,7 +4980,7 @@ record-cache@^1.0.2:resolved "https://registry.yarnpkg.com/record-cache/-/record-cache-1.1.0.tgz#f8a467a691a469584b26e88d36b18afdb3932037"integrity sha512-u8rbtLEJV7HRacl/ZYwSBFD8NFyB3PfTTfGLP37IW3hftQCwu6z4Q2RLyxo1YJUNRTEzJfpLpGwVuEYdaIkG9Q==[email protected], redis-commands@^1.2.0:[email protected], redis-commands@^1.5.0:version "1.5.0"resolved "https://registry.yarnpkg.com/redis-commands/-/redis-commands-1.5.0.tgz#80d2e20698fe688f227127ff9e5164a7dd17e785"integrity sha512-6KxamqpZ468MeQC3bkWmCB1fp56XL64D4Kf0zJSwDZbVLLm7KFkoIcHrgRvQ+sk8dnhySs7+yBg94yIkAK7aJg==@@ -4990,11 +4990,6 @@ redis-errors@^1.0.0, redis-errors@^1.2.0:resolved "https://registry.yarnpkg.com/redis-errors/-/redis-errors-1.2.0.tgz#eb62d2adb15e4eaf4610c04afe1529384250abad"integrity sha1-62LSrbFeTq9GEMBK/hUpOEJQq60=-redis-parser@^2.6.0:- version "2.6.0"- resolved "https://registry.yarnpkg.com/redis-parser/-/redis-parser-2.6.0.tgz#52ed09dacac108f1a631c07e9b69941e7a19504b"- integrity sha1-Uu0J2srBCPGmMcB+m2mUHnoZUEs=-redis-parser@^3.0.0:version "3.0.0"resolved "https://registry.yarnpkg.com/redis-parser/-/redis-parser-3.0.0.tgz#b66d828cdcafe6b4b8a428a7def4c6bcac31c8b4"@@ -5002,14 +4997,15 @@ redis-parser@^3.0.0:dependencies:redis-errors "^1.0.0"-redis@^2.8.0:- version "2.8.0"- resolved "https://registry.yarnpkg.com/redis/-/redis-2.8.0.tgz#202288e3f58c49f6079d97af7a10e1303ae14b02"- integrity sha512-M1OkonEQwtRmZv4tEWF2VgpG0JWJ8Fv1PhlgT5+B+uNq2cA3Rt1Yt/ryoR+vQNOQcIEgdCdfH0jr3bDpihAw1A==+redis@^3.0.2:+ version "3.0.2"+ resolved "https://registry.yarnpkg.com/redis/-/redis-3.0.2.tgz#bd47067b8a4a3e6a2e556e57f71cc82c7360150a"+ integrity sha512-PNhLCrjU6vKVuMOyFu7oSP296mwBkcE6lrAjruBYG5LgdSqtRBoVQIylrMyVZD/lkF24RSNNatzvYag6HRBHjQ==dependencies:- double-ended-queue "^2.1.0-0"- redis-commands "^1.2.0"- redis-parser "^2.6.0"+ denque "^1.4.1"+ redis-commands "^1.5.0"+ redis-errors "^1.2.0"+ redis-parser "^3.0.0"version "1.2.0"@@ -5058,9 +5054,9 @@ render-media@^3.0.0:videostream "^3.2.0"request@^2.81.0, request@^2.88.0, request@~2.88.0:- version "2.88.0"- resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"- integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==+ version "2.88.2"+ resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"+ integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==dependencies:aws-sign2 "~0.7.0"aws4 "^1.8.0"@@ -5069,7 +5065,7 @@ request@^2.81.0, request@^2.88.0, request@~2.88.0:extend "~3.0.2"forever-agent "~0.6.1"form-data "~2.3.2"- har-validator "~5.1.0"+ har-validator "~5.1.3"http-signature "~1.2.0"is-typedarray "~1.0.0"isstream "~0.1.2"@@ -5079,7 +5075,7 @@ request@^2.81.0, request@^2.88.0, request@~2.88.0:performance-now "^2.1.0"qs "~6.5.2"safe-buffer "^5.1.2"- tough-cookie "~2.4.3"+ tough-cookie "~2.5.0"tunnel-agent "^0.6.0"uuid "^3.3.2"@@ -5111,9 +5107,9 @@ resolve-pkg@^1.0.0:resolve-from "^2.0.0"resolve@^1.10.0, resolve@^1.10.1, resolve@^1.12.0, resolve@^1.13.1:- version "1.15.0"- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.0.tgz#1b7ca96073ebb52e741ffd799f6b39ea462c67f5"- integrity sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw==+ version "1.15.1"+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8"+ integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==dependencies:path-parse "^1.0.6"@@ -5152,16 +5148,16 @@ [email protected], rimraf@^2.6.1, rimraf@^2.6.3:glob "^7.1.3"rimraf@^3.0.0:- version "3.0.1"- resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.1.tgz#48d3d4cb46c80d388ab26cd61b1b466ae9ae225a"- integrity sha512-IQ4ikL8SjBiEDZfk+DFVwqRK8md24RWMEJkdSlgNLkyyAImcjf8SWvU1qFMDOb4igBClbTQ/ugPqXcRwdFTxZw==+ version "3.0.2"+ resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"+ integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==dependencies:glob "^7.1.3"run-async@^2.2.0:- version "2.3.0"- resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0"- integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA=+ version "2.4.0"+ resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.0.tgz#e59054a5b86876cfae07f431d18cbaddc594f1e8"+ integrity sha512-xJTbh/d7Lm7SBhc1tNvTpeCHaEzoyxPrqNlvSdMfBTYwaY++UJFyXUOxAtsRUXjlqOfj8luNaR9vjCh4KeV+pg==dependencies:is-promise "^2.1.0"@@ -5244,10 +5240,10 @@ semver@^6.1.0, semver@^6.1.2, semver@^6.3.0:resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==-semver@^7.1.1:- version "7.1.2"- resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.2.tgz#847bae5bce68c5d08889824f02667199b70e3d87"- integrity sha512-BJs9T/H8sEVHbeigqzIEo57Iu/3DG6c4QoqTfbQB3BPA4zgzAomh/Fk9E7QtjWQ8mx2dgA9YCfSF4y9k9bHNpQ==+semver@^7.1.3:+ version "7.1.3"+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6"+ integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA==version "0.17.1"@@ -5280,10 +5276,10 @@ sequelize-typescript@^1.0.0-beta.4:dependencies:glob "7.1.2"- version "5.21.3"- resolved "https://registry.yarnpkg.com/sequelize/-/sequelize-5.21.3.tgz#f8a6fa0245f8995d70849e4da00c2c7c9aa9f569"- integrity sha512-ptdeAxwTY0zbj7AK8m+SH3z52uHVrt/qmOTSIGo/kyfnSp3h5HeKlywkJf5GEk09kuRrPHfWARVSXH1W3IGU7g==+ version "5.21.5"+ resolved "https://registry.yarnpkg.com/sequelize/-/sequelize-5.21.5.tgz#44056f3ab8862ccbfeebd5e03ce041c570477ea2"+ integrity sha512-n9hR5K4uQGmBGK/Y/iqewCeSFmKVsd0TRnh0tfoLoAkmXbKC4tpeK96RhKs7d+TTMtrJlgt2TNLVBaAxEwC4iw==dependencies:bluebird "^3.5.0"cls-bluebird "^2.1.0"@@ -5322,18 +5318,18 @@ [email protected]:integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==sharp@^0.24.0:- version "0.24.0"- resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.24.0.tgz#1200f4bb36ccc2bb36a78f0bcba0302cf1f7a5fd"- integrity sha512-kUtQE6+HJnNqO0H6ueOBtRXahktuqydIBaFMvhDelf/KaK9j/adEdjf4Y3+bbjYOa5i6hi2EAa2Y2G9umP4s2g==+ version "0.24.1"+ resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.24.1.tgz#f853f9f495dfde05d452179b4f9f31dfc400f4ca"+ integrity sha512-1Lph6o7D6bU8WrcbG/kT7cVzi2UBi2xrrBfS/WUaD+ZcGd4MZ7+LbtFoGwbMVJH95d5aziBGyExYF4Urm2pjOQ==dependencies:color "^3.1.2"detect-libc "^1.0.3"nan "^2.14.0"npmlog "^4.1.2"prebuild-install "^5.3.3"- semver "^7.1.1"+ semver "^7.1.3"simple-get "^3.1.0"- tar "^5.0.5"+ tar "^6.0.1"tunnel-agent "^0.6.0"shebang-command@^1.2.0:@@ -5949,7 +5945,7 @@ tar-stream@^2.0.0:inherits "^2.0.3"readable-stream "^3.1.1"-tar@^4:+tar@^4, tar@^4.4.2:version "4.4.13"resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==@@ -5962,16 +5958,16 @@ tar@^4:safe-buffer "^5.1.2"yallist "^3.0.3"-tar@^5.0.5:- version "5.0.5"- resolved "https://registry.yarnpkg.com/tar/-/tar-5.0.5.tgz#03fcdb7105bc8ea3ce6c86642b9c942495b04f93"- integrity sha512-MNIgJddrV2TkuwChwcSNds/5E9VijOiw7kAc1y5hTNJoLDSuIyid2QtLYiCYNnICebpuvjhPQZsXwUL0O3l7OQ==+tar@^6.0.1:+ version "6.0.1"+ resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.1.tgz#7b3bd6c313cb6e0153770108f8d70ac298607efa"+ integrity sha512-bKhKrrz2FJJj5s7wynxy/fyxpE0CmCjmOQ1KV4KkgXFWOgoIT/NbTMnB1n+LFNrNk0SSBVGGxcK5AGsyC+pW5Q==dependencies:chownr "^1.1.3"fs-minipass "^2.0.0"minipass "^3.0.0"minizlib "^2.1.0"- mkdirp "^0.5.0"+ mkdirp "^1.0.3"yallist "^4.0.0"term-size@^1.2.0:@@ -6110,13 +6106,13 @@ touch@^3.1.0:dependencies:nopt "~1.0.10"-tough-cookie@~2.4.3:- version "2.4.3"- resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"- integrity sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==+tough-cookie@~2.5.0:+ version "2.5.0"+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"+ integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==dependencies:- psl "^1.1.24"- punycode "^1.4.1"+ psl "^1.1.28"+ punycode "^2.1.1"traverse@>=0.2.4:version "0.6.6"@@ -6155,9 +6151,9 @@ tsconfig-paths@^3.9.0:strip-bom "^3.0.0"tslib@^1.8.1, tslib@^1.9.0:- version "1.10.0"- resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"- integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==+ version "1.11.1"+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35"+ integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==tsutils@^3.17.1:version "3.17.1"@@ -6244,9 +6240,9 @@ typedarray@^0.0.6:integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=typescript@^3.7.2:- version "3.7.5"- resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"- integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==+ version "3.8.2"+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a"+ integrity sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ==uint64be@^2.0.2:version "2.0.2"@@ -6256,9 +6252,9 @@ uint64be@^2.0.2:buffer-alloc "^1.1.0"undefsafe@^2.0.2:- version "2.0.2"- resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.2.tgz#225f6b9e0337663e0d8e7cfd686fc2836ccace76"- integrity sha1-Il9rngM3Zj4Njnz9aG/Cg2zKznY=+ version "2.0.3"+ resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.3.tgz#6b166e7094ad46313b2202da7ecc2cd7cc6e7aae"+ integrity sha512-nrXZwwXrD/T/JXeygJqdCO6NZZ1L66HrxM/Z7mIq2oPanoN0F1nLx3lwJMu6AwJY69hdixaFQOuoYsMjE5/C2A==dependencies:debug "^2.2.0"@@ -6363,7 +6359,7 @@ util-deprecate@^1.0.1, util-deprecate@~1.0.1:resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=-util.promisify@^1.0.0:+util.promisify@^1.0.1:version "1.0.1"resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.1.tgz#6baf7774b80eeb0f7520d8b81d07982a59abbaee"integrity sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==@@ -6398,11 +6394,16 @@ uue@^3.1.0:escape-string-regexp "~1.0.5"extend "~3.0.0"-uuid@^3.1.0, uuid@^3.3.2, uuid@^3.3.3:+uuid@^3.3.2, uuid@^3.3.3, uuid@^3.4.0:version "3.4.0"resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==+uuid@^7.0.1:+ version "7.0.1"+ resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.1.tgz#95ed6ff3d8c881cbf85f0f05cc3915ef994818ef"+ integrity sha512-yqjRXZzSJm9Dbl84H2VDHpM3zMjzSJQ+hn6C4zqd5ilW+7P4ZmLEEqwho9LjP+tGuZlF4xrHQXT0h9QZUS/pWA==+v8-compile-cache@^2.0.3:version "2.1.0"resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e"@@ -6752,7 +6753,7 @@ [email protected]:lodash "^4.17.15"yargs "^13.3.0"[email protected], yargs@^13.2.4, yargs@^13.3.0:[email protected], yargs@^13.3.0:version "13.3.0"resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83"integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==