axiak / filternet

A proxy library that provides easy hooks to manipulate http and https traffic consistently.
https://github.com/axiak/filternet
BSD 3-Clause "New" or "Revised" License
101 stars 32 forks source link

bufferjs/concat was removed #10

Open sjvanrossum opened 10 years ago

sjvanrossum commented 10 years ago

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)

mark-hahn commented 9 years ago

Thanks, you fixed my problem.

divyavanmahajan commented 8 years ago

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

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