Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yume-chan committed Jan 24, 2025
1 parent 01f812e commit 7ad568d
Show file tree
Hide file tree
Showing 19 changed files with 256 additions and 257 deletions.
4 changes: 2 additions & 2 deletions apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
"@yume-chan/adb-server-node-tcp": "workspace:^",
"@yume-chan/android-bin": "workspace:^",
"@yume-chan/stream-extra": "workspace:^",
"commander": "^13.0.0",
"commander": "^13.1.0",
"source-map-support": "^0.5.21"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
"prettier": "^3.4.2",
Expand Down
2 changes: 1 addition & 1 deletion libraries/adb-daemon-webusb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@yume-chan/struct": "workspace:^"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion libraries/adb-server-node-tcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@yume-chan/struct": "workspace:^"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
"prettier": "^3.4.2",
Expand Down
2 changes: 1 addition & 1 deletion libraries/adb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@yume-chan/struct": "workspace:^"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion libraries/android-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@yume-chan/struct": "workspace:^"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion libraries/event/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@yume-chan/async": "^4.0.2"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion libraries/fetch-scrcpy-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"gh-release-fetch": "^4.0.3"
},
"devDependencies": {
"@types/node": "^22.10.5"
"@types/node": "^22.10.10"
}
}
2 changes: 1 addition & 1 deletion libraries/no-data-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"test": "run-test"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion libraries/pcm-player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/audioworklet": "^0.0.65",
"@types/audioworklet": "^0.0.67",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
"prettier": "^3.4.2",
Expand Down
4 changes: 1 addition & 3 deletions libraries/pcm-player/worker/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@ abstract class SourceProcessor<T>
this.channelCount = options.outputChannelCount![0]!;
this.#readBuffer = new Float32Array(this.channelCount);

this.port.onmessage = (event) => {
this.port.onmessage = ({ data }: MessageEvent<ArrayBuffer[]>) => {
while (this.#totalSampleCount > 0.35 * 48000) {
this.#chunks.shift();
const count = this.#chunkSampleCounts.shift()!;
this.#totalSampleCount -= count;
}

// https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1860
const { data } = event as MessageEvent<ArrayBuffer[]>;
const [source, length] = this.createSource(data);
this.#chunks.push(source);
this.#chunkSampleCounts.push(length);
Expand Down
2 changes: 1 addition & 1 deletion libraries/scrcpy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@yume-chan/struct": "workspace:^"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion libraries/stream-extra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@yume-chan/struct": "workspace:^"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion libraries/struct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@yume-chan/no-data-view": "workspace:^"
},
"devDependencies": {
"@types/node": "^22.10.5",
"@types/node": "^22.10.10",
"@yume-chan/eslint-config": "workspace:^",
"@yume-chan/test-runner": "workspace:^",
"@yume-chan/tsconfig": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"lint": "pnpm recursive run lint"
},
"devDependencies": {
"@changesets/cli": "^2.27.11"
"@changesets/cli": "^2.27.12"
}
}
Loading

0 comments on commit 7ad568d

Please sign in to comment.