Files
bun.sh/test/js/node
Claude Bot 68a0701dd5 Implement FileHandle.prototype.readLines
This implements the FileHandle.prototype.readLines() method in
src/js/node/fs.promises.ts, which was previously a stub throwing
"BUN TODO FileHandle.readLines".

The implementation creates a readline Interface with the file's
read stream as input and crlfDelay set to Infinity, matching
Node.js behavior from vendor/node/lib/internal/fs/promises.js.

Tests added:
- test/js/bun/fs/file-handle-readlines.test.ts: Comprehensive tests
  covering various scenarios (normal lines, empty lines, no trailing
  newline, empty files, and custom options)
- test/js/node/test/parallel/test-fs-promises-file-handle-readLines.mjs:
  Node.js compatibility test

All tests pass successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 23:11:57 +00:00
..
2025-08-27 06:39:11 -07:00
2025-09-27 00:27:23 -07:00
2025-09-11 17:53:06 -07:00
2025-10-09 19:11:08 -07:00