Update server dependencies
Breaking: rename parse-log script option `-nt` to `-n`
This commit is contained in:
parent
98adb32185
commit
cfd8c3c40e
|
@ -68,10 +68,10 @@ export class ProcessLiveRTMPHLSTranscoding {
|
|||
const bitrate = await getVideoStreamBitrate(this.payload.input.rtmpUrl, probe)
|
||||
const { ratio } = await getVideoStreamDimensionsInfo(this.payload.input.rtmpUrl, probe)
|
||||
|
||||
const m3u8Watcher = watch(this.outputPath + '/*.m3u8')
|
||||
const m3u8Watcher = watch(this.outputPath, { ignored: (path, stats) => stats?.isFile() && !path.endsWith('.m3u8') })
|
||||
this.fsWatchers.push(m3u8Watcher)
|
||||
|
||||
const tsWatcher = watch(this.outputPath + '/*.ts')
|
||||
const tsWatcher = watch(this.outputPath, { ignored: (path, stats) => stats?.isFile() && !path.endsWith('.ts') })
|
||||
this.fsWatchers.push(tsWatcher)
|
||||
|
||||
m3u8Watcher.on('change', p => {
|
||||
|
|
44
package.json
44
package.json
|
@ -92,24 +92,24 @@
|
|||
"@types/express-serve-static-core": "4.19.5"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"webtorrent": "2.5.17"
|
||||
"webtorrent": "^2.5.17"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.190.0",
|
||||
"@aws-sdk/lib-storage": "^3.190.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.345.0",
|
||||
"@commander-js/extra-typings": "^12.0.0",
|
||||
"@commander-js/extra-typings": "^13.1.0",
|
||||
"@node-oauth/oauth2-server": "^5.1.0",
|
||||
"@opentelemetry/api": "^1.1.0",
|
||||
"@opentelemetry/exporter-jaeger": "^1.15.1",
|
||||
"@opentelemetry/exporter-prometheus": "~0.55.0",
|
||||
"@opentelemetry/instrumentation": "^0.52.1",
|
||||
"@opentelemetry/instrumentation-dns": "^0.38.0",
|
||||
"@opentelemetry/instrumentation-express": "^0.41.1",
|
||||
"@opentelemetry/instrumentation-fs": "^0.14.0",
|
||||
"@opentelemetry/instrumentation-http": "^0.52.1",
|
||||
"@opentelemetry/instrumentation-ioredis": "^0.42.0",
|
||||
"@opentelemetry/instrumentation-pg": "^0.43.0",
|
||||
"@opentelemetry/exporter-prometheus": "~0.57.1",
|
||||
"@opentelemetry/instrumentation": "^0.57.1",
|
||||
"@opentelemetry/instrumentation-dns": "^0.43.0",
|
||||
"@opentelemetry/instrumentation-express": "^0.47.0",
|
||||
"@opentelemetry/instrumentation-fs": "^0.19.0",
|
||||
"@opentelemetry/instrumentation-http": "^0.57.1",
|
||||
"@opentelemetry/instrumentation-ioredis": "^0.47.0",
|
||||
"@opentelemetry/instrumentation-pg": "^0.51.0",
|
||||
"@opentelemetry/resources": "^1.15.1",
|
||||
"@opentelemetry/sdk-metrics": "^1.15.1",
|
||||
"@opentelemetry/sdk-trace-base": "^1.15.1",
|
||||
|
@ -118,7 +118,7 @@
|
|||
"@peertube/bittorrent-tracker-server": "^11.1.2",
|
||||
"@peertube/feed": "^5.1.3",
|
||||
"@peertube/http-signature": "^1.7.0",
|
||||
"@smithy/node-http-handler": "^3.1.0",
|
||||
"@smithy/node-http-handler": "^4.0.2",
|
||||
"@uploadx/core": "^6.0.0",
|
||||
"archiver": "^7.0.1",
|
||||
"async-mutex": "^0.5.0",
|
||||
|
@ -127,8 +127,8 @@
|
|||
"bluebird": "^3.5.0",
|
||||
"bullmq": "^5.29.1",
|
||||
"bytes": "^3.0.0",
|
||||
"chokidar": "^3.4.2",
|
||||
"commander": "^12.0.0",
|
||||
"chokidar": "^4.0.3",
|
||||
"commander": "^13.1.0",
|
||||
"config": "^3.0.0",
|
||||
"cookie-parser": "^1.4.3",
|
||||
"cors": "^2.8.1",
|
||||
|
@ -144,7 +144,7 @@
|
|||
"fs-extra": "^11.1.0",
|
||||
"got": "^14.4.5",
|
||||
"got-ssrf": "^3.0.0",
|
||||
"helmet": "^7.0.0",
|
||||
"helmet": "^8.0.0",
|
||||
"http-problem-details": "^0.1.5",
|
||||
"ioredis": "^5.2.3",
|
||||
"ip-anonymize": "^0.1.0",
|
||||
|
@ -156,7 +156,7 @@
|
|||
"jsonwebtoken": "^9.0.2",
|
||||
"linkify-it": "^5.0.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"lru-cache": "^10.0.1",
|
||||
"lru-cache": "^11.0.2",
|
||||
"magnet-uri": "^7.0.5",
|
||||
"markdown-it": "^14.0.0",
|
||||
"markdown-it-emoji": "^3.0.0",
|
||||
|
@ -164,7 +164,7 @@
|
|||
"memoizee": "^0.4.14",
|
||||
"morgan": "^1.5.3",
|
||||
"multer": "^1.4.5-lts.1",
|
||||
"node-html-parser": "^6.1.13",
|
||||
"node-html-parser": "^7.0.1",
|
||||
"node-media-server": "^2.1.4",
|
||||
"nodemailer": "^6.0.0",
|
||||
"opentelemetry-instrumentation-sequelize": "^0.41.0",
|
||||
|
@ -179,7 +179,7 @@
|
|||
"pug": "^3.0.0",
|
||||
"reflect-metadata": "^0.2.1",
|
||||
"sanitize-html": "2.x",
|
||||
"sequelize": "6.37.3",
|
||||
"sequelize": "~6.37.3",
|
||||
"sequelize-typescript": "^2.0.0-beta.1",
|
||||
"short-uuid": "^5.2.0",
|
||||
"sitemap": "^8.0.0",
|
||||
|
@ -190,7 +190,7 @@
|
|||
"useragent": "^2.3.0",
|
||||
"validator": "^13.0.0",
|
||||
"webfinger.js": "^2.6.6",
|
||||
"winston": "3.14.2",
|
||||
"winston": "3.17.0",
|
||||
"ws": "^8.0.0",
|
||||
"yauzl": "^3.1.0"
|
||||
},
|
||||
|
@ -229,13 +229,13 @@
|
|||
"@types/ws": "^8.2.0",
|
||||
"@types/yauzl": "^2.10.3",
|
||||
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
||||
"autocannon": "^7.0.4",
|
||||
"autocannon": "^8.0.0",
|
||||
"chai": "^5.1.0",
|
||||
"chai-json-schema": "^1.5.0",
|
||||
"chai-xml": "^0.4.0",
|
||||
"concurrently": "^8.0.1",
|
||||
"concurrently": "^9.1.2",
|
||||
"depcheck": "^1.4.2",
|
||||
"esbuild": "^0.23.0",
|
||||
"esbuild": "^0.24.2",
|
||||
"eslint": "8.56.0",
|
||||
"eslint-config-standard-with-typescript": "43.0.1",
|
||||
"eslint-plugin-import": "^2.20.1",
|
||||
|
@ -244,7 +244,7 @@
|
|||
"fast-xml-parser": "^4.0.0-beta.8",
|
||||
"jpeg-js": "^0.4.4",
|
||||
"jszip": "^3.10.1",
|
||||
"mocha": "^10.0.0",
|
||||
"mocha": "^11.1.0",
|
||||
"pixelmatch": "^6.0.0",
|
||||
"pngjs": "^7.0.0",
|
||||
"proxy": "^2.1.1",
|
||||
|
|
|
@ -826,7 +826,7 @@ export const USER_PASSWORD_RESET_LIFETIME = 60000 * 60 // 60 minutes
|
|||
export const USER_PASSWORD_CREATE_LIFETIME = 60000 * 60 * 24 * 7 // 7 days
|
||||
|
||||
export const TWO_FACTOR_AUTH_REQUEST_TOKEN_LIFETIME = 60000 * 10 // 10 minutes
|
||||
export let JWT_TOKEN_USER_EXPORT_FILE_LIFETIME = '15 minutes'
|
||||
export let JWT_TOKEN_USER_EXPORT_FILE_LIFETIME: `${number} minutes` | `${number} seconds` = '15 minutes'
|
||||
|
||||
export const EMAIL_VERIFY_LIFETIME = 60000 * 60 // 60 minutes
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ program
|
|||
.option('-l, --level [level]', 'Level log (debug/info/warn/error)')
|
||||
.option('-f, --files [file...]', 'Files to parse. If not provided, the script will parse the latest log file from config)')
|
||||
.option('-t, --tags [tags...]', 'Display only lines with these tags')
|
||||
.option('-nt, --not-tags [tags...]', 'Do not display lines containing these tags')
|
||||
.option('-n, --not-tags [tags...]', 'Do not display lines containing these tags')
|
||||
.parse(process.argv)
|
||||
|
||||
const options = program.opts()
|
||||
|
|
Loading…
Reference in New Issue