chore: update deps

This commit is contained in:
鲁树人 committed 2025-09-03 21:27:38 +09:00
1 parent c41e5ae531
commit 62e49804a5
9 files changed
+1222 -1256

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ export class MMKVParser {
private offset = 4;
private length: number;
constructor(private view: DataView) {
constructor(private view: DataView<ArrayBuffer>) {
const payloadLength = view.getUint32(0, true);
this.length = 4 + payloadLength;
+1 -1
View File
@@ -1,7 +1,7 @@
import type { StagingKugouKey } from '~/features/settings/keyFormats';
import { MMKVParser } from '../MMKVParser';
export function parseAndroidKugouMMKV(view: DataView): Omit<StagingKugouKey, 'id'>[] {
export function parseAndroidKugouMMKV(view: DataView<ArrayBuffer>): Omit<StagingKugouKey, 'id'>[] {
const mmkv = new MMKVParser(view);
const result: Omit<StagingKugouKey, 'id'>[] = [];
while (!mmkv.eof) {
+2 -2
View File
@@ -1,7 +1,7 @@
import type { StagingKWMv2Key } from '~/features/settings/keyFormats';
import { MMKVParser } from '../MMKVParser';
export function parseAndroidKuwoEKey(view: DataView): Omit<StagingKWMv2Key, 'id'>[] {
export function parseAndroidKuwoEKey(view: DataView<ArrayBuffer>): Omit<StagingKWMv2Key, 'id'>[] {
const mmkv = new MMKVParser(view);
const result: Omit<StagingKWMv2Key, 'id'>[] = [];
while (!mmkv.eof) {
@@ -21,7 +21,7 @@ export function parseAndroidKuwoEKey(view: DataView): Omit<StagingKWMv2Key, 'id'
return result;
}
export function parseIosKuwoEKey(view: DataView): Omit<StagingKWMv2Key, 'id'>[] {
export function parseIosKuwoEKey(view: DataView<ArrayBuffer>): Omit<StagingKWMv2Key, 'id'>[] {
const mmkv = new MMKVParser(view);
const result: Omit<StagingKWMv2Key, 'id'>[] = [];
while (!mmkv.eof) {
+1 -1
View File
@@ -1,6 +1,6 @@
import { MMKVParser } from '../MMKVParser';
export function parseAndroidQmEKey(view: DataView): Map<string, string> {
export function parseAndroidQmEKey(view: DataView<ArrayBuffer>): Map<string, string> {
const mmkv = new MMKVParser(view);
const result = new Map<string, string>();
while (!mmkv.eof) {