Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b7edd1

Browse files
committed
Cleanup packages
1 parent 93926d2 commit 9b7edd1

File tree

7 files changed

+24
-79
lines changed

7 files changed

+24
-79
lines changed

apps/peertube-runner/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"dependencies": {},
99
"devDependencies": {
1010
"@iarna/toml": "^2.2.5",
11-
"@peertube/net-ipc": "^2.2.0",
1211
"@types/follow-redirects": "1.14.4",
1312
"env-paths": "^3.0.0",
1413
"follow-redirects": "^1.15.5",
14+
"net-ipc": "^2.2.2",
1515
"pino": "^9.6.0",
1616
"pino-pretty": "^13.0.0"
1717
}

apps/peertube-runner/src/shared/ipc/ipc-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Client as NetIPC } from '@peertube/net-ipc'
1+
import { Client as NetIPC } from 'net-ipc'
22
import CliTable3 from 'cli-table3'
33
import { ensureDir } from 'fs-extra/esm'
44
import { ConfigManager } from '../config-manager.js'
@@ -20,7 +20,7 @@ export class IPCClient {
2020
if (err.code === 'ECONNREFUSED') {
2121
throw new Error(
2222
'This runner is not currently running in server mode on this system. ' +
23-
'Please run it using the `server` command first (in another terminal for example) and then retry your command.'
23+
'Please run it using the `server` command first (in another terminal for example) and then retry your command.'
2424
)
2525
}
2626

apps/peertube-runner/src/shared/ipc/ipc-server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ensureDir } from 'fs-extra/esm'
2-
import { Server as NetIPC } from '@peertube/net-ipc'
2+
import { Server as NetIPC } from 'net-ipc'
33
import { pick } from '@peertube/peertube-core-utils'
44
import { RunnerServer } from '../../server/index.js'
55
import { ConfigManager } from '../config-manager.js'
@@ -58,7 +58,7 @@ export class IPCServer {
5858
}
5959
}
6060

61-
private sendResponse <T extends IPCResponseData> (
61+
private sendResponse<T extends IPCResponseData> (
6262
response: (data: any) => Promise<void>,
6363
body: IPCResponse<T>
6464
) {

apps/peertube-runner/yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@
3737
resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz#0aa5502d547b57abfc4ac492de68e2006e417242"
3838
integrity sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==
3939

40-
"@peertube/net-ipc@^2.2.0":
41-
version "2.2.1"
42-
resolved "https://registry.yarnpkg.com/@peertube/net-ipc/-/net-ipc-2.2.1.tgz#3d1c154a08b57cfea31ed760ec76fe2f69e35a19"
43-
integrity sha512-RyKIGC3EeQ+xnSccf592qqsaXWrGp4wGfGl4W+wxDoZkwsThZJuiSbX8aCC1qZBHaDo3EuRH3ZrwsKpNjnyDAQ==
44-
optionalDependencies:
45-
fast-zlib "^2.0.1"
46-
msgpackr "^1.3.2"
47-
4840
4941
version "1.14.4"
5042
resolved "https://registry.yarnpkg.com/@types/follow-redirects/-/follow-redirects-1.14.4.tgz#ca054d72ef574c77949fc5fff278b430fcd508ec"
@@ -106,7 +98,7 @@ fast-safe-stringify@^2.1.1:
10698
resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884"
10799
integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==
108100

109-
fast-zlib@^2.0.1:
101+
110102
version "2.0.1"
111103
resolved "https://registry.yarnpkg.com/fast-zlib/-/fast-zlib-2.0.1.tgz#be624f592fc80ad8019ee2025d16a367a4e9b024"
112104
integrity sha512-DCoYgNagM2Bt1VIpXpdGnRx4LzqJeYG0oh6Nf/7cWo6elTXkFGMw9CrRCYYUIapYNrozYMoyDRflx9mgT3Awyw==
@@ -145,13 +137,21 @@ msgpackr-extract@^3.0.2:
145137
"@msgpackr-extract/msgpackr-extract-linux-x64" "3.0.3"
146138
"@msgpackr-extract/msgpackr-extract-win32-x64" "3.0.3"
147139

148-
msgpackr@^1.3.2:
140+
msgpackr@1.11.5:
149141
version "1.11.5"
150142
resolved "https://registry.yarnpkg.com/msgpackr/-/msgpackr-1.11.5.tgz#edf0b9d9cb7d8ed6897dd0e42cfb865a2f4b602e"
151143
integrity sha512-UjkUHN0yqp9RWKy0Lplhh+wlpdt9oQBYgULZOiFhV3VclSF1JnSQWZ5r9gORQlNYaUKQoR8itv7g7z1xDDuACA==
152144
optionalDependencies:
153145
msgpackr-extract "^3.0.2"
154146

147+
net-ipc@^2.2.2:
148+
version "2.2.2"
149+
resolved "https://registry.yarnpkg.com/net-ipc/-/net-ipc-2.2.2.tgz#2c5e6042f2a7c1f388ab86744b8c0f0c2b3eb173"
150+
integrity sha512-HGXL5ql3Moru1xaS79zEscXpoUyUwVy9arOplClKHDaEWfUaoyOtSLXLe1xUOHoyZ0aM61WtZg0TCYYRheYMvw==
151+
optionalDependencies:
152+
fast-zlib "2.0.1"
153+
msgpackr "1.11.5"
154+
155155
156156
version "5.2.2"
157157
resolved "https://registry.yarnpkg.com/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz#522f50c2d53134d7f3a76cd7255de4ab6c96a3a4"

client/src/standalone/player/src/sass/shared/context-menu.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
$context-menu-width: 350px;
66

7-
/* Sass for @peertube/videojs-contextmenu */
8-
97
.video-js .vjs-contextmenu-ui-menu {
108
position: absolute;
119
background-color: var(--embed-background-color);

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@
198198
"yauzl": "^3.1.0"
199199
},
200200
"devDependencies": {
201-
"@peertube/maildev": "^1.2.0",
202201
"@peertube/resolve-tspaths": "^0.8.14",
203202
"@stylistic/eslint-plugin": "^4.2.0",
204203
"@types/archiver": "^6.0.2",

yarn.lock

Lines changed: 9 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,18 +1920,6 @@
19201920
jsprim "^1.2.2"
19211921
sshpk "^1.14.1"
19221922

1923-
"@peertube/maildev@^1.2.0":
1924-
version "1.2.0"
1925-
resolved "https://registry.yarnpkg.com/@peertube/maildev/-/maildev-1.2.0.tgz#f25ee9fa6a45c0a6bc99c5392f63139eaa8eb088"
1926-
integrity sha512-VGog0A2gk0P8UnP0ZjCoYQumELiqqQY5i+gt18avTC7NJNJLUxMRMI045NAVSDFVbqt2EJJPsbZf3LFjUWRtmw==
1927-
dependencies:
1928-
async "^3.1.0"
1929-
commander "^8.3.0"
1930-
mailparser-mit "^1.0.0"
1931-
rimraf "^3.0.2"
1932-
smtp-server "^3.9.0"
1933-
wildstring "1.0.9"
1934-
19351923
"@peertube/resolve-tspaths@^0.8.14":
19361924
version "0.8.14"
19371925
resolved "https://registry.yarnpkg.com/@peertube/resolve-tspaths/-/resolve-tspaths-0.8.14.tgz#a4acee0b6ff713fe38c92e6e7f4f4c0c3eabce3c"
@@ -3322,7 +3310,7 @@ addr-to-ip-port@^2.0.0:
33223310
resolved "https://registry.yarnpkg.com/addr-to-ip-port/-/addr-to-ip-port-2.0.0.tgz#ab383c140392f3e99d5e9c34b88c259fa35274b1"
33233311
integrity sha512-9bYbtjamtdLHZSqVIUXhilOryNPiL+x+Q5J/Unpg4VY3ZIkK3fT52UoErj1NdUeVm3J1t2iBEAur4Ywbl/bahw==
33243312

3325-
[email protected], addressparser@^1.0.1:
3313+
33263314
version "1.0.1"
33273315
resolved "https://registry.yarnpkg.com/addressparser/-/addressparser-1.0.1.tgz#47afbe1a2a9262191db6838e4fd1d39b40821746"
33283316
integrity sha512-aQX7AISOMM7HFE0iZ3+YnD07oIeJqWGVnJ+ZIKaBZAk03ftmVYVqsGas/rbXKR21n4D/hKCSHypvcyOkds/xzg==
@@ -3639,7 +3627,7 @@ async@^2.6.4:
36393627
dependencies:
36403628
lodash "^4.17.14"
36413629

3642-
async@^3.1.0, async@^3.2.3, async@^3.2.4:
3630+
async@^3.2.3, async@^3.2.4:
36433631
version "3.2.6"
36443632
resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce"
36453633
integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==
@@ -4531,11 +4519,6 @@ commander@^6.1.0:
45314519
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
45324520
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
45334521

4534-
commander@^8.3.0:
4535-
version "8.3.0"
4536-
resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66"
4537-
integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==
4538-
45394522
compact2string@^1.4.1:
45404523
version "1.4.1"
45414524
resolved "https://registry.yarnpkg.com/compact2string/-/compact2string-1.4.1.tgz#8d34929055f8300a13cfc030ad1832e2e53c2e25"
@@ -7003,7 +6986,7 @@ i18next@^25.3.2:
70036986
dependencies:
70046987
"@babel/runtime" "^7.27.6"
70056988

7006-
[email protected], iconv-lite@^0.4.4, iconv-lite@~0.4.24:
6989+
[email protected], iconv-lite@^0.4.4:
70076990
version "0.4.24"
70086991
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
70096992
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
@@ -8156,16 +8139,6 @@ maildev@^2.2.1:
81568139
uue "3.1.2"
81578140
wildstring "1.0.9"
81588141

8159-
mailparser-mit@^1.0.0:
8160-
version "1.0.0"
8161-
resolved "https://registry.yarnpkg.com/mailparser-mit/-/mailparser-mit-1.0.0.tgz#19df8436c2a02e1d34a03ec518a2eb065e0a94a4"
8162-
integrity sha512-sckRITNb3VCT1sQ275g47MAN786pQ5lU20bLY5f794dF/ARGzuVATQ64gO13FOw8jayjFT10e5ttsripKGGXcw==
8163-
dependencies:
8164-
addressparser "^1.0.1"
8165-
iconv-lite "~0.4.24"
8166-
mime "^1.6.0"
8167-
uue "^3.1.0"
8168-
81698142
mailparser@^3.7.1:
81708143
version "3.7.4"
81718144
resolved "https://registry.yarnpkg.com/mailparser/-/mailparser-3.7.4.tgz#dd70550b066fdc35563eda94bee5ab7a8d0c2439"
@@ -8349,7 +8322,7 @@ mime-types@^3.0.0:
83498322
dependencies:
83508323
mime-db "^1.54.0"
83518324

8352-
[email protected], mime@^1.3.4, mime@^1.6.0:
8325+
[email protected], mime@^1.3.4:
83538326
version "1.6.0"
83548327
resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
83558328
integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==
@@ -10601,7 +10574,7 @@ smart-buffer@^4.2.0:
1060110574
resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae"
1060210575
integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==
1060310576

10604-
smtp-server@^3.13.4, smtp-server@^3.9.0:
10577+
smtp-server@^3.13.4:
1060510578
version "3.14.0"
1060610579
resolved "https://registry.yarnpkg.com/smtp-server/-/smtp-server-3.14.0.tgz#2c2c9078d027fbd8d10c75f2bc62f2217fbf161a"
1060710580
integrity sha512-cEw/hdIY+xw1pkbQbQ23hvnm9kNABAsgYB+jJYGkzAynZxJ2VB9aqC6JhB1vpdDnqan7C7AL3qHYRGwz5eD6BQ==
@@ -10846,16 +10819,7 @@ string-template@~0.2.1:
1084610819
resolved "https://registry.yarnpkg.com/string-template/-/string-template-0.2.1.tgz#42932e598a352d01fc22ec3367d9d84eec6c9add"
1084710820
integrity sha512-Yptehjogou2xm4UJbxJ4CxgZx12HBfeystp0y3x7s4Dj32ltVVG1Gg8YhKjHZkHicuKpZX/ffilA8505VbUbpw==
1084810821

10849-
"string-width-cjs@npm:string-width@^4.2.0":
10850-
version "4.2.3"
10851-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
10852-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
10853-
dependencies:
10854-
emoji-regex "^8.0.0"
10855-
is-fullwidth-code-point "^3.0.0"
10856-
strip-ansi "^6.0.1"
10857-
10858-
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
10822+
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
1085910823
version "4.2.3"
1086010824
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
1086110825
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -10932,14 +10896,7 @@ string_decoder@~1.1.1:
1093210896
dependencies:
1093310897
safe-buffer "~5.1.0"
1093410898

10935-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
10936-
version "6.0.1"
10937-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
10938-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
10939-
dependencies:
10940-
ansi-regex "^5.0.1"
10941-
10942-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
10899+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
1094310900
version "6.0.1"
1094410901
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
1094510902
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -11679,7 +11636,7 @@ utp-native@^2.5.3:
1167911636
timeout-refresh "^1.0.0"
1168011637
unordered-set "^2.0.1"
1168111638

11682-
[email protected], uue@^3.1.0:
11639+
1168311640
version "3.1.2"
1168411641
resolved "https://registry.yarnpkg.com/uue/-/uue-3.1.2.tgz#e99368414e87200012eb37de4dbaebaa1c742ad2"
1168511642
integrity sha512-axKLXVqwtdI/czrjG0X8hyV1KLgeWx8F4KvSbvVCnS+RUvsQMGRjx0kfuZDXXqj0LYvVJmx3B9kWlKtEdRrJLg==
@@ -12092,7 +12049,7 @@ workerpool@^9.2.0:
1209212049
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-9.3.3.tgz#e75281fe62e851afb21cdeef8fa85f6a62ec3583"
1209312050
integrity sha512-slxCaKbYjEdFT/o2rH9xS1hf4uRDch1w7Uo+apxhZ+sf/1d9e0ZVkn42kPNGP2dgjIx6YFvSevj0zHvbWe2jdw==
1209412051

12095-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
12052+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
1209612053
version "7.0.0"
1209712054
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
1209812055
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -12110,15 +12067,6 @@ wrap-ansi@^6.2.0:
1211012067
string-width "^4.1.0"
1211112068
strip-ansi "^6.0.0"
1211212069

12113-
wrap-ansi@^7.0.0:
12114-
version "7.0.0"
12115-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
12116-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
12117-
dependencies:
12118-
ansi-styles "^4.0.0"
12119-
string-width "^4.1.0"
12120-
strip-ansi "^6.0.0"
12121-
1212212070
wrap-ansi@^8.1.0:
1212312071
version "8.1.0"
1212412072
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)