chore: bump dependencies (#11356)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2025-12-10 17:53:48 +00:00
committed by GitHub
parent 9bf1f739e0
commit 01f31f374a
32 changed files with 890 additions and 646 deletions

View File

@@ -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 () => {

View File

@@ -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",

View File

@@ -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);