Skip to content

Commit

Permalink
Fix peertube-runner with node >= 20.11
Browse files Browse the repository at this point in the history
See #6171
  • Loading branch information
Chocobozzz committed Jan 19, 2024
1 parent 0d89f63 commit 88006be
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 143 deletions.
11 changes: 5 additions & 6 deletions apps/peertube-runner/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{
"name": "@peertube/peertube-runner",
"version": "0.0.9",
"version": "0.0.10",
"type": "module",
"main": "dist/peertube-runner.js",
"bin": "dist/peertube-runner.js",
"engines": {
"node": ">=16.x"
},
"license": "AGPL-3.0",
"dependencies": {
"follow-redirects": "1.15.3"
},
"dependencies": {},
"devDependencies": {
"@commander-js/extra-typings": "^10.0.3",
"@commander-js/extra-typings": "^11.1.0",
"@iarna/toml": "^2.2.5",
"@peertube/net-ipc": "^2.2.0",
"@types/follow-redirects": "1.14.4",
"env-paths": "^3.0.0",
"net-ipc": "^2.0.1",
"follow-redirects": "^1.15.5",
"pino": "^8.11.0",
"pino-pretty": "^10.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/peertube-runner/src/shared/ipc/ipc-client.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import CliTable3 from 'cli-table3'
import { ensureDir } from 'fs-extra/esm'
import { Client as NetIPC } from 'net-ipc'
import { Client as NetIPC } from '@peertube/net-ipc'
import { ConfigManager } from '../config-manager.js'
import { IPCReponse, IPCReponseData, IPCRequest } from './shared/index.js'

Expand Down
2 changes: 1 addition & 1 deletion apps/peertube-runner/src/shared/ipc/ipc-server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ensureDir } from 'fs-extra/esm'
import { Server as NetIPC } from 'net-ipc'
import { Server as NetIPC } from '@peertube/net-ipc'
import { pick } from '@peertube/peertube-core-utils'
import { RunnerServer } from '../../server/index.js'
import { ConfigManager } from '../config-manager.js'
Expand Down
Loading

0 comments on commit 88006be

Please sign in to comment.