Update server dependencies

This commit is contained in:
Chocobozzz 2022-03-21 14:20:47 +01:00
parent 439b6b7bfb
commit f4110e0a72
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
5 changed files with 1124 additions and 1051 deletions

View File

@ -78,7 +78,7 @@
},
"dependencies": {
"@aws-sdk/client-s3": "^3.23.0",
"@babel/parser": "7.17.0",
"@babel/parser": "7.17.8",
"@peertube/feed": "^5.0.1",
"@peertube/http-signature": "^1.4.0",
"@uploadx/core": "^5.0.0",
@ -97,7 +97,7 @@
"cors": "^2.8.1",
"create-torrent": "^5.0.0",
"deep-object-diff": "^1.1.0",
"email-templates": "^8.0.3",
"email-templates": "^9.0.0",
"execa": "^5.1.1",
"express": "^4.12.4",
"express-rate-limit": "^6.1.0",
@ -117,7 +117,7 @@
"js-yaml": "^4.0.0",
"jsonld": "~5.2.0",
"lodash": "^4.17.10",
"lru-cache": "7.3.1",
"lru-cache": "7.7.1",
"magnet-uri": "^6.1.0",
"markdown-it": "^12.0.4",
"markdown-it-emoji": "^2.0.0",
@ -137,7 +137,7 @@
"redis": "^4.0.1",
"reflect-metadata": "^0.1.12",
"sanitize-html": "2.x",
"sequelize": "6.15.1",
"sequelize": "6.17.0",
"sequelize-typescript": "^2.0.0-beta.1",
"short-uuid": "^4.2.0",
"sitemap": "^7.0.0",
@ -150,7 +150,7 @@
"validator": "^13.0.0",
"webfinger.js": "^2.6.6",
"webtorrent": "^1.0.0",
"winston": "3.5.1",
"winston": "3.6.0",
"ws": "^8.0.0"
},
"devDependencies": {
@ -172,7 +172,7 @@
"@types/fluent-ffmpeg": "^2.1.16",
"@types/fs-extra": "^9.0.1",
"@types/lodash": "^4.14.64",
"@types/lru-cache": "^5.1.0",
"@types/lru-cache": "^7.5.0",
"@types/magnet-uri": "^5.1.1",
"@types/maildev": "^0.0.3",
"@types/memoizee": "^0.4.2",
@ -208,7 +208,7 @@
"socket.io-client": "^4.0.1",
"supertest": "^6.0.1",
"swagger-cli": "^4.0.2",
"ts-node": "10.5.0",
"ts-node": "10.7.0",
"tsc-watch": "^4.6.0",
"typescript": "^4.0.5"
},

View File

@ -1,4 +1,4 @@
import { Transaction } from 'sequelize/dist'
import { Transaction } from 'sequelize'
import { ACTIVITY_PUB } from '@server/initializers/constants'
import { ActorModel } from '@server/models/actor/actor'
import { VideoModel } from '@server/models/video/video'

View File

@ -1,4 +1,4 @@
import { createClient, RedisClientOptions, RedisModules } from 'redis'
import { createClient, RedisClientOptions, RedisModules, RedisScripts } from 'redis'
import { exists } from '@server/helpers/custom-validators/misc'
import { sha256 } from '@shared/extra-utils'
import { logger } from '../helpers/logger'
@ -18,7 +18,7 @@ import {
// Only used for typings
// TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed
const redisClientWrapperForType = () => createClient<{}>()
const redisClientWrapperForType = () => createClient<{}, RedisScripts>()
class Redis {

View File

@ -1,3 +1,4 @@
import { FindOptions } from 'sequelize'
import { AllowNull, BelongsTo, Column, CreatedAt, DataType, ForeignKey, Is, Model, Table, UpdatedAt } from 'sequelize-typescript'
import { isAbuseMessageValid } from '@server/helpers/custom-validators/abuses'
import { MAbuseMessage, MAbuseMessageFormattable } from '@server/types/models'
@ -6,7 +7,6 @@ import { AttributesOnly } from '@shared/typescript-utils'
import { AccountModel, ScopeNames as AccountScopeNames } from '../account/account'
import { getSort, throwIfNotValid } from '../utils'
import { AbuseModel } from './abuse'
import { FindOptions } from 'sequelize/dist'
@Table({
tableName: 'abuseMessage',

2153
yarn.lock

File diff suppressed because it is too large Load Diff