Skip to content

Commit

Permalink
Merge pull request #34 from maxdaniel98/chunk-split-fix
Browse files Browse the repository at this point in the history
Add require Buffer to allow for Buffer.isBuffer()
  • Loading branch information
tex0l authored Jan 10, 2024
2 parents 77d1b14 + 1b06173 commit 20b0ec4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/byline.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*/
const stream = require('stream')
const timers = require('timers')
const Buffer = require('buffer').Buffer;

const createLineStream = (readStream, options) => {
if (!readStream) throw new Error('expected readStream')
Expand Down

0 comments on commit 20b0ec4

Please sign in to comment.