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

Deno support #2

Open
3 of 8 tasks
LiviaMedeiros opened this issue Aug 28, 2023 · 0 comments
Open
3 of 8 tasks

Deno support #2

LiviaMedeiros opened this issue Aug 28, 2023 · 0 comments

Comments

@LiviaMedeiros
Copy link
Owner

LiviaMedeiros commented Aug 28, 2023

For initial compatibility with Deno, the following incompatibilities with Node.js API have to be solved:

  • fs.writeFile(_, body, _) doesn't accept ReadableStream as body
  • fd.write(chunk, { length, position } signature is not supported
  • filehandle[Symbol.asyncDispose] is not defined
  • Request instance properties, integrity in particular, are ignored by constructor and fetch (which is security issue tbh)
  • ReadableStream.from() is not implemented (tbf it's too fresh)
  • fd.read() signature is... I don't get it rn
  • fs.fileAppend(_, body, _) doesn't accept ReadableStream as body either
  • fd.readableWebStream() is not supported
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

No branches or pull requests

1 participant