Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isUtf8 and isAscii do not exist in node:buffer #23657

Open
babiabeo opened this issue May 2, 2024 · 0 comments
Open

isUtf8 and isAscii do not exist in node:buffer #23657

babiabeo opened this issue May 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working node API polyfill Related to various "node:*" modules APIs node compat

Comments

@babiabeo
Copy link

babiabeo commented May 2, 2024

Deno:

> import buffer from "node:buffer"
undefined
> buffer.isUtf8
undefined
> buffer.isAscii
undefined

Node (ts-node):

> buffer.isUtf8
[Function: isUtf8]
> buffer.isAscii
[Function: isAscii]

See also

Version

deno 1.43.1 (release, x86_64-pc-windows-msvc)
v8 12.4.254.12
typescript 5.4.3
@bartlomieju bartlomieju added bug Something isn't working node compat node API polyfill Related to various "node:*" modules APIs labels May 2, 2024
@iuioiua iuioiua self-assigned this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working node API polyfill Related to various "node:*" modules APIs node compat
Projects
None yet
Development

No branches or pull requests

3 participants