Skip to content

Commit 9cb4b88

Browse files
committed
updated version and packages
1 parent 8929b26 commit 9cb4b88

File tree

4 files changed

+152
-152
lines changed

4 files changed

+152
-152
lines changed

modules/widevine/cmac.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import crypto from 'crypto';
44
export class AES_CMAC {
55
private readonly BLOCK_SIZE = 16;
66
private readonly XOR_RIGHT = Buffer.from([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x87]);
7-
private readonly EMPTY_BLOCK_SIZE_BUFFER = Buffer.alloc(this.BLOCK_SIZE);
7+
private readonly EMPTY_BLOCK_SIZE_BUFFER = Buffer.alloc(this.BLOCK_SIZE) as Buffer;
88

99
private _key: Buffer;
1010
private _subkeys: { first: Buffer; second: Buffer };

modules/widevine/license.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class Session {
217217
const keyId = keyContainer.id ? Buffer.from(keyContainer.id).toString('hex') : '00000000000000000000000000000000';
218218
const decipher = forge.cipher.createDecipher('AES-CBC', encKey.toString('binary'));
219219
decipher.start({ iv: Buffer.from(keyContainer.iv).toString('binary') });
220-
decipher.update(forge.util.createBuffer(keyContainer.key));
220+
decipher.update(forge.util.createBuffer(new Uint8Array(keyContainer.key)));
221221
decipher.finish();
222222
const decryptedKey = Buffer.from(decipher.output.data, 'binary');
223223
const key: KeyContainer = {

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "multi-downloader-nx",
33
"short_name": "aniDL",
4-
"version": "5.5.2",
4+
"version": "5.5.3",
55
"description": "Downloader for Crunchyroll, Hidive, AnimeOnegai, and AnimationDigitalNetwork with CLI and GUI",
66
"keywords": [
77
"download",
@@ -40,7 +40,7 @@
4040
},
4141
"license": "MIT",
4242
"dependencies": {
43-
"@bufbuild/buf": "^1.56.0",
43+
"@bufbuild/buf": "^1.57.0",
4444
"@bufbuild/protobuf": "^2.7.0",
4545
"@bufbuild/protoc-gen-es": "^2.7.0",
4646
"@yao-pkg/pkg": "^6.6.0",
@@ -71,7 +71,7 @@
7171
"yargs": "^17.7.2"
7272
},
7373
"devDependencies": {
74-
"@eslint/js": "^9.33.0",
74+
"@eslint/js": "^9.34.0",
7575
"@types/bn.js": "^5.2.0",
7676
"@types/cors": "^2.8.19",
7777
"@types/elliptic": "^6.4.18",
@@ -82,14 +82,14 @@
8282
"@types/node-forge": "^1.3.14",
8383
"@types/ws": "^8.18.1",
8484
"@types/yargs": "^17.0.33",
85-
"@typescript-eslint/eslint-plugin": "^8.40.0",
86-
"@typescript-eslint/parser": "^8.40.0",
87-
"eslint": "^9.33.0",
85+
"@typescript-eslint/eslint-plugin": "^8.41.0",
86+
"@typescript-eslint/parser": "^8.41.0",
87+
"eslint": "^9.34.0",
8888
"protoc": "^1.1.3",
8989
"removeNPMAbsolutePaths": "^3.0.1",
9090
"ts-node": "^10.9.2",
91-
"typescript": "5.8.3",
92-
"typescript-eslint": "^8.40.0"
91+
"typescript": "^5.9.2",
92+
"typescript-eslint": "^8.41.0"
9393
},
9494
"scripts": {
9595
"prestart": "pnpm run tsc test",

0 commit comments

Comments
 (0)