-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
enhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supported
Description
Is your feature request related to a problem? Please describe.
StdioServerTransport is not compatible with non-Node.js runtime like Deno because the current implementation depends on the global Buffer object.
typescript-sdk/src/shared/stdio.ts
Lines 6 to 12 in 09e5d5b
| export class ReadBuffer { | |
| private _buffer?: Buffer; | |
| append(chunk: Buffer): void { | |
| this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk; | |
| } | |
Describe the solution you'd like
A clear and concise description of what you want to happen.
As Deno documentation says, import Buffer from node:buffer explicitly.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
KyleJune, lirc572, schpet, include, towertop and 1 more
Metadata
Metadata
Assignees
Labels
enhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supported