Skip to content

Commit f44b33e

Browse files
chore: Bump @types/node from 24.10.3 to 25.0.0 (#850)
* chore: Bump @types/node from 24.10.3 to 25.0.0 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.10.3 to 25.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 25.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix types --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com>
1 parent 635715a commit f44b33e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/tools/emulator-commands.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,9 @@ export async function execEmuConsoleCommand(
348348
);
349349
});
350350

351-
client.on('data', (chunk) => {
352-
serverResponse.push(chunk);
351+
client.on('data', (chunk: Buffer | string) => {
352+
const buf = typeof chunk === 'string' ? Buffer.from(chunk) : chunk;
353+
serverResponse.push(buf);
353354
const output = Buffer.concat(serverResponse).toString('utf8').trim();
354355
if (okFlag.test(output)) {
355356
// The initial incoming data chunk confirms the interface is ready for input

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@types/ini": "^4.1.0",
7070
"@types/lodash": "^4.14.195",
7171
"@types/mocha": "^10.0.1",
72-
"@types/node": "^24.0.0",
72+
"@types/node": "^25.0.0",
7373
"@types/semver": "^7.5.0",
7474
"@types/sinon": "^21.0.0",
7575
"@types/source-map-support": "^0.5.6",

0 commit comments

Comments
 (0)