Skip to content

Commit

Permalink
Merge pull request #1 from hugomrdias/fix/add-buffer
Browse files Browse the repository at this point in the history
fix: add buffer
  • Loading branch information
mkg20001 authored Mar 21, 2020
2 parents 308d7f1 + bf82560 commit b2e988e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict'

const { Buffer } = require('buffer')
const BufferList = require('bl/BufferList')

module.exports = async function * (source) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"streaming-iterables": "^4.1.1"
},
"dependencies": {
"bl": "^4.0.0"
"bl": "^4.0.0",
"buffer": "^5.5.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

/* eslint-env mocha */

const { Buffer } = require('buffer')
const assert = require('assert').strict
const { collect } = require('streaming-iterables')
const pipe = require('it-pipe')
Expand Down

0 comments on commit b2e988e

Please sign in to comment.