Upgrade server dependencies

pull/4271/head
Chocobozzz 2021-07-22 11:58:44 +02:00
parent 20bafcb61b
commit 7a397c7f15
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 448 additions and 464 deletions

View File

@ -147,7 +147,6 @@
}, },
"devDependencies": { "devDependencies": {
"@openapitools/openapi-generator-cli": "^2.1.4", "@openapitools/openapi-generator-cli": "^2.1.4",
"@types/apicache": "^1.2.0",
"@types/async": "^3.0.0", "@types/async": "^3.0.0",
"@types/async-lock": "^1.1.0", "@types/async-lock": "^1.1.0",
"@types/bcrypt": "^5.0.0", "@types/bcrypt": "^5.0.0",
@ -158,7 +157,7 @@
"@types/chai": "^4.0.4", "@types/chai": "^4.0.4",
"@types/chai-json-schema": "^1.4.3", "@types/chai-json-schema": "^1.4.3",
"@types/chai-xml": "^0.3.1", "@types/chai-xml": "^0.3.1",
"@types/config": "^0.0.38", "@types/config": "^0.0.39",
"@types/express": "4.17.9", "@types/express": "4.17.9",
"@types/express-rate-limit": "^5.0.0", "@types/express-rate-limit": "^5.0.0",
"@types/fluent-ffmpeg": "^2.1.16", "@types/fluent-ffmpeg": "^2.1.16",
@ -166,7 +165,7 @@
"@types/lodash": "^4.14.64", "@types/lodash": "^4.14.64",
"@types/lru-cache": "^5.1.0", "@types/lru-cache": "^5.1.0",
"@types/magnet-uri": "^5.1.1", "@types/magnet-uri": "^5.1.1",
"@types/maildev": "^0.0.2", "@types/maildev": "^0.0.3",
"@types/memoizee": "^0.4.2", "@types/memoizee": "^0.4.2",
"@types/mkdirp": "^1.0.0", "@types/mkdirp": "^1.0.0",
"@types/mocha": "^8.0.3", "@types/mocha": "^8.0.3",
@ -204,7 +203,7 @@
"source-map-support": "^0.5.0", "source-map-support": "^0.5.0",
"supertest": "^6.0.1", "supertest": "^6.0.1",
"swagger-cli": "^4.0.2", "swagger-cli": "^4.0.2",
"ts-node": "10.0.0", "ts-node": "10.1.0",
"typescript": "^4.0.5" "typescript": "^4.0.5"
}, },
"bundlewatch": { "bundlewatch": {

View File

@ -19,9 +19,9 @@ import { LiveSegmentShaStore } from './live-segment-sha-store'
import { cleanupLive } from './live-utils' import { cleanupLive } from './live-utils'
import { MuxingSession } from './shared' import { MuxingSession } from './shared'
const NodeRtmpSession = require('node-media-server/node_rtmp_session') const NodeRtmpSession = require('node-media-server/src/node_rtmp_session')
const context = require('node-media-server/node_core_ctx') const context = require('node-media-server/src/node_core_ctx')
const nodeMediaServerLogger = require('node-media-server/node_core_logger') const nodeMediaServerLogger = require('node-media-server/src/node_core_logger')
// Disable node media server logs // Disable node media server logs
nodeMediaServerLogger.setLogType(0) nodeMediaServerLogger.setLogType(0)

View File

@ -3,8 +3,7 @@ import { copy, ensureDir, readFile, remove } from 'fs-extra'
import { join } from 'path' import { join } from 'path'
import { root } from '@server/helpers/core-utils' import { root } from '@server/helpers/core-utils'
import { HttpStatusCode } from '@shared/models' import { HttpStatusCode } from '@shared/models'
import { getFileSize } from '@uploadx/core' import { getFileSize, isGithubCI, wait } from '../miscs'
import { isGithubCI, wait } from '../miscs'
import { AbstractCommand, OverrideCommandOptions } from '../shared' import { AbstractCommand, OverrideCommandOptions } from '../shared'
export class ServersCommand extends AbstractCommand { export class ServersCommand extends AbstractCommand {

896
yarn.lock

File diff suppressed because it is too large Load Diff