Verified Commit 7a397c7f authored by Chocobozzz's avatar Chocobozzz
Browse files

Upgrade server dependencies

parent 20bafcb6
Pipeline #435265 passed with stages
in 16 minutes and 6 seconds
...@@ -147,7 +147,6 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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": {
......
...@@ -19,9 +19,9 @@ import { LiveSegmentShaStore } from './live-segment-sha-store' ...@@ -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)
......
...@@ -3,8 +3,7 @@ import { copy, ensureDir, readFile, remove } from 'fs-extra' ...@@ -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 {
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment