Upgrade server dependencies
This commit is contained in:
parent
20bafcb61b
commit
7a397c7f15
4 changed files with 448 additions and 464 deletions
|
@ -147,7 +147,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@openapitools/openapi-generator-cli": "^2.1.4",
|
||||
"@types/apicache": "^1.2.0",
|
||||
"@types/async": "^3.0.0",
|
||||
"@types/async-lock": "^1.1.0",
|
||||
"@types/bcrypt": "^5.0.0",
|
||||
|
@ -158,7 +157,7 @@
|
|||
"@types/chai": "^4.0.4",
|
||||
"@types/chai-json-schema": "^1.4.3",
|
||||
"@types/chai-xml": "^0.3.1",
|
||||
"@types/config": "^0.0.38",
|
||||
"@types/config": "^0.0.39",
|
||||
"@types/express": "4.17.9",
|
||||
"@types/express-rate-limit": "^5.0.0",
|
||||
"@types/fluent-ffmpeg": "^2.1.16",
|
||||
|
@ -166,7 +165,7 @@
|
|||
"@types/lodash": "^4.14.64",
|
||||
"@types/lru-cache": "^5.1.0",
|
||||
"@types/magnet-uri": "^5.1.1",
|
||||
"@types/maildev": "^0.0.2",
|
||||
"@types/maildev": "^0.0.3",
|
||||
"@types/memoizee": "^0.4.2",
|
||||
"@types/mkdirp": "^1.0.0",
|
||||
"@types/mocha": "^8.0.3",
|
||||
|
@ -204,7 +203,7 @@
|
|||
"source-map-support": "^0.5.0",
|
||||
"supertest": "^6.0.1",
|
||||
"swagger-cli": "^4.0.2",
|
||||
"ts-node": "10.0.0",
|
||||
"ts-node": "10.1.0",
|
||||
"typescript": "^4.0.5"
|
||||
},
|
||||
"bundlewatch": {
|
||||
|
|
|
@ -19,9 +19,9 @@ import { LiveSegmentShaStore } from './live-segment-sha-store'
|
|||
import { cleanupLive } from './live-utils'
|
||||
import { MuxingSession } from './shared'
|
||||
|
||||
const NodeRtmpSession = require('node-media-server/node_rtmp_session')
|
||||
const context = require('node-media-server/node_core_ctx')
|
||||
const nodeMediaServerLogger = require('node-media-server/node_core_logger')
|
||||
const NodeRtmpSession = require('node-media-server/src/node_rtmp_session')
|
||||
const context = require('node-media-server/src/node_core_ctx')
|
||||
const nodeMediaServerLogger = require('node-media-server/src/node_core_logger')
|
||||
|
||||
// Disable node media server logs
|
||||
nodeMediaServerLogger.setLogType(0)
|
||||
|
|
|
@ -3,8 +3,7 @@ import { copy, ensureDir, readFile, remove } from 'fs-extra'
|
|||
import { join } from 'path'
|
||||
import { root } from '@server/helpers/core-utils'
|
||||
import { HttpStatusCode } from '@shared/models'
|
||||
import { getFileSize } from '@uploadx/core'
|
||||
import { isGithubCI, wait } from '../miscs'
|
||||
import { getFileSize, isGithubCI, wait } from '../miscs'
|
||||
import { AbstractCommand, OverrideCommandOptions } from '../shared'
|
||||
|
||||
export class ServersCommand extends AbstractCommand {
|
||||
|
|
Loading…
Reference in a new issue