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

initial support for Deno #3

Merged
merged 7 commits into from
Aug 29, 2023
Merged

initial support for Deno #3

merged 7 commits into from
Aug 29, 2023

Conversation

LiviaMedeiros
Copy link
Owner

@LiviaMedeiros LiviaMedeiros commented Aug 28, 2023

Refs: #2

  • fs.writeFile(_, body, _)
    Worked around by passing non-range requests as - range. The implementation is sane enough, and there is no need to return 206 for POST or PUT methods as a part of public API.
  • fd.write(chunk, { length, position }
    The signature is ugly and it will probably require fixing for cases where byteLength !== length but it's better than it was.
  • filehandle[Symbol.asyncDispose]
    Used filehandle.close().

@LiviaMedeiros LiviaMedeiros merged commit 9217598 into master Aug 29, 2023
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.

1 participant