Skip to content

Commit

Permalink
Merge pull request #213 from JL102/master
Browse files Browse the repository at this point in the history
(Urgent) Security update + General update for dependencies
  • Loading branch information
aacerox committed Feb 1, 2022
2 parents 4ed21bc + 634a2a5 commit 0e240d2
Show file tree
Hide file tree
Showing 4 changed files with 760 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lib/node-rest-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ var ConnectManager = function(client, parserManager) {

// concurrent data chunk handler
res.on('data',function(chunk){
buffer.push(new Buffer(chunk));
buffer.push(Buffer.from(chunk));
});

res.on('end',function(){
Expand Down Expand Up @@ -670,7 +670,7 @@ var ConnectManager = function(client, parserManager) {

// concurrent data chunk handler
res.on('data',function(chunk){
buffer.push(new Buffer(chunk));
buffer.push(Buffer.from(chunk));
});

res.on('end',function(){
Expand Down
Loading

0 comments on commit 0e240d2

Please sign in to comment.