chore: update dependencies

This commit is contained in:
Simon Chan 2024-06-23 05:28:50 +08:00
parent 5ca67b8ada
commit 3c2b57cfc5
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
23 changed files with 281 additions and 280 deletions

View file

@ -118,5 +118,6 @@
"cSpell.numSuggestions": 4,
"cSpell.ignoreRegExpList": [
"0x[0-9a-f_]+"
]
],
"typescript.tsdk": "libraries/adb/node_modules/typescript/lib",
}

View file

@ -42,11 +42,11 @@
"source-map-support": "^0.5.21"
},
"devDependencies": {
"@types/node": "^20.14.2",
"@types/node": "^20.14.8",
"@yume-chan/eslint-config": "workspace:^1.0.0",
"@yume-chan/tsconfig": "workspace:^1.0.0",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
{
"pnpmShrinkwrapHash": "154efd633482f57c9f0bba8f8dd7089b0bc3a354",
"pnpmShrinkwrapHash": "86b99f0ac4b5e7a91aa4f39f597dd7ba15844812",
"preferredVersionsHash": "bf21a9e8fbc5a3846fb05b4fa0859e0917b2202f"
}

View file

@ -36,6 +36,6 @@
"@yume-chan/eslint-config": "workspace:^1.0.0",
"@yume-chan/tsconfig": "workspace:^1.0.0",
"prettier": "^3.3.2",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
}
}

View file

@ -40,6 +40,6 @@
"@yume-chan/eslint-config": "workspace:^1.0.0",
"@yume-chan/tsconfig": "workspace:^1.0.0",
"prettier": "^3.3.2",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
}
}

View file

@ -46,7 +46,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -37,11 +37,11 @@
"@yume-chan/struct": "workspace:^0.0.24"
},
"devDependencies": {
"@types/node": "^20.14.2",
"@types/node": "^20.14.8",
"@yume-chan/eslint-config": "workspace:^1.0.0",
"@yume-chan/tsconfig": "workspace:^1.0.0",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
}
}

View file

@ -40,13 +40,13 @@
},
"devDependencies": {
"@jest/globals": "^30.0.0-alpha.4",
"@types/node": "^20.14.2",
"@types/node": "^20.14.8",
"@yume-chan/eslint-config": "workspace:^1.0.0",
"@yume-chan/tsconfig": "workspace:^1.0.0",
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -43,7 +43,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -36,6 +36,6 @@
"devDependencies": {
"@yume-chan/eslint-config": "workspace:^1.0.0",
"@yume-chan/tsconfig": "workspace:^1.0.0",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
}
}

View file

@ -42,7 +42,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -30,6 +30,6 @@
"gh-release-fetch": "^4.0.3"
},
"devDependencies": {
"@types/node": "^20.14.2"
"@types/node": "^20.14.8"
}
}

View file

@ -31,14 +31,14 @@
},
"devDependencies": {
"@jest/globals": "^30.0.0-alpha.4",
"@types/node": "^20.14.2",
"@types/node": "^20.14.8",
"@yume-chan/eslint-config": "workspace:^1.0.0",
"@yume-chan/tsconfig": "workspace:^1.0.0",
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"tinybench": "^2.8.0",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -37,7 +37,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -57,7 +57,7 @@ abstract class SourceProcessor<T>
protected abstract createSource(data: ArrayBuffer[]): [T, number];
process(_inputs: Float32Array[][], [outputs]: Float32Array[][]) {
process(_inputs: Float32Array[][], [outputs]: [Float32Array[]]) {
if (this.#starting) {
if (this.#totalSampleCount < 0.1 * 48000) {
return true;
@ -71,7 +71,7 @@ abstract class SourceProcessor<T>
this.#starting = true;
}
const outputLength = outputs![0]!.length;
const outputLength = outputs[0]!.length;
if (this.#speedUp) {
for (let i = 0; i < outputLength; i += 1) {
@ -92,7 +92,7 @@ abstract class SourceProcessor<T>
this.#read(inputIndex - this.#readOffset);
const weight = WINDOW_WEIGHT_TABLE[inWindowIndex]!;
for (let j = 0; j < this.channelCount; j += 1) {
outputs![j]![i] += this.#readBuffer[j]! * weight;
outputs[j]![i]! += this.#readBuffer[j]! * weight;
}
totalWeight += weight;
@ -102,7 +102,7 @@ abstract class SourceProcessor<T>
if (totalWeight > 0) {
for (let j = 0; j < this.channelCount; j += 1) {
outputs![j]![i] /= totalWeight;
outputs[j]![i]! /= totalWeight;
}
}
@ -127,7 +127,7 @@ abstract class SourceProcessor<T>
this.#inputOffset -= firstChunkSampleCount;
}
} else {
this.#copyChunks(outputs!);
this.#copyChunks(outputs);
}
return true;
@ -152,7 +152,7 @@ abstract class SourceProcessor<T>
if (source) {
// Output full
this.#chunks[0] = source;
this.#chunkSampleCounts[0] -= consumedSampleCount;
this.#chunkSampleCounts[0]! -= consumedSampleCount;
return;
}

View file

@ -49,7 +49,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -46,7 +46,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -45,7 +45,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -42,7 +42,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -43,7 +43,7 @@
"cross-env": "^7.0.3",
"jest": "^30.0.0-alpha.4",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
"ts-jest": "^29.1.5",
"typescript": "^5.5.2"
}
}

View file

@ -7,12 +7,12 @@
"run-eslint": "run-eslint.js"
},
"dependencies": {
"@eslint/js": "^9.4.0",
"@types/node": "^20.14.2",
"eslint": "^9.4.0",
"@eslint/js": "^9.5.0",
"@types/node": "^20.14.8",
"eslint": "^9.5.0",
"eslint-plugin-import-x": "^0.5.1",
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.0"
"typescript": "^5.5.2",
"typescript-eslint": "^7.13.1"
},
"devDependencies": {
"prettier": "^3.3.2"

View file

@ -42,7 +42,7 @@
"esModuleInterop": true, // /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
"verbatimModuleSyntax": true
"verbatimModuleSyntax": true,
},
"include": [
"../../../src"