Skip to content

Releases: nacholibre/node-readlines

v3.4.1

20 Jan 11:41

Choose a tag to compare

Fixes a bug where if the buffer size equals the size of the line - two lines are returned #53

v3.4.0

08 Dec 09:36
5cdd3ca

Choose a tag to compare

  • New isLast() method — Check if the last line has been read
  • Bun CI support — Full test suite runs on Bun

v3.3.0

08 Dec 09:02

Choose a tag to compare

Add stdin support.

v3.1.1

08 Dec 08:37

Choose a tag to compare

Cleanup.

v3.1.0

08 Dec 08:09
3dd4631

Choose a tag to compare

  • ✨ Automatic support for all line endings (LF, CRLF, CR)
  • 🪟 Windows files now work out of the box
  • 📝 Mixed line endings in same file supported

v3.0.0

08 Dec 07:45
707e91e

Choose a tag to compare

  • Add TypeScript type definitions
  • next() returns Buffer | null instead of Buffer | false

v2.0.1

08 Dec 07:35

Choose a tag to compare

  • Clean package-lock.json

v2.0.0

08 Dec 07:30

Choose a tag to compare

  • Bump NodeJS min req to >= 18.x
  • Fix (node:48934) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

1.0.3

17 Oct 07:25

Choose a tag to compare

update version

1.0.1: Merge pull request #25 from smitterz/bugfix

17 Oct 07:21
ce4bd23

Choose a tag to compare

Bugfixes for custom newline characters and files containing NULL characters