Loading apps/cli/package.json +2 −2 Original line number Original line Diff line number Diff line Loading @@ -41,10 +41,10 @@ "source-map-support": "^0.5.21" "source-map-support": "^0.5.21" }, }, "devDependencies": { "devDependencies": { "@types/node": "^24.0.15", "@types/node": "^24.1.0", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "prettier": "^3.6.2", "prettier": "^3.6.2", "typescript": "^5.8.3" "typescript": "^5.9.2" } } } } libraries/adb-credential-web/package.json +3 −2 Original line number Original line Diff line number Diff line Loading @@ -30,12 +30,13 @@ "prepublishOnly": "npm run build" "prepublishOnly": "npm run build" }, }, "dependencies": { "dependencies": { "@yume-chan/adb": "workspace:^" "@yume-chan/adb": "workspace:^", "@yume-chan/async": "^4.1.3" }, }, "devDependencies": { "devDependencies": { "@yume-chan/eslint-config": "workspace:^", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "prettier": "^3.6.2", "prettier": "^3.6.2", "typescript": "^5.8.3" "typescript": "^5.9.2" } } } } libraries/adb-daemon-webusb/package.json +2 −2 Original line number Original line Diff line number Diff line Loading @@ -39,11 +39,11 @@ "@yume-chan/struct": "workspace:^" "@yume-chan/struct": "workspace:^" }, }, "devDependencies": { "devDependencies": { "@types/node": "^24.0.15", "@types/node": "^24.1.0", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/test-runner": "workspace:^", "@yume-chan/test-runner": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "prettier": "^3.6.2", "prettier": "^3.6.2", "typescript": "^5.8.3" "typescript": "^5.9.2" } } } } libraries/adb-daemon-webusb/src/device.ts +13 −1 Original line number Original line Diff line number Diff line Loading @@ -142,9 +142,21 @@ export class AdbDaemonWebUsbConnection new MaybeConsumable.WritableStream({ new MaybeConsumable.WritableStream({ write: async (chunk) => { write: async (chunk) => { try { try { if ( typeof SharedArrayBuffer !== "undefined" && chunk.buffer instanceof SharedArrayBuffer ) { // Copy data to a non-shared ArrayBuffer const copy = new Uint8Array(chunk.byteLength); copy.set(chunk); chunk = copy; } await device.raw.transferOut( await device.raw.transferOut( outEndpoint.endpointNumber, outEndpoint.endpointNumber, chunk, // Already checked `chunk` has a non-shared ArrayBuffer // https://github.com/WICG/webusb/issues/243 chunk as Uint8Array<ArrayBuffer>, ); ); // In USB protocol, a not-full packet indicates the end of a transfer. // In USB protocol, a not-full packet indicates the end of a transfer. Loading libraries/adb-scrcpy/package.json +2 −2 Original line number Original line Diff line number Diff line Loading @@ -41,11 +41,11 @@ "@yume-chan/struct": "workspace:^" "@yume-chan/struct": "workspace:^" }, }, "devDependencies": { "devDependencies": { "@types/node": "^24.0.15", "@types/node": "^24.1.0", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/test-runner": "workspace:^", "@yume-chan/test-runner": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "prettier": "^3.6.2", "prettier": "^3.6.2", "typescript": "^5.8.3" "typescript": "^5.9.2" } } } } Loading
apps/cli/package.json +2 −2 Original line number Original line Diff line number Diff line Loading @@ -41,10 +41,10 @@ "source-map-support": "^0.5.21" "source-map-support": "^0.5.21" }, }, "devDependencies": { "devDependencies": { "@types/node": "^24.0.15", "@types/node": "^24.1.0", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "prettier": "^3.6.2", "prettier": "^3.6.2", "typescript": "^5.8.3" "typescript": "^5.9.2" } } } }
libraries/adb-credential-web/package.json +3 −2 Original line number Original line Diff line number Diff line Loading @@ -30,12 +30,13 @@ "prepublishOnly": "npm run build" "prepublishOnly": "npm run build" }, }, "dependencies": { "dependencies": { "@yume-chan/adb": "workspace:^" "@yume-chan/adb": "workspace:^", "@yume-chan/async": "^4.1.3" }, }, "devDependencies": { "devDependencies": { "@yume-chan/eslint-config": "workspace:^", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "prettier": "^3.6.2", "prettier": "^3.6.2", "typescript": "^5.8.3" "typescript": "^5.9.2" } } } }
libraries/adb-daemon-webusb/package.json +2 −2 Original line number Original line Diff line number Diff line Loading @@ -39,11 +39,11 @@ "@yume-chan/struct": "workspace:^" "@yume-chan/struct": "workspace:^" }, }, "devDependencies": { "devDependencies": { "@types/node": "^24.0.15", "@types/node": "^24.1.0", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/test-runner": "workspace:^", "@yume-chan/test-runner": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "prettier": "^3.6.2", "prettier": "^3.6.2", "typescript": "^5.8.3" "typescript": "^5.9.2" } } } }
libraries/adb-daemon-webusb/src/device.ts +13 −1 Original line number Original line Diff line number Diff line Loading @@ -142,9 +142,21 @@ export class AdbDaemonWebUsbConnection new MaybeConsumable.WritableStream({ new MaybeConsumable.WritableStream({ write: async (chunk) => { write: async (chunk) => { try { try { if ( typeof SharedArrayBuffer !== "undefined" && chunk.buffer instanceof SharedArrayBuffer ) { // Copy data to a non-shared ArrayBuffer const copy = new Uint8Array(chunk.byteLength); copy.set(chunk); chunk = copy; } await device.raw.transferOut( await device.raw.transferOut( outEndpoint.endpointNumber, outEndpoint.endpointNumber, chunk, // Already checked `chunk` has a non-shared ArrayBuffer // https://github.com/WICG/webusb/issues/243 chunk as Uint8Array<ArrayBuffer>, ); ); // In USB protocol, a not-full packet indicates the end of a transfer. // In USB protocol, a not-full packet indicates the end of a transfer. Loading
libraries/adb-scrcpy/package.json +2 −2 Original line number Original line Diff line number Diff line Loading @@ -41,11 +41,11 @@ "@yume-chan/struct": "workspace:^" "@yume-chan/struct": "workspace:^" }, }, "devDependencies": { "devDependencies": { "@types/node": "^24.0.15", "@types/node": "^24.1.0", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/eslint-config": "workspace:^", "@yume-chan/test-runner": "workspace:^", "@yume-chan/test-runner": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "@yume-chan/tsconfig": "workspace:^", "prettier": "^3.6.2", "prettier": "^3.6.2", "typescript": "^5.8.3" "typescript": "^5.9.2" } } } }