diff --git a/src/chunker/fixed-size.js b/src/chunker/fixed-size.js index 48925af..6cef660 100644 --- a/src/chunker/fixed-size.js +++ b/src/chunker/fixed-size.js @@ -1,6 +1,6 @@ 'use strict' -const BufferList = require('bl') +const BufferList = require('bl/BufferList') module.exports = async function * fixedSizeChunker (source, options) { let bl = new BufferList() diff --git a/src/chunker/rabin.js b/src/chunker/rabin.js index 2a53689..6f1a077 100644 --- a/src/chunker/rabin.js +++ b/src/chunker/rabin.js @@ -1,6 +1,6 @@ 'use strict' -const BufferList = require('bl') +const BufferList = require('bl/BufferList') const { create } = require('rabin-wasm') const errcode = require('err-code')