mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-26 16:52:42 +02:00
Update ytdl-core, @discordjs/opus and @discordjs/voice. Update to Node 22 LTS
This commit is contained in:
parent
d7f0a954e2
commit
d0ab294907
6 changed files with 2201 additions and 1898 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'yarn'
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
|
2
.github/workflows/type-check.yml
vendored
2
.github/workflows/type-check.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '22'
|
||||
cache: 'yarn'
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:18-bullseye-slim AS base
|
||||
FROM node:22-bookworm-slim AS base
|
||||
|
||||
# openssl will be a required package if base is updated to 18.16+ due to node:*-slim base distro change
|
||||
# https://github.com/prisma/prisma/issues/19729#issuecomment-1591270599
|
||||
|
@ -14,7 +14,7 @@ RUN apt-get update \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install dependencies
|
||||
FROM base AS dependencies
|
||||
FROM node:22-bookworm AS dependencies
|
||||
|
||||
WORKDIR /usr/app
|
||||
|
||||
|
|
|
@ -86,10 +86,10 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@discordjs/builders": "1.1.0",
|
||||
"@discordjs/opus": "^0.8.0",
|
||||
"@discordjs/opus": "^0.10.0",
|
||||
"@discordjs/rest": "1.0.1",
|
||||
"@discordjs/voice": "0.17.0",
|
||||
"@distube/ytdl-core": "^4.15.9",
|
||||
"@discordjs/voice": "0.18.0",
|
||||
"@distube/ytdl-core": "^4.16.5",
|
||||
"@distube/ytsr": "^2.0.4",
|
||||
"@prisma/client": "4.16.0",
|
||||
"@types/libsodium-wrappers": "^0.7.9",
|
||||
|
@ -132,5 +132,6 @@
|
|||
},
|
||||
"resolutions": {
|
||||
"@types/ws": "8.5.4"
|
||||
}
|
||||
},
|
||||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
||||
}
|
||||
|
|
|
@ -689,7 +689,7 @@ export default class {
|
|||
}
|
||||
})
|
||||
.on('start', command => {
|
||||
debug(`Spawned ffmpeg with ${command as string}`);
|
||||
debug(`Spawned ffmpeg with ${command}`);
|
||||
});
|
||||
|
||||
stream.pipe(capacitor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue