mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: bump dependencies (#11356)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@ import { Buffer } from 'node:buffer';
|
||||
import { test, expect, vitest } from 'vitest';
|
||||
import { methods, secretboxLoadPromise } from '../src/util/Secretbox';
|
||||
|
||||
vitest.mock('@noble/ciphers/chacha');
|
||||
vitest.mock('@noble/ciphers/chacha.js');
|
||||
|
||||
// TODO: what is this even testing exactly?
|
||||
test.skip('Does not throw error with a package installed', async () => {
|
||||
|
||||
@@ -74,9 +74,9 @@
|
||||
"@discordjs/opus": "^0.9.0",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@noble/ciphers": "^1.3.0",
|
||||
"@noble/ciphers": "^2.1.1",
|
||||
"@snazzah/davey": "^0.1.8",
|
||||
"@types/node": "^22.19.1",
|
||||
"@types/node": "^22.19.2",
|
||||
"@vitest/coverage-v8": "^4.0.15",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
|
||||
@@ -76,7 +76,7 @@ const libs = {
|
||||
return crypto.seal(nonce, cipherText, additionalData);
|
||||
},
|
||||
}),
|
||||
'@noble/ciphers/chacha': (noble: any): Methods => ({
|
||||
'@noble/ciphers/chacha.js': (noble: any): Methods => ({
|
||||
crypto_aead_xchacha20poly1305_ietf_decrypt(cipherText, additionalData, nonce, key) {
|
||||
const chacha = noble.xchacha20poly1305(key, nonce, additionalData);
|
||||
return chacha.decrypt(cipherText);
|
||||
|
||||
Reference in New Issue
Block a user