mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-11 21:47:09 +03:00
Update server dependencies
This commit is contained in:
parent
439b6b7bfb
commit
f4110e0a72
14
package.json
14
package.json
@ -78,7 +78,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "^3.23.0",
|
"@aws-sdk/client-s3": "^3.23.0",
|
||||||
"@babel/parser": "7.17.0",
|
"@babel/parser": "7.17.8",
|
||||||
"@peertube/feed": "^5.0.1",
|
"@peertube/feed": "^5.0.1",
|
||||||
"@peertube/http-signature": "^1.4.0",
|
"@peertube/http-signature": "^1.4.0",
|
||||||
"@uploadx/core": "^5.0.0",
|
"@uploadx/core": "^5.0.0",
|
||||||
@ -97,7 +97,7 @@
|
|||||||
"cors": "^2.8.1",
|
"cors": "^2.8.1",
|
||||||
"create-torrent": "^5.0.0",
|
"create-torrent": "^5.0.0",
|
||||||
"deep-object-diff": "^1.1.0",
|
"deep-object-diff": "^1.1.0",
|
||||||
"email-templates": "^8.0.3",
|
"email-templates": "^9.0.0",
|
||||||
"execa": "^5.1.1",
|
"execa": "^5.1.1",
|
||||||
"express": "^4.12.4",
|
"express": "^4.12.4",
|
||||||
"express-rate-limit": "^6.1.0",
|
"express-rate-limit": "^6.1.0",
|
||||||
@ -117,7 +117,7 @@
|
|||||||
"js-yaml": "^4.0.0",
|
"js-yaml": "^4.0.0",
|
||||||
"jsonld": "~5.2.0",
|
"jsonld": "~5.2.0",
|
||||||
"lodash": "^4.17.10",
|
"lodash": "^4.17.10",
|
||||||
"lru-cache": "7.3.1",
|
"lru-cache": "7.7.1",
|
||||||
"magnet-uri": "^6.1.0",
|
"magnet-uri": "^6.1.0",
|
||||||
"markdown-it": "^12.0.4",
|
"markdown-it": "^12.0.4",
|
||||||
"markdown-it-emoji": "^2.0.0",
|
"markdown-it-emoji": "^2.0.0",
|
||||||
@ -137,7 +137,7 @@
|
|||||||
"redis": "^4.0.1",
|
"redis": "^4.0.1",
|
||||||
"reflect-metadata": "^0.1.12",
|
"reflect-metadata": "^0.1.12",
|
||||||
"sanitize-html": "2.x",
|
"sanitize-html": "2.x",
|
||||||
"sequelize": "6.15.1",
|
"sequelize": "6.17.0",
|
||||||
"sequelize-typescript": "^2.0.0-beta.1",
|
"sequelize-typescript": "^2.0.0-beta.1",
|
||||||
"short-uuid": "^4.2.0",
|
"short-uuid": "^4.2.0",
|
||||||
"sitemap": "^7.0.0",
|
"sitemap": "^7.0.0",
|
||||||
@ -150,7 +150,7 @@
|
|||||||
"validator": "^13.0.0",
|
"validator": "^13.0.0",
|
||||||
"webfinger.js": "^2.6.6",
|
"webfinger.js": "^2.6.6",
|
||||||
"webtorrent": "^1.0.0",
|
"webtorrent": "^1.0.0",
|
||||||
"winston": "3.5.1",
|
"winston": "3.6.0",
|
||||||
"ws": "^8.0.0"
|
"ws": "^8.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -172,7 +172,7 @@
|
|||||||
"@types/fluent-ffmpeg": "^2.1.16",
|
"@types/fluent-ffmpeg": "^2.1.16",
|
||||||
"@types/fs-extra": "^9.0.1",
|
"@types/fs-extra": "^9.0.1",
|
||||||
"@types/lodash": "^4.14.64",
|
"@types/lodash": "^4.14.64",
|
||||||
"@types/lru-cache": "^5.1.0",
|
"@types/lru-cache": "^7.5.0",
|
||||||
"@types/magnet-uri": "^5.1.1",
|
"@types/magnet-uri": "^5.1.1",
|
||||||
"@types/maildev": "^0.0.3",
|
"@types/maildev": "^0.0.3",
|
||||||
"@types/memoizee": "^0.4.2",
|
"@types/memoizee": "^0.4.2",
|
||||||
@ -208,7 +208,7 @@
|
|||||||
"socket.io-client": "^4.0.1",
|
"socket.io-client": "^4.0.1",
|
||||||
"supertest": "^6.0.1",
|
"supertest": "^6.0.1",
|
||||||
"swagger-cli": "^4.0.2",
|
"swagger-cli": "^4.0.2",
|
||||||
"ts-node": "10.5.0",
|
"ts-node": "10.7.0",
|
||||||
"tsc-watch": "^4.6.0",
|
"tsc-watch": "^4.6.0",
|
||||||
"typescript": "^4.0.5"
|
"typescript": "^4.0.5"
|
||||||
},
|
},
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { Transaction } from 'sequelize/dist'
|
import { Transaction } from 'sequelize'
|
||||||
import { ACTIVITY_PUB } from '@server/initializers/constants'
|
import { ACTIVITY_PUB } from '@server/initializers/constants'
|
||||||
import { ActorModel } from '@server/models/actor/actor'
|
import { ActorModel } from '@server/models/actor/actor'
|
||||||
import { VideoModel } from '@server/models/video/video'
|
import { VideoModel } from '@server/models/video/video'
|
||||||
|
@ -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 { exists } from '@server/helpers/custom-validators/misc'
|
||||||
import { sha256 } from '@shared/extra-utils'
|
import { sha256 } from '@shared/extra-utils'
|
||||||
import { logger } from '../helpers/logger'
|
import { logger } from '../helpers/logger'
|
||||||
@ -18,7 +18,7 @@ import {
|
|||||||
|
|
||||||
// Only used for typings
|
// Only used for typings
|
||||||
// TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed
|
// TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed
|
||||||
const redisClientWrapperForType = () => createClient<{}>()
|
const redisClientWrapperForType = () => createClient<{}, RedisScripts>()
|
||||||
|
|
||||||
class Redis {
|
class Redis {
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { FindOptions } from 'sequelize'
|
||||||
import { AllowNull, BelongsTo, Column, CreatedAt, DataType, ForeignKey, Is, Model, Table, UpdatedAt } from 'sequelize-typescript'
|
import { AllowNull, BelongsTo, Column, CreatedAt, DataType, ForeignKey, Is, Model, Table, UpdatedAt } from 'sequelize-typescript'
|
||||||
import { isAbuseMessageValid } from '@server/helpers/custom-validators/abuses'
|
import { isAbuseMessageValid } from '@server/helpers/custom-validators/abuses'
|
||||||
import { MAbuseMessage, MAbuseMessageFormattable } from '@server/types/models'
|
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 { AccountModel, ScopeNames as AccountScopeNames } from '../account/account'
|
||||||
import { getSort, throwIfNotValid } from '../utils'
|
import { getSort, throwIfNotValid } from '../utils'
|
||||||
import { AbuseModel } from './abuse'
|
import { AbuseModel } from './abuse'
|
||||||
import { FindOptions } from 'sequelize/dist'
|
|
||||||
|
|
||||||
@Table({
|
@Table({
|
||||||
tableName: 'abuseMessage',
|
tableName: 'abuseMessage',
|
||||||
|
Loading…
Reference in New Issue
Block a user