Skip to content

drizzle-neon: use Uint8Array for fs.readSync buffers#115

Open
technophile-04 wants to merge 1 commit intodrizzle-neonfrom
drizzle-neon-prompt-util
Open

drizzle-neon: use Uint8Array for fs.readSync buffers#115
technophile-04 wants to merge 1 commit intodrizzle-neonfrom
drizzle-neon-prompt-util

Conversation

@technophile-04
Copy link
Contributor

Description:

Buffer type no longer satisfies ArrayBufferView in newer Node.js/TypeScript. Replace Buffer.alloc() with Uint8Array() for read buffers.

Buffer type no longer satisfies ArrayBufferView in newer Node.js/TypeScript.
Replace Buffer.alloc() with Uint8Array() for read buffers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Member

@rin-st rin-st left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've met related error too, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants