filternet icon indicating copy to clipboard operation
filternet copied to clipboard

bufferjs/concat was removed

Open sjvanrossum opened this issue 11 years ago • 2 comments

The dependency bufferjs/concat was removed in version 2.0.0. The following changes were necessary to resolve the issue.

Line 12: require('bufferjs/concat'); (original) //require('bufferjs/concat'); (changed)

Line 154: buffer = Buffer.concat(buffer, chunk); (original) buffer = Buffer.concat([buffer, chunk]); (changed)

sjvanrossum avatar Sep 13 '14 19:09 sjvanrossum

Thanks, you fixed my problem.

mark-hahn avatar Oct 27 '14 01:10 mark-hahn

Alternatively, update node_modules/filternet/package.json - to change the dependency and rerun npm install.

 "dependencies": {
    "bufferjs": "1.0.0"
  },

divyavanmahajan avatar Jan 16 '16 04:01 divyavanmahajan