1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/ext/node/polyfills/internal/fs
Nathan Whitaker ff4226a3cd
fix(node/fs): Use correct offset and length in node:fs.read and write (#25049)
My fix in #25030 was buggy, I forgot to pass the `byteOffset` and
`byteLength`. Whoops.

I also discovered that fs.read was not respecting the `offset` argument,
and we were constructing a new `Buffer` for the callback instead of just
passing the original one (which is what node does, and the @types/node
definitions also indicate the callback should get the same type).
Fixes #25028.
2024-08-16 09:48:57 -07:00
..
handle.ts fix(ext/node/fs): position argument not applied (#24009) 2024-05-28 14:30:31 +02:00
streams.d.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
streams.mjs chore: update the copyright of c, mjs, and jsx (#25005) 2024-08-12 12:41:32 -04:00
utils.mjs fix(node/fs): Use correct offset and length in node:fs.read and write (#25049) 2024-08-16 09:48:57 -07:00